diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-02-11 21:45:05 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-02-11 21:45:05 +0000 |
commit | c03e2bc8c7b6c2133db6a661d785409d4756149a (patch) | |
tree | da32e8511a07cfb9cada9bdace09fd96f7204830 /cpukit/score/cpu/sparc | |
parent | 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-c03e2bc8c7b6c2133db6a661d785409d4756149a.tar.bz2 |
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
passing address of _Thread_Dispatch to _CPU_Initialize. Clean up
comments.
Diffstat (limited to 'cpukit/score/cpu/sparc')
-rw-r--r-- | cpukit/score/cpu/sparc/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc/cpu.c | 7 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc/rtems/score/cpu.h | 4 |
3 files changed, 9 insertions, 8 deletions
diff --git a/cpukit/score/cpu/sparc/ChangeLog b/cpukit/score/cpu/sparc/ChangeLog index 09665337fa..02fc70a1e4 100644 --- a/cpukit/score/cpu/sparc/ChangeLog +++ b/cpukit/score/cpu/sparc/ChangeLog @@ -1,3 +1,9 @@ +2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com> + + * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and + passing address of _Thread_Dispatch to _CPU_Initialize. Clean up + comments. + 2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org> * rtems/score/types.h: Do not define boolean, single_precision, diff --git a/cpukit/score/cpu/sparc/cpu.c b/cpukit/score/cpu/sparc/cpu.c index ce97565001..4db94537cf 100644 --- a/cpukit/score/cpu/sparc/cpu.c +++ b/cpukit/score/cpu/sparc/cpu.c @@ -38,8 +38,7 @@ const CPU_Trap_table_entry _CPU_Trap_slot_template = { * * This routine performs processor dependent initialization. * - * Input Parameters: - * thread_dispatch - address of dispatching routine + * INPUT PARAMETERS: NONE * * Output Parameters: NONE * @@ -47,9 +46,7 @@ const CPU_Trap_table_entry _CPU_Trap_slot_template = { * The SPARC's assembly code can reference it directly with no problems. */ -void _CPU_Initialize( - void (*thread_dispatch) /* ignored on this CPU */ -) +void _CPU_Initialize(void) { #if (SPARC_HAS_FPU == 1) Context_Control_fp *pointer; diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h index 7971bea457..e0909fe9bf 100644 --- a/cpukit/score/cpu/sparc/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h @@ -883,9 +883,7 @@ void _CPU_Context_Initialize( * This routine performs CPU dependent initialization. */ -void _CPU_Initialize( - void (*thread_dispatch) -); +void _CPU_Initialize(void); /* * _CPU_ISR_install_raw_handler |