Commit 1f5940e4 authored by Richard Henderson's avatar Richard Henderson
Browse files

target/moxie: Fix tlb_fill



We should not exit unless moxie_cpu_handle_mmu_fault has failed.

Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 65255e8e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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)