[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86_emulate: Fix SAHF emulation.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1202207359 0 # Node ID 32e9c52fc6d9a6104afb2dbd84a89395b16f0e34 # Parent 99b8ffe250888d0c3fe86b726edf18f620072045 x86_emulate: Fix SAHF emulation. Signed-off-by: Xiaohui Xin <xiaohui.xin@xxxxxxxxx> Signed-off-by: Kevin Tian <kevin.tian@xxxxxxxxx> --- xen/arch/x86/x86_emulate.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 99b8ffe25088 -r 32e9c52fc6d9 xen/arch/x86/x86_emulate.c --- a/xen/arch/x86/x86_emulate.c Mon Feb 04 13:57:01 2008 +0000 +++ b/xen/arch/x86/x86_emulate.c Tue Feb 05 10:29:19 2008 +0000 @@ -2226,7 +2226,7 @@ x86_emulate( } 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |