aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Bhushan <r65777@freescale.com>2012-03-26 17:56:46 +0000
committerAlexander Graf <agraf@suse.de>2012-05-01 21:47:00 +0200
commit58f90f21f4d8e3b105b3e3669334f1b98141075c (patch)
treef9e56c2ee304b3be23e81b8e200cf93c6b9ed0c0
parentb754e4fc1e8e68af975c545c38ebc3b001ebc98f (diff)
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>
-rw-r--r--hw/ppce500_spin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ppce500_spin.c b/hw/ppce500_spin.c
index 960b7b0c3d..95a2825bbd 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)