hw/mips: align initrd to 64KB to avoid kernel error
commit05b3274b6bedb68ff78b76c642e17e97f3181c2f
authorJames Hogan <james.hogan@imgtec.com>
Thu, 27 Jun 2013 07:35:27 +0000 (27 08:35 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 28 Jul 2013 22:27:35 +0000 (29 00:27 +0200)
tree8f67e370a9baa134479510ec1a96fe4f73355008
parentea0a4f34418c9f2cad9722bb27acd6349148fac0
hw/mips: align initrd to 64KB to avoid kernel error

The Linux kernel can be configured to use 64KB pages, but it also
requires initrd to be page aligned. Therefore, to be safe, align the
initrd to 64KB using a new INITRD_PAGE_MASK rather than
TARGET_PAGE_MASK.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/mips/mips_fulong2e.c
hw/mips/mips_malta.c
hw/mips/mips_mipssim.c
hw/mips/mips_r4k.c
include/hw/mips/mips.h