user.h 641 B

12345678910111213141516171819202122232425
  1. struct user_fpregs_struct {
  2. long cwd, swd, twd, fip, fcs, foo, fos, st_space[20];
  3. };
  4. struct user_regs_struct {
  5. unsigned grp[32], pc, msr, ear, esr, fsr, btr, pvr[12];
  6. };
  7. struct user {
  8. struct user_regs_struct regs;
  9. int u_fpvalid;
  10. struct user_fpregs_struct elf_fpregset_t;
  11. unsigned long u_tsize, u_dsize, u_ssize, start_code, start_stack;
  12. long signal;
  13. int reserved;
  14. struct user_regs_struct *u_ar0;
  15. struct user_fpregs_struct *u_fpstate;
  16. unsigned long magic;
  17. char u_comm[32];
  18. int u_debugreg[8];
  19. };
  20. #define ELF_NGREG 50
  21. typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
  22. typedef struct user_fpregs_struct elf_fpregset_t;