diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-12-01 08:55:24 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-12-02 10:25:44 +0100 |
commit | 0d5e41afde424bec6ce59c1e8ce1181980b9844f (patch) | |
tree | 994f9f80e267ac4fb2d367db96424054c0b5fa53 /bsps/include/bsp/irq-generic.h | |
parent | bsps/irq: Rename handler in dispatch table (diff) | |
download | rtems-0d5e41afde424bec6ce59c1e8ce1181980b9844f.tar.bz2 |
bsps/irq: Add bsp_interrupt_get_dispatch_table_slot()
Update #4769.
Diffstat (limited to 'bsps/include/bsp/irq-generic.h')
-rw-r--r-- | bsps/include/bsp/irq-generic.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bsps/include/bsp/irq-generic.h b/bsps/include/bsp/irq-generic.h index 4a3dd75e7d..1ff84ee7cd 100644 --- a/bsps/include/bsp/irq-generic.h +++ b/bsps/include/bsp/irq-generic.h @@ -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 */ |