[PATCH] uml: separate libc-dependent uaccess code
[linux/fpc-iii.git] / include / asm-generic / ipc.h
bloba40407a165cec6d1e9a89b951815ba8e09b904c1
1 #ifndef _ASM_GENERIC_IPC_H
2 #define _ASM_GENERIC_IPC_H
3 /*
4 * These are used to wrap system calls.
6 * See architecture code for ugly details..
7 */
8 struct ipc_kludge {
9 struct msgbuf __user *msgp;
10 long msgtyp;
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
26 /* Used by the DIPC package, try and avoid reusing it */
27 #define DIPC 25
29 #define IPCCALL(version,op) ((version)<<16 | (op))
31 #endif /* _ASM_GENERIC_IPC_H */