qemu-e2k/hw/arm
Peter Maydell c23045ded7 arm/boot: Free dtb blob memory after use
The dtb blob returned by load_device_tree() is in memory allocated
with g_malloc(). Free it accordingly once we have copied its
contents into the guest memory. To make this easy, we need also to
clean up the error handling in load_dtb() so that we consistently
handle errors in the same way (by printing a message and then
returning -1, rather than either plowing on or exiting immediately).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id: 1371209256-11408-1-git-send-email-peter.maydell@linaro.org
2013-06-25 18:34:13 +01:00
..
armv7m.c Remove unneeded type casts 2013-04-19 11:36:33 +02:00
boot.c arm/boot: Free dtb blob memory after use 2013-06-25 18:34:13 +01:00
collie.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
exynos4_boards.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
exynos4210.c exynos4210.c: register rom_mem for memory migration 2013-06-03 17:17:46 +01:00
gumstix.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
highbank.c remove some double-includes 2013-05-18 16:35:12 +04:00
integratorcp.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
kzm.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
mainstone.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
Makefile.objs
musicpal.c console: add device link to QemuConsoles 2013-04-25 14:45:46 -05:00
nseries.c Remove unneeded type casts 2013-04-19 11:36:33 +02:00
omap1.c Remove unneeded type casts 2013-04-19 11:36:33 +02:00
omap2.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
omap_sx1.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
palm.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
pic_cpu.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
pxa2xx_gpio.c
pxa2xx_pic.c
pxa2xx.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
realview.c versatile_pci: Expose PCI memory space to system 2013-04-19 11:15:20 +01:00
spitz.c spitz: fix compilation failure due to pty.h namespace pollution 2013-05-14 08:53:16 -05:00
stellaris.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
strongarm.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
strongarm.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
tosa.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
versatilepb.c versatile_pci: Expose PCI memory space to system 2013-04-19 11:15:20 +01:00
vexpress.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
xilinx_zynq.c xilinx_spips: seperate SPI and QSPI as two classes 2013-06-03 17:17:41 +01:00
z2.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00