summaryrefslogtreecommitdiffstats
path: root/bsps/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-12-18 12:02:30 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-12-19 08:22:37 +0100
commit2e71bd08bae61cd7259d8c362818b4a268a393e9 (patch)
treefc0e9690a1e70595e221b8fcd58c139ff1b889cd /bsps/include
parentftpd: Fix set but not used warning (diff)
downloadrtems-2e71bd08bae61cd7259d8c362818b4a268a393e9.tar.bz2
tm27: Add optional TM27_INTERRUPT_VECTOR_DEFAULT
Let the BSP define TM27_INTERRUPT_VECTOR_DEFAULT to more efficiently and reliably get the TM27 default interrupt vector. Update #3716.
Diffstat (limited to 'bsps/include')
-rw-r--r--bsps/include/dev/irq/arm-gic-tm27.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsps/include/dev/irq/arm-gic-tm27.h b/bsps/include/dev/irq/arm-gic-tm27.h
index ad2c5e812c..f2a16afae3 100644
--- a/bsps/include/dev/irq/arm-gic-tm27.h
+++ b/bsps/include/dev/irq/arm-gic-tm27.h
@@ -55,6 +55,8 @@
#define ARM_GIC_TM27_IRQ_HIGH ARM_GIC_IRQ_SGI_13
#endif
+#define TM27_INTERRUPT_VECTOR_DEFAULT ARM_GIC_TM27_IRQ_LOW
+
#define ARM_GIC_TM27_PRIO_LOW 0x80
#define ARM_GIC_TM27_PRIO_HIGH 0x00