diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-31 06:51:00 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-31 06:51:00 +0000 |
commit | 12b2b6c4161dab719582826aba9822134a79efae (patch) | |
tree | 97aac75ec4fad215f38a1e5961ea8d2b7ae20839 | |
parent | 85c25283ed338da9485e16918e6e21d8212efa76 (diff) | |
download | edk2-platforms-12b2b6c4161dab719582826aba9822134a79efae.tar.xz |
Gcc cleanup for CpuLib in mdepkg/library/
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5588 6f19259b-4bc3-4df7-8a09-765794883524
-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
|