Page MenuHomeFreeBSD

kern/intr: remove support for passing trap frame as argument
Needs ReviewPublic

Authored by on Dec 13 2022, 9:45 PM.
Referenced Files
Unknown Object (File)
Wed, Mar 22, 6:44 PM
Unknown Object (File)
Mon, Mar 20, 6:38 AM
Unknown Object (File)
Mon, Mar 6, 3:41 AM
Unknown Object (File)
Fri, Mar 3, 10:17 AM
Unknown Object (File)
Feb 8 2023, 12:41 AM
Unknown Object (File)
Jan 8 2023, 3:08 PM
Unknown Object (File)
Jan 5 2023, 11:27 AM
Unknown Object (File)
Dec 18 2022, 7:39 AM
This revision needs review, but there are no reviewers specified.



While otherwise a handy potential approach, getting the trap frame via
the argument isn't documented and isn't supposed to be used. With all
uses removed, now remove support to end the mixed calling conventions.

Diff Detail

rG FreeBSD src repository
Lint Passed
No Test Coverage
Build Status
Buildable 48704
Build 45590: arc lint + arc unit

Event Timeline

Presently there are 4 uses of the NULL => trap_frame functionality. xenpci_intr_filter() in sys/dev/xen/xenpci/xenpci.c, which gets removed by D30006. xen_ipi_bitmap_handler() and xen_ipi_swi_handler() in sys/x86/xen/xen_apic.c. Lastly pmu_intr() in sys/arm/arm/pmu.c.

As long as no one tries to add new uses, this seems to have potential for 14.0.