diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-02-12 15:55:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-02-12 15:55:55 +0000 |
commit | cca8379862a8fadbccf3f7f8e591659543c56375 (patch) | |
tree | beadd52bc9fb0aec6c3d07637837ebd15150e618 /cpukit/score/cpu/mips | |
parent | 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-cca8379862a8fadbccf3f7f8e591659543c56375.tar.bz2 |
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.
Diffstat (limited to 'cpukit/score/cpu/mips')
-rw-r--r-- | cpukit/score/cpu/mips/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/mips/cpu.c | 2 | ||||
-rw-r--r-- | cpukit/score/cpu/mips/rtems/score/cpu.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/cpukit/score/cpu/mips/ChangeLog b/cpukit/score/cpu/mips/ChangeLog index c9ed3be402..7834ab2bdd 100644 --- a/cpukit/score/cpu/mips/ChangeLog +++ b/cpukit/score/cpu/mips/ChangeLog @@ -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 diff --git a/cpukit/score/cpu/mips/cpu.c b/cpukit/score/cpu/mips/cpu.c index 7593960b2d..0b6b2cee69 100644 --- a/cpukit/score/cpu/mips/cpu.c +++ b/cpukit/score/cpu/mips/cpu.c @@ -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( ; ; ) diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h index 0184d17308..43290c66c3 100644 --- a/cpukit/score/cpu/mips/rtems/score/cpu.h +++ b/cpukit/score/cpu/mips/rtems/score/cpu.h @@ -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 |