[xen-unstable] [IA64] SAL work around for windows 2003.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen-unstable] [IA64] SAL work around for windows 2003.

Xen patchbot-unstable
# HG changeset patch
# User Isaku Yamahata <[hidden email]>
# Date 1211277249 -32400
# Node ID f04ce41dab843b275ccb6636290e51c591ac2a06
# Parent  4269ab4b37eecae7cc026b4366acd92b9e6c39e9
[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 <[hidden email]>
---
 xen/arch/ia64/xen/fw_emul.c |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff -r 4269ab4b37ee -r f04ce41dab84 xen/arch/ia64/xen/fw_emul.c
--- a/xen/arch/ia64/xen/fw_emul.c Tue May 20 11:33:15 2008 +0900
+++ b/xen/arch/ia64/xen/fw_emul.c Tue May 20 18:54:09 2008 +0900
@@ -219,7 +219,12 @@ sal_emulator (long index, unsigned long
  } 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
  } 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:

_______________________________________________
Xen-changelog mailing list
[hidden email]
http://lists.xensource.com/xen-changelog