forked from Imagelibrary/rtems
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* porting/idlethread.t: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* porting/idlethread.t: Change prototype of IDLE thread to consistently
|
||||
return void * and take a uintptr_t argument.
|
||||
|
||||
2009-01-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* bsp_howto/console.t: Clarify interrupt transmit process.
|
||||
|
||||
@@ -79,7 +79,7 @@ CPU_PROVIDES_IDLE_THREAD_BODY macro should be defined to TRUE. This
|
||||
routine is prototyped as follows:
|
||||
|
||||
@example
|
||||
void *_CPU_Thread_Idle_body( uint32_t );
|
||||
void *_CPU_Thread_Idle_body( uintptr_t );
|
||||
@end example
|
||||
|
||||
As mentioned above, RTEMS does not require that a CPU dependent IDLE
|
||||
@@ -89,7 +89,7 @@ independent algorithm is used. This algorithm consists of a "branch to
|
||||
self" which is implemented in a routine as follows.
|
||||
|
||||
@example
|
||||
void *_Thread_Idle_body( uint32 ignored )
|
||||
void *_Thread_Idle_body( uintptr_t ignored )
|
||||
@{
|
||||
while( 1 ) ;
|
||||
@}
|
||||
@@ -101,7 +101,7 @@ in an infinite loop as the CPU will have to reexecute this instruction
|
||||
each time the IDLE thread is dispatched.
|
||||
|
||||
@example
|
||||
void *_CPU_Thread_Idle_body( uint32_t ignored )
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored )
|
||||
@{
|
||||
|
||||
for( ; ; )
|
||||
|
||||
Reference in New Issue
Block a user