summaryrefslogtreecommitdiff
path: root/UnixPkg
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-09-18 02:02:11 +0000
committerlzeng14 <lzeng14@Edk2>2015-09-18 02:02:11 +0000
commit3a05b13106d15ae161489d43d9d2f2311b2241db (patch)
treee7b0cc744a92689d2c6239dd907f345a06b488ff /UnixPkg
parent1fab91765f9c3687ba48625323b634f246c2ee10 (diff)
downloadedk2-platforms-3a05b13106d15ae161489d43d9d2f2311b2241db.tar.xz
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
Diffstat (limited to 'UnixPkg')
0 files changed, 0 insertions, 0 deletions