[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.2-testing] x86_emulate: Fix SAHF emulation.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1202291837 0 # Node ID 6493b8b7c39c9b73e55538e6d61428de78c5b651 # Parent 428597022d4f56e225a71336bcaa7f06e0f5392b 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 428597022d4f -r 6493b8b7c39c xen/arch/x86/x86_emulate.c --- a/xen/arch/x86/x86_emulate.c Wed Feb 06 09:56:40 2008 +0000 +++ b/xen/arch/x86/x86_emulate.c Wed Feb 06 09:57:17 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 |