[edk2] [PATCH 0/5] ArmPkg, ArmVirtPkg ARM: enable non-executable stack

Ard Biesheuvel posted 5 patches 7 years, 1 month ago
Failed in applying to current master (apply log)
There is a newer version of this series
ArmPkg/Drivers/CpuDxe/Arm/Mmu.c                  | 368 -------------------
ArmPkg/Drivers/CpuDxe/CpuDxe.h                   |  14 +-
ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c             |   2 +-
ArmPkg/Include/Library/ArmMmuLib.h               |   7 +
ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c |  57 ++-
ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibCore.c     | 371 +++++++++++++++++++-
ArmVirtPkg/ArmVirt.dsc.inc                       |   5 +
ArmVirtPkg/ArmVirtQemu.dsc                       |   2 -
ArmVirtPkg/ArmVirtQemuKernel.dsc                 |   2 -
9 files changed, 405 insertions(+), 423 deletions(-)
[edk2] [PATCH 0/5] ArmPkg, ArmVirtPkg ARM: enable non-executable stack
Posted by Ard Biesheuvel 7 years, 1 month ago
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.

Ard Biesheuvel (5):
  ArmPkg/ArmMmuLib AARCH64: use correct return type for exported
    functions
  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                  | 368 -------------------
 ArmPkg/Drivers/CpuDxe/CpuDxe.h                   |  14 +-
 ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c             |   2 +-
 ArmPkg/Include/Library/ArmMmuLib.h               |   7 +
 ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c |  57 ++-
 ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibCore.c     | 371 +++++++++++++++++++-
 ArmVirtPkg/ArmVirt.dsc.inc                       |   5 +
 ArmVirtPkg/ArmVirtQemu.dsc                       |   2 -
 ArmVirtPkg/ArmVirtQemuKernel.dsc                 |   2 -
 9 files changed, 405 insertions(+), 423 deletions(-)

-- 
2.7.4

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel