Changeset b5c6ecf in rtems


Ignore:
Timestamp:
Dec 20, 2007, 9:52:24 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
fe88171
Parents:
23a0607e
Message:

2007-12-20 Joel Sherrill <joel.sherrill@…>

  • sp07/task1.c, sp34/changepri.c, sp35/priinv.c: Add rtems_task_self() directive instead of violating RTEMS internals.
Location:
testsuites/sptests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    r23a0607e rb5c6ecf  
     12007-12-20      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * sp07/task1.c, sp34/changepri.c, sp35/priinv.c: Add rtems_task_self()
     4        directive instead of violating RTEMS internals.
     5
    162007-12-19      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • testsuites/sptests/sp07/task1.c

    r23a0607e rb5c6ecf  
    3030  rtems_id            my_id;
    3131
    32   /* XXX really need a Classic API service for this */
    33   my_id = _Thread_Executing->Object.id;
     32  my_id = rtems_task_self();
    3433
    3534  rtems_test_pause();
  • testsuites/sptests/sp34/changepri.c

    r23a0607e rb5c6ecf  
    3434#if defined(TEST_PRINT_TASK_ID)
    3535  sprintf( buffer, "0x%08x -- %d",
    36       _Thread_Executing->Object.id, _Thread_Executing->current_priority );
     36      rtems_task_self(), _Thread_Executing->current_priority );
    3737#else
    3838  union {
  • testsuites/sptests/sp35/priinv.c

    r23a0607e rb5c6ecf  
    7575#if defined(TEST_PRINT_TASK_ID)
    7676  sprintf( buffer, "0x%08x -- %d",
    77       _Thread_Executing->Object.id, _Thread_Executing->current_priority );
     77      rtems_task_self(), _Thread_Executing->current_priority );
    7878#else
    7979  union {
Note: See TracChangeset for help on using the changeset viewer.