mirror_edk2/MdeModulePkg/Core/Dxe
Star Zeng 3a05b13106 MdeModulePkg DxeCore: Take the range in resource HOB for PHIT as higher priority
Take the range in the resource descriptor HOB for the memory region described
by the PHIT as higher priority if it is big enough. It can make the memory bin
allocated to be at the same memory region with PHIT that has more better compatibility
to avoid memory fragmentation for some code practices assume and allocate <4G ACPI memory.

Also let the minimal memory size needed include the total memory bin size needed to
make sure memory bin could be allocated successfully.

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

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18503 6f19259b-4bc3-4df7-8a09-765794883524
2015-09-18 02:02:11 +00:00
..
Dispatcher MdeModulePkg DxeCore: Fix VS2013 build failure. 2014-11-19 07:11:59 +00:00
DxeMain MdeModulePkg DxeCore: Move ProcessLibraryConstructorList() 2015-08-04 01:41:48 +00:00
Event MdeModulePkg DxeCore: Add debug message to assist TPL related issues. 2015-06-01 06:40:38 +00:00
FwVol MdeModulePkg DxeCore: Fix potential FV overflow of 4GB boundary on a 32-bit systems. 2014-12-17 00:39:51 +00:00
FwVolBlock DxeCore is designed to trust input data, so add comments to reminder caller to do check to follow PI specification when necessary. 2014-01-17 03:42:09 +00:00
Gcd MdeModulePkg DxeCore: Take the range in resource HOB for PHIT as higher priority 2015-09-18 02:02:11 +00:00
Hand Update code to support VS2013 tool chain. 2014-07-28 07:52:57 +00:00
Image MdeModulePkg: Update DxeCore to handle LoadFile DevicePath 2015-07-02 04:28:21 +00:00
Library Update the copyright notice format 2010-04-24 09:49:11 +00:00
Mem MdeModulePkg: Merge GCD range before convert it to EFI memory 2015-07-02 07:48:48 +00:00
Misc MdeModulePkg: Refine code to make it more readable. 2015-07-03 01:39:06 +00:00
SectionExtraction MdeModulePkg DxeCore: Don't cache memory mapped IO FV. 2014-08-27 08:31:44 +00:00
DxeCore.uni MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeCoreExtra.uni MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:53:43 +00:00
DxeMain.h MdeModulePkg: move arch-specific allocation granularity defines to DxeMain.h 2015-07-02 07:32:44 +00:00
DxeMain.inf MdeModulePkg: rename PropertiesTableEnable to PcdPropertiesTableEnable 2015-07-02 07:32:33 +00:00