mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
target/moxie: Fix tlb_fill
We should not exit unless moxie_cpu_handle_mmu_fault has failed. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
65255e8efd
commit
1f5940e464
@ -36,9 +36,8 @@ void tlb_fill(CPUState *cs, target_ulong addr, MMUAccessType access_type,
|
||||
|
||||
ret = moxie_cpu_handle_mmu_fault(cs, addr, access_type, mmu_idx);
|
||||
if (unlikely(ret)) {
|
||||
cpu_restore_state(cs, retaddr);
|
||||
cpu_loop_exit_restore(cs, retaddr);
|
||||
}
|
||||
cpu_loop_exit(cs);
|
||||
}
|
||||
|
||||
void helper_raise_exception(CPUMoxieState *env, int ex)
|
||||
|
Loading…
Reference in New Issue
Block a user