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: "Tristan Gingold" <tgingold@xxxxxxx>
Subject: [Xen-ia64-devel] RE: Booting Windows on Open Source GFW
From: "Zhang, Xing Z" <xing.z.zhang@xxxxxxxxx>
Date: Wed, 6 Jun 2007 09:22:43 +0800
Cc: Alex Williamson <alex.williamson@xxxxxx>, Xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 05 Jun 2007 18:20:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070605220126.GB2652@saphi>
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcenvGLjnCxMZhd2RXm58psBWcd/pgAG5Hsg
Thread-topic: Booting Windows on Open Source GFW
Oh, it's great.thx

-----Original Message-----
From: Tristan Gingold [mailto:tgingold@xxxxxxx] 
Sent: 2007年6月6日 6:01
To: Zhang, Xing Z
Cc: tgingold@xxxxxxx; Alex Williamson; Xen-ia64-devel
Subject: Re: Booting Windows on Open Source GFW

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