Search
lxdream.org :: lxdream/src/sh4/mmu.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/mmu.c
changeset 968:6fb1481859a4
prev963:1c3a0f67c603
next971:886e1ec8447d
author nkeynes
date Thu Jan 15 11:23:20 2009 +0000 (13 years ago)
permissions -rw-r--r--
last change Fix various compile-time warnings
file annotate diff log raw
1.1 --- a/src/sh4/mmu.c Thu Jan 15 03:54:21 2009 +0000
1.2 +++ b/src/sh4/mmu.c Thu Jan 15 11:23:20 2009 +0000
1.3 @@ -1182,7 +1182,7 @@
1.4
1.5 /********************** TLB Direct-Access Regions ***************************/
1.6 #ifdef HAVE_FRAME_ADDRESS
1.7 -#define EXCEPTION_EXIT() do{ *(((void **)__builtin_frame_address(0))+1) = exc; return; } while(0)
1.8 +#define EXCEPTION_EXIT() do{ *(((void **)__builtin_frame_address(0))+1) = exc; } while(0)
1.9 #else
1.10 #define EXCEPTION_EXIT() sh4_core_exit(CORE_EXIT_EXCEPTION)
1.11 #endif
1.12 @@ -1409,12 +1409,14 @@
1.13 {
1.14 RAISE_MEM_ERROR(EXC_TLB_PROT_READ, addr);
1.15 EXCEPTION_EXIT();
1.16 + return 0;
1.17 }
1.18
1.19 static int32_t FASTCALL tlb_protected_read_burst( unsigned char *dest, sh4addr_t addr, void *exc )
1.20 {
1.21 RAISE_MEM_ERROR(EXC_TLB_PROT_READ, addr);
1.22 EXCEPTION_EXIT();
1.23 + return 0;
1.24 }
1.25
1.26 static void FASTCALL tlb_protected_write( sh4addr_t addr, uint32_t val, void *exc )
1.27 @@ -1433,12 +1435,14 @@
1.28 {
1.29 sh4_raise_tlb_multihit(addr);
1.30 EXCEPTION_EXIT();
1.31 + return 0;
1.32 }
1.33
1.34 static int32_t FASTCALL tlb_multi_hit_read_burst( unsigned char *dest, sh4addr_t addr, void *exc )
1.35 {
1.36 sh4_raise_tlb_multihit(addr);
1.37 EXCEPTION_EXIT();
1.38 + return 0;
1.39 }
1.40 static void FASTCALL tlb_multi_hit_write( sh4addr_t addr, uint32_t val, void *exc )
1.41 {
.