qemu-cr16/linux-user/sh4/target_ptrace.h
Richard Henderson ec12f80d1f linux-user/sh4: Create target_ptrace.h
Move target_pt_regs to target_ptrace.h.
Convert to abi_foo types.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2025-08-30 07:04:04 +10:00

18 lines
370 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef SH4_TARGET_PTRACE_H
#define SH4_TARGET_PTRACE_H
/* See arch/sh/include/uapi/asm/ptrace_32.h. */
struct target_pt_regs {
abi_ulong regs[16];
abi_ulong pc;
abi_ulong pr;
abi_ulong sr;
abi_ulong gbr;
abi_ulong mach;
abi_ulong macl;
abi_long tra;
};
#endif /* SH4_TARGET_PTRACE_H */