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

[Xen-changelog] [xen-unstable] rombios: Protect the ax register before calling the TCG BIOS extensions function.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1232022909 0
# Node ID 5b75d99acf9c970dac9775d0d988554bd678bda3
# Parent  10a8fae412c5e1b1cd24e58f94f780f180b84ab8
rombios: Protect the ax register before calling the TCG BIOS extensions 
function.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 tools/firmware/rombios/rombios.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 10a8fae412c5 -r 5b75d99acf9c tools/firmware/rombios/rombios.c
--- a/tools/firmware/rombios/rombios.c  Wed Jan 14 13:43:17 2009 +0000
+++ b/tools/firmware/rombios/rombios.c  Thu Jan 15 12:35:09 2009 +0000
@@ -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:

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


 


Rackspace

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