Crate arm_gicv2

Crate arm_gicv2 

Source
Expand description

§arm_gicv2

Crates.io Docs.rs CI

ARM Generic Interrupt Controller version 2 (GICv2) register definitions and basic operations.

The official documentation: https://developer.arm.com/documentation/ihi0048/latest/

Structs§

GicCpuInterface
The GIC CPU interface.
GicDistributor
The GIC distributor.

Enums§

InterruptType
Different types of interrupt that the GIC handles.
TriggerMode
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.