2023-09-26 01:12:01 +00:00
|
|
|
#define ELF_NGREG 45
|
2024-02-26 08:04:26 +00:00
|
|
|
#define ELF_NFPREG 34
|
|
|
|
|
|
|
|
struct user_regs_struct {
|
|
|
|
unsigned long regs[32];
|
|
|
|
unsigned long orig_a0;
|
|
|
|
unsigned long csr_era;
|
|
|
|
unsigned long csr_badv;
|
|
|
|
unsigned long reserved[10];
|
|
|
|
};
|
|
|
|
|
|
|
|
struct user_fp_struct {
|
|
|
|
unsigned long fpr[32];
|
|
|
|
unsigned long fcc;
|
|
|
|
unsigned int fcsr;
|
|
|
|
};
|
2023-09-26 01:12:01 +00:00
|
|
|
|
|
|
|
typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
|
2024-02-26 08:04:26 +00:00
|
|
|
|
|
|
|
typedef union {
|
|
|
|
double d;
|
|
|
|
float f;
|
|
|
|
} elf_fpreg_t;
|
|
|
|
typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
|