Changeset 1e2e6fe0 in rtems


Ignore:
Timestamp:
Aug 14, 2003, 9:01:34 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
6185a0d3
Parents:
ff08b808
Message:

2003-08-14 Joel Sherrill <joel@…>

  • Makefile.am, include/rtems.h, include/rtems/rtems/status.h, src/dpmemident.c, src/msgqident.c, src/partident.c, src/ratemonident.c, src/regionident.c, src/semident.c, src/taskident.c, src/timerident.c: Added ID to name lookup service and changed name of id/name translation status code. This propagated to multiple functions. The user API service added was rtems_object_id_to_name()
  • src/rtemsidtoname.c: New file.
Location:
cpukit/rtems
Files:
1 added
12 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/ChangeLog

    rff08b808 r1e2e6fe0  
     12003-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
    1122003-06-12      Joel Sherrill <joel@OARcorp.com>
    213
  • cpukit/rtems/Makefile.am

    rff08b808 r1e2e6fe0  
    127127    src/dpmemident.c src/dpmeminternal2external.c
    128128
    129 STD_C_FILES = src/attr.c $(TASK_C_FILES) $(RATEMON_C_FILES) $(INTR_C_FILES) \
     129STD_C_FILES = src/attr.c src/rtemsidtoname.c \
     130    $(TASK_C_FILES) $(RATEMON_C_FILES) $(INTR_C_FILES) \
    130131    $(CLOCK_C_FILES) $(TIMER_C_FILES) $(SEMAPHORE_C_FILES) \
    131132    $(MESSAGE_QUEUE_C_FILES) $(EVENT_C_FILES) $(SIGNAL_C_FILES) \
  • cpukit/rtems/include/rtems.h

    rff08b808 r1e2e6fe0  
    116116#define RTEMS_MINIMUN_HETERO_CONVERSION  MP_PACKET_MINIMUN_HETERO_CONVERSION
    117117
     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
     133rtems_status_code rtems_object_id_to_name(
     134  rtems_id      id,
     135  rtems_name   *name
     136);
     137
    118138#ifdef __cplusplus
    119139}
  • cpukit/rtems/include/rtems/rtems/status.h

    rff08b808 r1e2e6fe0  
    6464#ifdef RTEMS_API_INIT
    6565rtems_status_code _Status_Object_name_errors_to_status[] = {
    66   RTEMS_SUCCESSFUL,      /* OBJECTS_SUCCESSFUL */
     66  RTEMS_SUCCESSFUL,      /* OBJECTS_ID_NAME_OR_ID_LOOKUP_SUCCESSFUL */
    6767  RTEMS_INVALID_NAME,    /* OBJECTS_INVALID_NAME */
     68  RTEMS_INVALID_ID,      /* OBJECTS_INVALID_ID */
    6869  RTEMS_INVALID_NODE     /* OBJECTS_INVALID_NODE */
    6970};
  • cpukit/rtems/src/dpmemident.c

    rff08b808 r1e2e6fe0  
    4343)
    4444{
    45   Objects_Name_to_id_errors  status;
     45  Objects_Name_or_id_lookup_errors  status;
    4646
    4747  status = _Objects_Name_to_id(
  • cpukit/rtems/src/msgqident.c

    rff08b808 r1e2e6fe0  
    5555)
    5656{
    57   Objects_Name_to_id_errors  status;
     57  Objects_Name_or_id_lookup_errors  status;
    5858
    5959  status = _Objects_Name_to_id(
  • cpukit/rtems/src/partident.c

    rff08b808 r1e2e6fe0  
    4646)
    4747{
    48   Objects_Name_to_id_errors  status;
     48  Objects_Name_or_id_lookup_errors  status;
    4949
    5050  status = _Objects_Name_to_id(
  • cpukit/rtems/src/ratemonident.c

    rff08b808 r1e2e6fe0  
    4343)
    4444{
    45   Objects_Name_to_id_errors  status;
     45  Objects_Name_or_id_lookup_errors  status;
    4646
    4747  status = _Objects_Name_to_id(
  • cpukit/rtems/src/regionident.c

    rff08b808 r1e2e6fe0  
    4545)
    4646{
    47   Objects_Name_to_id_errors  status;
     47  Objects_Name_or_id_lookup_errors  status;
    4848
    4949  status = _Objects_Name_to_id(
  • cpukit/rtems/src/semident.c

    rff08b808 r1e2e6fe0  
    7070)
    7171{
    72   Objects_Name_to_id_errors  status;
     72  Objects_Name_or_id_lookup_errors  status;
    7373 
    7474  status = _Objects_Name_to_id(
  • cpukit/rtems/src/taskident.c

    rff08b808 r1e2e6fe0  
    5353)
    5454{
    55   Objects_Name_to_id_errors  status;
     55  Objects_Name_or_id_lookup_errors  status;
    5656
    5757  if ( name == OBJECTS_ID_OF_SELF ) {
  • cpukit/rtems/src/timerident.c

    rff08b808 r1e2e6fe0  
    4444)
    4545{
    46   Objects_Name_to_id_errors  status;
     46  Objects_Name_or_id_lookup_errors  status;
    4747
    4848  status = _Objects_Name_to_id(
Note: See TracChangeset for help on using the changeset viewer.