summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/i386/cpu.c
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/i386/cpu.c
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/i386/cpu.c')
-rw-r--r--cpukit/score/cpu/i386/cpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c
index 08f9930271..00cf142bfd 100644
--- a/cpukit/score/cpu/i386/cpu.c
+++ b/cpukit/score/cpu/i386/cpu.c
@@ -82,11 +82,12 @@ uint32_t _CPU_ISR_Get_level( void )
return level;
}
-void _CPU_Thread_Idle_body ()
+void *_CPU_Thread_Idle_body (uint32_t ignored)
{
while(1){
asm volatile ("hlt");
}
+ return NULL;
}
void _defaultExcHandler (CPU_Exception_frame *ctx)