[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [4663] GIF flag handling fix (Alexander Graf)
From: |
Fabrice Bellard |
Subject: |
[Qemu-devel] [4663] GIF flag handling fix (Alexander Graf) |
Date: |
Wed, 04 Jun 2008 17:07:08 +0000 |
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
===================================================================
--- trunk/target-i386/op_helper.c 2008-06-04 17:02:19 UTC (rev 4662)
+++ trunk/target-i386/op_helper.c 2008-06-04 17:07:08 UTC (rev 4663)
@@ -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. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [4663] GIF flag handling fix (Alexander Graf),
Fabrice Bellard <=