linux-user: Move target_cpu_copy_regs decl to qemu.h
The function is not used by bsd-user, so placement within include/user/cpu_loop.h is not ideal. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
f8498e084e
commit
d8329660b2
2 changed files with 3 additions and 4 deletions
|
|
@ -81,8 +81,4 @@ void target_exception_dump(CPUArchState *env, const char *fmt, int code);
|
|||
#define EXCP_DUMP(env, fmt, code) \
|
||||
target_exception_dump(env, fmt, code)
|
||||
|
||||
typedef struct target_pt_regs target_pt_regs;
|
||||
|
||||
void target_cpu_copy_regs(CPUArchState *env, target_pt_regs *regs);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -359,4 +359,7 @@ void *lock_user_string(abi_ulong guest_addr);
|
|||
/* Clone cpu state */
|
||||
CPUArchState *cpu_copy(CPUArchState *env);
|
||||
|
||||
typedef struct target_pt_regs target_pt_regs;
|
||||
void target_cpu_copy_regs(CPUArchState *env, target_pt_regs *regs);
|
||||
|
||||
#endif /* QEMU_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue