1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00

Correcting bug

This commit is contained in:
Adrien Bourmault 2020-02-06 15:11:59 +01:00
parent f4055f9586
commit 7dc39cf628

View File

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