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