[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86_emulate: Load FPU context before FWAIT.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1204637280 0
# Node ID 96453af916b9351bf8b6f319c4949c77082919fb
# Parent  d6e6ba8a72bf3025652fefa61553ab9454f1e897
x86_emulate: Load FPU context before FWAIT.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/x86_emulate.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r d6e6ba8a72bf -r 96453af916b9 xen/arch/x86/x86_emulate.c
--- a/xen/arch/x86/x86_emulate.c        Tue Mar 04 11:20:22 2008 +0000
+++ b/xen/arch/x86/x86_emulate.c        Tue Mar 04 13:28:00 2008 +0000
@@ -2383,6 +2383,8 @@ x86_emulate(
     }
 
     case 0x9b:  /* wait/fwait */
+        fail_if(ops->load_fpu_ctxt == NULL);
+        ops->load_fpu_ctxt(ctxt);
         __emulate_fpu_insn("fwait");
         break;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.