diff options
Diffstat (limited to 'c/src/lib/libbsp/shared/include/irq-info.h')
-rw-r--r-- | c/src/lib/libbsp/shared/include/irq-info.h | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/shared/include/irq-info.h b/c/src/lib/libbsp/shared/include/irq-info.h index f2dee7ed35..02efc955c0 100644 --- a/c/src/lib/libbsp/shared/include/irq-info.h +++ b/c/src/lib/libbsp/shared/include/irq-info.h @@ -3,19 +3,20 @@ * * @ingroup bsp_interrupt * - * @brief Header file for generic BSP interrupt information. + * @brief Generic BSP interrupt information API. */ /* - * Copyright (c) 2008 - * Embedded Brains GmbH + * Copyright (c) 2008, 2009 + * embedded brains GmbH * Obere Lagerstr. 30 * D-82178 Puchheim * Germany - * rtems@embedded-brains.de + * <rtems@embedded-brains.de> * - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE. + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. */ #ifndef LIBBSP_SHARED_IRQ_INFO_H @@ -36,10 +37,23 @@ extern "C" { * @{ */ -void bsp_interrupt_report_with_plugin( void *context, rtems_printk_plugin_t print); +/** + * @brief Prints interrupt information via the printk plugin @a print with the + * context @a context. + */ +void bsp_interrupt_report_with_plugin( + void *context, + rtems_printk_plugin_t print +); -void bsp_interrupt_report( void); +/** + * @brief Prints interrupt information via the default printk plugin. + */ +void bsp_interrupt_report(void); +/** + * @brief Shell command entry for interrupt information. + */ extern struct rtems_shell_cmd_tt bsp_interrupt_shell_command; /** @} */ |