![]() |
RTEMS 5.2
|
Constants and Structures Associated with the Object Handler. More...
Go to the source code of this file.
Data Structures | |
union | Objects_Name |
Macros | |
#define | OBJECTS_INDEX_START_BIT 0U |
#define | OBJECTS_NODE_START_BIT 16U |
#define | OBJECTS_API_START_BIT 24U |
#define | OBJECTS_CLASS_START_BIT 27U |
#define | OBJECTS_INDEX_MASK (Objects_Id)0x0000ffffU |
#define | OBJECTS_NODE_MASK (Objects_Id)0x00ff0000U |
#define | OBJECTS_API_MASK (Objects_Id)0x07000000U |
#define | OBJECTS_CLASS_MASK (Objects_Id)0xf8000000U |
#define | OBJECTS_INDEX_VALID_BITS (Objects_Id)0x0000ffffU |
#define | OBJECTS_NODE_VALID_BITS (Objects_Id)0x000000ffU |
#define | OBJECTS_API_VALID_BITS (Objects_Id)0x00000007U |
#define | OBJECTS_CLASS_VALID_BITS (Objects_Id)0x0000001fU |
#define | OBJECTS_UNLIMITED_OBJECTS 0x80000000U |
#define | OBJECTS_ID_INITIAL_INDEX (0) |
#define | OBJECTS_ID_FINAL_INDEX (0xffffU) |
#define | OBJECTS_APIS_LAST OBJECTS_POSIX_API |
#define | OBJECTS_ID_NONE 0 |
#define | OBJECTS_ID_OF_SELF ((Objects_Id) 0) |
#define | OBJECTS_SEARCH_ALL_NODES 0 |
#define | OBJECTS_SEARCH_OTHER_NODES 0x7FFFFFFE |
#define | OBJECTS_SEARCH_LOCAL_NODE 0x7FFFFFFF |
#define | OBJECTS_WHO_AM_I 0 |
#define | OBJECTS_ID_INITIAL(_api, _class, _node) _Objects_Build_id( (_api), (_class), (_node), OBJECTS_ID_INITIAL_INDEX ) |
#define | OBJECTS_ID_FINAL ((Objects_Id)~0) |
#define | _Objects_Build_name(_C1, _C2, _C3, _C4) |
#define | _Objects_Build_id(the_api, the_class, node, index) |
Builds an object ID from its components. More... | |
#define | _Objects_Is_unlimited(maximum) ( ( ( maximum ) & OBJECTS_UNLIMITED_OBJECTS ) != 0 ) |
#define | _Objects_Maximum_per_allocation(maximum) ((Objects_Maximum) ((maximum) & ~OBJECTS_UNLIMITED_OBJECTS)) |
#define | _Objects_Local_node ((uint16_t) 1) |
The local MPCI node number. | |
Typedefs | |
typedef uint32_t | Objects_Id |
typedef uint16_t | Objects_Maximum |
Enumerations | |
enum | Objects_APIs { OBJECTS_NO_API = 0 , OBJECTS_INTERNAL_API = 1 , OBJECTS_CLASSIC_API = 2 , OBJECTS_POSIX_API = 3 , OBJECTS_FAKE_OBJECTS_API = 7 } |
Functions | |
RTEMS_INLINE_ROUTINE Objects_APIs | _Objects_Get_API (Objects_Id id) |
Returns the API portion of the ID. More... | |
RTEMS_INLINE_ROUTINE uint32_t | _Objects_Get_class (Objects_Id id) |
Returns the class portion of the ID. More... | |
RTEMS_INLINE_ROUTINE uint32_t | _Objects_Get_node (Objects_Id id) |
Returns the node portion of the ID. More... | |
RTEMS_INLINE_ROUTINE Objects_Maximum | _Objects_Get_index (Objects_Id id) |
Returns the index portion of the ID. More... | |
Constants and Structures Associated with the Object Handler.
This include file contains all the constants and structures associated with the Object Handler. This Handler provides mechanisms which can be used to initialize and manipulate all objects which have ids.