Re: [edk2] [PATCH] MdeModulePkg/PiSmmCore: AllocatePool should use MemoryType.

2016-12-06 Thread Fan, Jeff
/** + 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, December 01, 2016 4:23 PM

Re: [edk2] [PATCH] MdeModulePkg/PiSmmCore: AllocatePool should use MemoryType.

2016-12-02 Thread Laszlo Ersek
on the cover letter can be "various fixes" or some such. Thanks! Laszlo > > > > Thank you > > Yao Jiewen > > > > *From:*Laszlo Ersek [mailto:ler...@redhat.com] > *Sent:* Friday, December 2, 2016 5:51 AM > *To:* Yao, Jiewen ; edk2-de...@ml01.01.or

Re: [edk2] [PATCH] MdeModulePkg/PiSmmCore: AllocatePool should use MemoryType.

2016-12-01 Thread Yao, Jiewen
, 2016 5:51 AM To: Yao, Jiewen ; edk2-de...@ml01.01.org Cc: Kinney, Michael D ; Fan, Jeff Subject: Re: [edk2] [PATCH] MdeModulePkg/PiSmmCore: AllocatePool should use MemoryType. On 12/01/16 09:23, Jiewen Yao wrote: > PiSmmCore supports page level protection based upon the Memory T

Re: [edk2] [PATCH] MdeModulePkg/PiSmmCore: AllocatePool should use MemoryType.

2016-12-01 Thread Laszlo Ersek
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 EfiRuntimeServices