MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / include / asm-sparc64 / ipc.h
blob39261d5523ef9f0f6b4c7aca7589a52070073a0d
1 #ifndef __SPARC64_IPC_H__
2 #define __SPARC64_IPC_H__
4 /*
5 * These are used to wrap system calls on the sparc.
7 * See arch/sparc64/kernel/sys_sparc32.c for ugly details..
8 */
9 struct ipc_kludge {
10 u32 msgp;
11 s32 msgtyp;
14 #define SEMOP 1
15 #define SEMGET 2
16 #define SEMCTL 3
17 #define SEMTIMEDOP 4
18 #define MSGSND 11
19 #define MSGRCV 12
20 #define MSGGET 13
21 #define MSGCTL 14
22 #define SHMAT 21
23 #define SHMDT 22
24 #define SHMGET 23
25 #define SHMCTL 24
27 /* Used by the DIPC package, try and avoid reusing it */
28 #define DIPC 25
30 /* We don't need to maintain backward compatibility on 64bit, we've started fresh */
31 #define IPCCALL(version,op) (op)
33 #endif