From 4c8a6e069c908c65b60ee5b89db6cc3c5981f9a1 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Tue, 1 Feb 2011 05:01:35 +0000 Subject: Replace INTERWORK_FUNC, with GCC_ASM_EXPORT() and GCC_ASM_IMPORT() and update the rest of the MdePkg ARM assembler to use the macro. Leave the old INTERWORK_FUNC macro in place until we can make sure all the other packages have been updated and then it can be removed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11289 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseCpuLib/Arm/CpuFlushTlb.S | 3 +-- MdePkg/Library/BaseCpuLib/Arm/CpuSleep.S | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'MdePkg/Library/BaseCpuLib') diff --git a/MdePkg/Library/BaseCpuLib/Arm/CpuFlushTlb.S b/MdePkg/Library/BaseCpuLib/Arm/CpuFlushTlb.S index 46ef3e09f0..960fd990a1 100644 --- a/MdePkg/Library/BaseCpuLib/Arm/CpuFlushTlb.S +++ b/MdePkg/Library/BaseCpuLib/Arm/CpuFlushTlb.S @@ -16,8 +16,7 @@ .text .p2align 2 -.globl ASM_PFX(CpuFlushTlb) -INTERWORK_FUNC(CpuFlushTlb) +GCC_ASM_EXPORT(CpuFlushTlb) #/** # Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU. diff --git a/MdePkg/Library/BaseCpuLib/Arm/CpuSleep.S b/MdePkg/Library/BaseCpuLib/Arm/CpuSleep.S index ec2061a4b3..44160d4c32 100644 --- a/MdePkg/Library/BaseCpuLib/Arm/CpuSleep.S +++ b/MdePkg/Library/BaseCpuLib/Arm/CpuSleep.S @@ -16,8 +16,7 @@ .text .p2align 2 -.globl ASM_PFX(CpuSleep) -INTERWORK_FUNC(CpuSleep) +GCC_ASM_EXPORT(CpuSleep) #/** # Places the CPU in a sleep state until an interrupt is received. -- cgit v1.2.3