Message ID | 1470842282-8415-14-git-send-email-ard.biesheuvel@linaro.org |
---|---|
State | Accepted |
Commit | e4d37ada015fe4808eb451730bfa49167a6e3cbc |
Headers | show |
diff --git a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S index 3834da7bfedd..90192df24f55 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
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> --- ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel