]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
intr/x86: replace use of vector in interface with intsrc
authorElliott Mitchell <ehem+freebsd@m5p.com>
Thu, 9 May 2024 23:04:35 +0000 (17:04 -0600)
committerWarner Losh <imp@FreeBSD.org>
Thu, 9 May 2024 23:15:07 +0000 (17:15 -0600)
commitd9817976625ff9655f481066905cf9abac5520ab
tree151f4ccbfbf913bed0d66836828088cc74eb2627
parent98c276811aece750cd93cec53cd6c8f926519da5
intr/x86: replace use of vector in interface with intsrc

Several x86 interrupt core functions were already operating on intsrc
structures.  Now switch the remaining 3 to intsrc for consistency.

Swap the order of intr_add_handler()'s first two arguments.  This
matches INTRNG and is more consistent with other functions in this
interface.

Differential Revision: https://reviews.freebsd.org/D35386
Reviewed by: imp, markj (previous version)
Pull Request: https://github.com/freebsd/freebsd-src/pull/1126
sys/x86/include/intr_machdep.h
sys/x86/include/xen/arch-intr.h
sys/x86/x86/intr_machdep.c
sys/x86/x86/nexus.c