RTEMS 6.1-rc5
Loading...
Searching...
No Matches
asr.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-2-Clause */
2
11/*
12 * Copyright (C) 2020 embedded brains GmbH & Co. KG
13 * Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
14 *
15 * Redistribution and use in source and binary forms, with or without
16 * modification, are permitted provided that the following conditions
17 * are met:
18 * 1. Redistributions of source code must retain the above copyright
19 * notice, this list of conditions and the following disclaimer.
20 * 2. Redistributions in binary form must reproduce the above copyright
21 * notice, this list of conditions and the following disclaimer in the
22 * documentation and/or other materials provided with the distribution.
23 *
24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
28 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
29 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
30 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
32 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 * POSSIBILITY OF SUCH DAMAGE.
35 */
36
37/*
38 * This file is part of the RTEMS quality process and was automatically
39 * generated. If you find something that needs to be fixed or
40 * worded better please post a report or patch to an RTEMS mailing list
41 * or raise a bug report:
42 *
43 * https://www.rtems.org/bugs.html
44 *
45 * For information on updating and regenerating please refer to the How-To
46 * section in the Software Requirements Engineering chapter of the
47 * RTEMS Software Engineering manual. The manual is provided as a part of
48 * a release. For development sources please refer to the online
49 * documentation at:
50 *
51 * https://docs.rtems.org
52 */
53
54/* Generated from spec:/rtems/signal/if/header-2 */
55
56#ifndef _RTEMS_RTEMS_ASR_H
57#define _RTEMS_RTEMS_ASR_H
58
59#include <stdint.h>
60
61#ifdef __cplusplus
62extern "C" {
63#endif
64
65/* Generated from spec:/rtems/signal/if/asr */
66
77typedef void rtems_asr;
78
79/* Generated from spec:/rtems/signal/if/set */
80
87typedef uint32_t rtems_signal_set;
88
89/* Generated from spec:/rtems/signal/if/asr-entry */
90
99);
100
101/* Generated from spec:/rtems/signal/if/signal-00 */
102
109#define RTEMS_SIGNAL_0 0x00000001
110
111/* Generated from spec:/rtems/signal/if/signal-01 */
112
119#define RTEMS_SIGNAL_1 0x00000002
120
121/* Generated from spec:/rtems/signal/if/signal-02 */
122
129#define RTEMS_SIGNAL_2 0x00000004
130
131/* Generated from spec:/rtems/signal/if/signal-03 */
132
139#define RTEMS_SIGNAL_3 0x00000008
140
141/* Generated from spec:/rtems/signal/if/signal-04 */
142
149#define RTEMS_SIGNAL_4 0x00000010
150
151/* Generated from spec:/rtems/signal/if/signal-05 */
152
159#define RTEMS_SIGNAL_5 0x00000020
160
161/* Generated from spec:/rtems/signal/if/signal-06 */
162
169#define RTEMS_SIGNAL_6 0x00000040
170
171/* Generated from spec:/rtems/signal/if/signal-07 */
172
179#define RTEMS_SIGNAL_7 0x00000080
180
181/* Generated from spec:/rtems/signal/if/signal-08 */
182
189#define RTEMS_SIGNAL_8 0x00000100
190
191/* Generated from spec:/rtems/signal/if/signal-09 */
192
199#define RTEMS_SIGNAL_9 0x00000200
200
201/* Generated from spec:/rtems/signal/if/signal-10 */
202
209#define RTEMS_SIGNAL_10 0x00000400
210
211/* Generated from spec:/rtems/signal/if/signal-11 */
212
219#define RTEMS_SIGNAL_11 0x00000800
220
221/* Generated from spec:/rtems/signal/if/signal-12 */
222
229#define RTEMS_SIGNAL_12 0x00001000
230
231/* Generated from spec:/rtems/signal/if/signal-13 */
232
239#define RTEMS_SIGNAL_13 0x00002000
240
241/* Generated from spec:/rtems/signal/if/signal-14 */
242
249#define RTEMS_SIGNAL_14 0x00004000
250
251/* Generated from spec:/rtems/signal/if/signal-15 */
252
259#define RTEMS_SIGNAL_15 0x00008000
260
261/* Generated from spec:/rtems/signal/if/signal-16 */
262
269#define RTEMS_SIGNAL_16 0x00010000
270
271/* Generated from spec:/rtems/signal/if/signal-17 */
272
279#define RTEMS_SIGNAL_17 0x00020000
280
281/* Generated from spec:/rtems/signal/if/signal-18 */
282
289#define RTEMS_SIGNAL_18 0x00040000
290
291/* Generated from spec:/rtems/signal/if/signal-19 */
292
299#define RTEMS_SIGNAL_19 0x00080000
300
301/* Generated from spec:/rtems/signal/if/signal-20 */
302
309#define RTEMS_SIGNAL_20 0x00100000
310
311/* Generated from spec:/rtems/signal/if/signal-21 */
312
319#define RTEMS_SIGNAL_21 0x00200000
320
321/* Generated from spec:/rtems/signal/if/signal-22 */
322
329#define RTEMS_SIGNAL_22 0x00400000
330
331/* Generated from spec:/rtems/signal/if/signal-23 */
332
339#define RTEMS_SIGNAL_23 0x00800000
340
341/* Generated from spec:/rtems/signal/if/signal-24 */
342
349#define RTEMS_SIGNAL_24 0x01000000
350
351/* Generated from spec:/rtems/signal/if/signal-25 */
352
359#define RTEMS_SIGNAL_25 0x02000000
360
361/* Generated from spec:/rtems/signal/if/signal-26 */
362
369#define RTEMS_SIGNAL_26 0x04000000
370
371/* Generated from spec:/rtems/signal/if/signal-27 */
372
379#define RTEMS_SIGNAL_27 0x08000000
380
381/* Generated from spec:/rtems/signal/if/signal-28 */
382
389#define RTEMS_SIGNAL_28 0x10000000
390
391/* Generated from spec:/rtems/signal/if/signal-29 */
392
399#define RTEMS_SIGNAL_29 0x20000000
400
401/* Generated from spec:/rtems/signal/if/signal-30 */
402
409#define RTEMS_SIGNAL_30 0x40000000
410
411/* Generated from spec:/rtems/signal/if/signal-31 */
412
419#define RTEMS_SIGNAL_31 0x80000000
420
421#ifdef __cplusplus
422}
423#endif
424
425#endif /* _RTEMS_RTEMS_ASR_H */
void rtems_asr
This type defines the return type of routines which are used to process asynchronous signals.
Definition: asr.h:77
rtems_asr(* rtems_asr_entry)(rtems_signal_set)
This type defines the prototype of routines which are used to process asynchronous signals.
Definition: asr.h:97
uint32_t rtems_signal_set
This integer type represents a bit field which can hold exactly 32 individual signals.
Definition: asr.h:87