src/arm64/irqroute.bend checks
raw source on the hub · import 0xab9fd5982a23be6a9b632b364492ce07/src/arm64/irqroute.bend as Irqroute
2 imports
import Base import ../lib/u64.bend as U
Definitions
def Route.none source · line 27 · raw
U32
The cpu that interprets an effect outside any vCPU exit (host/main.bend passes it for the host's events).
def Route.first_spi source · line 31 · raw
U32
The first shared peripheral interrupt.
def Route.spi_target source · line 34 · raw
@spi:Bool -> @+cpu:U32 -> Maybe<&2, U32>
def Route.target source · line 43 · raw
@+cpu:U32 -> @+intid:U32 -> @level:Bool -> Maybe<&2, U32>
The vCPU an interrupt raised by an exit of cpu is routed to, if any:
cpu itself, for an SPI raised high from a vCPU's exit.
def Route.reg source · line 51 · raw
@intid:U32 -> U32
The distributor offset of GICD_IROUTER<intid> (0x6000 + 8 * intid).
def Route.irouter source · line 56 · raw
@cpu:U32 -> 0xab9fd5982a23be6a9b632b364492ce07/src/lib/u64.U64
GICD_IROUTER's value naming vCPU cpu: Aff0 is the vCPU's index, as its MPIDR says (host/hvf.c), Interrupt_Routing_Mode 0 (that one PE).