From 33e8a461230b0a78729fca0fc5e55ad34db08a2f Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 31 Mar 2009 23:03:09 -0700 Subject: [PATCH] shuffler: reload EDI, ESI, ECX before calling shuffle_and_boot_raw comapi_cleanup can clobber registers, so reload EDI, ESI, ECX before calling shuffle_and_boot_raw. --- core/comboot.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/comboot.inc b/core/comboot.inc index e4a03ef..8226d47 100644 --- a/core/comboot.inc +++ b/core/comboot.inc @@ -1002,6 +1002,9 @@ comapi_shufsize: ; comapi_shufraw: call comapi_cleanup + mov edi,P_EDI + mov esi,P_ESI + mov ecx,P_ECX jmp shuffle_and_boot_raw section .data -- 2.7.4