From 12b2b6c4161dab719582826aba9822134a79efae Mon Sep 17 00:00:00 2001 From: eric_tian Date: Thu, 31 Jul 2008 06:51:00 +0000 Subject: 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 --- MdePkg/Library/CpuLib/X64/CpuFlushTlb.S | 4 ++-- MdePkg/Library/CpuLib/X64/CpuPause.S | 4 ++-- MdePkg/Library/CpuLib/X64/CpuSleep.S | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'MdePkg') 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 -- cgit v1.2.3