hw/arm_boot.c: Check for RAM sizes exceeding ATAGS capacity
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Jul 2012 12:34:50 +0000 (13:34 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Jul 2012 12:34:50 +0000 (13:34 +0100)
commit3871481c0a3f64f25563a5a246c188acdc01ee49
tree9f58ada541a598459b540a172cd44528e586c5a2
parent0b94438480c8f52cc9e22b1038e6ba5096245c4e
hw/arm_boot.c: Check for RAM sizes exceeding ATAGS capacity

The legacy ATAGS format for passing information to the kernel only
allows RAM sizes which fit in 32 bits; enforce this restriction
rather than silently doing something weird.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
hw/arm_boot.c