Revision c36bbb28 target-mips/helper.c
b/target-mips/helper.c | ||
---|---|---|
311 | 311 |
} |
312 | 312 |
|
313 | 313 |
#if !defined(CONFIG_USER_ONLY) |
314 |
target_phys_addr_t do_translate_address(CPUState *env, target_ulong address, int rw)
|
|
314 |
target_phys_addr_t cpu_mips_translate_address(CPUState *env, target_ulong address, int rw)
|
|
315 | 315 |
{ |
316 | 316 |
target_phys_addr_t physical; |
317 | 317 |
int prot; |
... | ... | |
326 | 326 |
address, rw, access_type); |
327 | 327 |
if (ret != TLBRET_MATCH) { |
328 | 328 |
raise_mmu_exception(env, address, rw, ret); |
329 |
cpu_loop_exit(); |
|
329 |
return -1LL; |
|
330 |
} else { |
|
331 |
return physical; |
|
330 | 332 |
} |
331 |
|
|
332 |
return physical; |
|
333 | 333 |
} |
334 | 334 |
#endif |
335 | 335 |
|
Also available in: Unified diff