summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/arch/aarch64/bits/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/arch/aarch64/bits/user.h')
-rw-r--r--libc-top-half/musl/arch/aarch64/bits/user.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libc-top-half/musl/arch/aarch64/bits/user.h b/libc-top-half/musl/arch/aarch64/bits/user.h
new file mode 100644
index 0000000..8a1002a
--- /dev/null
+++ b/libc-top-half/musl/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 {
+ __uint128_t 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;