summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/unix/rtems/score/cpu.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 16:07:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 16:07:17 +0000
commitc09454282bf05f46d967af5ed5fa9897cccca58a (patch)
treea1c2d666fb7006a5da49cbec937ecd4002a4b354 /c/src/exec/score/cpu/unix/rtems/score/cpu.h
parentFixed so can be included multiple times in the executive source. (diff)
downloadrtems-c09454282bf05f46d967af5ed5fa9897cccca58a.tar.bz2
Only check for System V IPC if multiprocessing is enabled. The unix
port only uses System V IPC for shared memory and semaphores to communicate between nodes in a multiprocessor configuration. If you disable multiprocessing, then this code should be unused. Thus systems like Cygwin which are POSIX but do not support System V IPC should not work.
Diffstat (limited to '')
-rw-r--r--c/src/exec/score/cpu/unix/rtems/score/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/unix/rtems/score/cpu.h b/c/src/exec/score/cpu/unix/rtems/score/cpu.h
index 96c7522b53..75eb07af74 100644
--- a/c/src/exec/score/cpu/unix/rtems/score/cpu.h
+++ b/c/src/exec/score/cpu/unix/rtems/score/cpu.h
@@ -1061,6 +1061,8 @@ void _CPU_Start_clock(
void _CPU_Stop_clock( void );
+#if defined(RTEMS_MULTIPROCESSING)
+
void _CPU_SHM_Init(
unsigned32 maximum_nodes,
boolean is_master_node,
@@ -1084,6 +1086,7 @@ void _CPU_SHM_Lock(
void _CPU_SHM_Unlock(
int semaphore
);
+#endif
#ifdef __cplusplus
}