about summary refs log tree commit diff
path: root/arch/riscv32/bits/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv32/bits/user.h')
-rw-r--r--arch/riscv32/bits/user.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/riscv32/bits/user.h b/arch/riscv32/bits/user.h
new file mode 100644
index 00000000..0d37de0b
--- /dev/null
+++ b/arch/riscv32/bits/user.h
@@ -0,0 +1,6 @@
+#include <signal.h>
+
+#define ELF_NGREG 32
+#define ELF_NFPREG 33
+typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
+typedef union __riscv_mc_fp_state elf_fpregset_t;