]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
x86: Fix lapic_ipi_alloc() on i386
authorMark Johnston <markj@FreeBSD.org>
Mon, 31 May 2021 22:51:14 +0000 (18:51 -0400)
committerMark Johnston <markj@FreeBSD.org>
Mon, 31 May 2021 22:51:14 +0000 (18:51 -0400)
commit18f55c67f746f0ad12fe972328234d340a621df9
treea9ad82c17ceb3b0f4c6c5997409b5684cd8551ab
parent4a59cbc1253266ea70d6fa43b1a7c77cc33ec6cd
x86: Fix lapic_ipi_alloc() on i386

The loop which checks to see if "dynamic" IDT entries are allocated
needs to compare with the trampoline address of the reserved ISR.
Otherwise it will never succeed.

Reported by: Harry Schmalzbauer <freebsd@omnilan.de>
Tested by: Harry Schmalzbauer <freebsd@omnilan.de>
Reviewed by: kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30576
sys/x86/x86/local_apic.c