From c03e2bc8c7b6c2133db6a661d785409d4756149a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 11 Feb 2009 21:45:05 +0000 Subject: 2009-02-11 Joel Sherrill * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch to _CPU_Initialize. Clean up comments. --- cpukit/score/cpu/sparc/cpu.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'cpukit/score/cpu/sparc/cpu.c') 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; -- cgit v1.2.3