mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +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:
@ -462,7 +462,7 @@ int main(int argc, char **argv)
|
||||
ac->init_machine(NULL);
|
||||
}
|
||||
cpu = cpu_create(cpu_type);
|
||||
env = cpu->env_ptr;
|
||||
env = cpu_env(cpu);
|
||||
cpu_reset(cpu);
|
||||
thread_cpu = cpu;
|
||||
|
||||
|
Reference in New Issue
Block a user