diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-26 10:11:48 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-03 10:00:57 +0100 |
commit | 8ca372e9b47319a034a32250e037247e5b3c4c9e (patch) | |
tree | 3acf412bf7821e7917a7e2b3ef92838e94a4c8ea /cpukit/sapi/include/rtems | |
parent | Use linker set for driver manager initialization (diff) | |
download | rtems-8ca372e9b47319a034a32250e037247e5b3c4c9e.tar.bz2 |
Use linker set for MPCI initialization
Update #2408.
Diffstat (limited to 'cpukit/sapi/include/rtems')
-rw-r--r-- | cpukit/sapi/include/rtems/config.h | 11 | ||||
-rw-r--r-- | cpukit/sapi/include/rtems/init.h | 9 | ||||
-rw-r--r-- | cpukit/sapi/include/rtems/sptables.h | 70 |
3 files changed, 9 insertions, 81 deletions
diff --git a/cpukit/sapi/include/rtems/config.h b/cpukit/sapi/include/rtems/config.h index d73e9b8041..1b48ea92de 100644 --- a/cpukit/sapi/include/rtems/config.h +++ b/cpukit/sapi/include/rtems/config.h @@ -260,7 +260,7 @@ extern const rtems_configuration_table Configuration; /** * This points to the multiprocessing configuration table. */ - SAPI_EXTERN rtems_multiprocessing_table *_Configuration_MP_table; + extern rtems_multiprocessing_table *_Configuration_MP_table; #endif #if defined(RTEMS_MULTIPROCESSING) @@ -270,7 +270,14 @@ extern const rtems_configuration_table Configuration; * This is the RTEMS Multiprocessing Configuration Table expected to * be generated by confdefs.h. */ - extern rtems_multiprocessing_table Multiprocessing_configuration; + extern rtems_multiprocessing_table Multiprocessing_configuration; + + /* + * This is the default Multiprocessing Configuration Table. + * It is used in single processor configurations. + */ + extern const rtems_multiprocessing_table + _Initialization_Default_multiprocessing_table; #endif diff --git a/cpukit/sapi/include/rtems/init.h b/cpukit/sapi/include/rtems/init.h index b92bf8590e..fa3108ea50 100644 --- a/cpukit/sapi/include/rtems/init.h +++ b/cpukit/sapi/include/rtems/init.h @@ -36,15 +36,6 @@ extern "C" { #include <rtems/config.h> #include <rtems/rtems/intr.h> -#if defined(RTEMS_MULTIPROCESSING) -/** - * The following defines the default Multiprocessing Configuration - * Table. This table is used in a single processor system. - */ -extern const rtems_multiprocessing_table - _Initialization_Default_multiprocessing_table; -#endif - /** * @brief Initializes the system and starts multitasking. * diff --git a/cpukit/sapi/include/rtems/sptables.h b/cpukit/sapi/include/rtems/sptables.h deleted file mode 100644 index 733e613f65..0000000000 --- a/cpukit/sapi/include/rtems/sptables.h +++ /dev/null @@ -1,70 +0,0 @@ -/** - * @file - * - * @brief Pre-Initialized Tables Used when in a Single Processor Configuration - * - * This include file contains the executive's pre-initialized tables - * used when in a single processor configuration. - */ - -/* - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifndef _RTEMS_SPTABLES_H -#define _RTEMS_SPTABLES_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include <rtems/config.h> -#include <rtems/fatal.h> -#include <rtems/init.h> -#include <rtems/io.h> - -#include <rtems/rtems/intr.h> -#include <rtems/rtems/clock.h> -#include <rtems/rtems/tasks.h> -#include <rtems/rtems/dpmem.h> -#include <rtems/rtems/event.h> -#if defined(RTEMS_MULTIPROCESSING) -#include <rtems/rtems/mp.h> -#endif -#include <rtems/rtems/part.h> -#include <rtems/rtems/ratemon.h> -#include <rtems/rtems/region.h> -#include <rtems/rtems/signal.h> -#include <rtems/rtems/timer.h> - -#if defined(RTEMS_MULTIPROCESSING) -/* - * This is the default Multiprocessing Configuration Table. - * It is used in single processor configurations. - */ - #if defined(SAPI_INIT) - const rtems_multiprocessing_table - _Initialization_Default_multiprocessing_table = { - 1, /* local node number */ - 1, /* maximum number nodes in system */ - 0, /* maximum number global objects */ - 0, /* maximum number proxies */ - STACK_MINIMUM_SIZE, /* MPCI receive server stack size */ - NULL, /* pointer to MPCI address table */ - }; - #else - extern const rtems_multiprocessing_table - _Initialization_Default_multiprocessing_table; - #endif -#endif - -#ifdef __cplusplus -} -#endif - -#endif |