public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/5] ArmPkg, ArmVirtPkg ARM: enable non-executable stack
@ 2017-03-01 16:31 Ard Biesheuvel
  2017-03-01 16:31 ` [PATCH 1/5] ArmPkg/ArmMmuLib AARCH64: use correct return type for exported functions Ard Biesheuvel
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Ard Biesheuvel @ 2017-03-01 16:31 UTC (permalink / raw)
  To: edk2-devel, leif.lindholm, lersek; +Cc: Ard Biesheuvel

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



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-03-06 16:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-01 16:31 [PATCH 0/5] ArmPkg, ArmVirtPkg ARM: enable non-executable stack Ard Biesheuvel
2017-03-01 16:31 ` [PATCH 1/5] ArmPkg/ArmMmuLib AARCH64: use correct return type for exported functions Ard Biesheuvel
2017-03-06 14:57   ` Leif Lindholm
2017-03-01 16:31 ` [PATCH 2/5] ArmPkg: move ARM version of SetMemoryAttributes to ArmMmuLib Ard Biesheuvel
2017-03-06 16:03   ` Leif Lindholm
2017-03-06 16:05     ` Ard Biesheuvel
2017-03-06 16:21       ` Leif Lindholm
2017-03-01 16:31 ` [PATCH 3/5] ArmPkg/ArmMmuLib: remove VirtualMask arg from ArmSetMemoryAttributes Ard Biesheuvel
2017-03-06 16:06   ` Leif Lindholm
2017-03-01 16:31 ` [PATCH 4/5] ArmPkg/ArmMmuLib ARM: implement memory permission control routines Ard Biesheuvel
2017-03-06 16:11   ` Leif Lindholm
2017-03-01 16:31 ` [PATCH 5/5] ArmVirtPkg: enable non-executable DXE stack for all platforms Ard Biesheuvel
2017-03-01 19:10   ` Laszlo Ersek
2017-03-01 19:10     ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox