From: Isaku Yamahata Date: Tue, 20 May 2008 09:54:09 +0000 (+0900) Subject: [IA64] SAL work around for windows 2003. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14211 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3b9089219e9d68d170d7e2abe0bdf80cab723cbb;p=xen.git [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 --- diff --git a/xen/arch/ia64/xen/fw_emul.c b/xen/arch/ia64/xen/fw_emul.c index 34e71cec73..dd138ea643 100644 --- a/xen/arch/ia64/xen/fw_emul.c +++ b/xen/arch/ia64/xen/fw_emul.c @@ -219,7 +219,12 @@ sal_emulator (long index, unsigned long in1, unsigned long in2, } else { gdprintk(XENLOG_DEBUG, "NON-PRIV DOMAIN CALLED " "SAL_SET_VECTORS %ld\n", in1); - status = -2; + /* + * status = -2; + * Temporal work around untill gfw support: + * windows 2003 sp2/sp1 dislike -2 to crash. + */ + status = 0; } break; case SAL_GET_STATE_INFO: @@ -378,7 +383,13 @@ sal_emulator (long index, unsigned long in1, unsigned long in2, } else { gdprintk(XENLOG_DEBUG, "*** CALLED SAL_MC_SET_PARAMS. IGNORED...\n"); - status = -1; /* not implemented */ + /* + * status = -1; + * Temporal work around untill gfw support: + * windows 2003 sp2/sp1 dislike -1(not implemented) + * to crash. + */ + status = 0; } break; case SAL_CACHE_FLUSH: