diff options
-rw-r--r-- | MdePkg/Library/CpuLib/X64/CpuFlushTlb.S | 4 | ||||
-rw-r--r-- | MdePkg/Library/CpuLib/X64/CpuPause.S | 4 | ||||
-rw-r--r-- | MdePkg/Library/CpuLib/X64/CpuSleep.S | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/MdePkg/Library/CpuLib/X64/CpuFlushTlb.S b/MdePkg/Library/CpuLib/X64/CpuFlushTlb.S index 2dbaf846c4..3c799b735f 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 0ecaa85b61..f71fdec354 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 681e4c12c3..658cb1aeff 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
|