WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] Re: Booting Windows on Open Source GFW

To: "Zhang, Xing Z" <xing.z.zhang@xxxxxxxxx>
Subject: [Xen-ia64-devel] Re: Booting Windows on Open Source GFW
From: Tristan Gingold <tgingold@xxxxxxx>
Date: Wed, 6 Jun 2007 00:01:26 +0200
Cc: Alex Williamson <alex.williamson@xxxxxx>, Xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 05 Jun 2007 14:54:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <823A93EED437D048963A3697DB0E35DE4C4EAD@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <823A93EED437D048963A3697DB0E35DE4C4EAD@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
Hi,

if you want to boot Windows, you may want to add this small patch:

--- EdkXenPkg/SecMain/SecMain.c 2007-06-05 23:13:33.000000000 +0200
+++ /home/gingold/devel/EFI/edk2/EdkXenPkg/SecMain/SecMain.c    2007-02-15 
16:59:15.000000000 +0100
@@ -307,6 +307,13 @@
 
       return;
     }
+  else if (ExceptionType == OFF_ALIGNFLT) {
+    UINT64 isr = Ptr[55];
+    if (isr & (1UL << ISR_SP)) {
+      Ptr[54] |= (1UL << PSR_ED);
+      return;
+    }
+  }
 
   if (ExceptionType != 0x3000) {
       putstring ("Exception=");


Tristan.

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel