aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/tosa.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2019-05-16 15:47:31 +0100
committerPeter Maydell <peter.maydell@linaro.org>2019-06-17 15:11:18 +0100
commit852dc64d665f89d8b54dd9aa7e36c3ff12bef775 (patch)
tree63b1caeb041967bf57ab9d88195c634c58f172e5 /hw/arm/tosa.c
parente70af24b42190481e19c9adb727b97a0fc794ea8 (diff)
downloadqemu-852dc64d665f89d8b54dd9aa7e36c3ff12bef775.zip
qemu-852dc64d665f89d8b54dd9aa7e36c3ff12bef775.tar.gz
qemu-852dc64d665f89d8b54dd9aa7e36c3ff12bef775.tar.bz2
hw/arm/boot: Diagnose layouts that put initrd or DTB off the end of RAM
We calculate the locations in memory where we want to put the initrd and the DTB based on the size of the kernel, since they come after it. Add some explicit checks that these aren't off the end of RAM entirely. (At the moment the way we calculate the initrd_start means that it can't ever be off the end of RAM, but that will change with the next commit.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Tested-by: Mark Rutland <mark.rutland@arm.com> Message-id: 20190516144733.32399-3-peter.maydell@linaro.org
Diffstat (limited to 'hw/arm/tosa.c')
0 files changed, 0 insertions, 0 deletions