1 #ifndef _ASM_POWERPC_SHMBUF_H
2 #define _ASM_POWERPC_SHMBUF_H
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.
12 * The shmid64_ds structure for PPC architecture.
14 * Note extra padding because this structure is passed back and forth
15 * between kernel and user space.
17 * Pad space is left for:
18 * - 64-bit time_t to solve y2038 problem
19 * - 2 miscellaneous 32-bit values
23 struct ipc64_perm shm_perm; /* operation perms */
25 unsigned long __unused1;
27 __kernel_time_t shm_atime; /* last attach time */
29 unsigned long __unused2;
31 __kernel_time_t shm_dtime; /* last detach time */
33 unsigned long __unused3;
35 __kernel_time_t shm_ctime; /* last change time */
37 unsigned long __unused4;
39 size_t shm_segsz; /* size of segment (bytes) */
40 __kernel_pid_t shm_cpid; /* pid of creator */
41 __kernel_pid_t shm_lpid; /* pid of last operator */
42 unsigned long shm_nattch; /* no. of current attaches */
43 unsigned long __unused5;
44 unsigned long __unused6;
53 unsigned long __unused1;
54 unsigned long __unused2;
55 unsigned long __unused3;
56 unsigned long __unused4;
59 #endif /* _ASM_POWERPC_SHMBUF_H */