qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4663] GIF flag handling fix (Alexander Graf)
@ 2008-06-04 17:07 Fabrice Bellard
  0 siblings, 0 replies; only message in thread
From: Fabrice Bellard @ 2008-06-04 17:07 UTC (permalink / raw)
  To: qemu-devel

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. */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-04 17:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-04 17:07 [Qemu-devel] [4663] GIF flag handling fix (Alexander Graf) Fabrice Bellard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).