[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] RE: 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.