Reviewed-by: Star Zeng <[email protected]> to this patch series. Thanks, Star -----Original Message----- From: edk2-devel [mailto:[email protected]] On Behalf Of Hao Wu Sent: Friday, July 20, 2018 1:26 PM To: [email protected] Cc: Yao, Jiewen <[email protected]> Subject: [edk2] [PATCH 0/6] Check untested memory and EFI_MEMORY_RO
From: Jiewen Yao <[email protected]> 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 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

