diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-02-12 15:56:16 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-02-12 15:56:16 +0000 |
commit | 6d869dfde877479cc5a89af5caf3ff31b249ca8d (patch) | |
tree | 4646230b00e5417e4c091666caad617ad5eca96a /doc/porting/idlethread.t | |
parent | 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-6d869dfde877479cc5a89af5caf3ff31b249ca8d.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | doc/porting/idlethread.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/porting/idlethread.t b/doc/porting/idlethread.t index 8a6437f3e6..66c7c5cede 100644 --- a/doc/porting/idlethread.t +++ b/doc/porting/idlethread.t @@ -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( ; ; ) |