Search
lxdream.org :: lxdream/src/test/testsh4x86.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/test/testsh4x86.c
changeset 1091:186558374345
prev1067:d3c00ffccfcd
next1112:4cac5e474d4c
author nkeynes
date Tue Dec 15 08:46:37 2009 +1000 (12 years ago)
permissions -rw-r--r--
last change Add side-by-side x86+sh4 disassembly output
Print SH4 state information and disassembly of the current block when
crashing.
Fix delay slot instruction in conditional branch not being marked as a
delay-slot instruction in the branch-not-taken path.
Rename REG_* defines in cpu.h to avoid conflict with translation defs
file annotate diff log raw
1.1 --- a/src/test/testsh4x86.c Sun Jul 05 13:54:48 2009 +1000
1.2 +++ b/src/test/testsh4x86.c Tue Dec 15 08:46:37 2009 +1000
1.3 @@ -83,6 +83,7 @@
1.4 int sh4_get_breakpoint( uint32_t pc ) { return 0; }
1.5 void sh4_finalize_instruction() { }
1.6 void sh4_core_exit( int exit_code ){}
1.7 +void sh4_crashdump() {}
1.8 void event_execute() {}
1.9 void TMU_run_slice( uint32_t nanos ) {}
1.10 void CCN_set_cache_control( int val ) { }
1.11 @@ -114,6 +115,8 @@
1.12 void MMU_ldtlb() { }
1.13 struct sh4_icache_struct sh4_icache;
1.14 struct mem_region_fn mem_region_unmapped;
1.15 +const struct cpu_desc_struct sh4_cpu_desc;
1.16 +sh4addr_t FASTCALL mmu_vma_to_phys_disasm( sh4vma_t vma ) { return vma; }
1.17
1.18 void usage()
1.19 {
.