fix (init): fixed crash when emulating in uefi mode

This commit is contained in:
antifallobst 2023-03-10 12:24:31 +01:00
parent aa9dbb7b6d
commit cebae95696
1 changed files with 1 additions and 1 deletions

View File

@ -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);