summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/mips
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/mips
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 '')
-rw-r--r--cpukit/score/cpu/mips/ChangeLog6
-rw-r--r--cpukit/score/cpu/mips/cpu.c6
-rw-r--r--cpukit/score/cpu/mips/rtems/score/cpu.h21
3 files changed, 9 insertions, 24 deletions
diff --git a/cpukit/score/cpu/mips/ChangeLog b/cpukit/score/cpu/mips/ChangeLog
index 2703b2b052..c9ed3be402 100644
--- a/cpukit/score/cpu/mips/ChangeLog
+++ b/cpukit/score/cpu/mips/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/mips/cpu.c b/cpukit/score/cpu/mips/cpu.c
index aaaac95102..7593960b2d 100644
--- a/cpukit/score/cpu/mips/cpu.c
+++ b/cpukit/score/cpu/mips/cpu.c
@@ -70,12 +70,10 @@ ESF_PTR_TYPE __exceptionStackFrame = 0;
*
* This routine performs processor dependent initialization.
*
- * INPUT PARAMETERS:
* thread_dispatch - address of dispatching routine
*/
-void _CPU_Initialize(
- void (*thread_dispatch) /* ignored on this CPU */
-)
+
+void _CPU_Initialize(void)
{
/*
* If there is not an easy way to initialize the FP context
diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h
index ae2626fea6..0184d17308 100644
--- a/cpukit/score/cpu/mips/rtems/score/cpu.h
+++ b/cpukit/score/cpu/mips/rtems/score/cpu.h
@@ -633,23 +633,6 @@ SCORE_EXTERN void *_CPU_Interrupt_stack_low;
SCORE_EXTERN void *_CPU_Interrupt_stack_high;
/*
- * With some compilation systems, it is difficult if not impossible to
- * call a high-level language routine from assembly language. This
- * is especially true of commercial Ada compilers and name mangling
- * C++ ones. This variable can be optionally defined by the CPU porter
- * and contains the address of the routine _Thread_Dispatch. This
- * can make it easier to invoke that routine at the end of the interrupt
- * sequence (if a dispatch is necessary).
- *
-
-SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
- *
- * NOTE: Not needed on this port.
- */
-
-
-
-/*
* Nothing prevents the porter from declaring more CPU specific variables.
*/
@@ -1061,9 +1044,7 @@ extern void mips_break( int error );
* This routine performs CPU dependent initialization.
*/
-void _CPU_Initialize(
- void (*thread_dispatch)
-);
+void _CPU_Initialize(void);
/*
* _CPU_ISR_install_raw_handler