[edk2-devel] [PATCH v3 0/5] ArmPkg: implement EFI memory attributes protocol

Ard Biesheuvel posted 5 patches 1 year, 2 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c           |   8 +
ArmPkg/Drivers/CpuDxe/Arm/Mmu.c               |  16 ++
ArmPkg/Drivers/CpuDxe/CpuDxe.c                |   2 +
ArmPkg/Drivers/CpuDxe/CpuDxe.h                |   8 +
ArmPkg/Drivers/CpuDxe/CpuDxe.inf              |   2 +
ArmPkg/Drivers/CpuDxe/MemoryAttribute.c       | 252 ++++++++++++++++++++
ArmPkg/Include/Chipset/ArmV7Mmu.h             |   2 +
MdeModulePkg/Core/Dxe/DxeMain.inf             |   1 +
MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c |  79 +++++-
MdePkg/Include/Protocol/MemoryAttribute.h     | 142 +++++++++++
MdePkg/MdePkg.dec                             |   3 +
11 files changed, 512 insertions(+), 3 deletions(-)
create mode 100644 ArmPkg/Drivers/CpuDxe/MemoryAttribute.c
create mode 100644 MdePkg/Include/Protocol/MemoryAttribute.h
[edk2-devel] [PATCH v3 0/5] ArmPkg: implement EFI memory attributes protocol
Posted by Ard Biesheuvel 1 year, 2 months ago
v3:
- fix ARM32 bug in attribute conversion
- add Liming's ack to patch #1
- include draft patch (NOT FOR MERGE) used to test the changes

v2:
- drop patch to bump exposed UEFI revision to v2.10
- add missing permitted return values to protocol definition

Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Rebecca Cran <quic_rcran@quicinc.com>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Taylor Beebe <t@taylorbeebe.com>

Ard Biesheuvel (5):
  MdePkg: Add Memory Attribute Protocol definition
  ArmPkg/CpuDxe ARM: Fix page-to-section attribute conversion
  ArmPkg/CpuDxe: Expose unified region-to-EFI attribute conversion
  ArmPkg/CpuDxe: Implement EFI memory attributes protocol
  (NOT FOR MERGE) MdeModulePkg/DxeCore: add DEBUG code for memory attribute handling

 ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c           |   8 +
 ArmPkg/Drivers/CpuDxe/Arm/Mmu.c               |  16 ++
 ArmPkg/Drivers/CpuDxe/CpuDxe.c                |   2 +
 ArmPkg/Drivers/CpuDxe/CpuDxe.h                |   8 +
 ArmPkg/Drivers/CpuDxe/CpuDxe.inf              |   2 +
 ArmPkg/Drivers/CpuDxe/MemoryAttribute.c       | 252 ++++++++++++++++++++
 ArmPkg/Include/Chipset/ArmV7Mmu.h             |   2 +
 MdeModulePkg/Core/Dxe/DxeMain.inf             |   1 +
 MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c |  79 +++++-
 MdePkg/Include/Protocol/MemoryAttribute.h     | 142 +++++++++++
 MdePkg/MdePkg.dec                             |   3 +
 11 files changed, 512 insertions(+), 3 deletions(-)
 create mode 100644 ArmPkg/Drivers/CpuDxe/MemoryAttribute.c
 create mode 100644 MdePkg/Include/Protocol/MemoryAttribute.h

-- 
2.39.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#99700): https://edk2.groups.io/g/devel/message/99700
Mute This Topic: https://groups.io/mt/96795068/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-