ia64/xen-unstable

changeset 16706:f2b4779623d2

vmxassist: Emulate CLTS.
Signed-off-by: Kamala Narasimhan <kamala.narasimhan@citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jan 11 10:59:48 2008 +0000 (2008-01-11)
parents e4fd457a3dd5
children 51aa2f884f64
files tools/firmware/vmxassist/vm86.c
line diff
     1.1 --- a/tools/firmware/vmxassist/vm86.c	Fri Jan 11 10:53:44 2008 +0000
     1.2 +++ b/tools/firmware/vmxassist/vm86.c	Fri Jan 11 10:59:48 2008 +0000
     1.3 @@ -1593,6 +1593,9 @@ opcode(struct regs *regs)
     1.4  					goto invalid;
     1.5  				}
     1.6  				break;
     1.7 +			case 0x06: /* clts */
     1.8 +				oldctx.cr0 &= ~CR0_TS;
     1.9 +				return OPC_EMULATED;
    1.10  			case 0x09: /* wbinvd */
    1.11  				return OPC_EMULATED;
    1.12  			case 0x20: /* mov Rd, Cd (1h) */