diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-08 02:44:11 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-08 02:44:11 +0000 |
commit | 141c8ae2250c3fbdb954511e1da165a5705859e0 (patch) | |
tree | 7c56e4acb20d0f37645756d47a4ffcbe1240c5b5 /target-ppc/helper.c | |
parent | 4e80effcf961b0ce3b794d239225aacb7f48f38c (diff) |
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
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r-- | target-ppc/helper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c index 3d686c10a6..9caeb25b37 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -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; |