aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/include/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/include/ptrace.h')
-rw-r--r--sys/arm/include/ptrace.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/arm/include/ptrace.h b/sys/arm/include/ptrace.h
new file mode 100644
index 000000000000..44085a3b7079
--- /dev/null
+++ b/sys/arm/include/ptrace.h
@@ -0,0 +1,22 @@
+/* $NetBSD: ptrace.h,v 1.2 2001/02/23 21:23:52 reinoud Exp $ */
+/* $FreeBSD$ */
+
+#ifndef _MACHINE_PTRACE_H_
+#define _MACHINE_PTRACE_H_
+
+#define __HAVE_PTRACE_MACHDEP
+
+/*
+ * Must match mcontext_vfp_t. Note that mcontext_vfp_t does not
+ * include explicit padding.
+ */
+struct vfpreg {
+ __uint64_t vfp_reg[32];
+ __uint32_t vfp_scr;
+ __uint32_t vfp_pad0;
+};
+
+#define PT_GETVFPREGS (PT_FIRSTMACH + 0)
+#define PT_SETVFPREGS (PT_FIRSTMACH + 1)
+
+#endif /* !_MACHINE_PTRACE_H */