X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPkg%2FLibrary%2FUncachedMemoryAllocationLib%2FUncachedMemoryAllocationLib.c;fp=ArmPkg%2FLibrary%2FUncachedMemoryAllocationLib%2FUncachedMemoryAllocationLib.c;h=830212e4d7ade9139c275304783db51c4fea92ee;hp=060ba6bf980ea596cdf907941ec868f8023f68a7;hb=d4f167a92a5455c2e90a0a69e281ecb5799678db;hpb=f4d7c87220a4aad3a5d76d54256e42db411281c5 diff --git a/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c b/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c index 060ba6bf98..830212e4d7 100644 --- a/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c +++ b/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c @@ -207,7 +207,7 @@ UncachedInternalAllocateAlignedPages ( } if (AlignedMemory != 0) { - FlushCache(AlignedMemory, EFI_PAGES_TO_SIZE(Pages)); + FlushCache (AlignedMemory, EFI_PAGES_TO_SIZE(Pages)); AlignedMemory = (UINTN)ConvertToUncachedAddress((VOID *)AlignedMemory); } @@ -318,7 +318,7 @@ UncachedInternalAllocateAlignedPool ( *FreePointer = RawAddress; if (AlignedAddress != 0) { - FlushCache(AlignedAddress, AllocationSize); + FlushCache (AlignedAddress, AllocationSize); AlignedAddress = (UINTN)ConvertToUncachedAddress((VOID *)AlignedAddress); }