bsps/irq: Add bsp_interrupt_get_dispatch_table_slot()

Update #4769.
This commit is contained in:
Sebastian Huber
2022-12-01 08:55:24 +01:00
parent 71d1acd41d
commit 0d5e41afde
4 changed files with 26 additions and 8 deletions

View File

@@ -663,6 +663,17 @@ static inline bool bsp_interrupt_is_initialized( void )
return bsp_interrupt_is_handler_unique( BSP_INTERRUPT_DISPATCH_TABLE_SIZE );
}
/**
* @brief Gets a reference to the interrupt handler table slot associated with
* the index.
*
* @return Returns a reference to the interrupt handler table slot associated
* with the index.
*/
rtems_interrupt_entry **bsp_interrupt_get_dispatch_table_slot(
rtems_vector_number index
);
#ifdef __cplusplus
}
#endif /* __cplusplus */