diff --git a/kernel/src/platform/x86/interrupts.asm b/kernel/src/platform/x86/interrupts.asm index 51954e0..f80de41 100644 --- a/kernel/src/platform/x86/interrupts.asm +++ b/kernel/src/platform/x86/interrupts.asm @@ -23,7 +23,7 @@ extern interrupts_handle extern g_kernel_page_map idt_load: - lidt [rax] + lidt [rdi] ret GLOBAL idt_load