projects
/
linux-2.4.21-pre4.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
clean
[linux-2.4.21-pre4.git]
/
include
/
asm-ppc
/
ipc.h
1
/*
2
* BK Id: SCCS/s.ipc.h 1.7 06/05/01 21:45:21 paulus
3
*/
4
#ifndef __PPC_IPC_H__
5
#define __PPC_IPC_H__
6
7
/*
8
* These are used to wrap system calls on PowerPC.
9
*
10
* See arch/ppc/kernel/syscalls.c for ugly details..
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 MSGSND 11
21
#define MSGRCV 12
22
#define MSGGET 13
23
#define MSGCTL 14
24
#define SHMAT 21
25
#define SHMDT 22
26
#define SHMGET 23
27
#define SHMCTL 24
28
29
#define IPCCALL(version,op) ((version)<<16 | (op))
30
31
#endif /* __PPC_IPC_H__ */