[PATCH] xtensa: Architecture support for Tensilica Xtensa Part 6
[linux-2.6.git] / include / asm-xtensa / ipc.h
blobd37bdb4d4c9c821e4765f10c206fa613f7781b65
1 /*
2 * include/asm-xtensa/ipc.h
4 * This file is subject to the terms and conditions of the GNU General
5 * Public License. See the file "COPYING" in the main directory of
6 * this archive for more details.
8 * Copyright (C) 2001 - 2005 Tensilica Inc.
9 */
11 #ifndef _XTENSA_IPC_H
12 #define _XTENSA_IPC_H
14 struct ipc_kludge {
15 struct msgbuf __user *msgp;
16 long msgtyp;
19 #define SEMOP 1
20 #define SEMGET 2
21 #define SEMCTL 3
22 #define SEMTIMEDOP 4
23 #define MSGSND 11
24 #define MSGRCV 12
25 #define MSGGET 13
26 #define MSGCTL 14
27 #define SHMAT 21
28 #define SHMDT 22
29 #define SHMGET 23
30 #define SHMCTL 24
32 #define IPCCALL(version,op) ((version)<<16 | (op))
34 #endif /* _XTENSA_IPC_H */