summaryrefslogtreecommitdiffstats
path: root/hw/arm/digic_boards.c
diff options
context:
space:
mode:
authorArd Biesheuvel2014-09-12 15:06:50 +0200
committerPeter Maydell2014-09-12 15:06:50 +0200
commitfee8ea12eba366db5ef8f72478cb746bda375d6f (patch)
tree1b17fc91d9af50058249fc530168649b3fffa5b3 /hw/arm/digic_boards.c
parenthw/arm/boot: load DTB as a ROM image (diff)
downloadqemu-fee8ea12eba366db5ef8f72478cb746bda375d6f.tar.gz
qemu-fee8ea12eba366db5ef8f72478cb746bda375d6f.tar.xz
qemu-fee8ea12eba366db5ef8f72478cb746bda375d6f.zip
hw/arm/boot: pass an address limit to and return size from load_dtb()
Add an address limit input parameter to load_dtb() so that we can tell load_dtb() how much memory the dtb is allowed to consume. If the dtb doesn't fit, return 0, otherwise return the actual size of the loaded dtb. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Message-id: 1410453915-9344-3-git-send-email-ard.biesheuvel@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/digic_boards.c')
0 files changed, 0 insertions, 0 deletions