blob: dd76743c7537428cdac3969cafe592a68d49b929 [file] [log] [blame]
jdl@freescale.comdd56fdf2005-09-07 15:59:48 -05001#ifndef _ASM_POWERPC_MSGBUF_H
2#define _ASM_POWERPC_MSGBUF_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
4/*
jdl@freescale.comdd56fdf2005-09-07 15:59:48 -05005 * 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 Torvalds1da177e2005-04-16 15:20:36 -07008 */
9
10struct msqid64_ds {
11 struct ipc64_perm msg_perm;
jdl@freescale.comdd56fdf2005-09-07 15:59:48 -050012#ifndef __powerpc64__
Linus Torvalds1da177e2005-04-16 15:20:36 -070013 unsigned int __unused1;
jdl@freescale.comdd56fdf2005-09-07 15:59:48 -050014#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070015 __kernel_time_t msg_stime; /* last msgsnd time */
jdl@freescale.comdd56fdf2005-09-07 15:59:48 -050016#ifndef __powerpc64__
Linus Torvalds1da177e2005-04-16 15:20:36 -070017 unsigned int __unused2;
jdl@freescale.comdd56fdf2005-09-07 15:59:48 -050018#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070019 __kernel_time_t msg_rtime; /* last msgrcv time */
jdl@freescale.comdd56fdf2005-09-07 15:59:48 -050020#ifndef __powerpc64__
Linus Torvalds1da177e2005-04-16 15:20:36 -070021 unsigned int __unused3;
jdl@freescale.comdd56fdf2005-09-07 15:59:48 -050022#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070023 __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.comdd56fdf2005-09-07 15:59:48 -050033#endif /* _ASM_POWERPC_MSGBUF_H */