forked from Imagelibrary/rtems
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:
@@ -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>
|
||||
|
||||
* sapi/src/exinit.c: Eliminate _CPU_Thread_dispatch_pointer and passing
|
||||
|
||||
@@ -128,7 +128,7 @@ typedef struct {
|
||||
/** This element points to the BSP's optional idle task which may override
|
||||
* 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
|
||||
* equal to the minimum stack size, then the IDLE task will have the minimum
|
||||
|
||||
@@ -770,8 +770,8 @@ bool _Thread_Evaluate_mode( void );
|
||||
/**
|
||||
* This routine is the body of the system idle thread.
|
||||
*/
|
||||
Thread _Thread_Idle_body(
|
||||
uint32_t ignored
|
||||
void *_Thread_Idle_body(
|
||||
uintptr_t ignored
|
||||
);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -45,8 +45,8 @@
|
||||
*/
|
||||
|
||||
#if (CPU_PROVIDES_IDLE_THREAD_BODY == FALSE)
|
||||
Thread _Thread_Idle_body(
|
||||
uint32_t ignored
|
||||
void *_Thread_Idle_body(
|
||||
uintptr_t ignored
|
||||
)
|
||||
{
|
||||
for( ; ; ) ;
|
||||
|
||||
Reference in New Issue
Block a user