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 | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shared/include/irq-info.h b/c/src/lib/libbsp/shared/include/irq-info.h new file mode 100644 index 0000000000..f2dee7ed35 --- /dev/null +++ b/c/src/lib/libbsp/shared/include/irq-info.h @@ -0,0 +1,51 @@ +/** + * @file + * + * @ingroup bsp_interrupt + * + * @brief Header file for generic BSP interrupt information. + */ + +/* + * Copyright (c) 2008 + * Embedded Brains GmbH + * Obere Lagerstr. 30 + * D-82178 Puchheim + * Germany + * 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. + */ + +#ifndef LIBBSP_SHARED_IRQ_INFO_H +#define LIBBSP_SHARED_IRQ_INFO_H + +#include <rtems/shell.h> +#include <rtems/bspIo.h> + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +/** + * @defgroup bsp_interrupt BSP Interrupt Information + * + * @ingroup rtems_interrupt_extension + * + * @{ + */ + +void bsp_interrupt_report_with_plugin( void *context, rtems_printk_plugin_t print); + +void bsp_interrupt_report( void); + +extern struct rtems_shell_cmd_tt bsp_interrupt_shell_command; + +/** @} */ + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* LIBBSP_SHARED_IRQ_INFO_H */ |