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 ****************************************************************************
11 ****************************************************************************/
12#ifndef USER32_H
13#define USER32_H 1
14
15struct user_i387_ia32_struct {
16 u32 cwd;
17 u32 swd;
18 u32 twd;
19 u32 fip;
20 u32 fcs;
21 u32 foo;
22 u32 fos;
23 u32 st_space[20];
24};
25
26struct user32_fxsr_struct {
27 unsigned short cwd;
28 unsigned short swd;
29 unsigned short twd;
30 unsigned short fop;
31 int fip;
32 int fcs;
33 int foo;
34 int fos;
35 int mxcsr;
36 int reserved;
37 int st_space[32];
38 int xmm_space[32];
39 int padding[56];
40};
41
42struct user_regs_struct32 {
43 __u32 ebx, ecx, edx, esi, edi, ebp, eax;
44 unsigned short ds, __ds, es, __es;
45 unsigned short fs, __fs, gs, __gs;
46 __u32 orig_eax, eip;
47 unsigned short cs, __cs;
48 __u32 eflags, esp;
49 unsigned short ss, __ss;
50};
51
52struct user32 {
53 struct user_regs_struct32 regs;
54 int u_fpvalid;
55
56 struct user_i387_ia32_struct i387;
57
58 __u32 u_tsize;
59 __u32 u_dsize;
60 __u32 u_ssize;
61 __u32 start_code;
62 __u32 start_stack;
63 __u32 signal;
64 int reserved;
65 __u32 u_ar0;
66
67 __u32 u_fpstate;
68 __u32 magic;
69 char u_comm[32];
70 int u_debugreg[8];
71};
72
73#endif
74