Fixed a bug due to misorder of 'push's
authorbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 23 May 2006 07:07:41 +0000 (07:07 +0000)
committerbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 23 May 2006 07:07:41 +0000 (07:07 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@241 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/BaseLib/X64/CpuId.asm

index b5ac0fd..5e7ee19 100644 (file)
@@ -36,8 +36,8 @@
 ;------------------------------------------------------------------------------
 AsmCpuid    PROC    USES    rbx
     mov     eax, ecx
-    push    rdx
     push    rax                         ; save Index on stack
+    push    rdx
     cpuid
     test    r9, r9
     jz      @F