1*c3617f72SDavid Howells #ifndef _ASM_POWERPC_MSGBUF_H 2*c3617f72SDavid Howells #define _ASM_POWERPC_MSGBUF_H 3*c3617f72SDavid Howells 4*c3617f72SDavid Howells /* 5*c3617f72SDavid Howells * The msqid64_ds structure for the PowerPC architecture. 6*c3617f72SDavid Howells * Note extra padding because this structure is passed back and forth 7*c3617f72SDavid Howells * between kernel and user space. 8*c3617f72SDavid Howells */ 9*c3617f72SDavid Howells 10*c3617f72SDavid Howells struct msqid64_ds { 11*c3617f72SDavid Howells struct ipc64_perm msg_perm; 12*c3617f72SDavid Howells #ifndef __powerpc64__ 13*c3617f72SDavid Howells unsigned int __unused1; 14*c3617f72SDavid Howells #endif 15*c3617f72SDavid Howells __kernel_time_t msg_stime; /* last msgsnd time */ 16*c3617f72SDavid Howells #ifndef __powerpc64__ 17*c3617f72SDavid Howells unsigned int __unused2; 18*c3617f72SDavid Howells #endif 19*c3617f72SDavid Howells __kernel_time_t msg_rtime; /* last msgrcv time */ 20*c3617f72SDavid Howells #ifndef __powerpc64__ 21*c3617f72SDavid Howells unsigned int __unused3; 22*c3617f72SDavid Howells #endif 23*c3617f72SDavid Howells __kernel_time_t msg_ctime; /* last change time */ 24*c3617f72SDavid Howells unsigned long msg_cbytes; /* current number of bytes on queue */ 25*c3617f72SDavid Howells unsigned long msg_qnum; /* number of messages in queue */ 26*c3617f72SDavid Howells unsigned long msg_qbytes; /* max number of bytes on queue */ 27*c3617f72SDavid Howells __kernel_pid_t msg_lspid; /* pid of last msgsnd */ 28*c3617f72SDavid Howells __kernel_pid_t msg_lrpid; /* last receive pid */ 29*c3617f72SDavid Howells unsigned long __unused4; 30*c3617f72SDavid Howells unsigned long __unused5; 31*c3617f72SDavid Howells }; 32*c3617f72SDavid Howells 33*c3617f72SDavid Howells #endif /* _ASM_POWERPC_MSGBUF_H */ 34