forked from Imagelibrary/rtems
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
||||
consistently return void * and take a uintptr_t argument.
|
||||
|
||||
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
|
||||
|
||||
@@ -159,7 +159,7 @@ void _CPU_Install_interrupt_stack( void )
|
||||
* XXX document implementation including references if appropriate
|
||||
*/
|
||||
|
||||
void *_CPU_Thread_Idle_body( uint32_t ignored )
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored )
|
||||
{
|
||||
|
||||
for( ; ; )
|
||||
|
||||
@@ -983,7 +983,7 @@ void _CPU_Install_interrupt_stack( void );
|
||||
* XXX document implementation including references if appropriate
|
||||
*/
|
||||
|
||||
void *_CPU_Thread_Idle_body( uint32_t );
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored );
|
||||
|
||||
/*
|
||||
* _CPU_Context_switch
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
||||
consistently return void * and take a uintptr_t argument.
|
||||
|
||||
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
|
||||
|
||||
@@ -165,11 +165,11 @@ void _CPU_ISR_install_vector(
|
||||
}
|
||||
|
||||
#if (CPU_PROVIDES_IDLE_THREAD_BODY == TRUE)
|
||||
void *_CPU_Thread_Idle_body(uint32_t ignored) {
|
||||
|
||||
while (1) {
|
||||
__asm__ __volatile__("ssync; idle; ssync");
|
||||
}
|
||||
void *_CPU_Thread_Idle_body(uint32_t ignored)
|
||||
{
|
||||
while (1) {
|
||||
__asm__ __volatile__("ssync; idle; ssync");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1147,7 +1147,7 @@ void _CPU_Install_interrupt_stack( void );
|
||||
*
|
||||
* XXX document implementation including references if appropriate
|
||||
*/
|
||||
void *_CPU_Thread_Idle_body( uint32_t );
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored );
|
||||
|
||||
/**
|
||||
* @ingroup CPUContext
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
||||
consistently return void * and take a uintptr_t argument.
|
||||
|
||||
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
|
||||
|
||||
@@ -77,7 +77,7 @@ uint32_t _CPU_ISR_Get_level( void )
|
||||
return level;
|
||||
}
|
||||
|
||||
void *_CPU_Thread_Idle_body (uint32_t ignored)
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored )
|
||||
{
|
||||
while(1){
|
||||
asm volatile ("hlt");
|
||||
|
||||
@@ -421,7 +421,7 @@ void _CPU_ISR_install_vector(
|
||||
|
||||
#if (CPU_PROVIDES_IDLE_THREAD_BODY == TRUE)
|
||||
|
||||
void *_CPU_Thread_Idle_body( uint32_t );
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored );
|
||||
|
||||
#endif /* CPU_PROVIDES_IDLE_THREAD_BODY */
|
||||
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
||||
consistently return void * and take a uintptr_t argument.
|
||||
|
||||
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
|
||||
|
||||
@@ -159,7 +159,7 @@ void _CPU_Install_interrupt_stack( void )
|
||||
* XXX document implementation including references if appropriate
|
||||
*/
|
||||
|
||||
void *_CPU_Thread_Idle_body( uint32_t ignored )
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored )
|
||||
{
|
||||
|
||||
for( ; ; )
|
||||
|
||||
@@ -1148,7 +1148,7 @@ void _CPU_Install_interrupt_stack( void );
|
||||
*
|
||||
* XXX document implementation including references if appropriate
|
||||
*/
|
||||
void *_CPU_Thread_Idle_body( uint32_t );
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored );
|
||||
|
||||
/**
|
||||
* @ingroup CPUContext
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
||||
consistently return void * and take a uintptr_t argument.
|
||||
|
||||
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
|
||||
|
||||
@@ -147,7 +147,7 @@ void _CPU_Install_interrupt_stack( void )
|
||||
* XXX document implementation including references if appropriate
|
||||
*/
|
||||
|
||||
void *_CPU_Thread_Idle_body( uint32_t ignored )
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored )
|
||||
{
|
||||
|
||||
for( ; ; )
|
||||
|
||||
@@ -1107,7 +1107,7 @@ void _CPU_Install_interrupt_stack( void );
|
||||
*
|
||||
* XXX document implementation including references if appropriate
|
||||
*/
|
||||
void *_CPU_Thread_Idle_body( uint32_t );
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored );
|
||||
|
||||
/**
|
||||
* @ingroup CPUContext
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
||||
consistently return void * and take a uintptr_t argument.
|
||||
|
||||
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
|
||||
|
||||
@@ -267,7 +267,7 @@ void _CPU_Install_interrupt_stack( void )
|
||||
* hook with caution.
|
||||
*/
|
||||
|
||||
void *_CPU_Thread_Idle_body( uint32_t ignored )
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored )
|
||||
{
|
||||
#if (__mips == 3) || (__mips == 32)
|
||||
for( ; ; )
|
||||
|
||||
@@ -1091,7 +1091,7 @@ void _CPU_Install_interrupt_stack( void );
|
||||
* is TRUE.
|
||||
*/
|
||||
|
||||
void *_CPU_Thread_Idle_body( uint32_t );
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored );
|
||||
|
||||
/*
|
||||
* _CPU_Context_switch
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
||||
consistently return void * and take a uintptr_t argument.
|
||||
|
||||
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
|
||||
|
||||
@@ -155,7 +155,7 @@ void _CPU_Install_interrupt_stack( void )
|
||||
* XXX document implementation including references if appropriate
|
||||
*/
|
||||
|
||||
void *_CPU_Thread_Idle_body( uint32_t ignored )
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored );
|
||||
{
|
||||
#if 1
|
||||
for(;;);
|
||||
|
||||
@@ -1195,7 +1195,7 @@ void _CPU_Install_interrupt_stack( void );
|
||||
*
|
||||
* XXX document implementation including references if appropriate
|
||||
*/
|
||||
void *_CPU_Thread_Idle_body( uint32_t );
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored );
|
||||
|
||||
/**
|
||||
* @ingroup CPUContext
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
||||
consistently return void * and take a uintptr_t argument.
|
||||
|
||||
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
|
||||
|
||||
@@ -156,7 +156,7 @@ void _CPU_Install_interrupt_stack( void )
|
||||
* XXX document implementation including references if appropriate
|
||||
*/
|
||||
|
||||
void *_CPU_Thread_Idle_body( uint32_t ignored )
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored )
|
||||
{
|
||||
|
||||
for( ; ; )
|
||||
|
||||
@@ -1131,7 +1131,7 @@ void _CPU_Install_interrupt_stack( void );
|
||||
*
|
||||
* XXX document implementation including references if appropriate
|
||||
*/
|
||||
void *_CPU_Thread_Idle_body( uint32_t );
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored );
|
||||
|
||||
/**
|
||||
* @ingroup CPUContext
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
||||
consistently return void * and take a uintptr_t argument.
|
||||
|
||||
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
|
||||
|
||||
@@ -180,7 +180,7 @@ void _CPU_ISR_install_vector(
|
||||
*/
|
||||
|
||||
#if (CPU_PROVIDES_IDLE_THREAD_BODY == TRUE)
|
||||
void *_CPU_Thread_Idle_body( uint32_t ignored )
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored )
|
||||
{
|
||||
|
||||
for( ; ; )
|
||||
|
||||
@@ -860,7 +860,7 @@ void _CPU_Install_interrupt_stack( void );
|
||||
* is TRUE.
|
||||
*/
|
||||
|
||||
void *_CPU_Thread_Idle_body( uint32_t );
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored );
|
||||
|
||||
/*
|
||||
* _CPU_Context_switch
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
||||
consistently return void * and take a uintptr_t argument.
|
||||
|
||||
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
|
||||
|
||||
@@ -377,7 +377,7 @@ void _CPU_Install_interrupt_stack( void )
|
||||
* CPU cycles which is again similar to low power mode.
|
||||
*/
|
||||
|
||||
void *_CPU_Thread_Idle_body( uint32_t ignored )
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored )
|
||||
{
|
||||
#if CPU_SYNC_IO
|
||||
int fd;
|
||||
|
||||
@@ -910,7 +910,7 @@ void _CPU_Install_interrupt_stack( void );
|
||||
* is TRUE.
|
||||
*/
|
||||
|
||||
void *_CPU_Thread_Idle_body( uint32_t );
|
||||
void *_CPU_Thread_Idle_body( uintptr_t ignored );
|
||||
|
||||
/*
|
||||
* _CPU_Context_switch
|
||||
|
||||
Reference in New Issue
Block a user