added tlb_flush() flags

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@600 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-02-03 23:39:42 +00:00
parent 415e561f1d
commit ad08132319
2 changed files with 2 additions and 2 deletions

View File

@ -361,7 +361,7 @@ void do_icbi (void)
/* TLB invalidation helpers */ /* TLB invalidation helpers */
void do_tlbia (void) void do_tlbia (void)
{ {
tlb_flush(env); tlb_flush(env, 1);
} }
void do_tlbie (void) void do_tlbie (void)

View File

@ -2997,7 +2997,7 @@ CPUPPCState *cpu_ppc_init(void)
if (create_ppc_proc(ppc_opcodes, env->spr[PVR]) < 0) if (create_ppc_proc(ppc_opcodes, env->spr[PVR]) < 0)
return NULL; return NULL;
init_spr_rights(env->spr[PVR]); init_spr_rights(env->spr[PVR]);
tlb_flush(env); tlb_flush(env, 1);
#if defined (DO_SINGLE_STEP) #if defined (DO_SINGLE_STEP)
/* Single step trace mode */ /* Single step trace mode */
msr_se = 1; msr_se = 1;