summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/i386
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
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')
-rw-r--r--cpukit/score/cpu/i386/ChangeLog4
-rw-r--r--cpukit/score/cpu/i386/cpu.c3
-rw-r--r--cpukit/score/cpu/i386/rtems/score/cpu.h4
3 files changed, 8 insertions, 3 deletions
diff --git a/cpukit/score/cpu/i386/ChangeLog b/cpukit/score/cpu/i386/ChangeLog
index cfdf110400..99792631e9 100644
--- a/cpukit/score/cpu/i386/ChangeLog
+++ b/cpukit/score/cpu/i386/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.
+
2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility.
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)
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h
index 812b2f569b..cfce510857 100644
--- a/cpukit/score/cpu/i386/rtems/score/cpu.h
+++ b/cpukit/score/cpu/i386/rtems/score/cpu.h
@@ -6,7 +6,7 @@
* This include file contains information pertaining to the Intel
* i386 processor.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -426,7 +426,7 @@ void _CPU_ISR_install_vector(
#if (CPU_PROVIDES_IDLE_THREAD_BODY == TRUE)
-void _CPU_Thread_Idle_body( void );
+void *_CPU_Thread_Idle_body( uint32_t );
#endif /* CPU_PROVIDES_IDLE_THREAD_BODY */