mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
reworked SVM interrupt handling logic - fixed vmrun EIP saved value - reworked cr8 handling - added CPUState.hflags2
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4662 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
3cd9acb410
commit
db620f46a8
7 changed files with 110 additions and 109 deletions
|
@ -6569,10 +6569,11 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
|
|||
gen_exception(s, EXCP0D_GPF, pc_start - s->cs_base);
|
||||
break;
|
||||
} else {
|
||||
tcg_gen_helper_0_1(helper_vmrun,
|
||||
tcg_const_i32(s->aflag));
|
||||
s->cc_op = CC_OP_EFLAGS;
|
||||
gen_eob(s);
|
||||
tcg_gen_helper_0_2(helper_vmrun,
|
||||
tcg_const_i32(s->aflag),
|
||||
tcg_const_i32(s->pc - pc_start));
|
||||
tcg_gen_exit_tb(0);
|
||||
s->is_jmp = 3;
|
||||
}
|
||||
break;
|
||||
case 1: /* VMMCALL */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue