Basic implementation of uc_ctl

This commit is contained in:
2021-11-01 00:39:36 +01:00
parent b07baede63
commit 3dd2e0f95d
19 changed files with 459 additions and 52 deletions

View File

@@ -5951,7 +5951,7 @@ static void sparc_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs)
unsigned int insn;
// Unicorn: end address tells us to stop emulation
if (dc->pc == uc->addr_end) {
if (uc_addr_is_exit(uc, dc->pc)) {
#ifndef TARGET_SPARC64
gen_helper_power_down(tcg_ctx, tcg_ctx->cpu_env);
#endif