[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] vmxassist: Emulate HLT.
# HG changeset patch # User Keir Fraser <keir@xxxxxxxxxxxxx> # Date 1190450358 -3600 # Node ID f187dc338d8212a04690e38d9d1b15b24a0de207 # Parent f7c1758b8b163eaec1d9720da2c8eb1b057697b6 vmxassist: Emulate HLT. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- tools/firmware/vmxassist/vm86.c | 5 +++++ 1 files changed, 5 insertions(+) diff -r f7c1758b8b16 -r f187dc338d82 tools/firmware/vmxassist/vm86.c --- a/tools/firmware/vmxassist/vm86.c Fri Sep 21 17:23:35 2007 +0100 +++ b/tools/firmware/vmxassist/vm86.c Sat Sep 22 09:39:18 2007 +0100 @@ -1622,6 +1622,11 @@ opcode(struct regs *regs) TRACE((regs, regs->eip - eip, "lock")); continue; + case 0xF4: /* hlt */ + TRACE((regs, regs->eip - eip, "hlt")); + /* Do something power-saving here! */ + return OPC_EMULATED; + case 0xF6: /* addr32 testb $imm, r/m8 */ if (!(prefix & ADDR32)) goto invalid; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |