2
0

user.h 625 B

1234567891011121314151617181920212223
  1. struct user {
  2. struct {
  3. unsigned long gpr[32], nip, msr, orig_gpr3, ctr, link, xer, ccr, mq;
  4. unsigned long trap, dar, dsisr, result;
  5. } regs;
  6. unsigned long u_tsize, u_dsize, u_ssize;
  7. unsigned long start_code, start_data, start_stack;
  8. long signal;
  9. void *u_ar0;
  10. unsigned long magic;
  11. char u_comm[32];
  12. };
  13. #define ELF_NGREG 48
  14. #define ELF_NFPREG 33
  15. #define ELF_NVRREG 33
  16. typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
  17. typedef double elf_fpreg_t, elf_fpregset_t[ELF_NFPREG];
  18. typedef struct { unsigned u[4]; }
  19. #ifdef __GNUC__
  20. __attribute__((__aligned__(16)))
  21. #endif
  22. elf_vrreg_t, elf_vrregset_t[ELF_NVRREG];