Search
lxdream.org :: lxdream :: r600:3b0f94d0faed
lxdream 0.9.1
released Jun 29
Download Now
changeset600:3b0f94d0faed
parent599:2a73a1a53032
child601:d8d1af0d133c
authornkeynes
dateTue Jan 22 10:10:46 2008 +0000 (12 years ago)
Return immediately from xlat_get_code_by_vma if the icache is hit
src/sh4/sh4trans.c
1.1 --- a/src/sh4/sh4trans.c Tue Jan 22 10:08:08 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 ) {
.