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

[Xen-changelog] [xen-3.1-testing] x86_emulate: Fix SAHF emulation.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1202293069 0
# Node ID 3290b4b5ecb4e1ca346d4e8fc792f8660f0836d6
# Parent  161dafc2a51dbc533d9f52213684ddff8d8b42df
x86_emulate: Fix SAHF emulation.
Signed-off-by: Xiaohui Xin <xiaohui.xin@xxxxxxxxx>
Signed-off-by: Kevin Tian <kevin.tian@xxxxxxxxx>
xen-unstable changeset:   16976:32e9c52fc6d9a6104afb2dbd84a89395b16f0e34
xen-unstable date:        Tue Feb 05 10:29:19 2008 +0000
---
 xen/arch/x86/x86_emulate.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 161dafc2a51d -r 3290b4b5ecb4 xen/arch/x86/x86_emulate.c
--- a/xen/arch/x86/x86_emulate.c        Wed Feb 06 10:17:16 2008 +0000
+++ b/xen/arch/x86/x86_emulate.c        Wed Feb 06 10:17:49 2008 +0000
@@ -1870,7 +1870,7 @@ x86_emulate(
         break;
 
     case 0x9e: /* sahf */
-        *(uint8_t *)_regs.eflags = (((uint8_t *)&_regs.eax)[1] & 0xd7) | 0x02;
+        *(uint8_t *)&_regs.eflags = (((uint8_t *)&_regs.eax)[1] & 0xd7) | 0x02;
         break;
 
     case 0x9f: /* lahf */

_______________________________________________
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®.