Search
lxdream.org :: lxdream/src/test/testsh4x86.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/test/testsh4x86.c
changeset 930:07e5b11419db
prev929:fd8cb0c82f5f
next931:430048ea8b71
author nkeynes
date Mon Dec 22 09:51:11 2008 +0000 (13 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change Remove pointer cache and add full address-space map. Much better
file annotate diff log raw
1.1 --- a/src/test/testsh4x86.c Sat Dec 20 03:01:40 2008 +0000
1.2 +++ b/src/test/testsh4x86.c Mon Dec 22 09:51:11 2008 +0000
1.3 @@ -35,6 +35,8 @@
1.4
1.5 #define MAX_INS_SIZE 32
1.6
1.7 +
1.8 +struct mem_region_fn **sh4_address_space = (void *)0x12345432;
1.9 char *option_list = "s:o:d:h";
1.10 struct option longopts[1] = { { NULL, 0, 0, 0 } };
1.11
1.12 @@ -54,6 +56,7 @@
1.13 { "sh4_cpu_period", &sh4_cpu_period },
1.14 { "mmu_vma_to_phys_read", mmu_vma_to_phys_read },
1.15 { "mmu_vma_to_phys_write", mmu_vma_to_phys_write },
1.16 + { "sh4_address_space", 0x12345432 },
1.17 { "sh4_write_fpscr", sh4_write_fpscr },
1.18 { "sh4_write_sr", sh4_write_sr },
1.19 { "sh4_read_sr", sh4_read_sr },
1.20 @@ -129,6 +132,7 @@
1.21 uint32_t sh4_sleep_run_slice(uint32_t nanosecs) { return nanosecs; }
1.22 gboolean gui_error_dialog( const char *fmt, ... ) { return TRUE; }
1.23 struct sh4_icache_struct sh4_icache;
1.24 +struct mem_region_fn mem_region_unmapped;
1.25
1.26 void usage()
1.27 {
.