mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
target-cris: Introduce QOM realizefn for CRISCPU
Introduce realizefn and set realized = true from cpu_cris_init(). Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
4776ce6003
commit
ca45f8b044
3 changed files with 18 additions and 2 deletions
|
@ -3558,8 +3558,7 @@ CRISCPU *cpu_cris_init(const char *cpu_model)
|
|||
|
||||
env->pregs[PR_VR] = vr_by_name(cpu_model);
|
||||
|
||||
cpu_reset(CPU(cpu));
|
||||
qemu_init_vcpu(env);
|
||||
object_property_set_bool(OBJECT(cpu), true, "realized", NULL);
|
||||
|
||||
if (tcg_initialized) {
|
||||
return cpu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue