diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-02-06 17:02:45 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-02-06 17:23:33 +0100 |
commit | c36bbb28ad62b4b1f494df0b199432d8c79876db (patch) | |
tree | 5c58e047685761144079d31456142ddf9adc057f /target-mips/cpu.h | |
parent | 3f26c1227e3b08010f2a65379cecf4cb4b5933fa (diff) |
target-mips: don't call cpu_loop_exit() from helper.c
In helper.c AREG0 may not correspond do env, so it's not possible to
call cpu_loop_exit() here. Call it from op_helper.c instead.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-mips/cpu.h')
-rw-r--r-- | target-mips/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-mips/cpu.h b/target-mips/cpu.h index b78aec52e0..8291bf9b0a 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -599,8 +599,8 @@ int cpu_mips_handle_mmu_fault (CPUState *env, target_ulong address, int rw, #define cpu_handle_mmu_fault cpu_mips_handle_mmu_fault void do_interrupt (CPUState *env); void r4k_invalidate_tlb (CPUState *env, int idx, int use_extra); -target_phys_addr_t do_translate_address (CPUState *env, target_ulong address, - int rw); +target_phys_addr_t cpu_mips_translate_address (CPUState *env, target_ulong address, + int rw); static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) { |