mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
accel/tcg: Replace CPUState.env_ptr with cpu_env()
Reviewed-by: Anton Johansson <anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@ -81,7 +81,7 @@ CPUArchState *mon_get_cpu_env(Monitor *mon)
|
||||
{
|
||||
CPUState *cs = mon_get_cpu(mon);
|
||||
|
||||
return cs ? cs->env_ptr : NULL;
|
||||
return cs ? cpu_env(cs) : NULL;
|
||||
}
|
||||
|
||||
int monitor_get_cpu_index(Monitor *mon)
|
||||
|
Reference in New Issue
Block a user