Further fix MIPS delay slot

This commit is contained in:
mio
2025-02-18 23:33:51 +08:00
parent 0f45f15e30
commit e7ad2fda91
5 changed files with 59 additions and 28 deletions

View File

@@ -534,6 +534,14 @@ static inline uc_err break_translation_loop(uc_engine *uc)
return UC_ERR_OK;
}
static inline void revert_uc_emu_stop(uc_engine *uc)
{
uc->stop_request = 0;
uc->cpu->exit_request = 0;
uc->cpu->tcg_exit_req = 0;
uc->cpu->icount_decr_ptr->u16.high = 0;
}
#ifdef UNICORN_TRACER
#define UC_TRACE_START(loc) trace_start(get_tracer(), loc)
#define UC_TRACE_END(loc, fmt, ...) \