summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/bfin
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-12 15:55:55 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-12 15:55:55 +0000
commitcca8379862a8fadbccf3f7f8e591659543c56375 (patch)
treebeadd52bc9fb0aec6c3d07637837ebd15150e618 /cpukit/score/cpu/bfin
parent2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-cca8379862a8fadbccf3f7f8e591659543c56375.tar.bz2
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
Diffstat (limited to 'cpukit/score/cpu/bfin')
-rw-r--r--cpukit/score/cpu/bfin/ChangeLog5
-rw-r--r--cpukit/score/cpu/bfin/cpu.c10
-rw-r--r--cpukit/score/cpu/bfin/rtems/score/cpu.h2
3 files changed, 11 insertions, 6 deletions
diff --git a/cpukit/score/cpu/bfin/ChangeLog b/cpukit/score/cpu/bfin/ChangeLog
index 1b5a6637aa..4780b01fc8 100644
--- a/cpukit/score/cpu/bfin/ChangeLog
+++ b/cpukit/score/cpu/bfin/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
+ consistently return void * and take a uintptr_t argument.
+
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
diff --git a/cpukit/score/cpu/bfin/cpu.c b/cpukit/score/cpu/bfin/cpu.c
index ddb4bccf46..47170850b7 100644
--- a/cpukit/score/cpu/bfin/cpu.c
+++ b/cpukit/score/cpu/bfin/cpu.c
@@ -165,11 +165,11 @@ void _CPU_ISR_install_vector(
}
#if (CPU_PROVIDES_IDLE_THREAD_BODY == TRUE)
-void *_CPU_Thread_Idle_body(uint32_t ignored) {
-
- while (1) {
- __asm__ __volatile__("ssync; idle; ssync");
- }
+void *_CPU_Thread_Idle_body(uint32_t ignored)
+{
+ while (1) {
+ __asm__ __volatile__("ssync; idle; ssync");
+ }
}
#endif
diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h
index 770c87375b..e128b03704 100644
--- a/cpukit/score/cpu/bfin/rtems/score/cpu.h
+++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h
@@ -1147,7 +1147,7 @@ void _CPU_Install_interrupt_stack( void );
*
* XXX document implementation including references if appropriate
*/
-void *_CPU_Thread_Idle_body( uint32_t );
+void *_CPU_Thread_Idle_body( uintptr_t ignored );
/**
* @ingroup CPUContext