repo.or.cz
/
davej-history.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pre-2.3.4..
[davej-history.git]
/
include
/
asm-sparc
/
ipc.h
blob
ea6733264fb347e6bd3e73064f0a4e60738c006e
1
#ifndef __SPARC_IPC_H__
2
#define __SPARC_IPC_H__
3
4
/*
5
* These are used to wrap system calls on the sparc.
6
*
7
* See arch/sparc/kernel/sys_sparc.c for ugly details..
8
*/
9
struct
ipc_kludge
{
10
struct
msgbuf
*
msgp
;
11
long
msgtyp
;
12
};
13
14
#define SEMOP 1
15
#define SEMGET 2
16
#define SEMCTL 3
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
25
26
#define IPCCALL(version,op) ((version)<<16 | (op))
27
28
#endif