From cebae95696af50e2f45c053ff263d9c8c98933bf Mon Sep 17 00:00:00 2001 From: antifallobst Date: Fri, 10 Mar 2023 12:24:31 +0100 Subject: [PATCH] fix (init): fixed crash when emulating in uefi mode --- kernel/src/kmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/kmain.c b/kernel/src/kmain.c index a5ce6c2..9fce1e6 100644 --- a/kernel/src/kmain.c +++ b/kernel/src/kmain.c @@ -28,9 +28,9 @@ void kernel_init(boot_info_T* boot_info) { idt_init(); pic_init(); pit_set_divisor(PIT_DIVISOR); - CORE_INTERRUPTS_ENABLE paging_init(); + CORE_INTERRUPTS_ENABLE memory_allocator_init((void*)MEM_REGION_KERNEL_HEAP);