qemu/linux-user/mips/target_ptrace.h
Richard Henderson 0dcef57730 linux-user/mips: Create target_ptrace.h
Move the target_pt_regs structure from target_syscall.h.
Fix the incorrect ordering of the fields.

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
355 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef MIPS_TARGET_PTRACE_H
#define MIPS_TARGET_PTRACE_H
struct target_pt_regs {
abi_ulong pad0[6];
abi_ulong regs[32];
abi_ulong lo;
abi_ulong hi;
abi_ulong cp0_epc;
abi_ulong cp0_badvaddr;
abi_ulong cp0_status;
abi_ulong cp0_cause;
};
#endif /* MIPS_TARGET_PTRACE_H */