提交 1f5940e4 编写于 作者: R Richard Henderson

target/moxie: Fix tlb_fill

We should not exit unless moxie_cpu_handle_mmu_fault has failed.
Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: NRichard Henderson <richard.henderson@linaro.org>
上级 65255e8e
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册