hw/arm_boot.c: move initrd load address up to accommodate large kernels
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 19 Apr 2011 15:32:34 +0000 (16:32 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 20 Apr 2011 11:01:04 +0000 (13:01 +0200)
commit756ba3b0127fea2bfb538d256c76f19aec126732
tree42b3374d4299c79f977767b10b5da6d4e63e46f7
parentc64b21d519a6ecae12f65625fa60f3035ed88644
hw/arm_boot.c: move initrd load address up to accommodate large kernels

Newer kernels are large enough that they can overlap the address
where qemu places the initrd. Move the initrd up so that there is
enough space for the kernel again.

Unfortunately it's not possible to automatically determine the
size of the kernel if it is compressed, so this is the best we
can do.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/arm_boot.c