summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-18 17:15:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-18 17:15:13 +0000
commit584ab9e16e52b46ae65cb245fd86858824da4bb9 (patch)
treee7c7808d1a6062c0f850c2fa3f1b388e04d76717 /cpukit/sapi
parent2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-584ab9e16e52b46ae65cb245fd86858824da4bb9.tar.bz2
2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/regionmp.h, sapi/include/rtems/config.h, sapi/src/exinit.c, score/Makefile.am, score/include/rtems/score/object.h, score/include/rtems/score/objectmp.h, score/src/objectmp.c: Eliminate Object Handler Initialization routine since it was all for MP configurations. * score/src/object.c: Removed.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/include/rtems/config.h13
-rw-r--r--cpukit/sapi/src/exinit.c2
2 files changed, 13 insertions, 2 deletions
diff --git a/cpukit/sapi/include/rtems/config.h b/cpukit/sapi/include/rtems/config.h
index 91110d846f..56a59183b3 100644
--- a/cpukit/sapi/include/rtems/config.h
+++ b/cpukit/sapi/include/rtems/config.h
@@ -172,7 +172,7 @@ typedef struct {
/**
* This is the configuration table generated by confdefs.h.
*/
-extern rtems_configuration_table Configuration;
+extern rtems_configuration_table Configuration;
#if defined(RTEMS_MULTIPROCESSING)
/**
@@ -181,6 +181,17 @@ extern rtems_configuration_table Configuration;
SAPI_EXTERN rtems_multiprocessing_table *_Configuration_MP_table;
#endif
+#if defined(RTEMS_MULTIPROCESSING)
+ /**
+ * @brief RTEMS Multiprocessing Configuration Table
+ *
+ * This is the RTEMS Multiprocessing Configuration Table expected to
+ * be generated by confdefs.h.
+ */
+ extern rtems_multiprocessing_table Multiprocessing_configuration;
+#endif
+
+
/*
* Some handy macros to avoid dependencies on either the BSP
* or the exact format of the configuration table.
diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c
index b2378032de..d725db3647 100644
--- a/cpukit/sapi/src/exinit.c
+++ b/cpukit/sapi/src/exinit.c
@@ -115,7 +115,6 @@ void rtems_initialize_data_structures(void)
_User_extensions_Handler_initialization();
_ISR_Handler_initialization();
- _Objects_Handler_initialization();
/*
* Initialize the internal support API and allocator Mutex
@@ -132,6 +131,7 @@ void rtems_initialize_data_structures(void)
_Thread_Handler_initialization();
#if defined(RTEMS_MULTIPROCESSING)
+ _Objects_MP_Handler_initialization();
_MPCI_Handler_initialization( RTEMS_TIMEOUT );
#endif