From: Jian J Wang <jian.j.wang@intel.com>
To: edk2-devel@lists.01.org
Subject: [PATCH 0/2] add sanity check for SetMemoryAttributes
Date: Wed, 11 Apr 2018 16:38:44 +0800 [thread overview]
Message-ID: <20180411083846.7300-1-jian.j.wang@intel.com> (raw)
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
next reply other threads:[~2018-04-11 8:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-11 8:38 Jian J Wang [this message]
2018-04-11 8:38 ` [PATCH 1/2] MdeModulePkg/DxeCore: add sanity check for SetMemoryAttributes Jian J Wang
2018-04-11 8:38 ` [PATCH 2/2] MdeModulePkg/SmmCore: " Jian J Wang
2018-04-12 5:54 ` [PATCH 0/2] " Zeng, Star
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180411083846.7300-1-jian.j.wang@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox