From 18037485f38a3caa46e55593de1a8c37a3c235a3 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 25 Dec 2023 18:16:21 -0500 Subject: kernel/amd64: lapic: Fix APIC Timer IDT entry type Signed-off-by: Ian Moffett --- sys/arch/amd64/amd64/lapic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arch/amd64/amd64/lapic.c b/sys/arch/amd64/amd64/lapic.c index 52e5501..f85b17a 100644 --- a/sys/arch/amd64/amd64/lapic.c +++ b/sys/arch/amd64/amd64/lapic.c @@ -373,7 +373,7 @@ lapic_init(void) lapic_timer_init(NULL); /* Setup LAPIC Timer ISR */ - idt_set_desc(SYSVEC_LAPIC_TIMER, IDT_INT_GATE_USER, + idt_set_desc(SYSVEC_LAPIC_TIMER, IDT_INT_GATE_FLAGS, (uintptr_t)lapic_tmr_isr, IST_SCHED); BSP_KINFO("LAPIC Timer on Interrupt Stack %d (IST_SCHED) with vector 0x%x\n", -- cgit v1.2.3