summary refs log tree commit diff stats
path: root/linux-user/sparc/target_syscall.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-08-28 21:51:46 +1000
committerRichard Henderson <richard.henderson@linaro.org>2025-08-30 07:04:04 +1000
commit8bb7873f28e82944ab6fb2c633c09877fd4eeda8 (patch)
tree815fe797daa68a7e403ed440b132c830c030bebc /linux-user/sparc/target_syscall.h
parentab2d261ab3e73f622d75c5c6cc06cc0b7db2d79a (diff)
downloadfocaccia-qemu-8bb7873f28e82944ab6fb2c633c09877fd4eeda8.tar.gz
focaccia-qemu-8bb7873f28e82944ab6fb2c633c09877fd4eeda8.zip
linux-user/sparc: Create target_ptrace.h
Move target_pt_regs to target_ptrace.h.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/sparc/target_syscall.h')
-rw-r--r--linux-user/sparc/target_syscall.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/linux-user/sparc/target_syscall.h b/linux-user/sparc/target_syscall.h
index e421165357..a90ed2983a 100644
--- a/linux-user/sparc/target_syscall.h
+++ b/linux-user/sparc/target_syscall.h
@@ -1,25 +1,6 @@
 #ifndef SPARC_TARGET_SYSCALL_H
 #define SPARC_TARGET_SYSCALL_H
 
-#if defined(TARGET_SPARC64) && !defined(TARGET_ABI32)
-struct target_pt_regs {
-    abi_ulong u_regs[16];
-    abi_ulong tstate;
-    abi_ulong pc;
-    abi_ulong npc;
-    uint32_t y;
-    uint32_t magic;
-};
-#else
-struct target_pt_regs {
-    abi_ulong psr;
-    abi_ulong pc;
-    abi_ulong npc;
-    abi_ulong y;
-    abi_ulong u_regs[16];
-};
-#endif
-
 #ifdef TARGET_SPARC64
 # define UNAME_MACHINE "sparc64"
 #else