Correcting bug

This commit is contained in:
Adrien Bourmault 2020-02-06 15:11:59 +01:00
parent f4055f9586
commit 7dc39cf628
1 changed files with 2 additions and 4 deletions

View File

@ -67,6 +67,8 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg)
// Memory
MmInitMemoryMap();
MmInitHeap();
MmInitGdt();
MmInitPaging();
// Interrupts
KeSetupIDT();
@ -74,10 +76,6 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg)
KeEnableRTC();
KeEnablePIT();
// Memory (2)
MmInitGdt();
MmInitPaging();
// Interrupt handlers
MmActivatePageHandler();
KeGetCpuInfos();