Search
lxdream.org :: lxdream/src/sh4/sh4trans.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4trans.c
changeset 600:3b0f94d0faed
prev596:dfc0c93d882e
next617:476a717a54f3
author nkeynes
date Tue Jan 22 10:10:46 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Return immediately from xlat_get_code_by_vma if the icache is hit
file annotate diff log raw
1.1 --- a/src/sh4/sh4trans.c Mon Jan 21 11:59:46 2008 +0000
1.2 +++ b/src/sh4/sh4trans.c Tue Jan 22 10:10:46 2008 +0000
1.3 @@ -271,7 +271,7 @@
1.4 void *result = NULL;
1.5
1.6 if( IS_IN_ICACHE(vma) ) {
1.7 - result = xlat_get_code( GET_ICACHE_PHYS(vma) );
1.8 + return xlat_get_code( GET_ICACHE_PHYS(vma) );
1.9 }
1.10
1.11 if( vma > 0xFFFFFF00 ) {
.