]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c
ArmPkg/CpuDxe: Correct EFI_MEMORY_RO usage
authorJiewen Yao <jiewen.yao@intel.com>
Thu, 9 Feb 2017 07:20:30 +0000 (23:20 -0800)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 21 Feb 2017 17:23:03 +0000 (17:23 +0000)
commitb7a09b71b67cf2d64e90d686c3525a8022bd5579
treeecf07306e55b70e2ac208f638336127685eb261e
parentdf73df138d9d53f7f7570f4fe97a6cde941a2656
ArmPkg/CpuDxe: Correct EFI_MEMORY_RO usage

Current Arm CpuDxe driver uses EFI_MEMORY_WP for write protection,
according to UEFI spec, we should use EFI_MEMORY_RO for write protection.
The EFI_MEMORY_WP is the cache attribute instead of memory attribute.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c
ArmPkg/Drivers/CpuDxe/Arm/Mmu.c
ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c
ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c