master
h 24 lines 508 Bytes
Raw
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 #ifndef SPARC_TARGET_PTRACE_H
4 #define SPARC_TARGET_PTRACE_H
5
6 /* See arch/sparc/include/uapi/asm/ptrace.h. */
7 struct target_pt_regs {
8 #if defined(TARGET_SPARC64) && !defined(TARGET_ABI32)
9 abi_ulong u_regs[16];
10 abi_ulong tstate;
11 abi_ulong pc;
12 abi_ulong npc;
13 uint32_t y;
14 uint32_t magic;
15 #else
16 abi_ulong psr;
17 abi_ulong pc;
18 abi_ulong npc;
19 abi_ulong y;
20 abi_ulong u_regs[16];
21 #endif
22 };
23
24 #endif /* SPARC_TARGET_PTRACE_H */