From: Laszlo Ersek <lersek@redhat.com>
To: Jiewen Yao <jiewen.yao@intel.com>, edk2-devel@ml01.01.org
Cc: Michael D Kinney <michael.d.kinney@intel.com>,
Jeff Fan <jeff.fan@intel.com>
Subject: Re: [PATCH] MdeModulePkg/PiSmmCore: AllocatePool should use MemoryType.
Date: Thu, 1 Dec 2016 22:51:16 +0100 [thread overview]
Message-ID: <d41e7d15-477c-0817-7ccd-2048431a7734@redhat.com> (raw)
In-Reply-To: <1480580607-19928-1-git-send-email-jiewen.yao@intel.com>
On 12/01/16 09:23, Jiewen Yao wrote:
> PiSmmCore supports page level protection based upon the Memory Type
> (EfiRuntimeServicesCode/EfiRuntimeServicesData) and PE image.
>
> However, the Memory Type information is ignored in AllocatePool().
> If a caller calls AllocatePool with EfiRuntimeServicesCode,
> the final memory is still allocated as EfiRuntimeServicesData.
>
> This patch supports AllocatePool with EfiRuntimeServicesCode.
>
> Cc: Jeff Fan <jeff.fan@intel.com>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Laszlo Ersek <lersek@redhat.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
> ---
> MdeModulePkg/Core/PiSmmCore/PiSmmCore.h | 13 ++-
> MdeModulePkg/Core/PiSmmCore/Pool.c | 66 +++++++++---
> MdeModulePkg/Core/PiSmmCore/SmramProfileRecord.c | 114 +++++++++++---------
> 3 files changed, 124 insertions(+), 69 deletions(-)
series
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
(Please make sure to number the patches in the series next time.)
Thanks
Laszlo
next prev parent reply other threads:[~2016-12-01 21:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-01 8:23 [PATCH] MdeModulePkg/PiSmmCore: AllocatePool should use MemoryType Jiewen Yao
2016-12-01 8:23 ` [PATCH] MdeModulePkg/PiSmmCore: MemoryAttributeTable need keep non-PE record Jiewen Yao
2016-12-07 5:27 ` Fan, Jeff
2016-12-01 8:23 ` [PATCH] MdeModulePkg/PiSmmCore; Use DEBUG_WARN for non 4k aligned image Jiewen Yao
2016-12-07 2:59 ` Fan, Jeff
2016-12-01 8:23 ` [PATCH] MdeModulePkg/PiSmmCore: use EfiPagesToSize to prevent build error Jiewen Yao
2016-12-07 3:02 ` Fan, Jeff
2016-12-01 21:51 ` Laszlo Ersek [this message]
2016-12-02 2:03 ` [PATCH] MdeModulePkg/PiSmmCore: AllocatePool should use MemoryType Yao, Jiewen
2016-12-02 9:44 ` Laszlo Ersek
2016-12-07 1:59 ` Fan, Jeff
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=d41e7d15-477c-0817-7ccd-2048431a7734@redhat.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