From 5db1cce1452d5a5ec635572e072a42fb111b1009 Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Thu, 16 Jun 2016 11:51:10 +0200 Subject: ArmPkg ArmVirtPkg MdeModulePkg: switch to separate ArmMmuLib Switch all users of ArmLib that depend on the MMU routines to the new, separate ArmMmuLib. This needs to occur in one go, since the MMU routines are removed from ArmLib build at the same time, to prevent conflicting symbols. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Acked-by: Laszlo Ersek Reviewed-by: Star Zeng --- ArmPkg/Include/Library/ArmLib.h | 38 -------------------------------------- 1 file changed, 38 deletions(-) (limited to 'ArmPkg/Include') diff --git a/ArmPkg/Include/Library/ArmLib.h b/ArmPkg/Include/Library/ArmLib.h index 4608b0cccc..40d97e09b5 100644 --- a/ArmPkg/Include/Library/ArmLib.h +++ b/ArmPkg/Include/Library/ArmLib.h @@ -371,14 +371,6 @@ ArmGetTTBR0BaseAddress ( VOID ); -RETURN_STATUS -EFIAPI -ArmConfigureMmu ( - IN ARM_MEMORY_REGION_DESCRIPTOR *MemoryTable, - OUT VOID **TranslationTableBase OPTIONAL, - OUT UINTN *TranslationTableSize OPTIONAL - ); - BOOLEAN EFIAPI ArmMmuEnabled ( @@ -595,34 +587,4 @@ ArmUnsetCpuActlrBit ( IN UINTN Bits ); -RETURN_STATUS -ArmSetMemoryRegionNoExec ( - IN EFI_PHYSICAL_ADDRESS BaseAddress, - IN UINT64 Length - ); - -RETURN_STATUS -ArmClearMemoryRegionNoExec ( - IN EFI_PHYSICAL_ADDRESS BaseAddress, - IN UINT64 Length - ); - -RETURN_STATUS -ArmSetMemoryRegionReadOnly ( - IN EFI_PHYSICAL_ADDRESS BaseAddress, - IN UINT64 Length - ); - -RETURN_STATUS -ArmClearMemoryRegionReadOnly ( - IN EFI_PHYSICAL_ADDRESS BaseAddress, - IN UINT64 Length - ); - -VOID -ArmReplaceLiveTranslationEntry ( - IN UINT64 *Entry, - IN UINT64 Value - ); - #endif // __ARM_LIB__ -- cgit v1.2.3