mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06: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:
parent
d11bf649d5
commit
33d2cca32b
2 changed files with 3 additions and 2 deletions
|
@ -31,8 +31,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
CPUArchState *cpu_copy(CPUArchState *env);
|
|
||||||
|
|
||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
|
|
||||||
/* Validate correct placement of CPUArchState. */
|
/* 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) \
|
#define unlock_user_struct(host_ptr, guest_addr, copy) \
|
||||||
unlock_user(host_ptr, guest_addr, (copy) ? sizeof(*host_ptr) : 0)
|
unlock_user(host_ptr, guest_addr, (copy) ? sizeof(*host_ptr) : 0)
|
||||||
|
|
||||||
|
/* Clone cpu state */
|
||||||
|
CPUArchState *cpu_copy(CPUArchState *env);
|
||||||
|
|
||||||
#endif /* QEMU_H */
|
#endif /* QEMU_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue