summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell2021-02-15 12:51:33 +0100
committerPeter Maydell2021-03-06 14:30:39 +0100
commita113aef998fe02154d2c95f34d38975648011dbb (patch)
tree197a7dea7f8a9de67812bbdc9d200dc43735e15a /include
parenthw/arm/mps2-tz: Support ROMs as well as RAMs (diff)
downloadqemu-a113aef998fe02154d2c95f34d38975648011dbb.tar.gz
qemu-a113aef998fe02154d2c95f34d38975648011dbb.tar.xz
qemu-a113aef998fe02154d2c95f34d38975648011dbb.zip
hw/arm/mps2-tz: Get armv7m_load_kernel() size argument from RAMInfo
The armv7m_load_kernel() function takes a mem_size argument which it expects to be the size of the memory region at guest address 0. (It uses this argument only as a limit on how large a raw image file it can load at address zero). Instead of hardcoding this value, find the RAMInfo corresponding to the 0 address and extract its size. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210215115138.20465-20-peter.maydell@linaro.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions