RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
asr.h
Go to the documentation of this file.
1
11/* COPYRIGHT (c) 1989-2013.
12 * On-Line Applications Research Corporation (OAR).
13 *
14 * The license and distribution terms for this file may be
15 * found in the file LICENSE in this distribution or at
16 * http://www.rtems.org/license/LICENSE.
17 */
18
19#ifndef _RTEMS_RTEMS_ASR_H
20#define _RTEMS_RTEMS_ASR_H
21
22#include <rtems/rtems/modes.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
42typedef uint32_t rtems_signal_set;
43
47typedef void rtems_asr;
48
55 );
56
57/*
58 * The following constants define the individual signals which may
59 * be used to compose a signal set.
60 */
61
63#define RTEMS_SIGNAL_0 0x00000001
65#define RTEMS_SIGNAL_1 0x00000002
67#define RTEMS_SIGNAL_2 0x00000004
69#define RTEMS_SIGNAL_3 0x00000008
71#define RTEMS_SIGNAL_4 0x00000010
73#define RTEMS_SIGNAL_5 0x00000020
75#define RTEMS_SIGNAL_6 0x00000040
77#define RTEMS_SIGNAL_7 0x00000080
79#define RTEMS_SIGNAL_8 0x00000100
81#define RTEMS_SIGNAL_9 0x00000200
83#define RTEMS_SIGNAL_10 0x00000400
85#define RTEMS_SIGNAL_11 0x00000800
87#define RTEMS_SIGNAL_12 0x00001000
89#define RTEMS_SIGNAL_13 0x00002000
91#define RTEMS_SIGNAL_14 0x00004000
93#define RTEMS_SIGNAL_15 0x00008000
95#define RTEMS_SIGNAL_16 0x00010000
97#define RTEMS_SIGNAL_17 0x00020000
99#define RTEMS_SIGNAL_18 0x00040000
101#define RTEMS_SIGNAL_19 0x00080000
103#define RTEMS_SIGNAL_20 0x00100000
105#define RTEMS_SIGNAL_21 0x00200000
107#define RTEMS_SIGNAL_22 0x00400000
109#define RTEMS_SIGNAL_23 0x00800000
111#define RTEMS_SIGNAL_24 0x01000000
113#define RTEMS_SIGNAL_25 0x02000000
115#define RTEMS_SIGNAL_26 0x04000000
117#define RTEMS_SIGNAL_27 0x08000000
119#define RTEMS_SIGNAL_28 0x10000000
121#define RTEMS_SIGNAL_29 0x20000000
123#define RTEMS_SIGNAL_30 0x40000000
125#define RTEMS_SIGNAL_31 0x80000000
126
129#ifdef __cplusplus
130}
131#endif
132
133#endif
134/* end of include file */
void rtems_asr
Definition: asr.h:47
rtems_asr(* rtems_asr_entry)(rtems_signal_set)
Definition: asr.h:53
uint32_t rtems_signal_set
Definition: asr.h:42