[4663] GIF flag handling fix (Alexander Graf)
Revision: 4663
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4663 Author: bellard Date: 2008-06-04 17:07:08 +0000 (Wed, 04 Jun 2008)
Log Message:
-----------
GIF flag handling fix (Alexander Graf)
Modified Paths:
--------------
trunk/target-i386/op_helper.c
Modified: trunk/target-i386/op_helper.c
===================================================================
target-i386/op_helper.c +2 -2
@@ -4908,7 +4908,7 @@break ; } -helper_stgi (); + env->hflags2 |=HF2_GIF_MASK ;if (int_ctl &V_IRQ_MASK ) { env->interrupt_request |=CPU_INTERRUPT_VIRQ ;
@@ -5266,7 +5266,7 @@ stq_phys(env->vm_vmcb + offsetof(struct vmcb, control.exit_code), exit_code); stq_phys(env->vm_vmcb + offsetof(struct vmcb, control.exit_info_1), exit_info_1); -helper_clgi (); + env->hflags2 &= ~HF2_GIF_MASK ;/* FIXME: Resets the current ASID register to zero (host ASID). */ /* Clears the V_IRQ and V_INTR_MASKING bits inside the processor. */