ia64/xen-unstable

changeset 17678:f04ce41dab84

[IA64] SAL work around for windows 2003.

Temporal work around of SAL emulation for Windows
Some windows crashes with 17606:b03e24f9c1d8. This patch
temporally works around the issue.
The right fix is to support those SAL calls with GFW.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Tue May 20 18:54:09 2008 +0900 (2008-05-20)
parents 4269ab4b37ee
children 74d0f17f3fa5
files xen/arch/ia64/xen/fw_emul.c
line diff
     1.1 --- a/xen/arch/ia64/xen/fw_emul.c	Tue May 20 11:33:15 2008 +0900
     1.2 +++ b/xen/arch/ia64/xen/fw_emul.c	Tue May 20 18:54:09 2008 +0900
     1.3 @@ -219,7 +219,12 @@ sal_emulator (long index, unsigned long 
     1.4  		} else {
     1.5  			gdprintk(XENLOG_DEBUG, "NON-PRIV DOMAIN CALLED "
     1.6  				 "SAL_SET_VECTORS %ld\n", in1);
     1.7 -			status = -2;
     1.8 +			/*
     1.9 +			 * status = -2;
    1.10 +			 * Temporal work around untill gfw support:
    1.11 +			 * windows 2003 sp2/sp1 dislike -2 to crash.
    1.12 +			 */
    1.13 +			status = 0; 
    1.14  		}
    1.15  		break;
    1.16  	    case SAL_GET_STATE_INFO:
    1.17 @@ -378,7 +383,13 @@ sal_emulator (long index, unsigned long 
    1.18  		} else {
    1.19  			gdprintk(XENLOG_DEBUG,
    1.20  				 "*** CALLED SAL_MC_SET_PARAMS. IGNORED...\n");
    1.21 -			status = -1; /* not implemented */
    1.22 +			/*
    1.23 +			 * status = -1;
    1.24 +			 * Temporal work around untill gfw support:
    1.25 +			 * windows 2003 sp2/sp1 dislike -1(not implemented)
    1.26 +			 * to crash.
    1.27 +			 */
    1.28 +			status = 0;
    1.29  		}
    1.30  		break;
    1.31  	    case SAL_CACHE_FLUSH: