
Functions | |
| RTEMS_INLINE_ROUTINE Objects_Id | _Objects_Build_id (Objects_APIs the_api, uint32_t the_class, uint32_t node, uint32_t index) |
| RTEMS_INLINE_ROUTINE Objects_APIs | _Objects_Get_API (Objects_Id id) |
| RTEMS_INLINE_ROUTINE uint32_t | _Objects_Get_class (Objects_Id id) |
| RTEMS_INLINE_ROUTINE uint32_t | _Objects_Get_node (Objects_Id id) |
| RTEMS_INLINE_ROUTINE uint32_t | _Objects_Get_index (Objects_Id id) |
| RTEMS_INLINE_ROUTINE boolean | _Objects_Is_api_valid (uint32_t the_api) |
| RTEMS_INLINE_ROUTINE boolean | _Objects_Is_local_node (uint32_t node) |
| RTEMS_INLINE_ROUTINE boolean | _Objects_Is_local_id (Objects_Id id) |
| RTEMS_INLINE_ROUTINE boolean | _Objects_Are_ids_equal (Objects_Id left, Objects_Id right) |
| RTEMS_INLINE_ROUTINE Objects_Control * | _Objects_Get_local_object (Objects_Information *information, uint16_t index) |
| RTEMS_INLINE_ROUTINE void | _Objects_Set_local_object (Objects_Information *information, uint16_t index, Objects_Control *the_object) |
| RTEMS_INLINE_ROUTINE void | _Objects_Invalidate_Id (Objects_Information *information, Objects_Control *the_object) |
| RTEMS_INLINE_ROUTINE void | _Objects_Open (Objects_Information *information, Objects_Control *the_object, Objects_Name name) |
| RTEMS_INLINE_ROUTINE void | _Objects_Open_u32 (Objects_Information *information, Objects_Control *the_object, uint32_t name) |
| RTEMS_INLINE_ROUTINE void | _Objects_Open_string (Objects_Information *information, Objects_Control *the_object, const char *name) |
| RTEMS_INLINE_ROUTINE boolean _Objects_Are_ids_equal | ( | Objects_Id | left, | |
| Objects_Id | right | |||
| ) |
This function returns TRUE if left and right are equal, and FALSE otherwise.
| [in] | left | is the Id on the left hand side of the comparison |
| [in] | right | is the Id on the right hand side of the comparison |
| RTEMS_INLINE_ROUTINE Objects_Id _Objects_Build_id | ( | Objects_APIs | the_api, | |
| uint32_t | the_class, | |||
| uint32_t | node, | |||
| uint32_t | index | |||
| ) |
This function builds an object's id from the processor node and index values specified.
| [in] | the_api | indicates the API associated with this Id. |
| [in] | the_class | indicates the class of object. It is specific to the_api. |
| [in] | node | is the node where this object resides. |
| [in] | index | is the instance number of this object. |
References OBJECTS_API_START_BIT, OBJECTS_CLASS_START_BIT, OBJECTS_INDEX_START_BIT, and OBJECTS_NODE_START_BIT.
| RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API | ( | Objects_Id | id | ) |
This function returns the API portion of the ID.
| [in] | id | is the object Id to be processed. |
References OBJECTS_API_START_BIT, and OBJECTS_API_VALID_BITS.
| RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class | ( | Objects_Id | id | ) |
This function returns the class portion of the ID.
| [in] | id | is the object Id to be processed |
References OBJECTS_CLASS_START_BIT, and OBJECTS_CLASS_VALID_BITS.
| RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_index | ( | Objects_Id | id | ) |
This function returns the index portion of the ID.
| [in] | id | is the Id to be processed |
References OBJECTS_INDEX_START_BIT, and OBJECTS_INDEX_VALID_BITS.
Referenced by _Objects_Invalidate_Id(), _Objects_Open(), _Objects_Open_string(), and _Objects_Open_u32().
| RTEMS_INLINE_ROUTINE Objects_Control* _Objects_Get_local_object | ( | Objects_Information * | information, | |
| uint16_t | index | |||
| ) |
This function returns a pointer to the local_table object referenced by the index.
| [in] | information | points to an Object Information Table |
| [in] | index | is the index of the object the caller wants to access |
References Objects_Information::local_table, and Objects_Information::maximum.
| RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_node | ( | Objects_Id | id | ) |
This function returns the node portion of the ID.
| [in] | id | is the object Id to be processed |
References OBJECTS_NODE_START_BIT, and OBJECTS_NODE_VALID_BITS.
Referenced by _Objects_Is_local_id().
| RTEMS_INLINE_ROUTINE void _Objects_Invalidate_Id | ( | Objects_Information * | information, | |
| Objects_Control * | the_object | |||
| ) |
This function sets the pointer to the local_table object referenced by the index to a NULL so the object Id is invalid after this call.
| [in] | information | points to an Object Information Table |
| [in] | the_object | is the local object pointer |
References _Objects_Get_index(), _Objects_Set_local_object(), and Objects_Control::id.
| RTEMS_INLINE_ROUTINE boolean _Objects_Is_api_valid | ( | uint32_t | the_api | ) |
This function returns TRUE if the api is valid.
| [in] | the_api | is the api portion of an object ID. |
References OBJECTS_APIS_LAST, and TRUE.
| RTEMS_INLINE_ROUTINE boolean _Objects_Is_local_id | ( | Objects_Id | id | ) |
This function returns TRUE if the id is of a local object, and FALSE otherwise.
| [in] | id | is an object ID |
References _Objects_Get_node(), _Objects_Is_local_node(), and TRUE.
| RTEMS_INLINE_ROUTINE boolean _Objects_Is_local_node | ( | uint32_t | node | ) |
This function returns TRUE if the node is of the local object, and FALSE otherwise.
| [in] | node | is the node number and corresponds to the node number portion of an object ID. |
References _Objects_Local_node.
Referenced by _Objects_Is_local_id().
| RTEMS_INLINE_ROUTINE void _Objects_Open | ( | Objects_Information * | information, | |
| Objects_Control * | the_object, | |||
| Objects_Name | name | |||
| ) |
This function places the_object control pointer and object name in the Local Pointer and Local Name Tables, respectively.
| [in] | information | points to an Object Information Table |
| [in] | the_object | is a pointer to an object |
| [in] | name | is the name of the object to make accessible |
References _Objects_Get_index(), _Objects_Set_local_object(), Objects_Control::id, and Objects_Control::name.
| RTEMS_INLINE_ROUTINE void _Objects_Open_string | ( | Objects_Information * | information, | |
| Objects_Control * | the_object, | |||
| const char * | name | |||
| ) |
This function places the_object control pointer and object name in the Local Pointer and Local Name Tables, respectively.
| [in] | information | points to an Object Information Table |
| [in] | the_object | is a pointer to an object |
| [in] | name | is the name of the object to make accessible |
References _Objects_Get_index(), _Objects_Set_local_object(), Objects_Control::id, Objects_Control::name, and Objects_Name::name_p.
| RTEMS_INLINE_ROUTINE void _Objects_Open_u32 | ( | Objects_Information * | information, | |
| Objects_Control * | the_object, | |||
| uint32_t | name | |||
| ) |
This function places the_object control pointer and object name in the Local Pointer and Local Name Tables, respectively.
| [in] | information | points to an Object Information Table |
| [in] | the_object | is a pointer to an object |
| [in] | name | is the name of the object to make accessible |
References _Objects_Get_index(), _Objects_Set_local_object(), Objects_Control::id, Objects_Control::name, and Objects_Name::name_u32.
| RTEMS_INLINE_ROUTINE void _Objects_Set_local_object | ( | Objects_Information * | information, | |
| uint16_t | index, | |||
| Objects_Control * | the_object | |||
| ) |
This function sets the pointer to the local_table object referenced by the index.
| [in] | information | points to an Object Information Table |
| [in] | index | is the index of the object the caller wants to access |
| [in] | the_object | is the local object pointer |
References Objects_Information::local_table, and Objects_Information::maximum.
Referenced by _Objects_Invalidate_Id(), _Objects_Open(), _Objects_Open_string(), and _Objects_Open_u32().
1.5.6