5
Last change
on this file since 21275b58 was
bdd4eb87,
checked in by Sebastian Huber <sebastian.huber@…>, on 11/08/18 at 08:13:59
|
rtems: Remove Modes_Control
Use rtems_mode directly. This is in line with rtems_attribute and
rtems_option.
Update #3598.
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup ClassicASRImpl |
---|
5 | * |
---|
6 | * @brief Classic ASR Data Structures |
---|
7 | */ |
---|
8 | |
---|
9 | /* COPYRIGHT (c) 1989-2013. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.org/license/LICENSE. |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef _RTEMS_RTEMS_ASRDATA_H |
---|
18 | #define _RTEMS_RTEMS_ASRDATA_H |
---|
19 | |
---|
20 | #include <rtems/rtems/asr.h> |
---|
21 | |
---|
22 | #ifdef __cplusplus |
---|
23 | extern "C" { |
---|
24 | #endif |
---|
25 | |
---|
26 | /** |
---|
27 | * @addtogroup ClassicASRImpl |
---|
28 | * |
---|
29 | * @{ |
---|
30 | */ |
---|
31 | |
---|
32 | /** |
---|
33 | * The following defines the control structure used to manage |
---|
34 | * signals. Each thread has a copy of this record. |
---|
35 | */ |
---|
36 | typedef struct { |
---|
37 | /** This field indicates if are ASRs enabled currently. */ |
---|
38 | bool is_enabled; |
---|
39 | /** This field indicates if address of the signal handler function. */ |
---|
40 | rtems_asr_entry handler; |
---|
41 | /** This field indicates if the task mode the signal will run with. */ |
---|
42 | rtems_mode mode_set; |
---|
43 | /** This field indicates the signal set that is posted. */ |
---|
44 | rtems_signal_set signals_posted; |
---|
45 | /** This field indicates the signal set that is pending. */ |
---|
46 | rtems_signal_set signals_pending; |
---|
47 | /** This field indicates if nest level of signals being processed */ |
---|
48 | uint32_t nest_level; |
---|
49 | } ASR_Information; |
---|
50 | |
---|
51 | /** @} */ |
---|
52 | |
---|
53 | #ifdef __cplusplus |
---|
54 | } |
---|
55 | #endif |
---|
56 | |
---|
57 | #endif |
---|
58 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.