38#ifndef _RTEMS_RTEMS_ATTR_INL
39#define _RTEMS_RTEMS_ATTR_INL
42#include <rtems/score/cpu.h>
65#define ATTRIBUTES_NOT_SUPPORTED 0
71#if ( CPU_ALL_TASKS_ARE_FP == TRUE )
72#define ATTRIBUTES_REQUIRED RTEMS_FLOATING_POINT
74#define ATTRIBUTES_REQUIRED 0
88 return attribute_set | new_attributes;
103 return attribute_set & ~mask;
113static inline bool _Attributes_Is_floating_point(
120#if defined(RTEMS_MULTIPROCESSING)
128static inline bool _Attributes_Is_global(
142static inline bool _Attributes_Is_priority(
156static inline bool _Attributes_Is_binary_semaphore(
170static inline bool _Attributes_Is_simple_binary_semaphore(
185static inline bool _Attributes_Is_counting_semaphore(
199static inline bool _Attributes_Is_inherit_priority(
213static inline bool _Attributes_Has_at_most_one_protocol(
220 return ( attribute_set & ( attribute_set - 1 ) ) == 0;
230static inline bool _Attributes_Is_priority_ceiling(
244static inline bool _Attributes_Is_multiprocessor_resource_sharing(
258static inline bool _Attributes_Is_barrier_automatic(
272static inline bool _Attributes_Is_system_task(
This header file provides Classic API directive attributes.
#define RTEMS_COUNTING_SEMAPHORE
This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() ...
Definition: attr.h:138
#define RTEMS_GLOBAL
This attribute constant indicates that the Classic API object shall be a global resource in a multipr...
Definition: attr.h:185
#define RTEMS_SEMAPHORE_CLASS
This attribute constant represents the mask of bits associated with the Classic API semaphore classes...
Definition: attr.h:309
#define RTEMS_INHERIT_PRIORITY
This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() ...
Definition: attr.h:199
#define RTEMS_SYSTEM_TASK
This attribute constant indicates that the Classic API task created by rtems_task_create() or rtems_t...
Definition: attr.h:329
#define RTEMS_BINARY_SEMAPHORE
This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() ...
Definition: attr.h:128
#define RTEMS_MULTIPROCESSOR_RESOURCE_SHARING
This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() ...
Definition: attr.h:226
#define RTEMS_PRIORITY
This attribute constant indicates that the Classic API object shall manage blocking tasks using the t...
Definition: attr.h:284
#define RTEMS_PRIORITY_CEILING
This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() ...
Definition: attr.h:298
#define RTEMS_SIMPLE_BINARY_SEMAPHORE
This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() ...
Definition: attr.h:319
#define RTEMS_FLOATING_POINT
This attribute constant indicates that the Classic API task created by rtems_task_create() or rtems_t...
Definition: attr.h:172
#define RTEMS_BARRIER_AUTOMATIC_RELEASE
This attribute constant indicates that the Classic API barrier created by rtems_barrier_create() shal...
Definition: attr.h:107
uint32_t rtems_attribute
This type represents Classic API attributes.
Definition: attr.h:96