source: rtems/c/src/lib/libbsp/shared/include/irq-info.h @ c499856

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup bsp_interrupt
5 *
6 * @brief Generic BSP interrupt information API.
7 */
8
9/*
10 * Copyright (c) 2008, 2009
11 * embedded brains GmbH
12 * Obere Lagerstr. 30
13 * D-82178 Puchheim
14 * Germany
15 * <rtems@embedded-brains.de>
16 *
17 * The license and distribution terms for this file may be
18 * found in the file LICENSE in this distribution or at
19 * http://www.rtems.org/license/LICENSE.
20 */
21
22#ifndef LIBBSP_SHARED_IRQ_INFO_H
23#define LIBBSP_SHARED_IRQ_INFO_H
24
25#include <rtems/shell.h>
26#include <rtems/bspIo.h>
27
28#ifdef __cplusplus
29extern "C" {
30#endif /* __cplusplus */
31
32/**
33 * @brief Prints interrupt information via the printk plugin @a print with the
34 * context @a context.
35 */
36void bsp_interrupt_report_with_plugin(
37  void *context,
38  rtems_printk_plugin_t print
39);
40
41/**
42 * @brief Prints interrupt information via the default printk plugin.
43 */
44void bsp_interrupt_report(void);
45
46/**
47 * @brief Shell command entry for interrupt information.
48 */
49extern struct rtems_shell_cmd_tt bsp_interrupt_shell_command;
50
51/** @} */
52
53#ifdef __cplusplus
54}
55#endif /* __cplusplus */
56
57#endif /* LIBBSP_SHARED_IRQ_INFO_H */
Note: See TracBrowser for help on using the repository browser.