git: 6ea0ce113c50 - stable/14 - i386: supply thermal interrupt handler
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Jul 2026 10:01:14 UTC
The branch stable/14 has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=6ea0ce113c50c9a275ce1df10baaa4173da682e4
commit 6ea0ce113c50c9a275ce1df10baaa4173da682e4
Author: Ryan Libby <rlibby@FreeBSD.org>
AuthorDate: 2026-07-19 03:19:52 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-07-23 09:59:15 +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
(cherry picked from commit cb325dcedfa291c9bfe350a513694df3776a17a4)
---
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 5d248409718d..f4456ab50ac8 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.