1/****************************************************************************
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 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _ASM_SHMBUF_H
20#define _ASM_SHMBUF_H
21#ifdef __mips64
22struct shmid64_ds {
23  struct ipc64_perm shm_perm;
24  size_t shm_segsz;
25  long shm_atime;
26  long shm_dtime;
27  long shm_ctime;
28  __kernel_pid_t shm_cpid;
29  __kernel_pid_t shm_lpid;
30  unsigned long shm_nattch;
31  unsigned long __unused1;
32  unsigned long __unused2;
33};
34#else
35struct shmid64_ds {
36  struct ipc64_perm shm_perm;
37  size_t shm_segsz;
38  unsigned long shm_atime;
39  unsigned long shm_dtime;
40  unsigned long shm_ctime;
41  __kernel_pid_t shm_cpid;
42  __kernel_pid_t shm_lpid;
43  unsigned long shm_nattch;
44  unsigned short shm_atime_high;
45  unsigned short shm_dtime_high;
46  unsigned short shm_ctime_high;
47  unsigned short __unused1;
48};
49#endif
50struct shminfo64 {
51  unsigned long shmmax;
52  unsigned long shmmin;
53  unsigned long shmmni;
54  unsigned long shmseg;
55  unsigned long shmall;
56  unsigned long __unused1;
57  unsigned long __unused2;
58  unsigned long __unused3;
59  unsigned long __unused4;
60};
61#endif
62