source: svn/trunk/newcon3bcm2_21bu/toolchain/mipsel-linux-uclibc/include/asm/ipc.h @ 2

Last change on this file since 2 was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 636 bytes
Line 
1#ifndef _ASM_IPC_H
2#define _ASM_IPC_H
3
4/*
5 * These are used to wrap system calls on MIPS.
6 *
7 * See arch/mips/kernel/sysmips.c for ugly details..
8 * FIXME: split up into ordinary syscalls ...
9 */
10struct ipc_kludge {
11        struct msgbuf *msgp;
12        long msgtyp;
13};
14
15#define SEMOP            1
16#define SEMGET           2
17#define SEMCTL           3
18#define SEMTIMEDOP       4
19#define MSGSND          11
20#define MSGRCV          12
21#define MSGGET          13
22#define MSGCTL          14
23#define SHMAT           21
24#define SHMDT           22
25#define SHMGET          23
26#define SHMCTL          24
27
28/* Used by the DIPC package, try and avoid reusing it */
29#define DIPC            25
30
31#define IPCCALL(version,op)     ((version)<<16 | (op))
32
33#endif /* _ASM_IPC_H */
Note: See TracBrowser for help on using the repository browser.