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