summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/m32c
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/m32c
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/m32c')
-rw-r--r--cpukit/score/cpu/m32c/ChangeLog6
-rw-r--r--cpukit/score/cpu/m32c/cpu.c8
-rw-r--r--cpukit/score/cpu/m32c/rtems/score/cpu.h6
3 files changed, 10 insertions, 10 deletions
diff --git a/cpukit/score/cpu/m32c/ChangeLog b/cpukit/score/cpu/m32c/ChangeLog
index f27c061687..67e0babd36 100644
--- a/cpukit/score/cpu/m32c/ChangeLog
+++ b/cpukit/score/cpu/m32c/ChangeLog
@@ -1,5 +1,11 @@
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.
+
+2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* rtems/score/cpu.h: Use a 16 bit object id on this target.
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
diff --git a/cpukit/score/cpu/m32c/cpu.c b/cpukit/score/cpu/m32c/cpu.c
index 83d64b3267..5b9cbc9858 100644
--- a/cpukit/score/cpu/m32c/cpu.c
+++ b/cpukit/score/cpu/m32c/cpu.c
@@ -19,16 +19,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)
{
asm volatile( "ldc #__var_vects,intb" );
}
diff --git a/cpukit/score/cpu/m32c/rtems/score/cpu.h b/cpukit/score/cpu/m32c/rtems/score/cpu.h
index 538c7da0e7..0586bd7c3e 100644
--- a/cpukit/score/cpu/m32c/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m32c/rtems/score/cpu.h
@@ -1041,15 +1041,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