From: blueswir1 Date: Sat, 21 Feb 2009 11:13:51 +0000 (+0000) Subject: Turn MMUs and caches off on reset X-Git-Tag: xen-3.4.0-rc2~12^2~49 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=415fc9061894a04e7a5a01fcafe3745b9064a93a;p=qemu-xen-3.4-testing.git Turn MMUs and caches off on reset git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6636 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-sparc/helper.c b/target-sparc/helper.c index 1a065257..7a2ac21d 100644 --- a/target-sparc/helper.c +++ b/target-sparc/helper.c @@ -663,6 +663,7 @@ void cpu_reset(CPUSPARCState *env) 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;