From 45d107ecfcf2ed2cb603edbeeb352a28701073a1 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 11 Feb 2009 21:48:42 +0000 Subject: 2009-02-11 Joel Sherrill * sapi/src/exinit.c: Eliminate _CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch to _CPU_Initialize. Clean up comments. --- cpukit/sapi/src/exinit.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cpukit/sapi') 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. @@ -96,6 +91,11 @@ void rtems_initialize_data_structures(void) _System_state_Handler_initialization( FALSE ); #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. -- cgit v1.2.3