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-devel

[Xen-devel] [Patch] fix rombios to get the BDF.

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [Patch] fix rombios to get the BDF.
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Thu, 25 Dec 2008 11:32:25 +0900
Delivery-date: Wed, 24 Dec 2008 18:32:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (X11/20081119)
Hi,

We found a bug that rombios cannot get the correct BDF during rom_scan.
This patch fixes rombios to get the BDF for calling INIT function.
I'm sorry for the inconvenience. m(__)m

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>

Best Regards,

Akio Takebe
diff -r 37d18b671fcb tools/firmware/rombios/rombios.c
--- a/tools/firmware/rombios/rombios.c  Thu Dec 25 11:06:04 2008 +0900
+++ b/tools/firmware/rombios/rombios.c  Thu Dec 25 11:11:44 2008 +0900
@@ -10473,8 +10473,6 @@
   add  al, #0x04
 block_count_rounded:
 
-  xor  bx, bx   ;; Restore DS back to 0000:
-  mov  ds, bx
 #if BX_TCGBIOS
   push ax
   push ds
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [Patch] fix rombios to get the BDF., Akio Takebe <=