The RPU implements an interrupt injection function to inject interrupts into the generic interrupt controller’s shared peripheral interrupts (SPI). The RPU GIC has 160 SPIs. Software can inject an interrupt on each of 160 interrupt lines using this mechanism. The 160 SPIs are divided into five, 32-bit APB registers. The RPU implements an interrupt register and an interrupt mask register. The logic in This Figure is replicated on each interrupt going to the SPI of the RPU’s GIC. If the interrupt mask corresponding to the interrupt is set in the RPU_INTR_MASK register, the RPU passes the APB register version of the interrupt to the GIC.
Table: SPI Map to RPU Interrupt and RPU Interrupt Mask Registers lists the mapping of the SPI bits.