From cf1d97f07480b6197aebc489938b4e1fed78d3e7 Mon Sep 17 00:00:00 2001 From: edgar_igl Date: Tue, 13 May 2008 10:59:14 +0000 Subject: CRIS: Improve TLB management and handle delayslots at page boundaries. * Dont flush the entire qemu tlb when the $pid changes. Instead we go through the guests TLB and choose entries that need to be flushed. * Add env->dslot and handle delayslots at pageboundaries. * Remove some unused code. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4450 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-cris/mmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-cris/mmu.h') diff --git a/target-cris/mmu.h b/target-cris/mmu.h index 1d6d33f3ab..5a1f92d594 100644 --- a/target-cris/mmu.h +++ b/target-cris/mmu.h @@ -11,7 +11,7 @@ struct cris_mmu_result_t int bf_vec; }; -target_ulong cris_mmu_tlb_latest_update(CPUState *env); +void cris_mmu_flush_pid(CPUState *env, uint32_t pid); int cris_mmu_translate(struct cris_mmu_result_t *res, CPUState *env, uint32_t vaddr, int rw, int mmu_idx); -- cgit v1.2.1