X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPkg%2FDrivers%2FCpuDxe%2FCpuMmuCommon.c;fp=ArmPkg%2FDrivers%2FCpuDxe%2FCpuMmuCommon.c;h=8150486217cf11a723c13c82c274d40d43a63aa1;hp=d0a3fedd3aa7a6a27e9f000c31dae1a8f1a7e178;hb=d9c0d991f769c50e69d14a006bdbaaf31986143a;hpb=521f3cedac4574c1431a3ad852ad160d9f849358 diff --git a/ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c b/ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c index d0a3fedd3a..8150486217 100644 --- a/ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c +++ b/ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c @@ -210,7 +210,7 @@ CpuSetMemoryAttributes ( if (EFI_ERROR (Status) || (RegionArmAttributes != ArmAttributes) || ((BaseAddress + Length) > (RegionBaseAddress + RegionLength))) { - return ArmSetMemoryAttributes (BaseAddress, Length, EfiAttributes, 0); + return ArmSetMemoryAttributes (BaseAddress, Length, EfiAttributes); } else { return EFI_SUCCESS; }