mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
target-mips: Introduce QOM realizefn for MIPSCPU
Introduce a realizefn and set realized = true from cpu_mips_init(). Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
746b03b27c
commit
c1caf1d961
3 changed files with 20 additions and 2 deletions
|
@ -15916,8 +15916,9 @@ MIPSCPU *cpu_mips_init(const char *cpu_model)
|
|||
fpu_init(env, def);
|
||||
mvp_init(env, def);
|
||||
mips_tcg_init();
|
||||
cpu_reset(CPU(cpu));
|
||||
qemu_init_vcpu(env);
|
||||
|
||||
object_property_set_bool(OBJECT(cpu), true, "realized", NULL);
|
||||
|
||||
return cpu;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue