ArmVirtPkg: ArmVirtPlatformLib: find the lowest memory node
authorShannon Zhao <shannon.zhao@linaro.org>
Fri, 4 Dec 2015 16:17:12 +0000 (16:17 +0000)
committerlersek <lersek@Edk2>
Fri, 4 Dec 2015 16:17:12 +0000 (16:17 +0000)
commit45f9bb91b037f87c4853cac58457d2abc958829f
tree7402ee21d93b37f6f1d61650c862c5572f9fc803
parent17247f53d59077ca04dea27e848c409d065eb478
ArmVirtPkg: ArmVirtPlatformLib: find the lowest memory node

While QEMU NUMA support on ARM will introduce more than one /memory node
in the device tree, it needs to find the lowest one and set
PcdSystemMemorySize with the actual size of this memory node.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19123 6f19259b-4bc3-4df7-8a09-765794883524
ArmVirtPkg/Library/ArmVirtPlatformLib/Virt.c