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:
Joel Sherrill
2009-02-12 15:55:55 +00:00
parent 59b68bd1c8
commit cca8379862
30 changed files with 74 additions and 24 deletions

View File

@@ -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

View File

@@ -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( ; ; )

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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");

View File

@@ -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 */

View File

@@ -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

View File

@@ -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( ; ; )

View File

@@ -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

View File

@@ -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

View File

@@ -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( ; ; )

View File

@@ -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

View File

@@ -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

View File

@@ -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( ; ; )

View File

@@ -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

View File

@@ -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

View File

@@ -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(;;);

View File

@@ -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

View File

@@ -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

View File

@@ -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( ; ; )

View File

@@ -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

View File

@@ -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

View File

@@ -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( ; ; )

View File

@@ -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

View File

@@ -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

View File

@@ -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;

View File

@@ -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