summaryrefslogtreecommitdiff
path: root/arch/riscv64/bits
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv64/bits')
-rw-r--r--arch/riscv64/bits/user.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/riscv64/bits/user.h b/arch/riscv64/bits/user.h
index e69de29b..d2e383b2 100644
--- a/arch/riscv64/bits/user.h
+++ b/arch/riscv64/bits/user.h
@@ -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;