summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/m32r
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/m32r
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/m32r')
-rw-r--r--cpukit/score/cpu/m32r/ChangeLog6
-rw-r--r--cpukit/score/cpu/m32r/cpu.c8
-rw-r--r--cpukit/score/cpu/m32r/rtems/score/cpu.h22
3 files changed, 10 insertions, 26 deletions
diff --git a/cpukit/score/cpu/m32r/ChangeLog b/cpukit/score/cpu/m32r/ChangeLog
index ff192af030..f8de30afce 100644
--- a/cpukit/score/cpu/m32r/ChangeLog
+++ b/cpukit/score/cpu/m32r/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-10-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am, rtems/score/cpu.h: Now performs context
diff --git a/cpukit/score/cpu/m32r/cpu.c b/cpukit/score/cpu/m32r/cpu.c
index cdeda8cb64..8ac22ee440 100644
--- a/cpukit/score/cpu/m32r/cpu.c
+++ b/cpukit/score/cpu/m32r/cpu.c
@@ -18,16 +18,14 @@
*
* This routine performs processor dependent initialization.
*
- * INPUT PARAMETERS:
- * thread_dispatch - address of dispatching routine
+ * INPUT PARAMETERS: NONE
*
* NO_CPU Specific Information:
*
* XXX document implementation including references if appropriate
*/
-void _CPU_Initialize(
- void (*thread_dispatch) /* ignored on this CPU */
-)
+
+void _CPU_Initialize(void)
{
}
diff --git a/cpukit/score/cpu/m32r/rtems/score/cpu.h b/cpukit/score/cpu/m32r/rtems/score/cpu.h
index 39bd5c0133..97fef9a61e 100644
--- a/cpukit/score/cpu/m32r/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m32r/rtems/score/cpu.h
@@ -569,22 +569,6 @@ SCORE_EXTERN void *_CPU_Interrupt_stack_low;
*/
SCORE_EXTERN void *_CPU_Interrupt_stack_high;
-/**
- * @ingroup CPUInterrupt
- * 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 @ref _Thread_Dispatch. This
- * can make it easier to invoke that routine at the end of the interrupt
- * sequence (if a dispatch is necessary).
- *
- * Port Specific Information:
- *
- * XXX document implementation including references if appropriate
- */
-SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)(void);
-
/*
* Nothing prevents the porter from declaring more CPU specific variables.
*
@@ -1094,15 +1078,11 @@ void _CPU_Context_Restart_self(
/**
* This routine performs CPU dependent initialization.
*
- * @param[in] thread_dispatch is the address of @ref _Thread_Dispatch
- *
* Port Specific Information:
*
* XXX document implementation including references if appropriate
*/
-void _CPU_Initialize(
- void (*thread_dispatch)
-);
+void _CPU_Initialize(void);
/**
* @ingroup CPUInterrupt