mirror of https://github.com/acidanthera/audk.git
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:
parent
1ca40fa9d9
commit
0f895683da
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
.text
|
||||
.p2align 2
|
||||
ASM_GLOBAL ASM_PFX(CpuBreakpoint)
|
||||
GCC_ASM_EXPORT(CpuBreakpoint)
|
||||
|
||||
#/**
|
||||
# Generates a breakpoint on the CPU.
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
.text
|
||||
.p2align 2
|
||||
ASM_GLOBAL ASM_PFX(DisableInterrupts)
|
||||
GCC_ASM_EXPORT(DisableInterrupts)
|
||||
|
||||
#/**
|
||||
# Disables CPU interrupts.
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
.text
|
||||
.p2align 2
|
||||
ASM_GLOBAL ASM_PFX(EnableInterrupts)
|
||||
GCC_ASM_EXPORT(EnableInterrupts)
|
||||
|
||||
|
||||
#/**
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
.text
|
||||
.p2align 2
|
||||
ASM_GLOBAL ASM_PFX(GetInterruptState)
|
||||
GCC_ASM_EXPORT(GetInterruptState)
|
||||
|
||||
#/**
|
||||
# Retrieves the current CPU interrupt state.
|
||||
|
|
|
@ -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); \
|
||||
|
|
|
@ -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)
|
||||
|
||||
/**
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue