1 #ifndef __PPC_IPC_H__ 2 #define __PPC_IPC_H__ 3 4 /* 5 * These are used to wrap system calls on PowerPC. 6 * 7 * See arch/ppc/kernel/syscalls.c for ugly details.. 8 */ 9 struct ipc_kludge { 10 struct msgbuf *msgp; 11 long msgtyp; 12 }; 13 14 #define SEMOP 1 15 #define SEMGET 2 16 #define SEMCTL 3 17 #define SEMTIMEDOP 4 18 #define MSGSND 11 19 #define MSGRCV 12 20 #define MSGGET 13 21 #define MSGCTL 14 22 #define SHMAT 21 23 #define SHMDT 22 24 #define SHMGET 23 25 #define SHMCTL 24 26 27 #define IPCCALL(version,op) ((version)<<16 | (op)) 28 29 #endif /* __PPC_IPC_H__ */ 30