Reviewed-by: Star Zeng <star.z...@intel.com>

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-boun...@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

Reply via email to