From: Stefan Berger Subject: Fix to BIOS extension Date: Wed, 14 Jan 2009 16:25:39 -0500 Message-ID: <1231968339.6326.2.camel@gsal-3.watson.ibm.com> Reply-To: stefanb@us.ibm.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-d/6XyyXtxtccqiccoRIA" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org --=-d/6XyyXtxtccqiccoRIA Content-Type: text/plain Content-Transfer-Encoding: 7bit Protect the ax register before calling the TCG BIOS extensions function. Signed-off-by: Stefan Berger --=-d/6XyyXtxtccqiccoRIA Content-Disposition: attachment; filename=tcgbios_fix.diff Content-Type: text/x-patch; name=tcgbios_fix.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: root/xen-unstable.hg/tools/firmware/rombios/rombios.c =================================================================== --- root.orig/xen-unstable.hg/tools/firmware/rombios/rombios.c +++ root/xen-unstable.hg/tools/firmware/rombios/rombios.c @@ -10447,7 +10447,9 @@ rom_scan: ;; 3 ROM initialization entry point (FAR CALL) #if BX_TCGBIOS + push ax call _tcpa_start_option_rom_scan /* specs: 3.2.3.3 + 10.4.3 */ + pop ax #endif rom_scan_loop: --=-d/6XyyXtxtccqiccoRIA Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-d/6XyyXtxtccqiccoRIA--