]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/Power10U64.c
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EfiCommonLib / Ia32 / Power10U64.c
index c74e7933dde1d07fcc1775709995d46cec84027b..2a31fe133e4211062b4eb0fa309cb5a6adb85f9c 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -56,11 +56,13 @@ Returns:
   jcxz   _Power10U64_Done\r
   \r
 _Power10U64_Wend:\r
+  push   ecx\r
   push   10\r
   push   dword ptr Operand[4]\r
   push   dword ptr Operand[0]\r
   call   MultU64x32\r
   add    esp, 0Ch\r
+  pop    ecx\r
   mov    dword ptr Operand[0], eax\r
   mov    dword ptr Operand[4], edx\r
   loop   _Power10U64_Wend\r