[edk2] [PATCH 0/2] add sanity check for SetMemoryAttributes

Jian J Wang posted 2 patches 6 years ago
Failed in applying to current master (apply log)
MdeModulePkg/Core/Dxe/Mem/HeapGuard.c   |  9 +++++++--
MdeModulePkg/Core/PiSmmCore/HeapGuard.c | 30 ++++++++++++++++++------------
2 files changed, 25 insertions(+), 14 deletions(-)
[edk2] [PATCH 0/2] add sanity check for SetMemoryAttributes
Posted by Jian J Wang 6 years ago
Heap Guard feature needs enough memory and paging to work. Otherwise
calling SetMemoryAttributes to change page attribute will fail. This
patch add necessary check of result of calling SetMemoryAttributes.
This can help users to debug their problem in enabling this feature.

Jian J Wang (2):
  MdeModulePkg/DxeCore: add sanity check for SetMemoryAttributes
  MdeModulePkg/SmmCore: add sanity check for SetMemoryAttributes

 MdeModulePkg/Core/Dxe/Mem/HeapGuard.c   |  9 +++++++--
 MdeModulePkg/Core/PiSmmCore/HeapGuard.c | 30 ++++++++++++++++++------------
 2 files changed, 25 insertions(+), 14 deletions(-)

-- 
2.16.2.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH 0/2] add sanity check for SetMemoryAttributes
Posted by Zeng, Star 6 years ago
Reviewed-by: Star Zeng <star.zeng@intel.com>

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Jian J Wang
Sent: Wednesday, April 11, 2018 4:39 PM
To: edk2-devel@lists.01.org
Subject: [edk2] [PATCH 0/2] add sanity check for SetMemoryAttributes

Heap Guard feature needs enough memory and paging to work. Otherwise calling SetMemoryAttributes to change page attribute will fail. This patch add necessary check of result of calling SetMemoryAttributes.
This can help users to debug their problem in enabling this feature.

Jian J Wang (2):
  MdeModulePkg/DxeCore: add sanity check for SetMemoryAttributes
  MdeModulePkg/SmmCore: add sanity check for SetMemoryAttributes

 MdeModulePkg/Core/Dxe/Mem/HeapGuard.c   |  9 +++++++--
 MdeModulePkg/Core/PiSmmCore/HeapGuard.c | 30 ++++++++++++++++++------------
 2 files changed, 25 insertions(+), 14 deletions(-)

--
2.16.2.windows.1

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