]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c
ArmPkg: Changed Uncached System Memory from EFI_MEMORY_UC to EFI_MEMORY_WC
[mirror_edk2.git] / ArmPkg / Library / UncachedMemoryAllocationLib / UncachedMemoryAllocationLib.c
index 657268a288e753cef9333efee8daa89d29d2410e..4db93dbd2d65f68ffe706af81b26b307ac96ac25 100644 (file)
@@ -245,7 +245,7 @@ UncachedInternalAllocateAlignedPages (
     gAttributes = Descriptor.Attributes;\r
   }\r
   \r
-  Status = gDS->SetMemorySpaceAttributes (Memory, EFI_PAGES_TO_SIZE (Pages), EFI_MEMORY_UC);\r
+  Status = gDS->SetMemorySpaceAttributes (Memory, EFI_PAGES_TO_SIZE (Pages), EFI_MEMORY_WC);\r
   ASSERT_EFI_ERROR (Status);\r
   \r
   return (VOID *)(UINTN)Memory;\r