diff --git a/qemu/target/mips/helper.c b/qemu/target/mips/helper.c index 61ef1026..ac59ba76 100644 --- a/qemu/target/mips/helper.c +++ b/qemu/target/mips/helper.c @@ -872,7 +872,7 @@ int mips_cpu_handle_mmu_fault(CPUState *cs, vaddr address, int size, int rw, int prot; int access_type; #endif - int ret = 0; + int ret = TLBRET_BADADDR; #if 0 log_cpu_state(cs, 0);