MdePkg/AArch64: use GCC_ASM_EXPORT to export functions

This ensures the .type directive is used to mark them as function symbols

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <Olivier.Martin@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17904 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Olivier Martin 2015-07-09 10:43:27 +00:00 committed by oliviermartin
parent 1ca40fa9d9
commit 0f895683da
8 changed files with 10 additions and 10 deletions

View File

@ -17,7 +17,7 @@
.text
.p2align 2
ASM_GLOBAL ASM_PFX(CpuFlushTlb)
GCC_ASM_EXPORT(CpuFlushTlb)
#/**
# Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.

View File

@ -17,7 +17,7 @@
.text
.align 3
ASM_GLOBAL ASM_PFX(CpuSleep)
GCC_ASM_EXPORT(CpuSleep)
#/**
# Places the CPU in a sleep state until an interrupt is received.

View File

@ -17,7 +17,7 @@
.text
.p2align 2
ASM_GLOBAL ASM_PFX(CpuBreakpoint)
GCC_ASM_EXPORT(CpuBreakpoint)
#/**
# Generates a breakpoint on the CPU.

View File

@ -17,7 +17,7 @@
.text
.p2align 2
ASM_GLOBAL ASM_PFX(DisableInterrupts)
GCC_ASM_EXPORT(DisableInterrupts)
#/**
# Disables CPU interrupts.

View File

@ -17,7 +17,7 @@
.text
.p2align 2
ASM_GLOBAL ASM_PFX(EnableInterrupts)
GCC_ASM_EXPORT(EnableInterrupts)
#/**

View File

@ -17,7 +17,7 @@
.text
.p2align 2
ASM_GLOBAL ASM_PFX(GetInterruptState)
GCC_ASM_EXPORT(GetInterruptState)
#/**
# Retrieves the current CPU interrupt state.

View File

@ -13,8 +13,8 @@
.text
.p2align 3
ASM_GLOBAL ASM_PFX(SetJump)
ASM_GLOBAL ASM_PFX(InternalLongJump)
GCC_ASM_EXPORT(SetJump)
GCC_ASM_EXPORT(InternalLongJump)
#define GPR_LAYOUT \
REG_PAIR (x19, x20, 0); \

View File

@ -16,8 +16,8 @@
.text
.align 5
ASM_GLOBAL ASM_PFX(InternalSwitchStackAsm)
ASM_GLOBAL ASM_PFX(CpuPause)
GCC_ASM_EXPORT(InternalSwitchStackAsm)
GCC_ASM_EXPORT(CpuPause)
/**
//