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
+5
View File
@@ -1,3 +1,8 @@
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.
2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp07/init.c, sp07/system.h, sp07/tdelete.c, sp07/sp07.scn:
+1 -2
View File
@@ -29,8 +29,7 @@ rtems_task Task_1(
rtems_task_priority previous_priority;
rtems_id my_id;
/* XXX really need a Classic API service for this */
my_id = _Thread_Executing->Object.id;
my_id = rtems_task_self();
rtems_test_pause();
+1 -1
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;
+1 -1
View File
@@ -74,7 +74,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;