summaryrefslogtreecommitdiffstats
path: root/doc/porting
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-12 15:56:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-12 15:56:16 +0000
commit6d869dfde877479cc5a89af5caf3ff31b249ca8d (patch)
tree4646230b00e5417e4c091666caad617ad5eca96a /doc/porting
parent2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-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 'doc/porting')
-rw-r--r--doc/porting/idlethread.t6
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( ; ; )