summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/WriteCr3.S
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/WriteCr3.S')
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteCr3.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseLib/X64/WriteCr3.S b/MdePkg/Library/BaseLib/X64/WriteCr3.S
index 880ed9737b..6c28ec649d 100644
--- a/MdePkg/Library/BaseLib/X64/WriteCr3.S
+++ b/MdePkg/Library/BaseLib/X64/WriteCr3.S
@@ -29,8 +29,8 @@
# UINTN Cr3
# );
#------------------------------------------------------------------------------
-.global _AsmWriteCr3;
-_AsmWriteCr3:
+.global ASM_PFX(AsmWriteCr3)
+ASM_PFX(AsmWriteCr3):
mov %rcx,%cr3
mov %rcx,%rax
ret