Changeset 1e2e6fe0 in rtems
- Timestamp:
- 08/14/03 21:01:34 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 6185a0d3
- Parents:
- ff08b808
- Location:
- cpukit/rtems
- Files:
-
- 1 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/rtems/ChangeLog
rff08b808 r1e2e6fe0 1 2003-08-14 Joel Sherrill <joel@OARcorp.com> 2 3 * Makefile.am, include/rtems.h, include/rtems/rtems/status.h, 4 src/dpmemident.c, src/msgqident.c, src/partident.c, 5 src/ratemonident.c, src/regionident.c, src/semident.c, 6 src/taskident.c, src/timerident.c: Added ID to name lookup service 7 and changed name of id/name translation status code. This propagated 8 to multiple functions. The user API service added was 9 rtems_object_id_to_name() 10 * src/rtemsidtoname.c: New file. 11 1 12 2003-06-12 Joel Sherrill <joel@OARcorp.com> 2 13 -
cpukit/rtems/Makefile.am
rff08b808 r1e2e6fe0 127 127 src/dpmemident.c src/dpmeminternal2external.c 128 128 129 STD_C_FILES = src/attr.c $(TASK_C_FILES) $(RATEMON_C_FILES) $(INTR_C_FILES) \ 129 STD_C_FILES = src/attr.c src/rtemsidtoname.c \ 130 $(TASK_C_FILES) $(RATEMON_C_FILES) $(INTR_C_FILES) \ 130 131 $(CLOCK_C_FILES) $(TIMER_C_FILES) $(SEMAPHORE_C_FILES) \ 131 132 $(MESSAGE_QUEUE_C_FILES) $(EVENT_C_FILES) $(SIGNAL_C_FILES) \ -
cpukit/rtems/include/rtems.h
rff08b808 r1e2e6fe0 116 116 #define RTEMS_MINIMUN_HETERO_CONVERSION MP_PACKET_MINIMUN_HETERO_CONVERSION 117 117 118 /* 119 * rtems_object_id_to_name 120 * 121 * This directive returns the name associated with the specified 122 * object ID. 123 * 124 * Input parameters: 125 * id - message queue id 126 * 127 * Output parameters: 128 * *name - user defined object name 129 * RTEMS_SUCCESSFUL - if successful 130 * error code - if unsuccessful 131 */ 132 133 rtems_status_code rtems_object_id_to_name( 134 rtems_id id, 135 rtems_name *name 136 ); 137 118 138 #ifdef __cplusplus 119 139 } -
cpukit/rtems/include/rtems/rtems/status.h
rff08b808 r1e2e6fe0 64 64 #ifdef RTEMS_API_INIT 65 65 rtems_status_code _Status_Object_name_errors_to_status[] = { 66 RTEMS_SUCCESSFUL, /* OBJECTS_ SUCCESSFUL */66 RTEMS_SUCCESSFUL, /* OBJECTS_ID_NAME_OR_ID_LOOKUP_SUCCESSFUL */ 67 67 RTEMS_INVALID_NAME, /* OBJECTS_INVALID_NAME */ 68 RTEMS_INVALID_ID, /* OBJECTS_INVALID_ID */ 68 69 RTEMS_INVALID_NODE /* OBJECTS_INVALID_NODE */ 69 70 }; -
cpukit/rtems/src/dpmemident.c
rff08b808 r1e2e6fe0 43 43 ) 44 44 { 45 Objects_Name_ to_id_errors status;45 Objects_Name_or_id_lookup_errors status; 46 46 47 47 status = _Objects_Name_to_id( -
cpukit/rtems/src/msgqident.c
rff08b808 r1e2e6fe0 55 55 ) 56 56 { 57 Objects_Name_ to_id_errors status;57 Objects_Name_or_id_lookup_errors status; 58 58 59 59 status = _Objects_Name_to_id( -
cpukit/rtems/src/partident.c
rff08b808 r1e2e6fe0 46 46 ) 47 47 { 48 Objects_Name_ to_id_errors status;48 Objects_Name_or_id_lookup_errors status; 49 49 50 50 status = _Objects_Name_to_id( -
cpukit/rtems/src/ratemonident.c
rff08b808 r1e2e6fe0 43 43 ) 44 44 { 45 Objects_Name_ to_id_errors status;45 Objects_Name_or_id_lookup_errors status; 46 46 47 47 status = _Objects_Name_to_id( -
cpukit/rtems/src/regionident.c
rff08b808 r1e2e6fe0 45 45 ) 46 46 { 47 Objects_Name_ to_id_errors status;47 Objects_Name_or_id_lookup_errors status; 48 48 49 49 status = _Objects_Name_to_id( -
cpukit/rtems/src/semident.c
rff08b808 r1e2e6fe0 70 70 ) 71 71 { 72 Objects_Name_ to_id_errors status;72 Objects_Name_or_id_lookup_errors status; 73 73 74 74 status = _Objects_Name_to_id( -
cpukit/rtems/src/taskident.c
rff08b808 r1e2e6fe0 53 53 ) 54 54 { 55 Objects_Name_ to_id_errors status;55 Objects_Name_or_id_lookup_errors status; 56 56 57 57 if ( name == OBJECTS_ID_OF_SELF ) { -
cpukit/rtems/src/timerident.c
rff08b808 r1e2e6fe0 44 44 ) 45 45 { 46 Objects_Name_ to_id_errors status;46 Objects_Name_or_id_lookup_errors status; 47 47 48 48 status = _Objects_Name_to_id(
Note: See TracChangeset
for help on using the changeset viewer.