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