From e4d37ada015fe4808eb451730bfa49167a6e3cbc Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Wed, 10 Aug 2016 14:35:38 +0200 Subject: 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 Reviewed-by: Leif Lindholm --- ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ArmPkg') 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 -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 -- cgit v1.2.3