ia64/xen-unstable

changeset 7079:a4ad6692193a

This patch adds "wbinvd" instruction emulation for vm86 mode.

This is needed when we bring up AP of SMP VMX guest.

Signed-off-by: Xin Li <xin.b.li@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Sep 27 15:11:07 2005 +0100 (2005-09-27)
parents c9d690c52afc
children a172340ae3f3
files tools/firmware/vmxassist/vm86.c
line diff
     1.1 --- a/tools/firmware/vmxassist/vm86.c	Tue Sep 27 15:06:40 2005 +0100
     1.2 +++ b/tools/firmware/vmxassist/vm86.c	Tue Sep 27 15:11:07 2005 +0100
     1.3 @@ -752,6 +752,9 @@ opcode(struct regs *regs)
     1.4  					goto invalid;
     1.5  				}
     1.6  				break;
     1.7 +			case 0x09: /* wbinvd */
     1.8 +				asm volatile ( "wbinvd" );
     1.9 +				return OPC_EMULATED;
    1.10  			case 0x20: /* mov Rd, Cd (1h) */
    1.11  			case 0x22:
    1.12  				if (!movcr(regs, prefix, opc))