summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sparc/cpu.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-11 21:45:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-11 21:45:05 +0000
commitc03e2bc8c7b6c2133db6a661d785409d4756149a (patch)
treeda32e8511a07cfb9cada9bdace09fd96f7204830 /cpukit/score/cpu/sparc/cpu.c
parent2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-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/cpu.c')
-rw-r--r--cpukit/score/cpu/sparc/cpu.c7
1 files changed, 2 insertions, 5 deletions
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;