git://git.onelab.eu
/
linux-2.6.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
include
/
asm-cris
/
ipc.h
1
#ifndef __CRIS_IPC_H__
2
#define __CRIS_IPC_H__
3
4
/*
5
* These are used to wrap system calls on CRIS.
6
*
7
* See arch/cris/kernel/sys_cris.c for ugly details..
8
*
9
* Same as x86 version.
10
*
11
*/
12
struct ipc_kludge {
13
struct msgbuf *msgp;
14
long msgtyp;
15
};
16
17
#define SEMOP 1
18
#define SEMGET 2
19
#define SEMCTL 3
20
#define SEMTIMEDOP 4
21
#define MSGSND 11
22
#define MSGRCV 12
23
#define MSGGET 13
24
#define MSGCTL 14
25
#define SHMAT 21
26
#define SHMDT 22
27
#define SHMGET 23
28
#define SHMCTL 24
29
30
/* Used by the DIPC package, try and avoid reusing it */
31
#define DIPC 25
32
33
#define IPCCALL(version,op) ((version)<<16 | (op))
34
35
#endif