summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-12 15:56:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-12 15:56:42 +0000
commit3aaf4797d0a147eb63980c714f6ac4b6d7fdae07 (patch)
treee9f0fecfa618ea4e2c1654be0a91cc9b141d1b94 /cpukit
parent2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-3aaf4797d0a147eb63980c714f6ac4b6d7fdae07.tar.bz2
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/rtems/config.h, score/include/rtems/score/thread.h, score/src/threadidlebody.c: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/sapi/include/rtems/config.h2
-rw-r--r--cpukit/score/include/rtems/score/thread.h4
-rw-r--r--cpukit/score/src/threadidlebody.c4
4 files changed, 11 insertions, 5 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 6f1f22d908..8c71411cd8 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,9 @@
+2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * sapi/include/rtems/config.h, score/include/rtems/score/thread.h,
+ score/src/threadidlebody.c: Change prototype of IDLE thread to
+ consistently return void * and take a uintptr_t argument.
+
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/src/exinit.c: Eliminate _CPU_Thread_dispatch_pointer and passing
diff --git a/cpukit/sapi/include/rtems/config.h b/cpukit/sapi/include/rtems/config.h
index 56a59183b3..7e8ace042f 100644
--- a/cpukit/sapi/include/rtems/config.h
+++ b/cpukit/sapi/include/rtems/config.h
@@ -128,7 +128,7 @@ typedef struct {
/** This element points to the BSP's optional idle task which may override
* the default one provided with RTEMS.
*/
- Thread (*idle_task)( uint32_t );
+ Thread (*idle_task)( uintptr_t );
/** This field specifies the size of the IDLE task's stack. If less than or
* equal to the minimum stack size, then the IDLE task will have the minimum
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index b9355f0ee1..3eba3bc136 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -770,8 +770,8 @@ bool _Thread_Evaluate_mode( void );
/**
* This routine is the body of the system idle thread.
*/
-Thread _Thread_Idle_body(
- uint32_t ignored
+void *_Thread_Idle_body(
+ uintptr_t ignored
);
#endif
diff --git a/cpukit/score/src/threadidlebody.c b/cpukit/score/src/threadidlebody.c
index 22856f7bd1..cea6c226b5 100644
--- a/cpukit/score/src/threadidlebody.c
+++ b/cpukit/score/src/threadidlebody.c
@@ -45,8 +45,8 @@
*/
#if (CPU_PROVIDES_IDLE_THREAD_BODY == FALSE)
-Thread _Thread_Idle_body(
- uint32_t ignored
+void *_Thread_Idle_body(
+ uintptr_t ignored
)
{
for( ; ; ) ;