summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseCpuLib
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-02-01 05:01:35 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-02-01 05:01:35 +0000
commit4c8a6e069c908c65b60ee5b89db6cc3c5981f9a1 (patch)
treeb3abb08135e33021e4da6843919215879541e23b /MdePkg/Library/BaseCpuLib
parentd6bf79a7f52ee90fa3d81b60d360beae0dc88e55 (diff)
downloadedk2-platforms-4c8a6e069c908c65b60ee5b89db6cc3c5981f9a1.tar.xz
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
Diffstat (limited to 'MdePkg/Library/BaseCpuLib')
-rw-r--r--MdePkg/Library/BaseCpuLib/Arm/CpuFlushTlb.S3
-rw-r--r--MdePkg/Library/BaseCpuLib/Arm/CpuSleep.S3
2 files changed, 2 insertions, 4 deletions
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.