bsd-user: Rename arg name for target_cpu_reset to env

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>
This commit is contained in:
Warner Losh 2022-01-24 15:14:04 -07:00
parent adbae40fa1
commit bab6ccc53d
3 changed files with 5 additions and 5 deletions

View file

@ -213,7 +213,7 @@ static inline void target_cpu_clone_regs(CPUARMState *env, target_ulong newsp)
env->regs[0] = 0; env->regs[0] = 0;
} }
static inline void target_cpu_reset(CPUArchState *cpu) static inline void target_cpu_reset(CPUArchState *env)
{ {
} }

View file

@ -200,9 +200,9 @@ static inline void target_cpu_clone_regs(CPUX86State *env, target_ulong newsp)
env->regs[R_EAX] = 0; 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_ */ #endif /* ! _TARGET_ARCH_CPU_H_ */

View file

@ -238,9 +238,9 @@ static inline void target_cpu_clone_regs(CPUX86State *env, target_ulong newsp)
env->regs[R_EAX] = 0; 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_ */ #endif /* ! _TARGET_ARCH_CPU_H_ */