mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
bsps/irq: Remove BSP_INTERRUPT_VECTOR_NUMBER
Replace it with BSP_INTERRUPT_VECTOR_COUNT. Update #3269.
This commit is contained in:
@@ -74,10 +74,8 @@ extern "C" {
|
||||
#error "if you define BSP_INTERRUPT_USE_INDEX_TABLE, you have to define BSP_INTERRUPT_HANDLER_TABLE_SIZE etc. as well"
|
||||
#endif
|
||||
|
||||
#define BSP_INTERRUPT_VECTOR_NUMBER (BSP_INTERRUPT_VECTOR_MAX + 1)
|
||||
|
||||
#ifndef BSP_INTERRUPT_HANDLER_TABLE_SIZE
|
||||
#define BSP_INTERRUPT_HANDLER_TABLE_SIZE BSP_INTERRUPT_VECTOR_NUMBER
|
||||
#define BSP_INTERRUPT_HANDLER_TABLE_SIZE BSP_INTERRUPT_VECTOR_COUNT
|
||||
#endif
|
||||
|
||||
/* Internal macros for SMP support, do not use externally */
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
#ifdef BSP_INTERRUPT_USE_INDEX_TABLE
|
||||
bsp_interrupt_handler_index_type bsp_interrupt_handler_index_table
|
||||
[BSP_INTERRUPT_VECTOR_NUMBER];
|
||||
[BSP_INTERRUPT_VECTOR_COUNT];
|
||||
#endif
|
||||
|
||||
bsp_interrupt_handler_entry bsp_interrupt_handler_table
|
||||
|
||||
Reference in New Issue
Block a user