filename | src/sh4/ia32abi.h |
changeset | 569:a1c49e1e8776 |
prev | 561:533f6b478071 |
next | 570:d2893980fbf5 |
author | nkeynes |
date | Fri Jan 04 11:54:17 2008 +0000 (16 years ago) |
branch | lxdream-mmu |
permissions | -rw-r--r-- |
last change | Bring icache partially into line with the mmu, a little less slow with AT off now. |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/ia32abi.h Tue Jan 01 05:08:38 2008 +00001.2 +++ b/src/sh4/ia32abi.h Fri Jan 04 11:54:17 2008 +00001.3 @@ -119,12 +119,12 @@1.4 * Exit the block with sh4r.pc already written1.5 * Bytes: 151.6 */1.7 -void exit_block_pcset( pc )1.8 +void exit_block_pcset( sh4addr_t pc )1.9 {1.10 load_imm32( R_ECX, ((pc - sh4_x86.block_start_pc)>>1)*sh4_cpu_period ); // 51.11 ADD_r32_sh4r( R_ECX, REG_OFFSET(slice_cycle) ); // 61.12 load_spreg( R_EAX, REG_OFFSET(pc) );1.13 - call_func1(xlat_get_code,R_EAX);1.14 + call_func1(xlat_get_code_by_vma,R_EAX);1.15 POP_r32(R_EBP);1.16 RET();1.17 }1.18 @@ -167,7 +167,7 @@1.19 call_func0( sh4_raise_exception );1.20 ADD_imm8s_r32( 4, R_ESP );1.21 load_spreg( R_EAX, REG_OFFSET(pc) );1.22 - call_func1(xlat_get_code,R_EAX);1.23 + call_func1(xlat_get_code_by_vma,R_EAX);1.24 POP_r32(R_EBP);1.25 RET();1.27 @@ -181,7 +181,7 @@1.28 MUL_r32( R_EDX );1.29 ADD_r32_sh4r( R_EAX, REG_OFFSET(slice_cycle) );1.30 load_spreg( R_EAX, REG_OFFSET(pc) );1.31 - call_func1(xlat_get_code,R_EAX);1.32 + call_func1(xlat_get_code_by_vma,R_EAX);1.33 POP_r32(R_EBP);1.34 RET();
.