RTEMS
Files | Macros | Functions
Classic Attributes Implementation

Files

file  attrimpl.h
 Classic Attributes Implementation.
 

Macros

#define ATTRIBUTES_NOT_SUPPORTED   0
 
#define ATTRIBUTES_REQUIRED   RTEMS_FLOATING_POINT
 

Functions

RTEMS_INLINE_ROUTINE rtems_attribute _Attributes_Set (rtems_attribute new_attributes, rtems_attribute attribute_set)
 Sets the requested new_attributes in the attribute_set passed in. More...
 
RTEMS_INLINE_ROUTINE rtems_attribute _Attributes_Clear (rtems_attribute attribute_set, rtems_attribute mask)
 Clears the requested new_attributes in the attribute_set passed in. More...
 
RTEMS_INLINE_ROUTINE bool _Attributes_Is_floating_point (rtems_attribute attribute_set)
 Checks if the floating point attribute is enabled in the attribute_set. More...
 
RTEMS_INLINE_ROUTINE bool _Attributes_Is_priority (rtems_attribute attribute_set)
 Checks if the priority attribute is enabled in the attribute_set. More...
 
RTEMS_INLINE_ROUTINE bool _Attributes_Is_binary_semaphore (rtems_attribute attribute_set)
 Checks if the binary semaphore attribute is enabled in the attribute_set. More...
 
RTEMS_INLINE_ROUTINE bool _Attributes_Is_simple_binary_semaphore (rtems_attribute attribute_set)
 Checks if the simple binary semaphore attribute is enabled in the attribute_set. More...
 
RTEMS_INLINE_ROUTINE bool _Attributes_Is_counting_semaphore (rtems_attribute attribute_set)
 Checks if the counting semaphore attribute is enabled in the attribute_set. More...
 
RTEMS_INLINE_ROUTINE bool _Attributes_Is_inherit_priority (rtems_attribute attribute_set)
 Checks if the priority inheritance attribute is enabled in the attribute_set. More...
 
RTEMS_INLINE_ROUTINE bool _Attributes_Has_at_most_one_protocol (rtems_attribute attribute_set)
 Returns true if the attribute set has at most one protocol, and false otherwise. More...
 
RTEMS_INLINE_ROUTINE bool _Attributes_Is_priority_ceiling (rtems_attribute attribute_set)
 Checks if the priority ceiling attribute is enabled in the attribute_set. More...
 
RTEMS_INLINE_ROUTINE bool _Attributes_Is_multiprocessor_resource_sharing (rtems_attribute attribute_set)
 Checks if the Multiprocessor Resource Sharing Protocol attribute is enabled in the attribute_set. More...
 
RTEMS_INLINE_ROUTINE bool _Attributes_Is_barrier_automatic (rtems_attribute attribute_set)
 Checks if the barrier automatic release attribute is enabled in the attribute_set. More...
 
RTEMS_INLINE_ROUTINE bool _Attributes_Is_system_task (rtems_attribute attribute_set)
 Checks if the system task attribute is enabled in the attribute_set. More...
 

Detailed Description

Macro Definition Documentation

◆ ATTRIBUTES_NOT_SUPPORTED

#define ATTRIBUTES_NOT_SUPPORTED   0

This attribute constant indicates the attributes that are not supportable given the hardware configuration.

Definition at line 42 of file attrimpl.h.

◆ ATTRIBUTES_REQUIRED

#define ATTRIBUTES_REQUIRED   RTEMS_FLOATING_POINT

This attribute constant indicates the attributes that are required given the hardware configuration.

Definition at line 49 of file attrimpl.h.

Function Documentation

◆ _Attributes_Clear()

RTEMS_INLINE_ROUTINE rtems_attribute _Attributes_Clear ( rtems_attribute  attribute_set,
rtems_attribute  mask 
)

Clears the requested new_attributes in the attribute_set passed in.

This function clears the requested new_attributes in the attribute_set passed in. The result is returned to the user.

Definition at line 75 of file attrimpl.h.

◆ _Attributes_Has_at_most_one_protocol()

RTEMS_INLINE_ROUTINE bool _Attributes_Has_at_most_one_protocol ( rtems_attribute  attribute_set)

Returns true if the attribute set has at most one protocol, and false otherwise.

The protocols are RTEMS_INHERIT_PRIORITY, RTEMS_PRIORITY_CEILING and RTEMS_MULTIPROCESSOR_RESOURCE_SHARING.

