Search
lxdream.org :: lxdream/src/sh4/mmu.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/mmu.c
changeset 933:880c37bb1909
prev931:430048ea8b71
next934:3acd3b3ee6d1
author nkeynes
date Wed Dec 24 06:06:23 2008 +0000 (11 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change Start putting cache together
file annotate diff log raw
1.1 --- a/src/sh4/mmu.c Tue Dec 23 05:48:05 2008 +0000
1.2 +++ b/src/sh4/mmu.c Wed Dec 24 06:06:23 2008 +0000
1.3 @@ -526,41 +526,6 @@
1.4 }
1.5 }
1.6
1.7 -/* Cache access - not implemented */
1.8 -
1.9 -int32_t FASTCALL mmu_icache_addr_read( sh4addr_t addr )
1.10 -{
1.11 - return 0; // not implemented
1.12 -}
1.13 -int32_t FASTCALL mmu_icache_data_read( sh4addr_t addr )
1.14 -{
1.15 - return 0; // not implemented
1.16 -}
1.17 -int32_t FASTCALL mmu_ocache_addr_read( sh4addr_t addr )
1.18 -{
1.19 - return 0; // not implemented
1.20 -}
1.21 -int32_t FASTCALL mmu_ocache_data_read( sh4addr_t addr )
1.22 -{
1.23 - return 0; // not implemented
1.24 -}
1.25 -
1.26 -void FASTCALL mmu_icache_addr_write( sh4addr_t addr, uint32_t val )
1.27 -{
1.28 -}
1.29 -
1.30 -void FASTCALL mmu_icache_data_write( sh4addr_t addr, uint32_t val )
1.31 -{
1.32 -}
1.33 -
1.34 -void FASTCALL mmu_ocache_addr_write( sh4addr_t addr, uint32_t val )
1.35 -{
1.36 -}
1.37 -
1.38 -void FASTCALL mmu_ocache_data_write( sh4addr_t addr, uint32_t val )
1.39 -{
1.40 -}
1.41 -
1.42 /******************************************************************************/
1.43 /* MMU TLB address translation */
1.44 /******************************************************************************/
1.45 @@ -1017,7 +982,6 @@
1.46 sh4ptr_t src = (sh4ptr_t)&sh4r.store_queue[queue];
1.47 sh4addr_t target = (addr&0x03FFFFE0) | hi;
1.48 ext_address_space[target>>12]->write_burst( target, src );
1.49 -// mem_copy_to_sh4( target, src, 32 );
1.50 }
1.51
1.52 gboolean FASTCALL sh4_flush_store_queue_mmu( sh4addr_t addr )
1.53 @@ -1060,7 +1024,6 @@
1.54 }
1.55
1.56 ext_address_space[target>>12]->write_burst( target, src );
1.57 - // mem_copy_to_sh4( target, src, 32 );
1.58 return TRUE;
1.59 }
1.60
.