summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/ReadMsr64.S
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-31 06:23:32 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-31 06:23:32 +0000
commit85c25283ed338da9485e16918e6e21d8212efa76 (patch)
treeecc48e76f050b7c314e25a7232d6f58ed00c0bf9 /MdePkg/Library/BaseLib/X64/ReadMsr64.S
parent5f87392966e8bb14b6486408b60521dfc61bd58f (diff)
downloadedk2-platforms-85c25283ed338da9485e16918e6e21d8212efa76.tar.xz
Gcc cleanup for baselib & basememorylib in mdepkg/library/
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5587 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/ReadMsr64.S')
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMsr64.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/BaseLib/X64/ReadMsr64.S b/MdePkg/Library/BaseLib/X64/ReadMsr64.S
index ac101cd670..bcb3836943 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMsr64.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMsr64.S
@@ -29,9 +29,9 @@
# IN UINT32 Index
# );
#------------------------------------------------------------------------------
-.global _AsmReadMsr64;
-.align 16;
-_AsmReadMsr64:
+.global ASM_PFX(AsmReadMsr64)
+.align 16
+ASM_PFX(AsmReadMsr64):
rdmsr # edx & eax are zero extended
shl $0x20, %rdx
or %rdx, %rax