diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-10 14:35:38 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-11 12:29:31 +0200 |
commit | e4d37ada015fe4808eb451730bfa49167a6e3cbc (patch) | |
tree | 908e2b744527734a5a6bad1f611cce5bd85d513e /ArmPkg | |
parent | 0efaa42f6e0677a64ca8c952eae64333b61f19d3 (diff) | |
download | edk2-platforms-e4d37ada015fe4808eb451730bfa49167a6e3cbc.tar.xz |
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>
Diffstat (limited to 'ArmPkg')
-rw-r--r-- | ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S index 3834da7bfe..90192df24f 100644 --- a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S +++ b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S @@ -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
|