[rtems commit] bsps/irq: Default BSP_INTERRUPT_VECTOR_COUNT == 0
Sebastian Huber
sebh at rtems.org
Thu Jun 24 10:29:28 UTC 2021
Module: rtems
Branch: master
Commit: fdf2ee773a06b1eb2bb4e061c21cd49ba860cbc7
Changeset: http://git.rtems.org/rtems/commit/?id=fdf2ee773a06b1eb2bb4e061c21cd49ba860cbc7
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Sat Jun 19 14:15:27 2021 +0200
bsps/irq: Default BSP_INTERRUPT_VECTOR_COUNT == 0
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 4521624..8aacb4f 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
/** @} */
More information about the vc
mailing list