diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-03 23:39:42 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-03 23:39:42 +0000 |
commit | ad08132319713918a58b1ffa35a57431ed294888 (patch) | |
tree | 899bd2b5b2cb0399e74250ebd973b652a680d901 /target-ppc | |
parent | 415e561f1de19e9fa609a58bec67c9b59fcdf726 (diff) |
added tlb_flush() flags
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@600 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/op_helper.c | 2 | ||||
-rw-r--r-- | target-ppc/translate.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c index a0e9360282..5bd138da5c 100644 --- a/target-ppc/op_helper.c +++ b/target-ppc/op_helper.c @@ -361,7 +361,7 @@ void do_icbi (void) /* TLB invalidation helpers */ void do_tlbia (void) { - tlb_flush(env); + tlb_flush(env, 1); } void do_tlbie (void) diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 9ad8f6dea1..1b16fd5410 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -2997,7 +2997,7 @@ CPUPPCState *cpu_ppc_init(void) if (create_ppc_proc(ppc_opcodes, env->spr[PVR]) < 0) return NULL; init_spr_rights(env->spr[PVR]); - tlb_flush(env); + tlb_flush(env, 1); #if defined (DO_SINGLE_STEP) /* Single step trace mode */ msr_se = 1; |