From 3c87adba3fe1c912ae0115d12d9d1ced9c3faf5d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 31 Jul 2008 14:55:56 +0000 Subject: 2008-07-31 Joel Sherrill * cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads. --- cpukit/score/cpu/no_cpu/ChangeLog | 4 ++++ cpukit/score/cpu/no_cpu/cpu.c | 2 +- cpukit/score/cpu/no_cpu/rtems/score/cpu.h | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/no_cpu') diff --git a/cpukit/score/cpu/no_cpu/ChangeLog b/cpukit/score/cpu/no_cpu/ChangeLog index c4a42eb055..eac940e19e 100644 --- a/cpukit/score/cpu/no_cpu/ChangeLog +++ b/cpukit/score/cpu/no_cpu/ChangeLog @@ -1,3 +1,7 @@ +2008-07-31 Joel Sherrill + + * cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads. + 2008-06-05 Joel Sherrill * rtems/score/cpu.h: Add CPU_SIMPLE_VECTORED_INTERRUPTS porting diff --git a/cpukit/score/cpu/no_cpu/cpu.c b/cpukit/score/cpu/no_cpu/cpu.c index d42b4b3171..4dbbac4f7e 100644 --- a/cpukit/score/cpu/no_cpu/cpu.c +++ b/cpukit/score/cpu/no_cpu/cpu.c @@ -171,7 +171,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 ) { for( ; ; ) diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h index 73d063aad1..7ead2fdbeb 100644 --- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h +++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h @@ -1151,7 +1151,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 -- cgit v1.2.3