From: bxing Date: Tue, 23 May 2006 07:07:41 +0000 (+0000) Subject: Fixed a bug due to misorder of 'push's X-Git-Tag: edk2-stable201903~25450 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=50a3fe9561e7d120de2adb246c5aee8396632786 Fixed a bug due to misorder of 'push's git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@241 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Library/BaseLib/X64/CpuId.asm b/MdePkg/Library/BaseLib/X64/CpuId.asm index b5ac0fd2fc..5e7ee19c53 100644 --- a/MdePkg/Library/BaseLib/X64/CpuId.asm +++ b/MdePkg/Library/BaseLib/X64/CpuId.asm @@ -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