diff options
author | Andreas Färber <afaerber@suse.de> | 2012-04-11 23:41:06 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2012-04-24 16:04:56 +0200 |
commit | aa0d1267b3aa69c87fbd37a896bdd3f44d45c3f3 (patch) | |
tree | c457377f2b7a2221bfbd09f35ce6b2edbf4893a1 /target-cris/translate.c | |
parent | 1c3b52fb1a44b407b52f4852c1931c571e77d308 (diff) |
target-cris: Start QOM'ifying CPU init
Move VR-independent code from cpu_cris_init() into an initfn.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-cris/translate.c')
-rw-r--r-- | target-cris/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c index d3dbac2363..e353ea3fa8 100644 --- a/target-cris/translate.c +++ b/target-cris/translate.c @@ -3514,7 +3514,7 @@ CPUCRISState *cpu_cris_init (const char *cpu_model) env = &cpu->env; env->pregs[PR_VR] = vr_by_name(cpu_model); - cpu_exec_init(env); + cpu_reset(CPU(cpu)); qemu_init_vcpu(env); |