RTEMS
Files | Macros | Typedefs
Directive Attributes

This group contains the Classic API directive attributes. More...

Files

file  attr.h
 This header file defines attributes provided by the Classic API.
 

Macros

#define RTEMS_APPLICATION_TASK   0x00000000
 This attribute constant is used to indicate that the Classic API Task object shall be an application task.
 
#define RTEMS_BARRIER_AUTOMATIC_RELEASE   0x00000200
 This attribute constant indicates that a Classic API Barrier object shall use the automatic release protocol.
 
#define RTEMS_BARRIER_MANUAL_RELEASE   0x00000000
 This attribute constant indicates that the Classic API Barrier object shall use the manual release protocol.
 
#define RTEMS_BINARY_SEMAPHORE   0x00000010
 This attribute constant indicates that the Classic API Semaphore object shall be a proper binary semaphore or mutex.
 
#define RTEMS_COUNTING_SEMAPHORE   0x00000000
 This attribute constant indicates that the Classic API Semaphore object shall be a counting semaphore.
 
#define RTEMS_DEFAULT_ATTRIBUTES   0x00000000
 This is the default value for an attribute set.
 
#define RTEMS_FIFO   0x00000000
 This attribute constant indicates that the Classic API object shall manage blocking tasks using the FIFO discipline.
 
#define RTEMS_FLOATING_POINT   0x00000001
 This attribute constant indicates that the task shall be able to use the floating point hardware. More...
 
#define RTEMS_GLOBAL   0x00000002
 This attribute constant indicates that the Classic API object shall be a global resource in a multiprocessing network.
 
#define RTEMS_INHERIT_PRIORITY   0x00000040
 This attribute constant indicates that the Classic API Semaphore object shall use the Priority Inheritance Protocol. More...
 
#define RTEMS_LOCAL   0x00000000
 This attribute constant indicates that the Classic API object shall be a local resource in a multiprocessing network.
 
#define RTEMS_MULTIPROCESSOR_RESOURCE_SHARING   0x00000100
 This attribute constant indicates that the Classic API Semaphore object shall use the Multiprocessor Resource Sharing Protocol. More...
 
#define RTEMS_NO_FLOATING_POINT   0x00000000
 This attribute constant indicates that the task will not use the floating point hardware. More...
 
#define RTEMS_NO_INHERIT_PRIORITY   0x00000000
 This attribute constant indicates that the Classic API Semaphore object will not use the Priority Inheritance Protocol.
 
#define RTEMS_NO_MULTIPROCESSOR_RESOURCE_SHARING   0x00000000
 This attribute constant indicates that the Classic API Semaphore object will not use the Multiprocessor Resource Sharing Protocol.
 
#define RTEMS_NO_PRIORITY_CEILING   0x00000000
 This attribute constant indicates that the Classic API Semaphore object will not use the Priority Ceiling Protocol.
 
#define RTEMS_PRIORITY   0x00000004
 This attribute constant indicates that the Classic API object shall manage blocking tasks using the task priority discipline.
 
#define RTEMS_PRIORITY_CEILING   0x00000080
 This attribute constant indicates that the Classic API Semaphore object shall use the Priority Ceiling Protocol. More...
 
#define RTEMS_SEMAPHORE_CLASS   0x00000030
 This is the mask for the attribute bits associated with the Classic API Semaphore Manager.
 
#define RTEMS_SIMPLE_BINARY_SEMAPHORE   0x00000020
 This attribute constant indicates that the Classic API Semaphore object shall be a simple binary semaphore.
 
#define RTEMS_SYSTEM_TASK   0x00008000
 This attribute constant is used to indicate that the Classic API Task object shall be a system task.
 

Typedefs

typedef uint32_t rtems_attribute
 This type is used to represent Classic API attributes. More...
 

Detailed Description

This group contains the Classic API directive attributes.

Macro Definition Documentation

◆ RTEMS_FLOATING_POINT

#define RTEMS_FLOATING_POINT   0x00000001

This attribute constant indicates that the task shall be able to use the floating point hardware.

On some architectures, there will be a floating point context associated with this task.

Definition at line 163 of file attr.h.

◆ RTEMS_INHERIT_PRIORITY

#define RTEMS_INHERIT_PRIORITY   0x00000040

This attribute constant indicates that the Classic API Semaphore object shall use the Priority Inheritance Protocol.

The semaphore object shall be a binary semaphore (RTEMS_BINARY_SEMAPHORE).

Definition at line 185 of file attr.h.

◆ RTEMS_MULTIPROCESSOR_RESOURCE_SHARING

#define RTEMS_MULTIPROCESSOR_RESOURCE_SHARING   0x00000100

This attribute constant indicates that the Classic API Semaphore object shall use the Multiprocessor Resource Sharing Protocol.

The semaphore object shall be a binary semaphore (RTEMS_BINARY_SEMAPHORE).

Definition at line 207 of file attr.h.

◆ RTEMS_NO_FLOATING_POINT

#define RTEMS_NO_FLOATING_POINT   0x00000000

This attribute constant indicates that the task will not use the floating point hardware.

If the architecture permits it, then the FPU will be disabled when the task is executing.

Definition at line 220 of file attr.h.

◆ RTEMS_PRIORITY_CEILING

#define RTEMS_PRIORITY_CEILING   0x00000080

This attribute constant indicates that the Classic API Semaphore object shall use the Priority Ceiling Protocol.

The semaphore object shall be a binary semaphore (RTEMS_BINARY_SEMAPHORE).

Definition at line 272 of file attr.h.

Typedef Documentation

◆ rtems_attribute

typedef uint32_t rtems_attribute

This type is used to represent Classic API attributes.

Attributes are primarily used when creating objects.

Definition at line 91 of file attr.h.