audk/ArmVirtPkg
Ard Biesheuvel 2f71ad11d6 ArmVirtPkg: reduce preallocation of boot services data pages
Commit SVN r18503 ("MdeModulePkg DxeCore: Take the range in resource
HOB for PHIT as higher priority") changed the GCD init logic to take
the sum of the region sizes in gMemoryTypeInformation[] into account
when estimating the minimal amount of memory needed to boot the system.

Unfortunately, as an unintended side effect, this change results in boot
failures of ArmVirtQemu when running with QEMU's default memory size of
128 MB. The reason is that the sum of the gMemoryTypeInformation region
sizes plus the size of the inital PEI region exceeds 128 MB. Since we do
not actually need to preallocate 20,000 pages' worth of BootServicesData
memory, reduce this figure to the more reasonable 12,000.

Reported-by: Mark Rutland <mark.rutland@arm.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18533 6f19259b-4bc3-4df7-8a09-765794883524
2015-09-22 15:50:30 +00:00
..
Include Renamed ArmPlatformPkg/ArmVirtualizationPkg into ArmVirtPkg 2015-05-29 13:50:43 +00:00
Library ArmVirtPkg: PlatformIntelBdsLib: signal ReadyToBoot on direct kernel boot 2015-09-18 13:58:35 +00:00
PciHostBridgeDxe Renamed ArmPlatformPkg/ArmVirtualizationPkg into ArmVirtPkg 2015-05-29 13:50:43 +00:00
PrePi ArmVirtPkg: use global section alignment in custom linker script 2015-08-11 12:32:45 +00:00
VirtFdtDxe ArmVirtPkg: record GIC revision in dynamic PCD 2015-07-28 20:45:25 +00:00
ArmVirt.dsc.inc ArmVirtPkg: reduce preallocation of boot services data pages 2015-09-22 15:50:30 +00:00
ArmVirtPkg.dec ArmVirtPkg: record GIC revision in dynamic PCD 2015-07-28 20:45:25 +00:00
ArmVirtQemu.dsc ArmVirtPkg: Link separated VarCheckUefiLib NULL class library instance 2015-08-25 03:03:23 +00:00
ArmVirtQemu.fdf ArmVirtPkg: revert "ArmVirtPkg: add QemuFwCfgToPcdDxe" 2015-08-06 10:13:50 +00:00
ArmVirtXen.dsc ArmVirtPkg/ArmVirtXen: add missing BdsLib instance 2015-08-04 19:44:25 +00:00
ArmVirtXen.fdf ArmVirtPkg: use 'auto' alignment and FIXED placement for XIP modules 2015-07-31 08:24:18 +00:00
Contributions.txt ArmVirtPkg: add "Contributions.txt" and "License.txt" 2015-06-08 22:00:36 +00:00
License.txt ArmVirtPkg: add "Contributions.txt" and "License.txt" 2015-06-08 22:00:36 +00:00