Search
lxdream.org :: lxdream/src/test/testsh4x86.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/test/testsh4x86.c
changeset 939:6f2302afeb89
prev934:3acd3b3ee6d1
next945:787729653236
author nkeynes
date Sat Jan 03 03:30:26 2009 +0000 (13 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change MMU work-in-progress
* Move SDRAM out into separate sdram.c
* Move all page-table management into mmu.c
* Convert UTLB management to use the new page-tables
* Rip out all calls to mmu_vma_to_phys_* and replace with direct access
file annotate diff log raw
1.1 --- a/src/test/testsh4x86.c Fri Dec 26 14:25:23 2008 +0000
1.2 +++ b/src/test/testsh4x86.c Sat Jan 03 03:30:26 2009 +0000
1.3 @@ -55,8 +55,6 @@
1.4 struct x86_symbol local_symbols[] = {
1.5 { "sh4r+128", ((char *)&sh4r)+128 },
1.6 { "sh4_cpu_period", &sh4_cpu_period },
1.7 - { "mmu_vma_to_phys_read", mmu_vma_to_phys_read },
1.8 - { "mmu_vma_to_phys_write", mmu_vma_to_phys_write },
1.9 { "sh4_address_space", 0x12345432 },
1.10 { "sh4_write_fpscr", sh4_write_fpscr },
1.11 { "sh4_write_sr", sh4_write_sr },
1.12 @@ -124,8 +122,12 @@
1.13 gboolean FASTCALL sh4_raise_exception( int exc ) { return TRUE; }
1.14 gboolean FASTCALL sh4_raise_tlb_exception( int exc ) { return TRUE; }
1.15 gboolean FASTCALL sh4_raise_trap( int exc ) { return TRUE; }
1.16 +void FASTCALL sh4_flush_store_queue( sh4addr_t addr ) { }
1.17 +void FASTCALL sh4_flush_store_queue_mmu( sh4addr_t addr, void *exc ) { }
1.18 uint32_t sh4_sleep_run_slice(uint32_t nanosecs) { return nanosecs; }
1.19 gboolean gui_error_dialog( const char *fmt, ... ) { return TRUE; }
1.20 +gboolean FASTCALL mmu_update_icache( sh4vma_t addr ) { return TRUE; }
1.21 +void MMU_ldtlb() { }
1.22 struct sh4_icache_struct sh4_icache;
1.23 struct mem_region_fn mem_region_unmapped;
1.24
.