aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc440_bamboo.c
diff options
context:
space:
mode:
authorLiu Yu <yu.liu@freescale.com>2010-01-27 14:14:09 +0800
committerAurelien Jarno <aurelien@aurel32.net>2010-02-27 16:21:04 +0100
commitc49638177f4e001588fe73b2acf7e4293aeb194b (patch)
tree3f1825e894a3e2b292f7a1931a30ff14fff30f5f /hw/ppc440_bamboo.c
parente192a45c164f3e6660bd974098329bdc3b7c8eae (diff)
target-ppc: add synchronize register for booke init
So that the following registers init could be flushed back to kvm. Signed-off-by: Liu Yu <yu.liu@freescale.com> Acked-by: Hollis Blanchard <hollis@penguinppc.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/ppc440_bamboo.c')
-rw-r--r--hw/ppc440_bamboo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c
index 1ab9872710..6d9c1b9cc5 100644
--- a/hw/ppc440_bamboo.c
+++ b/hw/ppc440_bamboo.c
@@ -160,6 +160,8 @@ static void bamboo_init(ram_addr_t ram_size,
exit(1);
}
+ cpu_synchronize_state(env);
+
/* Set initial guest state. */
env->gpr[1] = (16<<20) - 8;
env->gpr[3] = dt_base;