mirror of https://github.com/acidanthera/audk.git
ArmPkg/ArmMmuLib: switch to ASM_FUNC() asm macro
Annotate functions with ASM_FUNC() so that they are emitted into separate sections. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
parent
0efaa42f6e
commit
e4d37ada01
|
@ -14,8 +14,6 @@
|
|||
|
||||
#include <AsmMacroIoLibV8.h>
|
||||
|
||||
GCC_ASM_EXPORT(ArmReplaceLiveTranslationEntry)
|
||||
|
||||
.set CTRL_M_BIT, (1 << 0)
|
||||
|
||||
.macro __replace_entry, el
|
||||
|
@ -52,7 +50,7 @@ GCC_ASM_EXPORT(ArmReplaceLiveTranslationEntry)
|
|||
// IN UINT64 *Entry,
|
||||
// IN UINT64 Value
|
||||
// )
|
||||
ASM_PFX(ArmReplaceLiveTranslationEntry):
|
||||
ASM_FUNC(ArmReplaceLiveTranslationEntry)
|
||||
|
||||
// disable interrupts
|
||||
mrs x2, daif
|
||||
|
|
Loading…
Reference in New Issue