From 97e2729d1a3432b9792b82ce88ce6d804a104f7a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 23 Nov 1998 17:38:09 +0000 Subject: Added --disable-multiprocessing flag and modified a lot of files to make it work. --- c/src/exec/sapi/include/rtems/config.h | 6 ++++++ c/src/exec/sapi/include/rtems/sptables.h | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'c/src/exec/sapi/include/rtems') 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 #include +#if defined(RTEMS_MULTIPROCESSING) #include +#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 #include #include +#if defined(RTEMS_MULTIPROCESSING) #include +#endif #include #include #include @@ -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 */ }; -- cgit v1.2.3