Changeset 3895f96 in rtems


Ignore:
Timestamp:
Aug 14, 2003, 9:02:00 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
cfd3235
Parents:
f2547306
Message:

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

  • sp02/task1.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()
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/sptests/ChangeLog

    rf2547306 r3895f96  
     12003-08-14      Joel Sherrill <joel@OARcorp.com>
     2
     3        * sp02/task1.c: Added ID to name lookup service and changed name of
     4        id/name translation status code. This propagated to multiple
     5        functions. The user API service added was rtems_object_id_to_name()
     6
    172003-08-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • c/src/tests/sptests/sp02/task1.c

    rf2547306 r3895f96  
    2727  rtems_id          tid3;
    2828  rtems_status_code status;
     29  rtems_name        tid2_name;
    2930  rtems_unsigned32  previous_priority;
    3031
     
    3738
    3839  printf( "TA1 - rtems_task_ident - tid of TA2 (0x%.8x)\n", tid2 );
     40
     41  status = rtems_object_id_to_name( tid2, &tid2_name );
     42  directive_failed( status, "rtems_object_id_to_name of TA2" );
     43
     44  printf( "TA1 - rtems_id_to_name - id -> name of TA2 %sOK\n",
     45    (tid2_name != Task_name[2]) ? "NOT " : "" );
    3946
    4047  status = rtems_task_ident( Task_name[ 3 ], RTEMS_SEARCH_ALL_NODES, &tid3 );
  • testsuites/sptests/ChangeLog

    rf2547306 r3895f96  
     12003-08-14      Joel Sherrill <joel@OARcorp.com>
     2
     3        * sp02/task1.c: Added ID to name lookup service and changed name of
     4        id/name translation status code. This propagated to multiple
     5        functions. The user API service added was rtems_object_id_to_name()
     6
    172003-08-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • testsuites/sptests/sp02/task1.c

    rf2547306 r3895f96  
    2727  rtems_id          tid3;
    2828  rtems_status_code status;
     29  rtems_name        tid2_name;
    2930  rtems_unsigned32  previous_priority;
    3031
     
    3738
    3839  printf( "TA1 - rtems_task_ident - tid of TA2 (0x%.8x)\n", tid2 );
     40
     41  status = rtems_object_id_to_name( tid2, &tid2_name );
     42  directive_failed( status, "rtems_object_id_to_name of TA2" );
     43
     44  printf( "TA1 - rtems_id_to_name - id -> name of TA2 %sOK\n",
     45    (tid2_name != Task_name[2]) ? "NOT " : "" );
    3946
    4047  status = rtems_task_ident( Task_name[ 3 ], RTEMS_SEARCH_ALL_NODES, &tid3 );
Note: See TracChangeset for help on using the changeset viewer.