about summary refs log tree commit diff
path: root/arch/aarch64/bits/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/aarch64/bits/user.h')
-rw-r--r--arch/aarch64/bits/user.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/aarch64/bits/user.h b/arch/aarch64/bits/user.h
new file mode 100644
index 00000000..d12cdf7f
--- /dev/null
+++ b/arch/aarch64/bits/user.h
@@ -0,0 +1,16 @@
+struct user_regs_struct {
+	unsigned long long regs[31];
+	unsigned long long sp;
+	unsigned long long pc;
+	unsigned long long pstate;
+};
+
+struct user_fpsimd_struct {
+	long double vregs[32];
+	unsigned int fpsr;
+	unsigned int fpcr;
+};
+
+#define ELF_NREG 34
+typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NREG];
+typedef struct user_fpsimd_struct elf_fpregset_t;