56#ifndef _RTEMS_RTEMS_OBJECT_H
57#define _RTEMS_RTEMS_OBJECT_H
130#define RTEMS_OBJECT_ID_FINAL OBJECTS_ID_FINAL
140#define RTEMS_OBJECT_ID_FINAL_INDEX OBJECTS_ID_FINAL_INDEX
168#define RTEMS_OBJECT_ID_INITIAL( _api, _class, _node ) \
169 OBJECTS_ID_INITIAL( _api, _class, _node )
179#define RTEMS_OBJECT_ID_INITIAL_INDEX OBJECTS_ID_INITIAL_INDEX
189#define RTEMS_SEARCH_ALL_NODES OBJECTS_SEARCH_ALL_NODES
199#define RTEMS_SEARCH_LOCAL_NODE OBJECTS_SEARCH_LOCAL_NODE
209#define RTEMS_SEARCH_OTHER_NODES OBJECTS_SEARCH_OTHER_NODES
219#define RTEMS_WHO_AM_I OBJECTS_WHO_AM_I
259#define rtems_build_id( _api, _class, _node, _index ) \
260 _Objects_Build_id( _api, _class, _node, _index )
294rtems_name rtems_build_name(
char c1,
char c2,
char c3,
char c4 );
297#define rtems_build_name( _c1, _c2, _c3, _c4 ) \
298 _Objects_Build_name( _c1, _c2, _c3, _c4 )
466int rtems_object_id_get_api(
rtems_id id );
469#define rtems_object_id_get_api( _id ) _Objects_Get_API( _id )
496int rtems_object_id_get_class(
rtems_id id );
499#define rtems_object_id_get_class( _id ) _Objects_Get_class( _id )
526int rtems_object_id_get_node(
rtems_id id );
529#define rtems_object_id_get_node( _id ) _Objects_Get_node( _id )
556int rtems_object_id_get_index(
rtems_id id );
559#define rtems_object_id_get_index( _id ) _Objects_Get_index( _id )
586#define rtems_object_id_api_minimum() OBJECTS_INTERNAL_API
613#define rtems_object_id_api_maximum() OBJECTS_APIS_LAST
778static inline uint16_t rtems_object_get_local_node(
void )
This header file provides types used by the Classic API.
const char * rtems_object_get_api_class_name(int the_api, int the_class)
Gets a descriptive name of the object class of the object API.
Definition rtemsobjectgetapiclassname.c:78
int rtems_object_api_minimum_class(int api)
Gets the lowest valid class value of the object API.
Definition rtemsobjectapiminimumclass.c:45
#define rtems_object_id_api_minimum()
Gets the lowest valid value for the API component of an object identifier.
Definition object.h:586
int rtems_object_api_maximum_class(int api)
Gets the highest valid class value of the object API.
Definition rtemsobjectapimaximumclass.c:45
const char * rtems_object_get_api_name(int api)
Gets a descriptive name of the object API.
Definition rtemsobjectgetapiname.c:53
#define rtems_object_id_api_maximum()
Gets the highest valid value for the API component of an object identifier.
Definition object.h:613
char * rtems_object_get_name(rtems_id id, size_t length, char *name)
Gets the object name associated with the object identifier as a string.
Definition rtemsobjectgetname.c:45
rtems_status_code rtems_object_set_name(rtems_id id, const char *name)
Sets the object name of the object associated with the object identifier.
Definition rtemsobjectsetname.c:52
rtems_status_code rtems_object_get_class_information(int the_api, int the_class, rtems_object_api_class_information *info)
Gets the object class information of the object class of the object API.
Definition rtemsobjectgetclassinfo.c:45
rtems_status_code rtems_object_get_classic_name(rtems_id id, rtems_name *name)
Gets the object name associated with the object identifier.
Definition rtemsobjectgetclassicname.c:46
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition status.h:85
uint32_t rtems_name
This type represents Classic API object names.
Definition types.h:226
Objects_Id rtems_id
This type represents RTEMS object identifiers.
Definition types.h:94
#define _Objects_Local_node
The local MPCI node number.
Definition object.h:368
This header file provides the status codes of Classic API directives and support functions.
This header file provides interfaces of the Object Handler which are used by the implementation and t...