Skip to contentSkip to conversation

[6636] Turn MMUs and caches off on reset

Qemu-devel Blue Swirl 1 participant 1 message Feb 21, 2009

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 6636

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6636
Author:   blueswir1
Date:     2009-02-21 11:13:51 +0000 (Sat, 21 Feb 2009)

Log Message:
-----------
Turn MMUs and caches off on reset

Modified Paths:
--------------
trunk/target-sparc/helper.c

Modified: trunk/target-sparc/helper.c
===================================================================

target-sparc/helper.c +1 -0
@@ -663,6 +663,7 @@
     env->pstate = PS_PRIV;
     env->hpstate = HS_PRIV;
     env->tsptr = &env->ts[env->tl & MAXTL_MASK];
+    env->lsu = 0;
 #else
     env->mmuregs[0] &= ~(MMU_E | MMU_NF);
     env->mmuregs[0] |= env->def->mmu_bm;