HomeFreeBSD

xen/apic: remove passing trapframe as argument

Description

xen/apic: remove passing trapframe as argument

While otherwise a handy potential approach, getting the trapframe via the
argument isn't documented and isn't supposed to be used. While
ipi_bitmap_handler() and ipi_swi_handler() need to be passed the
trapframe as their arguments, the Xen functions can retrieve it from
curthread->td_intr_frame, which is the proper way.

Reviewed by: royger

Details

Provenance
ehem_freebsd_m5p.comAuthored on Oct 8 2021, 9:43 PM
roygerCommitted on Nov 28 2023, 12:22 PM
Parents
rGc880f12f5ac6: xen/intr: correct misuses of Xen handle pointer type
Branches
Unknown
Tags
Unknown