| 1 | #ifndef _ASM_GENERIC_IPC_H
|
| 2 | #define _ASM_GENERIC_IPC_H
|
| 3 | |
| 4 | * These are used to wrap system calls.
|
| 5 | *
|
| 6 | * See architecture code for ugly details..
|
| 7 |
|
| 8 | struct ipc_kludge {
|
| 9 | struct msgbuf __user *msgp;
|
| 10 | long msgtyp;
|
| 11 | };
|
| 12 |
|
| 13 | #define SEMOP 1
|
| 14 | #define SEMGET 2
|
| 15 | #define SEMCTL 3
|
| 16 | #define SEMTIMEDOP 4
|
| 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
|
| 25 |
|
| 26 |
|
| 27 | #define DIPC 25
|
| 28 |
|
| 29 | #define IPCCALL(version,op) ((version)<<16 | (op))
|
| 30 |
|
| 31 | #endif
|