projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b754e4f
)
booke:Use MMU API for creating initial mapping for secondary cpus
author
Bharat Bhushan
<r65777@freescale.com>
Mon, 26 Mar 2012 17:56:46 +0000
(17:56 +0000)
committer
Alexander Graf
<agraf@suse.de>
Tue, 1 May 2012 19:47:00 +0000
(21:47 +0200)
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>
hw/ppce500_spin.c
patch
|
blob
|
history
diff --git
a/hw/ppce500_spin.c
b/hw/ppce500_spin.c
index 960b7b0c3d19f2bb2e4f9bc8dedba9755a713b3f..95a2825bbdcc307c776cfc4ff7c74c4a96e44aa9 100644
(file)
--- 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)