summaryrefslogtreecommitdiffstats
path: root/bsps/arm/raspberrypi/include/bsp/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/raspberrypi/include/bsp/irq.h')
-rw-r--r--bsps/arm/raspberrypi/include/bsp/irq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsps/arm/raspberrypi/include/bsp/irq.h b/bsps/arm/raspberrypi/include/bsp/irq.h
index 87b6da2963..889d76341c 100644
--- a/bsps/arm/raspberrypi/include/bsp/irq.h
+++ b/bsps/arm/raspberrypi/include/bsp/irq.h
@@ -34,6 +34,7 @@
*/
#define BCM2835_INTC_TOTAL_IRQ 64 + 8
+#define BCM2835_INTC_TOTAL_IRQ (64 + 8)
#define BCM2835_IRQ_SET1_MIN 0
#define BCM2835_IRQ_SET2_MIN 32
@@ -70,6 +71,7 @@
#define BCM2835_IRQ_ID_ILL_ACCESS_0 71
#define BSP_INTERRUPT_VECTOR_MAX (BCM2835_INTC_TOTAL_IRQ - 1)
+#define BSP_INTERRUPT_VECTOR_COUNT BCM2835_INTC_TOTAL_IRQ
#define BSP_INTERRUPT_VECTOR_INVALID (UINT32_MAX)
#define BSP_IRQ_COUNT (BCM2835_INTC_TOTAL_IRQ)