jdl@freescale.com | dd56fdf | 2005-09-07 15:59:48 -0500 | [diff] [blame] | 1 | #ifndef _ASM_POWERPC_MSGBUF_H |
| 2 | #define _ASM_POWERPC_MSGBUF_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
| 4 | /* |
jdl@freescale.com | dd56fdf | 2005-09-07 15:59:48 -0500 | [diff] [blame] | 5 | * The msqid64_ds structure for the PowerPC architecture. |
| 6 | * Note extra padding because this structure is passed back and forth |
| 7 | * between kernel and user space. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | struct msqid64_ds { |
| 11 | struct ipc64_perm msg_perm; |
jdl@freescale.com | dd56fdf | 2005-09-07 15:59:48 -0500 | [diff] [blame] | 12 | #ifndef __powerpc64__ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | unsigned int __unused1; |
jdl@freescale.com | dd56fdf | 2005-09-07 15:59:48 -0500 | [diff] [blame] | 14 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | __kernel_time_t msg_stime; /* last msgsnd time */ |
jdl@freescale.com | dd56fdf | 2005-09-07 15:59:48 -0500 | [diff] [blame] | 16 | #ifndef __powerpc64__ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | unsigned int __unused2; |
jdl@freescale.com | dd56fdf | 2005-09-07 15:59:48 -0500 | [diff] [blame] | 18 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | __kernel_time_t msg_rtime; /* last msgrcv time */ |
jdl@freescale.com | dd56fdf | 2005-09-07 15:59:48 -0500 | [diff] [blame] | 20 | #ifndef __powerpc64__ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | unsigned int __unused3; |
jdl@freescale.com | dd56fdf | 2005-09-07 15:59:48 -0500 | [diff] [blame] | 22 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | __kernel_time_t msg_ctime; /* last change time */ |
| 24 | unsigned long msg_cbytes; /* current number of bytes on queue */ |
| 25 | unsigned long msg_qnum; /* number of messages in queue */ |
| 26 | unsigned long msg_qbytes; /* max number of bytes on queue */ |
| 27 | __kernel_pid_t msg_lspid; /* pid of last msgsnd */ |
| 28 | __kernel_pid_t msg_lrpid; /* last receive pid */ |
| 29 | unsigned long __unused4; |
| 30 | unsigned long __unused5; |
| 31 | }; |
| 32 | |
jdl@freescale.com | dd56fdf | 2005-09-07 15:59:48 -0500 | [diff] [blame] | 33 | #endif /* _ASM_POWERPC_MSGBUF_H */ |