summaryrefslogtreecommitdiff
path: root/libc/ports/sysdeps/unix/sysv/linux/aarch64/sys/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ports/sysdeps/unix/sysv/linux/aarch64/sys/user.h')
-rw-r--r--libc/ports/sysdeps/unix/sysv/linux/aarch64/sys/user.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/libc/ports/sysdeps/unix/sysv/linux/aarch64/sys/user.h b/libc/ports/sysdeps/unix/sysv/linux/aarch64/sys/user.h
index eceeb389e..0ca2715a4 100644
--- a/libc/ports/sysdeps/unix/sysv/linux/aarch64/sys/user.h
+++ b/libc/ports/sysdeps/unix/sysv/linux/aarch64/sys/user.h
@@ -19,13 +19,19 @@
#ifndef _SYS_USER_H
#define _SYS_USER_H 1
-/* We need to see the definition of struct pt_regs but do not want the
- linux PTRACE_* defines since they conflict with the generic glibc
- definitions in sys/ptrace.h Hence the undef's below. */
-#include <asm/ptrace.h>
-
-#undef PTRACE_GET_THREAD_AREA
-#undef PTRACE_GETHBPREGS
-#undef PTRACE_SETHBPREGS
+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;
+};
#endif