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....@intel.com>
> Cc: Michael D Kinney <michael.d.kin...@intel.com>
> Cc: Laszlo Ersek <ler...@redhat.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Jiewen Yao <jiewen....@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 <ler...@redhat.com>

(Please make sure to number the patches in the series next time.)

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

Reply via email to