ia64/xen-unstable

changeset 11907:4c40bed66ade

[VMXASSIST] Some reports that macros do not get picked up by CPP
if they are prefixed with $. Fix by placing macro uses in ().
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Oct 19 22:05:07 2006 +0100 (2006-10-19)
parents e2de39c56f92
children 1467ae662228
files tools/firmware/vmxassist/head.S tools/firmware/vmxassist/trap.S
line diff
     1.1 --- a/tools/firmware/vmxassist/head.S	Thu Oct 19 17:01:51 2006 +0100
     1.2 +++ b/tools/firmware/vmxassist/head.S	Thu Oct 19 22:05:07 2006 +0100
     1.3 @@ -59,7 +59,7 @@
     1.4  
     1.5          /* go to protected mode */
     1.6          movl    %cr0, %eax
     1.7 -        orl     $CR0_PE, %eax
     1.8 +        orl     $(CR0_PE), %eax
     1.9          movl    %eax, %cr0
    1.10          data32  ljmp $0x08, $1f
    1.11  
     2.1 --- a/tools/firmware/vmxassist/trap.S	Thu Oct 19 17:01:51 2006 +0100
     2.2 +++ b/tools/firmware/vmxassist/trap.S	Thu Oct 19 22:05:07 2006 +0100
     2.3 @@ -106,7 +106,7 @@ common_trap:				/* common trap handler *
     2.4  	pushl	%es
     2.5  	pushal
     2.6  
     2.7 -	movl	$DATA_SELECTOR, %eax	/* make sure these are sane */
     2.8 +	movl	$(DATA_SELECTOR), %eax	/* make sure these are sane */
     2.9  	movl	%eax, %ds
    2.10  	movl	%eax, %es
    2.11  	movl	%eax, %fs