]> Git Repo - qemu.git/commitdiff
target-arm: Use cpu_reset() in cpu_arm_init()
authorAndreas Färber <[email protected]>
Fri, 4 May 2012 17:14:38 +0000 (19:14 +0200)
committerAndreas Färber <[email protected]>
Mon, 4 Jun 2012 21:00:40 +0000 (23:00 +0200)
Commit 3c30dd5a68e9fee6af67cfd0d14ed7520820f36a (target-arm: Move reset
handling to arm_cpu_reset) QOM'ified CPU reset. Complete it by replacing
cpu_state_reset() with cpu_reset().

Signed-off-by: Andreas Färber <[email protected]>
Acked-by: Peter Maydell <[email protected]>
target-arm/helper.c

index 7e1c2c06bd9b25b67b214626a8fe7307f00ea336..06ebffcf53c2c77933fc7c164002549c799628b1 100644 (file)
@@ -80,7 +80,7 @@ ARMCPU *cpu_arm_init(const char *cpu_model)
         arm_translate_init();
     }
 
-    cpu_state_reset(env);
+    cpu_reset(CPU(cpu));
     if (arm_feature(env, ARM_FEATURE_NEON)) {
         gdb_register_coprocessor(env, vfp_gdb_get_reg, vfp_gdb_set_reg,
                                  51, "arm-neon.xml", 0);
This page took 0.029886 seconds and 4 git commands to generate.