RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros | Typedefs
Directive Attributes

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

Macros

#define RTEMS_APPLICATION_TASK   0x00000000
 This attribute constant indicates that the Classic API task created by rtems_task_create() or rtems_task_construct() shall be an application task.
 
#define RTEMS_BARRIER_AUTOMATIC_RELEASE   0x00000200
 This attribute constant indicates that the Classic API barrier created by rtems_barrier_create() shall use the automatic release protocol.
 
#define RTEMS_BARRIER_MANUAL_RELEASE   0x00000000
 This attribute constant indicates that the Classic API barrier created by rtems_barrier_create() shall use the manual release protocol.
 
#define RTEMS_BINARY_SEMAPHORE   0x00000010
 This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() shall be a proper binary semaphore or mutex.
 
#define RTEMS_COUNTING_SEMAPHORE   0x00000000
 This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() shall be a counting semaphore.
 
#define RTEMS_DEFAULT_ATTRIBUTES   0x00000000
 This attribute constant represents the default 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 Classic API task created by rtems_task_create() or rtems_task_construct() shall be able to use the floating point hardware.
 
#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 created by rtems_semaphore_create() shall use the Priority Inheritance Protocol.
 
#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 created by rtems_semaphore_create() shall use the Multiprocessor Resource Sharing Protocol.
 
#define RTEMS_NO_FLOATING_POINT   0x00000000
 This attribute constant indicates that the Classic API task created by rtems_task_create() or rtems_task_construct() will not use the floating point hardware.
 
#define RTEMS_NO_INHERIT_PRIORITY   0x00000000
 This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() will not use the Priority Inheritance Protocol.
 
#define RTEMS_NO_MULTIPROCESSOR_RESOURCE_SHARING   0x00000000
 This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() will not use the Multiprocessor Resource Sharing Protocol.
 
#define RTEMS_NO_PRIORITY_CEILING   0x00000000
 This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() 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 created by rtems_semaphore_create() shall use the Priority Ceiling Protocol.
 
#define RTEMS_SEMAPHORE_CLASS   0x00000030
 This attribute constant represents the mask of bits associated with the Classic API semaphore classes RTEMS_BINARY_SEMAPHORE, RTEMS_COUNTING_SEMAPHORE, and RTEMS_SIMPLE_BINARY_SEMAPHORE.
 
#define RTEMS_SIMPLE_BINARY_SEMAPHORE   0x00000020
 This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() shall be a simple binary semaphore.
 
#define RTEMS_SYSTEM_TASK   0x00008000
 This attribute constant indicates that the Classic API task created by rtems_task_create() or rtems_task_construct() shall be a system task.
 

Typedefs

typedef uint32_t rtems_attribute
 This type represents Classic API attributes.
 

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 Classic API task created by rtems_task_create() or rtems_task_construct() shall be able to use the floating point hardware.

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

◆ RTEMS_GLOBAL

#define RTEMS_GLOBAL   0x00000002

This attribute constant indicates that the Classic API object shall be a global resource in a multiprocessing network.

Notes
This attribute does not refer to SMP systems.

◆ RTEMS_INHERIT_PRIORITY

#define RTEMS_INHERIT_PRIORITY   0x00000040

This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() shall use the Priority Inheritance Protocol.

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

◆ RTEMS_LOCAL

#define RTEMS_LOCAL   0x00000000

This attribute constant indicates that the Classic API object shall be a local resource in a multiprocessing network.

Notes
This attribute does not refer to SMP systems.

◆ RTEMS_MULTIPROCESSOR_RESOURCE_SHARING

#define RTEMS_MULTIPROCESSOR_RESOURCE_SHARING   0x00000100

This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() shall use the Multiprocessor Resource Sharing Protocol.

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

◆ RTEMS_NO_FLOATING_POINT

#define RTEMS_NO_FLOATING_POINT   0x00000000

This attribute constant indicates that the Classic API task created by rtems_task_create() or rtems_task_construct() will not use the floating point hardware.

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

◆ RTEMS_PRIORITY_CEILING

#define RTEMS_PRIORITY_CEILING   0x00000080

This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() shall use the Priority Ceiling Protocol.

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

Typedef Documentation

◆ rtems_attribute

typedef uint32_t rtems_attribute

This type represents Classic API attributes.

Notes
Attributes are primarily used when creating objects.