mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-17 18:48:36 +00:00
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>
This commit is contained in:
parent
e192a45c16
commit
c49638177f
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user