diff options
| author | Miguel <m.i@gmx.at> | 2018-09-09 13:21:47 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-09 13:21:47 +0200 |
| commit | c2ef64149849fcae608b1c6010303eca86229d22 (patch) | |
| tree | 30d69313b6975a7c1bfc80859117124a6a5a10e7 /kernel/kernel.c | |
| parent | e85a68e1536a0f6505300e1cb79f06b9743b00f7 (diff) | |
cleaning logs, docs, interrupts
Diffstat (limited to 'kernel/kernel.c')
| -rw-r--r-- | kernel/kernel.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c index 5a17567..724b1a0 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -30,15 +30,24 @@ void kernel_main(uint32_t eax,uint32_t ebx) { serial_init(); - klog("FOOL-OS ver-%s (%s)",GIT_REVISION,__DATE__); + + klog("======================================"); + klog("F00L- 0S / The Fool's Operating System"); + klog("(C) 2018 / Michal Idziorek (m.i@gmx.at)"); + klog("Compiled on: %s at %s",__DATE__,__TIME__); + klog("Version: git-commit: %s",GIT_REVISION); + klog("======================================"); + + klog("Communication Port (COM1) init ..."); //delayed info klog("Global Descriptor Table (GDT) init ..."); gdt_init(); klog("Interrupt Vector Table (IVT) init ..."); interrupts_init(0x08); + interrupts_install(); - klog("Remapping & Disabling PIC ..."); + klog("Remapping & Disabling Programmable Interrupt Controller (PIC) ..."); asm_pic_setup(); klog("Keyboard init ..."); @@ -90,7 +99,7 @@ void kernel_main(uint32_t eax,uint32_t ebx) klog("Programmable Interval Timer (PIT) init ..."); uint64_t unixtime=timer_init(); - klog("Unix Time = %u seconds)",unixtime); + klog("Unix Time = %u seconds",unixtime); klog("Unlock application processors ... "); asm_smp_unlock(); |
