#ifdef CONFIG_HAX
if (hax_enabled() && !hax_vcpu_exec(env))
- longjmp(cpu->jmp_env, 1);
+ longjmp(env->jmp_env, 1);
#endif
next_tb = 0; /* force lookup of first TB */
#define CPU_COMMON \
/* soft mmu support */ \
CPU_COMMON_TLB \
- \
- /* for hax */ \
- int hax_vcpu_dirty; \
- struct hax_vcpu_state *hax_vcpu; \
#endif
/* hlt instruction with interrupt disabled is shutdown */
env->eflags |= IF_MASK;
cpu->halted = 1;
- cpu->exception_index = EXCP_HLT;
+ env->exception_index = EXCP_HLT;
ret = HAX_EMUL_HLT;
}
break;
if (cpu->exit_request) {
cpu->exit_request = 0;
- cpu->exception_index = EXCP_INTERRUPT;
+ env->exception_index = EXCP_INTERRUPT;
}
return ret;
}