mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
exec/cpu-all: move cpu_copy to linux-user/qemu.h
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20250325045915.994760-3-pierrick.bouvier@linaro.org>
This commit is contained in:
committed by
Richard Henderson
parent
d11bf649d5
commit
33d2cca32b
@@ -31,8 +31,6 @@
|
||||
#endif
|
||||
|
||||
|
||||
CPUArchState *cpu_copy(CPUArchState *env);
|
||||
|
||||
#include "cpu.h"
|
||||
|
||||
/* Validate correct placement of CPUArchState. */
|
||||
|
||||
@@ -362,4 +362,7 @@ void *lock_user_string(abi_ulong guest_addr);
|
||||
#define unlock_user_struct(host_ptr, guest_addr, copy) \
|
||||
unlock_user(host_ptr, guest_addr, (copy) ? sizeof(*host_ptr) : 0)
|
||||
|
||||
/* Clone cpu state */
|
||||
CPUArchState *cpu_copy(CPUArchState *env);
|
||||
|
||||
#endif /* QEMU_H */
|
||||
|
||||
Reference in New Issue
Block a user