diff options
author | Bharat Bhushan <r65777@freescale.com> | 2012-03-26 17:56:46 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-05-01 21:47:00 +0200 |
commit | 58f90f21f4d8e3b105b3e3669334f1b98141075c (patch) | |
tree | f9e56c2ee304b3be23e81b8e200cf93c6b9ed0c0 /hw/ppce500_spin.c | |
parent | b754e4fc1e8e68af975c545c38ebc3b001ebc98f (diff) | |
download | qemu-58f90f21f4d8e3b105b3e3669334f1b98141075c.zip qemu-58f90f21f4d8e3b105b3e3669334f1b98141075c.tar.gz qemu-58f90f21f4d8e3b105b3e3669334f1b98141075c.tar.bz2 |
booke:Use MMU API for creating initial mapping for secondary cpus
Initial Mapping creation for secondary CPU in SMP was missing new MMU API.
Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppce500_spin.c')
-rw-r--r-- | hw/ppce500_spin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ppce500_spin.c b/hw/ppce500_spin.c index 960b7b0..95a2825 100644 --- a/hw/ppce500_spin.c +++ b/hw/ppce500_spin.c @@ -86,6 +86,7 @@ static void mmubooke_create_initial_mapping(CPUPPCState *env, tlb->mas2 = (va & TARGET_PAGE_MASK) | MAS2_M; tlb->mas7_3 = pa & TARGET_PAGE_MASK; tlb->mas7_3 |= MAS3_UR | MAS3_UW | MAS3_UX | MAS3_SR | MAS3_SW | MAS3_SX; + env->tlb_dirty = true; } static void spin_kick(void *data) |