diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-10 13:43:17 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-11 12:29:31 +0200 |
commit | 2b47cdc9364f0d94946957aa703237deacdf93ac (patch) | |
tree | 06083a160bed5bdecc0f9aacdd3c636163cf896f /ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S | |
parent | bfaa3b5b7fad475355ef28bb96749d2410ef75b0 (diff) | |
download | edk2-2b47cdc9364f0d94946957aa703237deacdf93ac.tar.gz |
ArmLib: remove ArmReplaceLiveTranslationEntry() implementation
The function ArmReplaceLiveTranslationEntry() has been moved to
ArmMmuLib, so remove the old implementation from ArmLib.
Note that the new implementation was not exported from the object file,
and so references to it were satisfied by the old version residing in
ArmLib. Since we are removing that one, we need to export the new one
at the same time to prevent the linker from bailing with undefined
reference errors.
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/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S')
-rw-r--r-- | ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S index 7c5d205d94..3834da7bfe 100644 --- a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S +++ b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S @@ -14,6 +14,8 @@ #include <AsmMacroIoLibV8.h>
+GCC_ASM_EXPORT(ArmReplaceLiveTranslationEntry)
+
.set CTRL_M_BIT, (1 << 0)
.macro __replace_entry, el
@@ -72,5 +74,7 @@ ASM_PFX(ArmReplaceLiveTranslationEntry): 4:msr daif, x2
ret
+ASM_GLOBAL ASM_PFX(ArmReplaceLiveTranslationEntrySize)
+
ASM_PFX(ArmReplaceLiveTranslationEntrySize):
.long . - ArmReplaceLiveTranslationEntry
|