aboutsummaryrefslogtreecommitdiff
path: root/hw/ppce500_mpc8544ds.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/ppce500_mpc8544ds.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/ppce500_mpc8544ds.c')
-rw-r--r--hw/ppce500_mpc8544ds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
index ea30816b32..6199bd5aac 100644
--- a/hw/ppce500_mpc8544ds.c
+++ b/hw/ppce500_mpc8544ds.c
@@ -261,6 +261,8 @@ static void mpc8544ds_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;