re-add ELF gregs and fpregs types to riscv64 user.h

d493206de7 deleted all the content of
user.h, but sys/procfs.h expects this from sys/user.h
threfore we retain the non conflicting parts
This commit is contained in:
Khem Raj 2019-08-13 18:07:16 -07:00 committed by Rich Felker
parent 9d35fec9e1
commit 29e8737f81

View file

@ -0,0 +1,8 @@
struct user_fpregs_struct {
double f[32];
unsigned int fcsr;
};
#define ELF_NGREG 32
typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
typedef struct user_fpregs_struct elf_fpregset_t;