summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseLib/Ia32/ReadCr2.S
diff options
context:
space:
mode:
authortgingold <tgingold@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-06 14:52:39 +0000
committertgingold <tgingold@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-06 14:52:39 +0000
commita2b1bf96b3470f5eb82b47e629f6c3a840f87295 (patch)
tree28c3586a7ce0eb1f364ef9c64186ae7ee11d38ed /MdePkg/Library/BaseLib/Ia32/ReadCr2.S
parent1e56bac2c836f695e84f11f54a10d9bdb938084f (diff)
downloadedk2-a2b1bf96b3470f5eb82b47e629f6c3a840f87295.tar.gz
edk2-a2b1bf96b3470f5eb82b47e629f6c3a840f87295.tar.bz2
edk2-a2b1bf96b3470f5eb82b47e629f6c3a840f87295.zip
Use ASM_PFX to optionnaly set the underscore prefix
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2179 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/ReadCr2.S')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadCr2.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr2.S b/MdePkg/Library/BaseLib/Ia32/ReadCr2.S
index dce8e0c7b7..d308895367 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadCr2.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadCr2.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl _AsmReadCr2
+.globl ASM_PFX(AsmReadCr2)
#------------------------------------------------------------------------------
# UINTN
@@ -30,6 +30,6 @@
# VOID
# );
#------------------------------------------------------------------------------
-_AsmReadCr2:
+ASM_PFX(AsmReadCr2):
movl %cr2, %eax
ret