[TG3]: Add tagged status support.
[linux-2.6/verdex.git] / include / asm-m32r / shmbuf.h
blobb84e897fa87bf6c41bf37ee62a5e43b1fd7f8363
1 #ifndef _ASM_M32R_SHMBUF_H
2 #define _ASM_M32R_SHMBUF_H
4 /* $Id$ */
6 /* orig : i386 2.4.18 */
8 /*
9 * The shmid64_ds structure for M32R architecture.
10 * Note extra padding because this structure is passed back and forth
11 * between kernel and user space.
13 * Pad space is left for:
14 * - 64-bit time_t to solve y2038 problem
15 * - 2 miscellaneous 32-bit values
18 struct shmid64_ds {
19 struct ipc64_perm shm_perm; /* operation perms */
20 size_t shm_segsz; /* size of segment (bytes) */
21 __kernel_time_t shm_atime; /* last attach time */
22 unsigned long __unused1;
23 __kernel_time_t shm_dtime; /* last detach time */
24 unsigned long __unused2;
25 __kernel_time_t shm_ctime; /* last change time */
26 unsigned long __unused3;
27 __kernel_pid_t shm_cpid; /* pid of creator */
28 __kernel_pid_t shm_lpid; /* pid of last operator */
29 unsigned long shm_nattch; /* no. of current attaches */
30 unsigned long __unused4;
31 unsigned long __unused5;
34 struct shminfo64 {
35 unsigned long shmmax;
36 unsigned long shmmin;
37 unsigned long shmmni;
38 unsigned long shmseg;
39 unsigned long shmall;
40 unsigned long __unused1;
41 unsigned long __unused2;
42 unsigned long __unused3;
43 unsigned long __unused4;
46 #endif /* _ASM_M32R_SHMBUF_H */