summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/nios2
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-07-31 14:55:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-07-31 14:55:56 +0000
commit3c87adba3fe1c912ae0115d12d9d1ced9c3faf5d (patch)
treea41fa6732ac16080ac0097611b7d161d8983130b /cpukit/score/cpu/nios2
parent2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-3c87adba3fe1c912ae0115d12d9d1ced9c3faf5d.tar.bz2
2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
Diffstat (limited to 'cpukit/score/cpu/nios2')
-rw-r--r--cpukit/score/cpu/nios2/ChangeLog4
-rw-r--r--cpukit/score/cpu/nios2/cpu.c2
-rw-r--r--cpukit/score/cpu/nios2/rtems/score/cpu.h2
3 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/score/cpu/nios2/ChangeLog b/cpukit/score/cpu/nios2/ChangeLog
index a652068ea2..50b441de21 100644
--- a/cpukit/score/cpu/nios2/ChangeLog
+++ b/cpukit/score/cpu/nios2/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
+
2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Add CPU_SIMPLE_VECTORED_INTERRUPTS porting
diff --git a/cpukit/score/cpu/nios2/cpu.c b/cpukit/score/cpu/nios2/cpu.c
index 5118e50e38..d46daeaef6 100644
--- a/cpukit/score/cpu/nios2/cpu.c
+++ b/cpukit/score/cpu/nios2/cpu.c
@@ -172,7 +172,7 @@ void _CPU_Install_interrupt_stack( void )
* XXX document implementation including references if appropriate
*/
-void _CPU_Thread_Idle_body( void )
+void *_CPU_Thread_Idle_body( uint32_t ignored )
{
#if 1
for(;;);
diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h
index f35f8844ab..6a7d8ac29e 100644
--- a/cpukit/score/cpu/nios2/rtems/score/cpu.h
+++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h
@@ -1216,7 +1216,7 @@ void _CPU_Install_interrupt_stack( void );
*
* XXX document implementation including references if appropriate
*/
-void _CPU_Thread_Idle_body( void );
+void *_CPU_Thread_Idle_body( uint32_t );
/**
* @ingroup CPUContext