audk/MdeModulePkg
Star Zeng f3b6e048e2 MdeModulePkg PiSmmCoreMemoryAllocationLib: Get SMRAM ranges
from FullSmramRanges and FullSmramRangeCount in SmmCorePrivate by Constructor.

It can avoid potential first call to FreePool() -> BufferInSmram() ->
if (mSmramRanges == NULL) { GetSmramRanges();} ->
gBS->LocateProtocol() at boottime with >= TPL_NOTIFY or
after ReadyToLock or at OS runtime.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17463 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-18 01:46:40 +00:00
..
Application MdeModulePkg: Update memory profile for OEM reserved memory type. 2015-05-18 01:30:04 +00:00
Bus MdePkg, MdeModulePkg: Remove EFI_ABORTED from I2C protocols per PI spec 1.4. 2015-05-08 07:30:45 +00:00
Core MdeModulePkg: Update memory profile for OEM reserved memory type. 2015-05-18 01:30:04 +00:00
Include MdeModulePkg: Update memory profile for OEM reserved memory type. 2015-05-18 01:30:04 +00:00
Library MdeModulePkg PiSmmCoreMemoryAllocationLib: Get SMRAM ranges 2015-05-18 01:46:40 +00:00
Logo MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
Universal MdeModulePkg: Add UNI files for DriverHealthManagerDxe driver. 2015-05-15 08:46:34 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
MdeModulePkg.dec MdeModulePkg: Update memory profile for OEM reserved memory type. 2015-05-18 01:30:04 +00:00
MdeModulePkg.dsc MdeModulePkg: Add ESRT management module. 2015-05-13 08:30:45 +00:00
MdeModulePkg.uni MdeModulePkg: Update memory profile for OEM reserved memory type. 2015-05-18 01:30:04 +00:00
MdeModulePkgExtra.uni MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:55:48 +00:00