summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/ipc.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
committer <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
commit19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch)
tree40b1cb534496a7f1ca0f5c314a523c69f1fee464 /include/asm-sparc/ipc.h
parent7206675c40394c78a90e74812bbdbf8cf3cca1be (diff)
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/asm-sparc/ipc.h')
-rw-r--r--include/asm-sparc/ipc.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/asm-sparc/ipc.h b/include/asm-sparc/ipc.h
new file mode 100644
index 000000000..ea6733264
--- /dev/null
+++ b/include/asm-sparc/ipc.h
@@ -0,0 +1,28 @@
+#ifndef __SPARC_IPC_H__
+#define __SPARC_IPC_H__
+
+/*
+ * These are used to wrap system calls on the sparc.
+ *
+ * See arch/sparc/kernel/sys_sparc.c for ugly details..
+ */
+struct ipc_kludge {
+ struct msgbuf *msgp;
+ long msgtyp;
+};
+
+#define SEMOP 1
+#define SEMGET 2
+#define SEMCTL 3
+#define MSGSND 11
+#define MSGRCV 12
+#define MSGGET 13
+#define MSGCTL 14
+#define SHMAT 21
+#define SHMDT 22
+#define SHMGET 23
+#define SHMCTL 24
+
+#define IPCCALL(version,op) ((version)<<16 | (op))
+
+#endif