public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/6] Check untested memory and EFI_MEMORY_RO
@ 2018-07-20  5:26 Hao Wu
  2018-07-20  5:26 ` [PATCH 1/6] MdePkg/SmmMemLib: Check for untested memory in GCD Hao Wu
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Hao Wu @ 2018-07-20  5:26 UTC (permalink / raw)
  To: edk2-devel; +Cc: Jiewen Yao

From: Jiewen Yao <jiewen.yao@intel.com>

This patch series adds check for untested memory in GCD
and check EFI_RUNTIME_RO in UEFI mem attrib table.

The final result is:
1) untested memory is not present in SMM page table.
2) the PE code section of runtime service is not present
in SMM page table.

Jiewen Yao (6):
  MdePkg/SmmMemLib: Check for untested memory in GCD
  UefiCpuPkg/PiSmmCpu: Check for untested memory in GCD
  MdeModulePkg/DxeCore: Install UEFI mem attrib table at EndOfDxe.
  MdePkg/SmmMemLib: Check EFI_MEMORY_RO in UEFI mem attrib table.
  UefiCpuPkg/PiSmmCpu: Check EFI_RUNTIME_RO in UEFI mem attrib table.
  MdeModulePkg/DxeCore: Not update RtCode in MemAttrTable after EndOfDxe

 MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c |  36 +++-
 MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c       |  13 ++
 MdePkg/Library/SmmMemLib/SmmMemLib.c               | 152 +++++++++++++-
 MdePkg/Library/SmmMemLib/SmmMemLib.inf             |   5 +
 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h         |   2 +
 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf       |   1 +
 UefiCpuPkg/PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c | 217 +++++++++++++++++---
 7 files changed, 392 insertions(+), 34 deletions(-)

-- 
2.16.2.windows.1



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

end of thread, other threads:[~2018-07-23  0:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-20  5:26 [PATCH 0/6] Check untested memory and EFI_MEMORY_RO Hao Wu
2018-07-20  5:26 ` [PATCH 1/6] MdePkg/SmmMemLib: Check for untested memory in GCD Hao Wu
2018-07-20  5:26 ` [PATCH 2/6] UefiCpuPkg/PiSmmCpu: " Hao Wu
2018-07-20  5:26 ` [PATCH 3/6] MdeModulePkg/DxeCore: Install UEFI mem attrib table at EndOfDxe Hao Wu
2018-07-20  5:26 ` [PATCH 4/6] MdePkg/SmmMemLib: Check EFI_MEMORY_RO in UEFI mem attrib table Hao Wu
2018-07-20  5:26 ` [PATCH 5/6] UefiCpuPkg/PiSmmCpu: Check EFI_RUNTIME_RO " Hao Wu
2018-07-20  5:26 ` [PATCH 6/6] MdeModulePkg/DxeCore: Not update RtCode in MemAttrTable after EndOfDxe Hao Wu
2018-07-23  0:47 ` [PATCH 0/6] Check untested memory and EFI_MEMORY_RO Zeng, Star

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