summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2023-12-25 18:16:21 -0500
committerIan Moffett <ian@osmora.org>2023-12-25 18:16:21 -0500
commit18037485f38a3caa46e55593de1a8c37a3c235a3 (patch)
tree421a5a25457f0ad185a0d5e3cbf156e210ceb1ad /sys/arch/amd64
parent6f5aba866f01f5690438309629e96812fc099414 (diff)
kernel/amd64: lapic: Fix APIC Timer IDT entry type
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/lapic.c2
1 files changed, 1 insertions, 1 deletions
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",