mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
bsps/irq: Assert BSP_INTERRUPT_VECTOR_MIN == 0
After building all BSPs with this patch, this BSP-specific define can be removed to simplify the implementation. Update #3269.
This commit is contained in:
@@ -62,6 +62,10 @@ extern "C" {
|
||||
#error "invalid BSP_INTERRUPT_VECTOR_MIN or BSP_INTERRUPT_VECTOR_MAX"
|
||||
#endif
|
||||
|
||||
#if BSP_INTERRUPT_VECTOR_MIN != 0
|
||||
#error "BSP_INTERRUPT_VECTOR_MIN shall be zero"
|
||||
#endif
|
||||
|
||||
#if defined(BSP_INTERRUPT_USE_INDEX_TABLE) && !defined(BSP_INTERRUPT_HANDLER_TABLE_SIZE)
|
||||
#error "if you define BSP_INTERRUPT_USE_INDEX_TABLE, you have to define BSP_INTERRUPT_HANDLER_TABLE_SIZE etc. as well"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user