From 6d869dfde877479cc5a89af5caf3ff31b249ca8d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 12 Feb 2009 15:56:16 +0000 Subject: 2009-02-12 Joel Sherrill * porting/idlethread.t: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument. --- doc/porting/idlethread.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/porting') 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( ; ; ) -- cgit v1.2.3