diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-16 16:04:51 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-16 16:04:51 +0000 |
commit | f4b76ab569d76efb503542b2d5bb857cd37cf83f (patch) | |
tree | d3f94c21805f254c3e71c8d8ba7583518241e9ff /cpukit/sapi/include/rtems/sptables.h.in | |
parent | Works now. (diff) | |
download | rtems-f4b76ab569d76efb503542b2d5bb857cd37cf83f.tar.bz2 |
Fixed so can be included multiple times in the executive source.
Diffstat (limited to '')
-rw-r--r-- | cpukit/sapi/include/rtems/sptables.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/sapi/include/rtems/sptables.h.in b/cpukit/sapi/include/rtems/sptables.h.in index 737095a7de..de98be836c 100644 --- a/cpukit/sapi/include/rtems/sptables.h.in +++ b/cpukit/sapi/include/rtems/sptables.h.in @@ -50,6 +50,7 @@ extern "C" { * It is used in single processor configurations. */ +#if defined(SAPI_INIT) const rtems_multiprocessing_table _Initialization_Default_multiprocessing_table = { 1, /* local node number */ @@ -58,6 +59,10 @@ const rtems_multiprocessing_table 0, /* maximum number proxies */ NULL, /* pointer to MPCI address table */ }; +#else +extern const rtems_multiprocessing_table + _Initialization_Default_multiprocessing_table; +#endif /* * This is the version string. @@ -65,9 +70,13 @@ const rtems_multiprocessing_table #define RTEMS_VERSION "rtems-@RTEMS_VERSION@" +#if defined(SAPI_INIT) const char _RTEMS_version[] = "RTEMS RELEASE " RTEMS_VERSION "(" CPU_NAME "/" CPU_MODEL_NAME "/@RTEMS_BSP@)"; +#else +extern const char _RTEMS_version[]; +#endif #ifdef __cplusplus } |