Browse Source
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>pull/299/head
4 changed files with 33 additions and 35 deletions
@ -0,0 +1,17 @@ |
|||
/* 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 */ |
|||
@ -0,0 +1,16 @@ |
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|||
|
|||
#ifndef MIPS64_TARGET_PTRACE_H |
|||
#define MIPS64_TARGET_PTRACE_H |
|||
|
|||
struct target_pt_regs { |
|||
target_ulong regs[32]; |
|||
target_ulong lo; |
|||
target_ulong hi; |
|||
target_ulong cp0_epc; |
|||
target_ulong cp0_badvaddr; |
|||
target_ulong cp0_status; |
|||
target_ulong cp0_cause; |
|||
}; |
|||
|
|||
#endif /* MIPS64_TARGET_PTRACE_H */ |
|||
Loading…
Reference in new issue