fix (init): fixed crash when emulating in uefi mode
This commit is contained in:
parent
aa9dbb7b6d
commit
cebae95696
|
@ -28,9 +28,9 @@ void kernel_init(boot_info_T* boot_info) {
|
||||||
idt_init();
|
idt_init();
|
||||||
pic_init();
|
pic_init();
|
||||||
pit_set_divisor(PIT_DIVISOR);
|
pit_set_divisor(PIT_DIVISOR);
|
||||||
CORE_INTERRUPTS_ENABLE
|
|
||||||
|
|
||||||
paging_init();
|
paging_init();
|
||||||
|
CORE_INTERRUPTS_ENABLE
|
||||||
|
|
||||||
memory_allocator_init((void*)MEM_REGION_KERNEL_HEAP);
|
memory_allocator_init((void*)MEM_REGION_KERNEL_HEAP);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue