Change-Id: I512d7d7d4b2eca10e887edef41ae63c974a1c1f6
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
#ifdef CONFIG_HAX
if (hax_enabled() && !hax_vcpu_exec(env))
- longjmp(env->jmp_env, 1);
+ longjmp(cpu->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;
- env->exception_index = EXCP_HLT;
+ cpu->exception_index = EXCP_HLT;
ret = HAX_EMUL_HLT;
}
break;
if (cpu->exit_request) {
cpu->exit_request = 0;
- env->exception_index = EXCP_INTERRUPT;
+ cpu->exception_index = EXCP_INTERRUPT;
}
return ret;
}