mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 19:14:58 -06:00
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
3 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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_ */
|
||||||
|
|
|
@ -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_ */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue