user.h 757 B

123456789101112131415161718192021222324252627282930313233343536
  1. typedef struct user_fpregs {
  2. struct fp_reg {
  3. unsigned sign1:1;
  4. unsigned unused:15;
  5. unsigned sign2:1;
  6. unsigned exponent:14;
  7. unsigned j:1;
  8. unsigned mantissa1:31;
  9. unsigned mantissa0:32;
  10. } fpregs[8];
  11. unsigned fpsr:32;
  12. unsigned fpcr:32;
  13. unsigned char ftype[8];
  14. unsigned int init_flag;
  15. } elf_fpregset_t;
  16. struct user_regs {
  17. unsigned long uregs[18];
  18. };
  19. #define ELF_NGREG 18
  20. typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
  21. struct user {
  22. struct user_regs regs;
  23. int u_fpvalid;
  24. unsigned long u_tsize, u_dsize, u_ssize;
  25. unsigned long start_code, start_stack;
  26. long signal;
  27. int reserved;
  28. struct user_regs *u_ar0;
  29. unsigned long magic;
  30. char u_comm[32];
  31. int u_debugreg[8];
  32. struct user_fpregs u_fp;
  33. struct user_fpregs *u_fp0;
  34. };