• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _ASM_MSGBUF_H
20 #define _ASM_MSGBUF_H
21 #include <asm/ipcbuf.h>
22 #ifdef __mips64
23 struct msqid64_ds {
24   struct ipc64_perm msg_perm;
25   long msg_stime;
26   long msg_rtime;
27   long msg_ctime;
28   unsigned long msg_cbytes;
29   unsigned long msg_qnum;
30   unsigned long msg_qbytes;
31   __kernel_pid_t msg_lspid;
32   __kernel_pid_t msg_lrpid;
33   unsigned long __unused4;
34   unsigned long __unused5;
35 };
36 #elif defined(__MIPSEB__)
37 struct msqid64_ds {
38   struct ipc64_perm msg_perm;
39   unsigned long msg_stime_high;
40   unsigned long msg_stime;
41   unsigned long msg_rtime_high;
42   unsigned long msg_rtime;
43   unsigned long msg_ctime_high;
44   unsigned long msg_ctime;
45   unsigned long msg_cbytes;
46   unsigned long msg_qnum;
47   unsigned long msg_qbytes;
48   __kernel_pid_t msg_lspid;
49   __kernel_pid_t msg_lrpid;
50   unsigned long __unused4;
51   unsigned long __unused5;
52 };
53 #elif defined(__MIPSEL__)
54 struct msqid64_ds {
55   struct ipc64_perm msg_perm;
56   unsigned long msg_stime;
57   unsigned long msg_stime_high;
58   unsigned long msg_rtime;
59   unsigned long msg_rtime_high;
60   unsigned long msg_ctime;
61   unsigned long msg_ctime_high;
62   unsigned long msg_cbytes;
63   unsigned long msg_qnum;
64   unsigned long msg_qbytes;
65   __kernel_pid_t msg_lspid;
66   __kernel_pid_t msg_lrpid;
67   unsigned long __unused4;
68   unsigned long __unused5;
69 };
70 #else
71 #warning noendianessset
72 #endif
73 #endif
74