1
2 #ifndef _ASM_POWERPC_SHMBUF_H
3 #define _ASM_POWERPC_SHMBUF_H
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 struct shmid64_ds {
23 struct ipc64_perm shm_perm;
24 #ifdef __powerpc64__
25 __kernel_time_t shm_atime;
26 __kernel_time_t shm_dtime;
27 __kernel_time_t shm_ctime;
28 #else
29 unsigned long shm_atime_high;
30 unsigned long shm_atime;
31 unsigned long shm_dtime_high;
32 unsigned long shm_dtime;
33 unsigned long shm_ctime_high;
34 unsigned long shm_ctime;
35 unsigned long __unused4;
36 #endif
37 size_t shm_segsz;
38 __kernel_pid_t shm_cpid;
39 __kernel_pid_t shm_lpid;
40 unsigned long shm_nattch;
41 unsigned long __unused5;
42 unsigned long __unused6;
43 };
44
45 struct shminfo64 {
46 unsigned long shmmax;
47 unsigned long shmmin;
48 unsigned long shmmni;
49 unsigned long shmseg;
50 unsigned long shmall;
51 unsigned long __unused1;
52 unsigned long __unused2;
53 unsigned long __unused3;
54 unsigned long __unused4;
55 };
56
57 #endif