From 379a3d95bf3bbc36f1218644cd3eac34e730c6cd Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Thu, 6 Feb 2020 14:17:27 +0100 Subject: [PATCH] New command in sh : dmesg --- kaleid/kernel/init/init.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/kaleid/kernel/init/init.c b/kaleid/kernel/init/init.c index 4cb3564..410a490 100644 --- a/kaleid/kernel/init/init.c +++ b/kaleid/kernel/init/init.c @@ -67,17 +67,19 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg) // Memory MmInitMemoryMap(); MmInitHeap(); - MmInitGdt(); - MmInitPaging(); // Interrupts KeSetupIDT(); KeEnableIRQs(); + KeEnableRTC(); + KeEnablePIT(); + + // Memory (2) + MmInitGdt(); + MmInitPaging(); // Interrupt handlers MmActivatePageHandler(); - KeEnableRTC(); - KeEnablePIT(); KeGetCpuInfos(); IoEnableKeyb();