summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/sapi/src/exinit.c10
2 files changed, 10 insertions, 5 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index b613419d41..6f1f22d908 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * sapi/src/exinit.c: 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>
PR 1374/misc
diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c
index cd65388d8b..f6b5fbf13d 100644
--- a/cpukit/sapi/src/exinit.c
+++ b/cpukit/sapi/src/exinit.c
@@ -72,11 +72,6 @@ void rtems_initialize_data_structures(void)
* are disabled by boot_card().
*/
- /*
- * Initialize any target architecture specific support as early as possible
- */
- _CPU_Initialize( _Thread_Dispatch );
-
#if defined(RTEMS_MULTIPROCESSING)
/*
* Initialize the system state based on whether this is an MP system.
@@ -97,6 +92,11 @@ void rtems_initialize_data_structures(void)
#endif
/*
+ * Initialize any target architecture specific support as early as possible
+ */
+ _CPU_Initialize();
+
+ /*
* Do this as early as possible to ensure no debugging output
* is even attempted to be printed.
*/