Search
lxdream.org :: lxdream/src/sh4/sh4mem.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4mem.c
changeset 577:a181aeacd6e8
prev571:9bc09948d0f2
next1065:bc1cc0c54917
author nkeynes
date Mon Jan 14 10:23:49 2008 +0000 (12 years ago)
branchlxdream-mmu
permissions -rw-r--r--
last change Remove asm file and convert to inline (easier to cope with platform conventions)
Add breakpoint support
Add MMU store-queue support
file annotate diff log raw
1.1 --- a/src/sh4/sh4mem.c Thu Jan 10 08:28:37 2008 +0000
1.2 +++ b/src/sh4/sh4mem.c Mon Jan 14 10:23:49 2008 +0000
1.3 @@ -423,19 +423,6 @@
1.4 }
1.5 }
1.6
1.7 -void sh4_flush_store_queue( sh4addr_t addr )
1.8 -{
1.9 - /* Store queue operation */
1.10 - if( IS_MMU_ENABLED() ) {
1.11 -
1.12 - }
1.13 - int queue = (addr&0x20)>>2;
1.14 - sh4ptr_t src = (sh4ptr_t)&sh4r.store_queue[queue];
1.15 - uint32_t hi = (MMIO_READ( MMU, (queue == 0 ? QACR0 : QACR1) ) & 0x1C) << 24;
1.16 - uint32_t target = (addr&0x03FFFFE0) | hi;
1.17 - mem_copy_to_sh4( target, src, 32 );
1.18 -}
1.19 -
1.20 sh4ptr_t sh4_get_region_by_vma( sh4addr_t vma )
1.21 {
1.22 uint64_t ppa = mmu_vma_to_phys_read(vma);
.