mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00: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:
@@ -56,7 +56,7 @@ static void main_cpu_reset(void *opaque)
|
||||
ResetInfo *reset_info = opaque;
|
||||
CPUState *env = reset_info->env;
|
||||
|
||||
cpu_reset(env);
|
||||
cpu_state_reset(env);
|
||||
|
||||
/* init defaults */
|
||||
env->pc = (uint32_t)reset_info->bootstrap_pc;
|
||||
|
||||
Reference in New Issue
Block a user