Search
lxdream.org :: lxdream/src/sh4/mmu.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/mmu.c
changeset 948:545c85cc56f1
prev946:d41ee7994db7
next951:63483914846f
author nkeynes
date Wed Jan 07 04:39:04 2009 +0000 (11 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change Introduce sh4_finalize_instruction to clean-up on instruction exits
Remove the sh4_flush_icache special cases, now works through the
general case.
file annotate diff log raw
1.1 --- a/src/sh4/mmu.c Tue Jan 06 01:58:08 2009 +0000
1.2 +++ b/src/sh4/mmu.c Wed Jan 07 04:39:04 2009 +0000
1.3 @@ -277,7 +277,8 @@
1.4 // current block
1.5 mmu_set_tlb_enabled( val & MMUCR_AT );
1.6 MMIO_WRITE( MMU, MMUCR, val );
1.7 - sh4_flush_icache();
1.8 + sh4_core_exit( CORE_EXIT_FLUSH_ICACHE );
1.9 + xlat_flush_cache(); // If we're not running, flush the cache anyway
1.10 }
1.11 break;
1.12 case CCR:
.