Expand description
§arm_gicv2
ARM Generic Interrupt Controller version 2 (GICv2) register definitions and basic operations.
The official documentation: https://developer.arm.com/documentation/ihi0048/latest/
Structs§
- GicCpu
Interface - The GIC CPU interface.
- GicDistributor
- The GIC distributor.
Enums§
- Interrupt
Type - Different types of interrupt that the GIC handles.
- Trigger
Mode - Interrupt trigger mode.
Constants§
- GIC_
MAX_ IRQ - Maximum number of interrupts supported by the GIC.
- PPI_
RANGE - Interrupt ID 16-31 are used for PPIs (Private Peripheral Interrupt).
- SGI_
RANGE - Interrupt ID 0-15 are used for SGIs (Software-generated interrupt).
- SPI_
RANGE - Interrupt ID 32-1019 are used for SPIs (Shared Peripheral Interrupt).
Functions§
- translate_
irq - Translate an interrupt of a given type to a GIC INTID.