[PATCH v2 11/12] bsps/irq: Default BSP_INTERRUPT_VECTOR_COUNT == 0
Sebastian Huber
sebastian.huber at embedded-brains.de
Sat Jun 19 14:04:47 UTC 2021
Change the default value of BSP_INTERRUPT_VECTOR_COUNT so that no interrupt
vectors are supported and all related directives return RTEMS_INVALID_ID.
Update #3269.
---
bsps/include/bsp/irq-default.h | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/bsps/include/bsp/irq-default.h b/bsps/include/bsp/irq-default.h
index 4521624b31..8aacb4fec3 100644
--- a/bsps/include/bsp/irq-default.h
+++ b/bsps/include/bsp/irq-default.h
@@ -45,9 +45,12 @@ extern "C" {
*/
/**
- * @brief Default maximum interrupt vector.
+ * @brief This constant defines the default interrupt vector count.
+ *
+ * By default, no interrupt vectors are supported and all related directives
+ * return RTEMS_INVALID_ID.
*/
-#define BSP_INTERRUPT_VECTOR_COUNT 1
+#define BSP_INTERRUPT_VECTOR_COUNT 0
/** @} */
--
2.26.2
More information about the devel
mailing list