summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-23 07:07:41 +0000
committerbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-23 07:07:41 +0000
commit50a3fe9561e7d120de2adb246c5aee8396632786 (patch)
tree898ae7171bfd656de7039d0c57d21a13ce530de3
parentd52f141b5fad4ddba7face9124f62a2af695bdaa (diff)
downloadedk2-50a3fe9561e7d120de2adb246c5aee8396632786.zip
edk2-50a3fe9561e7d120de2adb246c5aee8396632786.tar.gz
edk2-50a3fe9561e7d120de2adb246c5aee8396632786.tar.bz2
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
-rw-r--r--MdePkg/Library/BaseLib/X64/CpuId.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/X64/CpuId.asm b/MdePkg/Library/BaseLib/X64/CpuId.asm
index b5ac0fd..5e7ee19 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