2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>

* sapi/include/rtems/config.h, score/include/rtems/score/thread.h,
	score/src/threadidlebody.c: Change prototype of IDLE thread to
	consistently return void * and take a uintptr_t argument.
This commit is contained in:
Joel Sherrill
2009-02-12 15:56:42 +00:00
parent 6d869dfde8
commit 3aaf4797d0
4 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/rtems/config.h, score/include/rtems/score/thread.h,
score/src/threadidlebody.c: Change prototype of IDLE thread to
consistently return void * and take a uintptr_t argument.
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/src/exinit.c: Eliminate _CPU_Thread_dispatch_pointer and passing * sapi/src/exinit.c: Eliminate _CPU_Thread_dispatch_pointer and passing

View File

@@ -128,7 +128,7 @@ typedef struct {
/** This element points to the BSP's optional idle task which may override /** This element points to the BSP's optional idle task which may override
* the default one provided with RTEMS. * the default one provided with RTEMS.
*/ */
Thread (*idle_task)( uint32_t ); Thread (*idle_task)( uintptr_t );
/** This field specifies the size of the IDLE task's stack. If less than or /** This field specifies the size of the IDLE task's stack. If less than or
* equal to the minimum stack size, then the IDLE task will have the minimum * equal to the minimum stack size, then the IDLE task will have the minimum

View File

@@ -770,8 +770,8 @@ bool _Thread_Evaluate_mode( void );
/** /**
* This routine is the body of the system idle thread. * This routine is the body of the system idle thread.
*/ */
Thread _Thread_Idle_body( void *_Thread_Idle_body(
uint32_t ignored uintptr_t ignored
); );
#endif #endif

View File

@@ -45,8 +45,8 @@
*/ */
#if (CPU_PROVIDES_IDLE_THREAD_BODY == FALSE) #if (CPU_PROVIDES_IDLE_THREAD_BODY == FALSE)
Thread _Thread_Idle_body( void *_Thread_Idle_body(
uint32_t ignored uintptr_t ignored
) )
{ {
for( ; ; ) ; for( ; ; ) ;