blob: 314ccb7d8d65da0349b048761f768bd99ea8997a [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_X86_SHMBUF_H
13#define _ASM_X86_SHMBUF_H
Ben Cheng4b29af02012-03-07 16:14:53 -080014
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080015struct shmid64_ds {
16 struct ipc64_perm shm_perm;
17 size_t shm_segsz;
18 __kernel_time_t shm_atime;
19#ifdef __i386__
20 unsigned long __unused1;
21#endif
22 __kernel_time_t shm_dtime;
23#ifdef __i386__
24 unsigned long __unused2;
25#endif
26 __kernel_time_t shm_ctime;
27#ifdef __i386__
28 unsigned long __unused3;
29#endif
30 __kernel_pid_t shm_cpid;
31 __kernel_pid_t shm_lpid;
32 unsigned long shm_nattch;
33 unsigned long __unused4;
34 unsigned long __unused5;
35};
Ben Cheng4b29af02012-03-07 16:14:53 -080036
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080037struct shminfo64 {
38 unsigned long shmmax;
39 unsigned long shmmin;
40 unsigned long shmmni;
41 unsigned long shmseg;
42 unsigned long shmall;
43 unsigned long __unused1;
44 unsigned long __unused2;
45 unsigned long __unused3;
46 unsigned long __unused4;
47};
Ben Cheng4b29af02012-03-07 16:14:53 -080048
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049#endif