Definition at line 190 of file attrimpl.h.

◆ _Attributes_Is_barrier_automatic()

RTEMS_INLINE_ROUTINE bool _Attributes_Is_barrier_automatic ( rtems_attribute  attribute_set)

Checks if the barrier automatic release attribute is enabled in the attribute_set.

This function returns TRUE if the barrier automatic release attribute is enabled in the attribute_set and FALSE otherwise.

Definition at line 235 of file attrimpl.h.

◆ _Attributes_Is_binary_semaphore()

RTEMS_INLINE_ROUTINE bool _Attributes_Is_binary_semaphore ( rtems_attribute  attribute_set)

Checks if the binary semaphore attribute is enabled in the attribute_set.

This function returns TRUE if the binary semaphore attribute is enabled in the attribute_set and FALSE otherwise.

Definition at line 133 of file attrimpl.h.

◆ _Attributes_Is_counting_semaphore()

RTEMS_INLINE_ROUTINE bool _Attributes_Is_counting_semaphore ( rtems_attribute  attribute_set)

Checks if the counting semaphore attribute is enabled in the attribute_set.

This function returns TRUE if the counting semaphore attribute is enabled in the attribute_set and FALSE otherwise.

Definition at line 162 of file attrimpl.h.

◆ _Attributes_Is_floating_point()

RTEMS_INLINE_ROUTINE bool _Attributes_Is_floating_point ( rtems_attribute  attribute_set)

Checks if the floating point attribute is enabled in the attribute_set.

This function returns TRUE if the floating point attribute is enabled in the attribute_set and FALSE otherwise.

Definition at line 90 of file attrimpl.h.

◆ _Attributes_Is_inherit_priority()

RTEMS_INLINE_ROUTINE bool _Attributes_Is_inherit_priority ( rtems_attribute  attribute_set)

Checks if the priority inheritance attribute is enabled in the attribute_set.

This function returns TRUE if the priority inheritance attribute is enabled in the attribute_set and FALSE otherwise.

Definition at line 176 of file attrimpl.h.

◆ _Attributes_Is_multiprocessor_resource_sharing()

RTEMS_INLINE_ROUTINE bool _Attributes_Is_multiprocessor_resource_sharing ( rtems_attribute  attribute_set)

Checks if the Multiprocessor Resource Sharing Protocol attribute is enabled in the attribute_set.

This function returns TRUE if the Multiprocessor Resource Sharing Protocol attribute is enabled in the attribute_set and FALSE otherwise.

Definition at line 221 of file attrimpl.h.

◆ _Attributes_Is_priority()

RTEMS_INLINE_ROUTINE bool _Attributes_Is_priority ( rtems_attribute  attribute_set)

Checks if the priority attribute is enabled in the attribute_set.

This function returns TRUE if the priority attribute is enabled in the attribute_set and FALSE otherwise.

Definition at line 119 of file attrimpl.h.

◆ _Attributes_Is_priority_ceiling()

RTEMS_INLINE_ROUTINE bool _Attributes_Is_priority_ceiling ( rtems_attribute  attribute_set)

Checks if the priority ceiling attribute is enabled in the attribute_set.

This function returns TRUE if the priority ceiling attribute is enabled in the attribute_set and FALSE otherwise.

Definition at line 207 of file attrimpl.h.

◆ _Attributes_Is_simple_binary_semaphore()

RTEMS_INLINE_ROUTINE bool _Attributes_Is_simple_binary_semaphore ( rtems_attribute  attribute_set)

Checks if the simple binary semaphore attribute is enabled in the attribute_set.

This function returns TRUE if the simple binary semaphore attribute is enabled in the attribute_set and FALSE otherwise.

Definition at line 147 of file attrimpl.h.

◆ _Attributes_Is_system_task()

RTEMS_INLINE_ROUTINE bool _Attributes_Is_system_task ( rtems_attribute  attribute_set)

Checks if the system task attribute is enabled in the attribute_set.

This function returns TRUE if the system task attribute is enabled in the attribute_set and FALSE otherwise.

Definition at line 249 of file attrimpl.h.

◆ _Attributes_Set()

RTEMS_INLINE_ROUTINE rtems_attribute _Attributes_Set ( rtems_attribute  new_attributes,
rtems_attribute  attribute_set 
)

Sets the requested new_attributes in the attribute_set passed in.

This function sets the requested new_attributes in the attribute_set passed in. The result is returned to the user.

Definition at line 60 of file attrimpl.h.