20ArmMmuPeiLibConstructor (
25 extern UINT32 ArmReplaceLiveTranslationEntrySize;
26 ARM_REPLACE_LIVE_TRANSLATION_ENTRY ArmReplaceLiveTranslationEntryFunc;
32 ASSERT (FileHandle !=
NULL);
34 Status = (*PeiServices)->FfsGetFileInfo (FileHandle, &
FileInfo);
46 (
UINTN)ArmReplaceLiveTranslationEntry + ArmReplaceLiveTranslationEntrySize))
48 DEBUG ((DEBUG_INFO,
"ArmMmuLib: skipping cache maintenance on XIP PEIM\n"));
55 ArmReplaceLiveTranslationEntryFunc = ArmReplaceLiveTranslationEntry;
58 &gArmMmuReplaceLiveTranslationEntryFuncGuid,
59 &ArmReplaceLiveTranslationEntryFunc,
60 sizeof ArmReplaceLiveTranslationEntryFunc
64 DEBUG ((DEBUG_INFO,
"ArmMmuLib: performing cache maintenance on shadowed PEIM\n"));
70 (VOID *)(
UINTN)ArmReplaceLiveTranslationEntry,
71 ArmReplaceLiveTranslationEntrySize
VOID *EFIAPI WriteBackDataCacheRange(IN VOID *Address, IN UINTN Length)
VOID *EFIAPI BuildGuidDataHob(IN CONST EFI_GUID *Guid, IN VOID *Data, IN UINTN DataLength)
#define ASSERT_EFI_ERROR(StatusParameter)
#define DEBUG(Expression)
VOID * EFI_PEI_FILE_HANDLE
EFI_FILE_INFO * FileInfo(IN EFI_FILE_HANDLE FHand)