git: cb325dcedfa2 - main - i386: supply thermal interrupt handler
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Jul 2026 03:30:06 UTC
The branch main has been updated by rlibby:
URL: https://cgit.FreeBSD.org/src/commit/?id=cb325dcedfa291c9bfe350a513694df3776a17a4
commit cb325dcedfa291c9bfe350a513694df3776a17a4
Author: Ryan Libby <rlibby@FreeBSD.org>
AuthorDate: 2026-07-19 03:19:52 +0000
Commit: Ryan Libby <rlibby@FreeBSD.org>
CommitDate: 2026-07-19 03:19:52 +0000
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
---
sys/i386/i386/apic_vector.S | 15 +++++++++++++++
1 file changed, 15 insertions(+)
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.