projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08286e1
)
x86_emulate: Fix SAHF emulation.
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 5 Feb 2008 10:29:19 +0000
(10:29 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 5 Feb 2008 10:29:19 +0000
(10:29 +0000)
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/x86_emulate.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/x86_emulate.c
b/xen/arch/x86/x86_emulate.c
index 43f90166241c1455952b518cc6d7d14c6b69704c..e559e3c91a4b3240bc626ca7ee91fd863a55a5ef 100644
(file)
--- a/
xen/arch/x86/x86_emulate.c
+++ b/
xen/arch/x86/x86_emulate.c
@@
-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 */