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 | |
parent | cca8379862a8fadbccf3f7f8e591659543c56375 (diff) |
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 'doc')
-rw-r--r-- | doc/ChangeLog | 5 | ||||
-rw-r--r-- | doc/porting/idlethread.t | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog index 9fa9388ee2..cbefc552d3 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -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. 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( ; ; ) |