This refactors the ARM version of CpuDxe and ArmMmuLib to align more closely
with the AARCH64 version, which primarily comes down to moving
ArmSetMemoryAttributes() to ArmMmuLib, where it can be used by non-DXE
modules such as DxeIpl. This is a PEI module which is in charge of
configuring the non-executable DXE stack.
Changes since v1:
- committed and dropped patch to fix RETURN_STATUS/EFI_STATUS disparities
in function prototypes
- incorporated coding style feedback from Leif
- add R-b's from Leif and Laszlo
Ard Biesheuvel (4):
ArmPkg: move ARM version of SetMemoryAttributes to ArmMmuLib
ArmPkg/ArmMmuLib: remove VirtualMask arg from ArmSetMemoryAttributes
ArmPkg/ArmMmuLib ARM: implement memory permission control routines
ArmVirtPkg: enable non-executable DXE stack for all platforms
ArmPkg/Drivers/CpuDxe/Arm/Mmu.c | 410 --------------------
ArmPkg/Drivers/CpuDxe/CpuDxe.h | 14 +-
ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c | 2 +-
ArmPkg/Include/Chipset/ArmV7Mmu.h | 6 +
ArmPkg/Include/Library/ArmMmuLib.h | 7 +
ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c | 5 +-
ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibCore.c | 394 ++++++++++++++++++-
ArmVirtPkg/ArmVirt.dsc.inc | 5 +
ArmVirtPkg/ArmVirtQemu.dsc | 2 -
ArmVirtPkg/ArmVirtQemuKernel.dsc | 2 -
10 files changed, 412 insertions(+), 435 deletions(-)
--
2.7.4
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel