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/nios2 | |
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/nios2')
-rw-r--r-- | cpukit/score/cpu/nios2/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/nios2/cpu.c | 2 | ||||
-rw-r--r-- | cpukit/score/cpu/nios2/rtems/score/cpu.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/cpukit/score/cpu/nios2/ChangeLog b/cpukit/score/cpu/nios2/ChangeLog index da49f1dd9f..912c90c7a8 100644 --- a/cpukit/score/cpu/nios2/ChangeLog +++ b/cpukit/score/cpu/nios2/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/nios2/cpu.c b/cpukit/score/cpu/nios2/cpu.c index 5071ffbb75..96fccf8867 100644 --- a/cpukit/score/cpu/nios2/cpu.c +++ b/cpukit/score/cpu/nios2/cpu.c @@ -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(;;); diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h index a3219c7dfb..0bdc44a3fd 100644 --- a/cpukit/score/cpu/nios2/rtems/score/cpu.h +++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h @@ -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 |