summary refs log tree commit diff stats
path: root/linux-user
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-07-28 09:49:39 -1000
committerRichard Henderson <richard.henderson@linaro.org>2025-08-28 06:39:25 +1000
commitd8329660b2e103ac2bbbf9ae933c0c742d44864e (patch)
tree86e8ab2364fff27a1c8d986b505128f09b168a33 /linux-user
parentf8498e084eaa7f78d455d5f2f7a308a4d0d5f39b (diff)
downloadfocaccia-qemu-d8329660b2e103ac2bbbf9ae933c0c742d44864e.tar.gz
focaccia-qemu-d8329660b2e103ac2bbbf9ae933c0c742d44864e.zip
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>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/qemu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 4d6fad28c6..0c3cfe93a1 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -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 */