summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-11 21:48:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-11 21:48:42 +0000
commit45d107ecfcf2ed2cb603edbeeb352a28701073a1 (patch)
tree840db8e285169925ada8a64eed126ed939314dbf /cpukit/sapi
parent2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-45d107ecfcf2ed2cb603edbeeb352a28701073a1.tar.bz2
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.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/src/exinit.c10
1 files changed, 5 insertions, 5 deletions
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.
*/