Turn MMUs and caches off on reset
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6636 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
2f43e00ea7
commit
415fc90618
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user