Search
lxdream.org :: lxdream/src/test/testsh4x86.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/test/testsh4x86.c
changeset 951:63483914846f
prev948:545c85cc56f1
next1067:d3c00ffccfcd
author nkeynes
date Wed Jan 07 05:45:15 2009 +0000 (11 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change Tidy up exceptions+resets
Implement manual reset on general exception when SR.BL == 1
file annotate diff log raw
1.1 --- a/src/test/testsh4x86.c Wed Jan 07 04:39:04 2009 +0000
1.2 +++ b/src/test/testsh4x86.c Wed Jan 07 05:45:15 2009 +0000
1.3 @@ -98,10 +98,11 @@
1.4 void syscall_invoke( uint32_t val ) { }
1.5 void dreamcast_stop() {}
1.6 void dreamcast_reset() {}
1.7 -gboolean FASTCALL sh4_raise_reset( int exc ) { return TRUE; }
1.8 -gboolean FASTCALL sh4_raise_exception( int exc ) { return TRUE; }
1.9 -gboolean FASTCALL sh4_raise_tlb_exception( int exc ) { return TRUE; }
1.10 -gboolean FASTCALL sh4_raise_trap( int exc ) { return TRUE; }
1.11 +void FASTCALL sh4_raise_reset( int exc ) { }
1.12 +void FASTCALL sh4_raise_exception( int exc ) { }
1.13 +void FASTCALL sh4_raise_tlb_exception( int exc, sh4vma_t vma ) { }
1.14 +void FASTCALL sh4_raise_tlb_multihit( sh4vma_t vma) { }
1.15 +void FASTCALL sh4_raise_trap( int exc ) { }
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; }
.