4 typedef struct user_fpregs_struct
6 long cwd, swd, twd, fip, fcs, foo, fos, st_space[20];
9 typedef struct user_fpxregs_struct
11 unsigned short cwd, swd, twd, fop;
12 long fip, fcs, foo, fos, mxcsr, reserved;
13 long st_space[32], xmm_space[32], padding[56];
16 struct user_regs_struct
18 long ebx, ecx, edx, esi, edi, ebp, eax, xds, xes, xfs, xgs;
19 long orig_eax, eip, xcs, eflags, esp, xss;
23 typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
27 struct user_regs_struct regs;
29 struct user_fpregs_struct i387;
30 unsigned long u_tsize;
31 unsigned long u_dsize;
32 unsigned long u_ssize;
33 unsigned long start_code;
34 unsigned long start_stack;
37 struct user_regs_struct *u_ar0;
38 struct user_fpregs_struct *u_fpstate;
44 #define PAGE_MASK (~(PAGE_SIZE-1))
45 #define NBPG PAGE_SIZE
47 #define HOST_TEXT_START_ADDR (u.start_code)
48 #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)