diff options
Diffstat (limited to 'sys/arch/amd64/machdep.c')
-rw-r--r-- | sys/arch/amd64/machdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/amd64/machdep.c b/sys/arch/amd64/machdep.c index 0b52792..e6088a0 100644 --- a/sys/arch/amd64/machdep.c +++ b/sys/arch/amd64/machdep.c @@ -33,6 +33,7 @@ #include <machine/idt.h> #include <machine/gdt.h> #include <machine/ioapic.h> +#include <machine/lapic.h> #define ISR(func) ((uintptr_t)func) #define INIT_FLAG_IOAPIC 0x00000001U @@ -71,6 +72,7 @@ processor_init(void) ioapic_init(); } + lapic_init(); /* Per core */ gdt_load(&g_gdtr); interrupts_init(); } |