blob: 57657a7768a451c0b6a3950871d3f9fbf6c44cc3 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _ASM_GENERIC_IPC_H
13#define _ASM_GENERIC_IPC_H
Ben Cheng4b29af02012-03-07 16:14:53 -080014
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080015struct ipc_kludge {
16 struct msgbuf __user *msgp;
17 long msgtyp;
18};
Ben Cheng4b29af02012-03-07 16:14:53 -080019
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080020#define SEMOP 1
21#define SEMGET 2
22#define SEMCTL 3
23#define SEMTIMEDOP 4
24#define MSGSND 11
25#define MSGRCV 12
26#define MSGGET 13
27#define MSGCTL 14
28#define SHMAT 21
29#define SHMDT 22
30#define SHMGET 23
31#define SHMCTL 24
Ben Cheng4b29af02012-03-07 16:14:53 -080032
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080033#define DIPC 25
Ben Cheng4b29af02012-03-07 16:14:53 -080034
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080035#define IPCCALL(version,op) ((version)<<16 | (op))
Ben Cheng4b29af02012-03-07 16:14:53 -080036
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080037#endif