• 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 USER32_H
20 #define USER32_H 1
21 struct user_i387_ia32_struct {
22  u32 cwd;
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24  u32 swd;
25  u32 twd;
26  u32 fip;
27  u32 fcs;
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29  u32 foo;
30  u32 fos;
31  u32 st_space[20];
32 };
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 struct user32_fxsr_struct {
35  unsigned short cwd;
36  unsigned short swd;
37  unsigned short twd;
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39  unsigned short fop;
40  int fip;
41  int fcs;
42  int foo;
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44  int fos;
45  int mxcsr;
46  int reserved;
47  int st_space[32];
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49  int xmm_space[32];
50  int padding[56];
51 };
52 struct user_regs_struct32 {
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54  __u32 ebx, ecx, edx, esi, edi, ebp, eax;
55  unsigned short ds, __ds, es, __es;
56  unsigned short fs, __fs, gs, __gs;
57  __u32 orig_eax, eip;
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59  unsigned short cs, __cs;
60  __u32 eflags, esp;
61  unsigned short ss, __ss;
62 };
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 struct user32 {
65  struct user_regs_struct32 regs;
66  int u_fpvalid;
67  struct user_i387_ia32_struct i387;
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69  __u32 u_tsize;
70  __u32 u_dsize;
71  __u32 u_ssize;
72  __u32 start_code;
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74  __u32 start_stack;
75  __u32 signal;
76  int reserved;
77  __u32 u_ar0;
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79  __u32 u_fpstate;
80  __u32 magic;
81  char u_comm[32];
82  int u_debugreg[8];
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84 };
85 #endif
86