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 .text
.p2align 2 .p2align 2
ASM_GLOBAL ASM_PFX(CpuFlushTlb) GCC_ASM_EXPORT(CpuFlushTlb)
#/** #/**
# Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU. # Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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