RTEMS
6.1-rc6
Loading...
Searching...
No Matches
cpukit
include
rtems
rtems
attr.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-2-Clause */
2
11
/*
12
* Copyright (C) 2014, 2020 embedded brains GmbH & Co. KG
13
* Copyright (C) 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/attr/if/header */
55
56
#ifndef _RTEMS_RTEMS_ATTR_H
57
#define _RTEMS_RTEMS_ATTR_H
58
59
#include <stdint.h>
60
61
#ifdef __cplusplus
62
extern
"C"
{
63
#endif
64
65
/* Generated from spec:/rtems/attr/if/group */
66
75
/* Generated from spec:/rtems/attr/if/application-task */
76
84
#define RTEMS_APPLICATION_TASK 0x00000000
85
86
/* Generated from spec:/rtems/attr/if/attribute */
87
96
typedef
uint32_t
rtems_attribute
;
97
98
/* Generated from spec:/rtems/attr/if/barrier-automatic-release */
99
107
#define RTEMS_BARRIER_AUTOMATIC_RELEASE 0x00000200
108
109
/* Generated from spec:/rtems/attr/if/barrier-manual-release */
110
117
#define RTEMS_BARRIER_MANUAL_RELEASE 0x00000000
118
119
/* Generated from spec:/rtems/attr/if/binary-semaphore */
120
128
#define RTEMS_BINARY_SEMAPHORE 0x00000010
129
130
/* Generated from spec:/rtems/attr/if/counting-semaphore */
131
138
#define RTEMS_COUNTING_SEMAPHORE 0x00000000
139
140
/* Generated from spec:/rtems/attr/if/default */
141
147
#define RTEMS_DEFAULT_ATTRIBUTES 0x00000000
148
149
/* Generated from spec:/rtems/attr/if/fifo */
150
157
#define RTEMS_FIFO 0x00000000
158
159
/* Generated from spec:/rtems/attr/if/floating-point */
160
172
#define RTEMS_FLOATING_POINT 0x00000001
173
174
/* Generated from spec:/rtems/attr/if/global */
175
185
#define RTEMS_GLOBAL 0x00000002
186
187
/* Generated from spec:/rtems/attr/if/inherit-priority */
188
199
#define RTEMS_INHERIT_PRIORITY 0x00000040
200
201
/* Generated from spec:/rtems/attr/if/local */
202
212
#define RTEMS_LOCAL 0x00000000
213
214
/* Generated from spec:/rtems/attr/if/multiprocessor-resource-sharing */
215
226
#define RTEMS_MULTIPROCESSOR_RESOURCE_SHARING 0x00000100
227
228
/* Generated from spec:/rtems/attr/if/no-floating-point */
229
241
#define RTEMS_NO_FLOATING_POINT 0x00000000
242
243
/* Generated from spec:/rtems/attr/if/no-inherit-priority */
244
252
#define RTEMS_NO_INHERIT_PRIORITY 0x00000000
253
254
/* Generated from spec:/rtems/attr/if/no-multiprocessor-resource-sharing */
255
263
#define RTEMS_NO_MULTIPROCESSOR_RESOURCE_SHARING 0x00000000
264
265
/* Generated from spec:/rtems/attr/if/no-priority-ceiling */
266
274
#define RTEMS_NO_PRIORITY_CEILING 0x00000000
275
276
/* Generated from spec:/rtems/attr/if/priority */
277
284
#define RTEMS_PRIORITY 0x00000004
285
286
/* Generated from spec:/rtems/attr/if/priority-ceiling */
287
298
#define RTEMS_PRIORITY_CEILING 0x00000080
299
300
/* Generated from spec:/rtems/attr/if/semaphore-class */
301
309
#define RTEMS_SEMAPHORE_CLASS 0x00000030
310
311
/* Generated from spec:/rtems/attr/if/simple-binary-semaphore */
312
319
#define RTEMS_SIMPLE_BINARY_SEMAPHORE 0x00000020
320
321
/* Generated from spec:/rtems/attr/if/system-task */
322
329
#define RTEMS_SYSTEM_TASK 0x00008000
330
331
#ifdef __cplusplus
332
}
333
#endif
334
335
#endif
/* _RTEMS_RTEMS_ATTR_H */
rtems_attribute
uint32_t rtems_attribute
This type represents Classic API attributes.
Definition:
attr.h:96
Generated by
1.9.6