GICD_SPENDSGIR<n>, SGI Set-Pending Registers, n = 0 - 3
The GICD_SPENDSGIR<n> characteristics are:
Adds the pending state to an SGI.
A write to this register changes the state of an inactive SGI to pending, and the state of an active SGI to active and pending.
Some or all RW fields of this register have defined reset values.
Four SGI set-pending registers are implemented. Each register contains eight set-pending bits for each of four SGIs, for a total of 16 possible SGIs.
In multiprocessor implementations, each PE has a copy of these registers.
GICD_SPENDSGIR<n> is a 32-bit register.
The GICD_SPENDSGIR<n> bit assignments are:
|SGI_set_pending_bits<x>, bits [8x+7:8x], for x = 0 to 3|
SGI_set_pending_bits<x>, bits [8x+7:8x], for x = 0 to 3
Adds the pending state to SGI number 4n + x for the PE corresponding to the bit number written to.
Reads and writes have the following behavior:
If read, indicates that the SGI from the corresponding PE is not pending and is not active and pending.
If written, has no effect.
If read, indicates that the SGI from the corresponding PE is pending or is active and pending.
If written, adds the pending state to the SGI for the corresponding PE.
This field resets to 0.
For SGI ID m, generated by processing element C writing to the corresponding GICD_SGIR field, where DIV and MOD are the integer division and modulo operations:
- The corresponding GICD_SPENDSGIR<n> number is given by n = m DIV 4.
- The offset of the required register is (0xF20 + (4n)).
- The offset of the required field within the register GICD_SPENDSGIR<n> is given by m MOD 4.
- The required bit in the 8-bit SGI set-pending field m is bit C.
Accessing the GICD_SPENDSGIR<n>
These registers are used only when affinity routing is not enabled. When affinity routing is enabled for the Security state of an interrupt then the bit associated with SGI in that Security state is RES0. An implementation is permitted to make the register RAZ/WI in this case.
A register bit that corresponds to an unimplemented SGI is RAZ/WI.
These registers are byte-accessible.
If the GIC implementation supports two Security states:
- A register bit that corresponds to a Group 0 interrupt is RAZ/WI to Non-secure accesses.
- Register bits corresponding to unimplemented PEs are RAZ/WI.
GICD_SPENDSGIR<n> can be accessed through the memory-mapped interfaces:
|GIC Distributor||0x0F20 + 4n||GICD_SPENDSGIR<n>|
This interface is accessible as follows:
- When GICD_CTLR.DS == 0b0 accesses to this register are RW.
- When IsAccessSecure() accesses to this register are RW.
- When !IsAccessSecure() accesses to this register are RW.