qemu-patch-raspberry4/include/hw/arm
Peter Maydell fba0a593b2 Stop including qemu-common.h in memory.h
Including qemu-common.h from other header files is generally a bad
idea, because it means it's very easy to end up with a circular
dependency. For instance, if we wanted to include memory.h from
qom/cpu.h we'd end up with this loop:
 memory.h -> qemu-common.h -> cpu.h -> cpu-qom.h -> qom/cpu.h -> memory.h

Remove the include from memory.h. This requires us to fix up a few
other files which were inadvertently getting declarations indirectly
through memory.h.

The biggest change is splitting the fprintf_function typedef out
into its own header so other headers can get at it without having
to include qemu-common.h.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <1435933104-15216-1-git-send-email-peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-07-06 14:59:09 +02:00
..
allwinner-a10.h hw/arm/allwinner-a10: initialize EMAC 2014-02-08 14:50:48 +00:00
arm.h Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
digic.h hw/arm/digic: add UART support 2013-12-17 20:12:51 +00:00
exynos4210.h i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01:00
fdt.h hw/arm/sysbus-fdt: enable vfio-calxeda-xgmac dynamic instantiation 2015-06-19 14:17:44 +01:00
imx.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
omap.h hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
primecell.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pxa.h hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
sharpsl.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
soc_dma.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
stm32f205_soc.h stm32f205: Fix SoC type name 2015-04-13 11:37:10 +01:00
sysbus-fdt.h hw/arm/sysbus-fdt: helpers for platform bus nodes addition 2015-06-02 15:44:28 +01:00
virt-acpi-build.h hw/arm/virt-acpi-build: Generate MADT table 2015-05-29 11:28:56 +01:00
virt.h hw/arm/virt: add dynamic sysbus device support 2015-06-02 16:31:18 +01:00
xlnx-zynqmp.h arm: xlnx-zynqmp: Add 2xCortexR5 CPUs 2015-06-19 14:17:45 +01:00