From cca8379862a8fadbccf3f7f8e591659543c56375 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 12 Feb 2009 15:55:55 +0000 Subject: 2009-02-12 Joel Sherrill * cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument. --- cpukit/score/cpu/unix/ChangeLog | 5 +++++ cpukit/score/cpu/unix/cpu.c | 2 +- cpukit/score/cpu/unix/rtems/score/cpu.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/unix') diff --git a/cpukit/score/cpu/unix/ChangeLog b/cpukit/score/cpu/unix/ChangeLog index 21e9de51dc..f98a89d37c 100644 --- a/cpukit/score/cpu/unix/ChangeLog +++ b/cpukit/score/cpu/unix/ChangeLog @@ -1,3 +1,8 @@ +2009-02-12 Joel Sherrill + + * 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 * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and diff --git a/cpukit/score/cpu/unix/cpu.c b/cpukit/score/cpu/unix/cpu.c index b56fadcc5e..1a77aff389 100644 --- a/cpukit/score/cpu/unix/cpu.c +++ b/cpukit/score/cpu/unix/cpu.c @@ -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; diff --git a/cpukit/score/cpu/unix/rtems/score/cpu.h b/cpukit/score/cpu/unix/rtems/score/cpu.h index 0503018d2f..ef757cfd27 100644 --- a/cpukit/score/cpu/unix/rtems/score/cpu.h +++ b/cpukit/score/cpu/unix/rtems/score/cpu.h @@ -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 -- cgit v1.2.3