Real-mode only PowerPC 40x do not have any TLBs.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3353 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
j_mayer 2007-10-08 02:44:11 +00:00
parent 4e80effcf9
commit 141c8ae225
2 changed files with 2 additions and 2 deletions

View file

@ -2911,7 +2911,8 @@ void cpu_ppc_reset (void *opaque)
msr_pr = 1;
#else
env->nip = env->hreset_vector | env->excp_prefix;
ppc_tlb_invalidate_all(env);
if (env->mmu_model != POWERPC_MMU_REAL_4xx)
ppc_tlb_invalidate_all(env);
#endif
do_compute_hflags(env);
env->reserve = -1;