Search
lxdream.org :: lxdream/src/sh4/sh4.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.c
changeset 577:a181aeacd6e8
prev571:9bc09948d0f2
next585:371342a39c09
author nkeynes
date Mon Jan 14 10:23:49 2008 +0000 (12 years ago)
branchlxdream-mmu
permissions -rw-r--r--
last change Remove asm file and convert to inline (easier to cope with platform conventions)
Add breakpoint support
Add MMU store-queue support
file annotate diff log raw
1.1 --- a/src/sh4/sh4.c Thu Jan 10 08:28:37 2008 +0000
1.2 +++ b/src/sh4/sh4.c Mon Jan 14 10:23:49 2008 +0000
1.3 @@ -154,6 +154,9 @@
1.4 {
1.5 sh4_breakpoints[sh4_breakpoint_count].address = pc;
1.6 sh4_breakpoints[sh4_breakpoint_count].type = type;
1.7 + if( sh4_use_translator ) {
1.8 + xlat_invalidate_word( pc );
1.9 + }
1.10 sh4_breakpoint_count++;
1.11 }
1.12
1.13 @@ -168,6 +171,9 @@
1.14 sh4_breakpoints[i-1].address = sh4_breakpoints[i].address;
1.15 sh4_breakpoints[i-1].type = sh4_breakpoints[i].type;
1.16 }
1.17 + if( sh4_use_translator ) {
1.18 + xlat_invalidate_word( pc );
1.19 + }
1.20 sh4_breakpoint_count--;
1.21 return TRUE;
1.22 }
.