2
0

user.h 459 B

123456789101112131415161718192021222324
  1. #define ELF_NGREG 45
  2. #define ELF_NFPREG 34
  3. struct user_regs_struct {
  4. unsigned long regs[32];
  5. unsigned long orig_a0;
  6. unsigned long csr_era;
  7. unsigned long csr_badv;
  8. unsigned long reserved[10];
  9. };
  10. struct user_fp_struct {
  11. unsigned long fpr[32];
  12. unsigned long fcc;
  13. unsigned int fcsr;
  14. };
  15. typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
  16. typedef union {
  17. double d;
  18. float f;
  19. } elf_fpreg_t;
  20. typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];