summaryrefslogtreecommitdiffstats
path: root/bsps/riscv/riscv/include/bsp/irq.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-18 07:37:18 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-24 11:35:49 +0200
commitaf73b7b64b385232eddfd899ebd9e93054b66026 (patch)
treee3f52e9509af60d3e48272ba2ebd71184182ad85 /bsps/riscv/riscv/include/bsp/irq.h
parentbsps/irq: Assert BSP_INTERRUPT_VECTOR_MIN == 0 (diff)
downloadrtems-af73b7b64b385232eddfd899ebd9e93054b66026.tar.bz2
bsps/irq: Remove BSP_INTERRUPT_VECTOR_MIN
Remove BSP_INTERRUPT_VECTOR_MIN and unconditionally let interrupt vector numbers start with zero. The BSP_INTERRUPT_VECTOR_MIN == 0 invariant was tested by the previous commit and building all BSPs. Update #3269.
Diffstat (limited to 'bsps/riscv/riscv/include/bsp/irq.h')
-rw-r--r--bsps/riscv/riscv/include/bsp/irq.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/bsps/riscv/riscv/include/bsp/irq.h b/bsps/riscv/riscv/include/bsp/irq.h
index cf88443740..a902570155 100644
--- a/bsps/riscv/riscv/include/bsp/irq.h
+++ b/bsps/riscv/riscv/include/bsp/irq.h
@@ -54,8 +54,6 @@
#define RISCV_INTERRUPT_VECTOR_EXTERNAL_TO_INDEX(x) ((x) - 2)
-#define BSP_INTERRUPT_VECTOR_MIN 0
-
#define BSP_INTERRUPT_VECTOR_MAX RISCV_INTERRUPT_VECTOR_EXTERNAL(RISCV_MAXIMUM_EXTERNAL_INTERRUPTS - 1)
void bsp_interrupt_set_affinity(