summaryrefslogtreecommitdiffstats
path: root/c/src/exec/sapi/include/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-11-23 17:38:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-11-23 17:38:09 +0000
commit97e2729d1a3432b9792b82ce88ce6d804a104f7a (patch)
treece8c041ef504f965a4af05775af348c7023b19f9 /c/src/exec/sapi/include/rtems
parentAdded networking. (diff)
downloadrtems-97e2729d1a3432b9792b82ce88ce6d804a104f7a.tar.bz2
Added --disable-multiprocessing flag and modified a lot of files to make
it work.
Diffstat (limited to 'c/src/exec/sapi/include/rtems')
-rw-r--r--c/src/exec/sapi/include/rtems/config.h6
-rw-r--r--c/src/exec/sapi/include/rtems/sptables.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/c/src/exec/sapi/include/rtems/config.h b/c/src/exec/sapi/include/rtems/config.h
index e3ae50d7d1..5a01286059 100644
--- a/c/src/exec/sapi/include/rtems/config.h
+++ b/c/src/exec/sapi/include/rtems/config.h
@@ -43,7 +43,9 @@ typedef void *posix_api_configuration_table;
#include <rtems/extension.h>
#include <rtems/io.h>
+#if defined(RTEMS_MULTIPROCESSING)
#include <rtems/score/mpci.h>
+#endif
/*
* The following records define the Multiprocessor Configuration
@@ -57,7 +59,11 @@ typedef struct {
unsigned32 maximum_nodes; /* maximum # nodes in system */
unsigned32 maximum_global_objects; /* maximum # global objects */
unsigned32 maximum_proxies; /* maximum # proxies */
+#if defined(RTEMS_MULTIPROCESSING)
MPCI_Control *User_mpci_table; /* pointer to MPCI table */
+#else
+ void *User_mpci_table; /* pointer to MPCI table */
+#endif
} rtems_multiprocessing_table;
/*
diff --git a/c/src/exec/sapi/include/rtems/sptables.h b/c/src/exec/sapi/include/rtems/sptables.h
index 35b3d2d9ab..b8c417319a 100644
--- a/c/src/exec/sapi/include/rtems/sptables.h
+++ b/c/src/exec/sapi/include/rtems/sptables.h
@@ -35,7 +35,9 @@ extern "C" {
#include <rtems/rtems/dpmem.h>
#include <rtems/rtems/event.h>
#include <rtems/rtems/message.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>
@@ -152,7 +154,11 @@ const void * _Entry_points[ RTEMS_NUMBER_OF_ENTRY_POINTS ] = {
(void *) rtems_rate_monotonic_delete, /* 76 */
(void *) rtems_rate_monotonic_cancel, /* 77 */
(void *) rtems_rate_monotonic_period, /* 78 */
+#if defined(RTEMS_MULTIPROCESSING)
(void *) rtems_multiprocessing_announce, /* 79 */
+#else
+ (void *) NULL, /* 79 */
+#endif
(void *) rtems_debug_enable, /* 80 */
(void *) rtems_debug_disable /* 81 */
};