summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/Power10U64.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/Power10U64.c b/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/Power10U64.c
index e8e1652db2..1310290afb 100644
--- a/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/Power10U64.c
+++ b/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/Power10U64.c
@@ -50,6 +50,8 @@ Returns:
--*/
{
__asm {
+ mov eax, dword ptr Operand[0]
+ mov edx, dword ptr Operand[4]
mov ecx, Power
jcxz _Power10U64_Done
@@ -58,6 +60,7 @@ _Power10U64_Wend:
push dword ptr Operand[4]
push dword ptr Operand[0]
call MultU64x32
+ add esp, 0Ch
mov dword ptr Operand[0], eax
mov dword ptr Operand[4], edx
loop _Power10U64_Wend