more changes on original files
[linux-2.4.git] / include / asm-sh64 / ipc.h
1 #ifndef __ASM_SH64_IPC_H
2 #define __ASM_SH64_IPC_H
3
4 /*
5  * This file is subject to the terms and conditions of the GNU General Public
6  * License.  See the file "COPYING" in the main directory of this archive
7  * for more details.
8  *
9  * include/asm-sh64/ipc.h
10  *
11  * Copyright (C) 2000, 2001  Paolo Alberelli
12  *
13  */
14
15 /* 
16  * These are used to wrap system calls on x86.
17  *
18  * See arch/i386/kernel/sys_i386.c for ugly details..
19  */
20 struct ipc_kludge {
21         struct msgbuf *msgp;
22         long msgtyp;
23 };
24
25 #define SEMOP            1
26 #define SEMGET           2
27 #define SEMCTL           3
28 #define MSGSND          11
29 #define MSGRCV          12
30 #define MSGGET          13
31 #define MSGCTL          14
32 #define SHMAT           21
33 #define SHMDT           22
34 #define SHMGET          23
35 #define SHMCTL          24
36
37 /* Used by the DIPC package, try and avoid reusing it */
38 #define DIPC            25
39
40 #define IPCCALL(version,op)     ((version)<<16 | (op))
41
42 #endif /* __ASM_SH64_IPC_H */