summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-07-31 14:59:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-07-31 14:59:43 +0000
commit44ad347a1b36c3d6b79b26a9c432bc73360aff77 (patch)
treef010e2f81fa6ff6cef72d61be78940a15ac4ba34 /doc
parent2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-44ad347a1b36c3d6b79b26a9c432bc73360aff77.tar.bz2
2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* porting/idlethread.t: Correct prototype of Idle threads.
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog4
-rw-r--r--doc/porting/idlethread.t9
2 files changed, 8 insertions, 5 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 7045e9de49..371c837bf4 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * porting/idlethread.t: Correct prototype of Idle threads.
+
2008-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1291/cpukit
diff --git a/doc/porting/idlethread.t b/doc/porting/idlethread.t
index e825ad6be3..8a6437f3e6 100644
--- a/doc/porting/idlethread.t
+++ b/doc/porting/idlethread.t
@@ -79,18 +79,17 @@ CPU_PROVIDES_IDLE_THREAD_BODY macro should be defined to TRUE. This
routine is prototyped as follows:
@example
-void _CPU_Thread_Idle_body( void );
+void *_CPU_Thread_Idle_body( uint32_t );
@end example
As mentioned above, RTEMS does not require that a CPU dependent IDLE
thread body be provided as part of the port. If
CPU_PROVIDES_IDLE_THREAD_BODY is defined to FALSE, then the CPU
independent algorithm is used. This algorithm consists of a "branch to
-self" which is implemented in the XXX routine as follows.
+self" which is implemented in a routine as follows.
@example
-XXX check name and exact implementation
-void _Thread_Idle_body( void )
+void *_Thread_Idle_body( uint32 ignored )
@{
while( 1 ) ;
@}
@@ -102,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( void )
+void *_CPU_Thread_Idle_body( uint32_t ignored )
@{
for( ; ; )