MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / include / asm-m32r / ipc.h
blob03aac6644b5873f273d59c3c8eb375316f85395a
1 #ifndef __M32R_IPC_H__
2 #define __M32R_IPC_H__
4 /* orig : i386/ipc.h 2.6.0-test3 */
6 /*
7 * These are used to wrap system calls on x86.
9 * See arch/i386/kernel/sys_i386.c for ugly details..
11 struct ipc_kludge {
12 struct msgbuf __user *msgp;
13 long msgtyp;
16 #define SEMOP 1
17 #define SEMGET 2
18 #define SEMCTL 3
19 #define SEMTIMEDOP 4
20 #define MSGSND 11
21 #define MSGRCV 12
22 #define MSGGET 13
23 #define MSGCTL 14
24 #define SHMAT 21
25 #define SHMDT 22
26 #define SHMGET 23
27 #define SHMCTL 24
29 /* Used by the DIPC package, try and avoid reusing it */
30 #define DIPC 25
32 #define IPCCALL(version,op) ((version)<<16 | (op))
34 #endif /* __M32R_IPC_H__ */