/**
+ Convert a UEFI memory type to SMM pool type.
+
+ @param[in] PoolType Type of pool to allocate.
[Jeff] Typo. *PoolType* should be *MemoryType*.
Reviewed-by: Jeff Fan with this typo fix.
-Original Message-
From: Yao, Jiewen
Sent: Thursday,
..@ml01.01.org
> *Cc:* Kinney, Michael D <michael.d.kin...@intel.com>; Fan, Jeff
> <jeff@intel.com>
> *Subject:* Re: [edk2] [PATCH] MdeModulePkg/PiSmmCore: AllocatePool
> should use MemoryType.
>
>
>
> On 12/01/16 09:23, Jiewen Yao wrote:
>> PiS
, 2016 5:51 AM
To: Yao, Jiewen <jiewen@intel.com>; edk2-de...@ml01.01.org
Cc: Kinney, Michael D <michael.d.kin...@intel.com>; Fan, Jeff
<jeff@intel.com>
Subject: Re: [edk2] [PATCH] MdeModulePkg/PiSmmCore: AllocatePool should use
MemoryType.
On 12/01/16 09:23, Jiewen Yao
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
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
5 matches
Mail list logo