Correcting bug
This commit is contained in:
parent
f4055f9586
commit
7dc39cf628
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue