summaryrefslogtreecommitdiffstats
path: root/blockdev.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-01-24 19:02:28 +0000
committerBlue Swirl <blauwirbel@gmail.com>2013-01-26 13:28:16 +0000
commit98ed805c388baaf4ce7d9acbbbc04bbf185f30fc (patch)
treef20c29810411e4db9dd5c1e2ed3606cda1e5e85b /blockdev.c
parent390999910bf1b1be59e04a0314867f4dea7a28f3 (diff)
downloadhqemu-98ed805c388baaf4ce7d9acbbbc04bbf185f30fc.zip
hqemu-98ed805c388baaf4ce7d9acbbbc04bbf185f30fc.tar.gz
hw/arm_boot: Align device tree to 4KB boundary, not page
Align the device tree blob to a 4KB boundary, not to QEMU's idea of a page boundary -- the latter is the smallest possible page size for the architecture, which on ARM is 1KB. The documentation for Linux does not impose separation or alignment requirements on the device tree blob, but in practice some kernels will happily trash the entire page the initrd ends in after they have finished uncompressing the initrd. So 4KB-align the DTB to ensure it does not get trampled by these kernels. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud