mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06: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:
parent
ad75a51e84
commit
b77af26e97
58 changed files with 152 additions and 155 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue