mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
linux-user/aarch64: Create target_ptrace.h
Move the target_pt_regs structure from target_syscall.h, and rename to target_user_pt_regs, to match what's in ptrace.h. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#ifndef AARCH64_TARGET_PTRACE_H
|
||||
#define AARCH64_TARGET_PTRACE_H
|
||||
|
||||
/* See arch/arm64/include/uapi/asm/ptrace.h. */
|
||||
struct target_user_pt_regs {
|
||||
uint64_t regs[31];
|
||||
uint64_t sp;
|
||||
uint64_t pc;
|
||||
uint64_t pstate;
|
||||
};
|
||||
|
||||
#endif /* AARCH64_TARGET_PTRACE_H */
|
||||
@@ -1,13 +1,6 @@
|
||||
#ifndef AARCH64_TARGET_SYSCALL_H
|
||||
#define AARCH64_TARGET_SYSCALL_H
|
||||
|
||||
struct target_pt_regs {
|
||||
uint64_t regs[31];
|
||||
uint64_t sp;
|
||||
uint64_t pc;
|
||||
uint64_t pstate;
|
||||
};
|
||||
|
||||
#if TARGET_BIG_ENDIAN
|
||||
#define UNAME_MACHINE "aarch64_be"
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user