MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / include / asm-arm26 / ipc.h
blobc330504ba3f4c13530b32544aff93c0d628c43dc
1 #ifndef __ASMARM_IPC_H
2 #define __ASMARM_IPC_H
4 /*
5 * These are used to wrap system calls on ARM.
7 * See arch/arm/kernel/sys-arm.c for ugly details..
8 */
9 struct ipc_kludge {
10 struct msgbuf *msgp;
11 long msgtyp;
14 #define SEMOP 1
15 #define SEMGET 2
16 #define SEMCTL 3
17 #define MSGSND 11
18 #define MSGRCV 12
19 #define MSGGET 13
20 #define MSGCTL 14
21 #define SHMAT 21
22 #define SHMDT 22
23 #define SHMGET 23
24 #define SHMCTL 24
26 #define IPCCALL(version,op) ((version)<<16 | (op))
28 #endif