The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 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 | **************************************************************************** |
| 11 | ****************************************************************************/ |
| 12 | #ifndef _ASM_X86_SHMBUF_H |
| 13 | #define _ASM_X86_SHMBUF_H |
Ben Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame^] | 14 | |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 15 | struct 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 Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame^] | 36 | |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 37 | struct 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 Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame^] | 48 | |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 49 | #endif |