]> git.proxmox.com Git - mirror_qemu.git/commitdiff
bsd-user: Rename arg name for target_cpu_reset to env
authorWarner Losh <imp@bsdimp.com>
Mon, 24 Jan 2022 22:14:04 +0000 (15:14 -0700)
committerWarner Losh <imp@bsdimp.com>
Mon, 31 Jan 2022 00:13:50 +0000 (17:13 -0700)
Rename the parameter name for target_cpu_reset's CPUArchState * arg from
cpu to env.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/arm/target_arch_cpu.h
bsd-user/i386/target_arch_cpu.h
bsd-user/x86_64/target_arch_cpu.h

index 2b395d5c97fa8f6b3a1da7e038db7c7fb457f3be..b087db48fa44b8ff19011e6d4c4fb82775ee2b47 100644 (file)
@@ -213,7 +213,7 @@ static inline void target_cpu_clone_regs(CPUARMState *env, target_ulong newsp)
     env->regs[0] = 0;
 }
 
-static inline void target_cpu_reset(CPUArchState *cpu)
+static inline void target_cpu_reset(CPUArchState *env)
 {
 }
 
index 472a96689fc53fac0ff509d67b75b6d57015339c..3cbf69d8af2f491908cff911e923d82c27f1feb9 100644 (file)
@@ -200,9 +200,9 @@ static inline void target_cpu_clone_regs(CPUX86State *env, target_ulong newsp)
     env->regs[R_EAX] = 0;
 }
 
-static inline void target_cpu_reset(CPUArchState *cpu)
+static inline void target_cpu_reset(CPUArchState *env)
 {
-    cpu_reset(env_cpu(cpu));
+    cpu_reset(env_cpu(env));
 }
 
 #endif /* ! _TARGET_ARCH_CPU_H_ */
index 14def48adb58a66bf9e0336a93d8bf141a26395e..0a9c0f08946df9959b140541ea653e866a09e3ad 100644 (file)
@@ -238,9 +238,9 @@ static inline void target_cpu_clone_regs(CPUX86State *env, target_ulong newsp)
     env->regs[R_EAX] = 0;
 }
 
-static inline void target_cpu_reset(CPUArchState *cpu)
+static inline void target_cpu_reset(CPUArchState *env)
 {
-    cpu_reset(env_cpu(cpu));
+    cpu_reset(env_cpu(env));
 }
 
 #endif /* ! _TARGET_ARCH_CPU_H_ */