aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/sparc/target_syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-user/sparc/target_syscall.h')
-rw-r--r--bsd-user/sparc/target_syscall.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/bsd-user/sparc/target_syscall.h b/bsd-user/sparc/target_syscall.h
new file mode 100644
index 0000000000..c7eec6ba60
--- /dev/null
+++ b/bsd-user/sparc/target_syscall.h
@@ -0,0 +1,14 @@
+#ifndef TARGET_SYSCALL_H
+#define TARGET_SYSCALL_H
+
+struct target_pt_regs {
+ abi_ulong psr;
+ abi_ulong pc;
+ abi_ulong npc;
+ abi_ulong y;
+ abi_ulong u_regs[16];
+};
+
+#define UNAME_MACHINE "sun4"
+
+#endif /* TARGET_SYSCALL_H */