2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>

* cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
This commit is contained in:
Joel Sherrill
2008-07-31 14:55:56 +00:00
parent 432a662c1b
commit 3c87adba3f
27 changed files with 56 additions and 19 deletions
+4
View File
@@ -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
+1 -1
View File
@@ -173,7 +173,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( ; ; )
+1 -1
View File
@@ -1001,7 +1001,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 );
/*
* _CPU_Context_switch
+4
View File
@@ -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
+1 -1
View File
@@ -181,7 +181,7 @@ void _CPU_ISR_install_vector(
*/
#if (CPU_PROVIDES_IDLE_THREAD_BODY == 1)
void _CPU_Thread_Idle_body( void )
void *_CPU_Thread_Idle_body( uint32_t ignored )
{
for( ; ; ) {
+1 -1
View File
@@ -1129,7 +1129,7 @@ void _CPU_ISR_install_vector(
*/
#if (CPU_PROVIDES_IDLE_THREAD_BODY == 1)
void _CPU_Thread_Idle_body( void );
void *_CPU_Thread_Idle_body( uint32_t );
#endif
/*
+4
View File
@@ -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
+1 -1
View File
@@ -159,7 +159,7 @@ void _CPU_Install_interrupt_stack( void )
*/
#if 0
void _CPU_Thread_Idle_body( void )
void *_CPU_Thread_Idle_body( uint32_t ignored )
{
for( ; ; )
+1 -1
View File
@@ -1056,7 +1056,7 @@ void _CPU_Install_interrupt_stack( void );
* XXX
*/
void _CPU_Thread_Idle_body( void );
void *_CPU_Thread_Idle_body( uint32_t );
/*
* _CPU_Context_switch
+4
View File
@@ -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.
+2 -1
View File
@@ -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)
+2 -2
View File
@@ -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 */
+4
View File
@@ -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
+1 -1
View File
@@ -269,7 +269,7 @@ void _CPU_Install_interrupt_stack( void )
* hook with caution.
*/
void _CPU_Thread_Idle_body( void )
void *_CPU_Thread_Idle_body( uint32_t ignored )
{
#if (__mips == 3) || (__mips == 32)
for( ; ; )
+1 -1
View File
@@ -1110,7 +1110,7 @@ void _CPU_Install_interrupt_stack( void );
* is TRUE.
*/
void _CPU_Thread_Idle_body( void );
void *_CPU_Thread_Idle_body( uint32_t );
/*
* _CPU_Context_switch
+4
View File
@@ -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
+1 -1
View File
@@ -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(;;);
+1 -1
View File
@@ -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
+4
View File
@@ -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
+1 -1
View File
@@ -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( ; ; )
+1 -1
View File
@@ -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
+4
View File
@@ -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
+1 -1
View File
@@ -206,7 +206,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 ignored )
{
for( ; ; )
+1 -1
View File
@@ -874,7 +874,7 @@ void _CPU_Install_interrupt_stack( void );
* is TRUE.
*/
void _CPU_Thread_Idle_body( void );
void *_CPU_Thread_Idle_body( uint32_t );
/*
* _CPU_Context_switch
+4
View File
@@ -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
+1 -1
View File
@@ -389,7 +389,7 @@ void _CPU_Install_interrupt_stack( void )
* CPU cycles which is again similar to low power mode.
*/
void _CPU_Thread_Idle_body( void )
void *_CPU_Thread_Idle_body( uint32_t ignored )
{
#if CPU_SYNC_IO
extern void _Thread_Dispatch(void);
+1 -1
View File
@@ -924,7 +924,7 @@ void _CPU_Install_interrupt_stack( void );
* is TRUE.
*/
void _CPU_Thread_Idle_body( void );
void *_CPU_Thread_Idle_body( uint32_t );
/*
* _CPU_Context_switch