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

* sp07/task1.c, sp34/changepri.c, sp35/priinv.c: Add rtems_task_self()
	directive instead of violating RTEMS internals.
This commit is contained in:
Joel Sherrill
2007-12-20 21:52:24 +00:00
parent 23a0607ef1
commit b5c6ecf707
4 changed files with 8 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ const char *CallerName()
static char buffer[32];
#if defined(TEST_PRINT_TASK_ID)
sprintf( buffer, "0x%08x -- %d",
_Thread_Executing->Object.id, _Thread_Executing->current_priority );
rtems_task_self(), _Thread_Executing->current_priority );
#else
union {
uint32_t u;