aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2026-07-19 03:19:52 +0000
committerRyan Libby <rlibby@FreeBSD.org>2026-07-19 03:19:52 +0000
commitcb325dcedfa291c9bfe350a513694df3776a17a4 (patch)
tree2dbdd4b07b310ea57d5a8ab5f2fd78725a7514ce
parentdc12e3e0e72a73f1ad1a14d8d0fa4e2147151720 (diff)
i386: supply thermal interrupt handler
This fixes a build break for i386. Reviewed by: kib, olce, Koine Yuusuke <koinec@yahoo.co.jp> Fixes: 87ba088fa310 ("x86/local_apic.c: Add support for installing a thermal interrupt handler") Differential Revision: https://reviews.freebsd.org/D58332
-rw-r--r--sys/i386/i386/apic_vector.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/i386/i386/apic_vector.S b/sys/i386/i386/apic_vector.S
index 0037f1c968fb..57970febd154 100644
--- a/sys/i386/i386/apic_vector.S
+++ b/sys/i386/i386/apic_vector.S
@@ -169,6 +169,21 @@ IDTVEC(errorint)
call *%eax
jmp doreti
+/*
+ * Local APIC thermal interrupt handler.
+ */
+ .text
+ SUPERALIGN_TEXT
+IDTVEC(thermalint_pti)
+IDTVEC(thermalint)
+ PUSH_FRAME
+ SET_KERNEL_SREGS
+ cld
+ KENTER
+ movl $lapic_handle_thermal, %eax
+ call *%eax
+ jmp doreti
+
#ifdef XENHVM
/*
* Xen event channel upcall interrupt handler.