summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdePkg/Library/CpuLib/X64/CpuFlushTlb.S4
-rw-r--r--MdePkg/Library/CpuLib/X64/CpuPause.S4
-rw-r--r--MdePkg/Library/CpuLib/X64/CpuSleep.S4
3 files changed, 6 insertions, 6 deletions
diff --git a/MdePkg/Library/CpuLib/X64/CpuFlushTlb.S b/MdePkg/Library/CpuLib/X64/CpuFlushTlb.S
index 2dbaf84..3c799b7 100644
--- a/MdePkg/Library/CpuLib/X64/CpuFlushTlb.S
+++ b/MdePkg/Library/CpuLib/X64/CpuFlushTlb.S
@@ -20,7 +20,7 @@
#
#------------------------------------------------------------------------------
-.global _CpuFlushTlb
+.global ASM_PFX(CpuFlushTlb)
#------------------------------------------------------------------------------
# VOID
@@ -29,7 +29,7 @@
# VOID
# );
#------------------------------------------------------------------------------
-_CpuFlushTlb:
+ASM_PFX(CpuFlushTlb):
mov %cr3, %rax
mov %rax, %cr3
ret
diff --git a/MdePkg/Library/CpuLib/X64/CpuPause.S b/MdePkg/Library/CpuLib/X64/CpuPause.S
index 0ecaa85..f71fdec 100644
--- a/MdePkg/Library/CpuLib/X64/CpuPause.S
+++ b/MdePkg/Library/CpuLib/X64/CpuPause.S
@@ -28,7 +28,7 @@
# VOID
# );
#------------------------------------------------------------------------------
-.global _CpuPause;
-_CpuPause:
+.global ASM_PFX(CpuPause)
+ASM_PFX(CpuPause):
pause
ret
diff --git a/MdePkg/Library/CpuLib/X64/CpuSleep.S b/MdePkg/Library/CpuLib/X64/CpuSleep.S
index 681e4c1..658cb1a 100644
--- a/MdePkg/Library/CpuLib/X64/CpuSleep.S
+++ b/MdePkg/Library/CpuLib/X64/CpuSleep.S
@@ -28,7 +28,7 @@
# VOID
# );
#------------------------------------------------------------------------------
-.global _CpuSleep;
-_CpuSleep:
+.global ASM_PFX(CpuSleep)
+ASM_PFX(CpuSleep):
hlt
ret