1 #ifndef __ASM_SH64_SHMBUF_H
2 #define __ASM_SH64_SHMBUF_H
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
9 * include/asm-sh64/shmbuf.h
11 * Copyright (C) 2000, 2001 Paolo Alberelli
16 * The shmid64_ds structure for i386 architecture.
17 * Note extra padding because this structure is passed back and forth
18 * between kernel and user space.
20 * Pad space is left for:
21 * - 64-bit time_t to solve y2038 problem
22 * - 2 miscellaneous 32-bit values
26 struct ipc64_perm shm_perm
; /* operation perms */
27 size_t shm_segsz
; /* size of segment (bytes) */
28 __kernel_time_t shm_atime
; /* last attach time */
29 unsigned long __unused1
;
30 __kernel_time_t shm_dtime
; /* last detach time */
31 unsigned long __unused2
;
32 __kernel_time_t shm_ctime
; /* last change time */
33 unsigned long __unused3
;
34 __kernel_pid_t shm_cpid
; /* pid of creator */
35 __kernel_pid_t shm_lpid
; /* pid of last operator */
36 unsigned long shm_nattch
; /* no. of current attaches */
37 unsigned long __unused4
;
38 unsigned long __unused5
;
47 unsigned long __unused1
;
48 unsigned long __unused2
;
49 unsigned long __unused3
;
50 unsigned long __unused4
;
53 #endif /* __ASM_SH64_SHMBUF_H */