mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 18:59:31 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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( ; ; )
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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( ; ; ) {
|
||||
|
||||
@@ -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
|
||||
|
||||
/*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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( ; ; )
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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( ; ; )
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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(;;);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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( ; ; )
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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( ; ; )
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user