X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=arch%2Fi386%2Fbits%2Fuser.h;h=fa623621eeba35e84dedc74c7dc6c768f2e8118a;hb=2d0f495e7bbcc1b17bf118b939e347e2d771fa2f;hp=998c062ada7e96894abddddbb89b8b73d1dd7c5c;hpb=c651c473e5b5ba005e476d8ead7954c881950f92;p=musl diff --git a/arch/i386/bits/user.h b/arch/i386/bits/user.h index 998c062a..fa623621 100644 --- a/arch/i386/bits/user.h +++ b/arch/i386/bits/user.h @@ -1,17 +1,17 @@ #undef __WORDSIZE #define __WORDSIZE 32 -struct user_fpregs_struct +typedef struct user_fpregs_struct { long cwd, swd, twd, fip, fcs, foo, fos, st_space[20]; -}; +} elf_fpregset_t; -struct user_fpxregs_struct +typedef struct user_fpxregs_struct { unsigned short cwd, swd, twd, fop; long fip, fcs, foo, fos, mxcsr, reserved; long st_space[32], xmm_space[32], padding[56]; -}; +} elf_fpxregset_t; struct user_regs_struct { @@ -19,6 +19,9 @@ struct user_regs_struct long orig_eax, eip, xcs, eflags, esp, xss; }; +#define ELF_NGREG 17 +typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG]; + struct user { struct user_regs_struct regs;