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:
parent
adbae40fa1
commit
bab6ccc53d
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -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_ */
|
||||
|
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user