source: rtems/c/src/exec/rtems/macros/attr.inl @ b06e68ef

4.104.114.84.95
Last change on this file since b06e68ef was b06e68ef, checked in by Joel Sherrill <joel.sherrill@…>, on 08/17/95 at 19:51:51

Numerous miscellaneous features incorporated from Tony Bennett
(tbennett@…) including the following major additions:

+ variable length messages
+ named devices
+ debug monitor
+ association tables/variables

  • Property mode set to 100644
File size: 1.6 KB
Line 
1/*  macros/attr.h
2 *
3 *  This include file contains all of the inlined routines associated
4 *  with attributes.
5 *
6 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
7 *  On-Line Applications Research Corporation (OAR).
8 *  All rights assigned to U.S. Government, 1994.
9 *
10 *  This material may be reproduced by or for the U.S. Government pursuant
11 *  to the copyright license under the clause at DFARS 252.227-7013.  This
12 *  notice must appear in all copies of this file and its derivatives.
13 *
14 *  $Id$
15 */
16
17#ifndef __MACROS_ATTRIBUTES_h
18#define __MACROS_ATTRIBUTES_h
19
20/*PAGE
21 *
22 *  _Attributes_Set
23 */
24
25#define _Attributes_Set( _new_attributes, _attribute_set ) \
26  ( (_attribute_set) | (_new_attributes) )
27
28/*PAGE
29 *
30 *  _Attributes_Clear
31 */
32
33#define _Attributes_Clear( _attribute_set, _mask ) \
34  ( (_attribute_set) & ~(_mask) )
35
36/*PAGE
37 *
38 *  _Attributes_Is_floating_point
39 *
40 */
41
42#define _Attributes_Is_floating_point( _attribute_set ) \
43  ( (_attribute_set) & RTEMS_FLOATING_POINT )
44
45/*PAGE
46 *
47 *  _Attributes_Is_global
48 *
49 */
50
51#define _Attributes_Is_global( _attribute_set ) \
52  ( (_attribute_set) & RTEMS_GLOBAL )
53
54/*PAGE
55 *
56 *  _Attributes_Is_priority
57 *
58 */
59
60#define _Attributes_Is_priority( _attribute_set ) \
61  ( (_attribute_set) & RTEMS_PRIORITY )
62
63/*PAGE
64 *
65 *  _Attributes_Is_binary_semaphore
66 *
67 */
68
69#define _Attributes_Is_binary_semaphore( _attribute_set ) \
70  ( (_attribute_set) & RTEMS_BINARY_SEMAPHORE )
71
72/*PAGE
73 *
74 *  _Attributes_Is_inherit_priority
75 *
76 */
77
78#define _Attributes_Is_inherit_priority( _attribute_set ) \
79  ( (_attribute_set) & RTEMS_INHERIT_PRIORITY )
80
81#endif
82/* end of include file */
Note: See TracBrowser for help on using the repository browser.