Commit 415fc9061894a04e7a5a01fcafe3745b9064a93a

Authored by blueswir1
1 parent 2f43e00e

Turn MMUs and caches off on reset

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6636 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 0 deletions
target-sparc/helper.c
... ... @@ -663,6 +663,7 @@ void cpu_reset(CPUSPARCState *env)
663 663 env->pstate = PS_PRIV;
664 664 env->hpstate = HS_PRIV;
665 665 env->tsptr = &env->ts[env->tl & MAXTL_MASK];
  666 + env->lsu = 0;
666 667 #else
667 668 env->mmuregs[0] &= ~(MMU_E | MMU_NF);
668 669 env->mmuregs[0] |= env->def->mmu_bm;
... ...