Re: [Qemu-devel] [PATCH 3/6] hw/arm_boot.c: Check for RAM sizes exceeding ATAGS capacity

2012-07-06 Thread Peter Maydell
On 6 July 2012 03:05, Peter Crosthwaite peter.crosthwa...@petalogix.com wrote: On Fri, Jul 6, 2012 at 3:00 AM, Peter Maydell peter.mayd...@linaro.org wrote: +if (info-ram_size = (1ULL 32)) { +fprintf(stderr, qemu: RAM size must be less than 4GB to boot +

[Qemu-devel] [PATCH 3/6] hw/arm_boot.c: Check for RAM sizes exceeding ATAGS capacity

2012-07-05 Thread Peter Maydell
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.mayd...@linaro.org --- hw/arm_boot.c |5 + 1 files changed, 5 insertions(+), 0

Re: [Qemu-devel] [PATCH 3/6] hw/arm_boot.c: Check for RAM sizes exceeding ATAGS capacity

2012-07-05 Thread Peter Crosthwaite
On Fri, Jul 6, 2012 at 3:00 AM, Peter Maydell peter.mayd...@linaro.org wrote: 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