mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
Rename cpu_reset() to cpu_state_reset()
Frees the identifier cpu_reset for QOM CPUs (manual rename). Don't hide the parameter type behind explicit casts, use static functions with strongly typed argument to indirect. Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
fc0b2c0f1a
commit
1bba0dc932
48 changed files with 98 additions and 61 deletions
|
@ -278,7 +278,7 @@ static void cpu_reset_model_id(CPUARMState *env, uint32_t id)
|
|||
}
|
||||
}
|
||||
|
||||
void cpu_reset(CPUARMState *env)
|
||||
void cpu_state_reset(CPUARMState *env)
|
||||
{
|
||||
uint32_t id;
|
||||
uint32_t tmp = 0;
|
||||
|
@ -416,7 +416,7 @@ CPUARMState *cpu_arm_init(const char *cpu_model)
|
|||
|
||||
env->cpu_model_str = cpu_model;
|
||||
env->cp15.c0_cpuid = id;
|
||||
cpu_reset(env);
|
||||
cpu_state_reset(env);
|
||||
if (arm_feature(env, ARM_FEATURE_NEON)) {
|
||||
gdb_register_coprocessor(env, vfp_gdb_get_reg, vfp_gdb_set_reg,
|
||||
51, "arm-neon.xml", 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue