qemu/hw/arm
Eduardo Habkost db1015e92e Move QOM typedefs and add missing includes
Some typedefs and macros are defined after the type check macros.
This makes it difficult to automatically replace their
definitions with OBJECT_DECLARE_TYPE.

Patch generated using:

 $ ./scripts/codeconverter/converter.py -i \
   --pattern=QOMStructTypedefSplit $(git grep -l '' -- '*.[ch]')

which will split "typdef struct { ... } TypedefName"
declarations.

Followed by:

 $ ./scripts/codeconverter/converter.py -i --pattern=MoveSymbols \
    $(git grep -l '' -- '*.[ch]')

which will:
- move the typedefs and #defines above the type check macros
- add missing #include "qom/object.h" lines if necessary

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20200831210740.126168-9-ehabkost@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20200831210740.126168-10-ehabkost@redhat.com>
Message-Id: <20200831210740.126168-11-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2020-09-09 09:26:43 -04:00
..
allwinner-a10.c
allwinner-h3.c target-arm queue: 2020-08-28 15:14:40 +01:00
armsse.c target-arm queue: 2020-08-28 15:14:40 +01:00
armv7m.c
aspeed.c hw/arm/aspeed: Add board model for Supermicro X11 BMC 2020-09-01 14:21:50 +02:00
aspeed_ast2600.c
aspeed_soc.c
bcm2835_peripherals.c
bcm2836.c
boot.c
collie.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
cubieboard.c
digic.c
digic_boards.c
exynos4_boards.c
exynos4210.c
fsl-imx6.c
fsl-imx6ul.c
fsl-imx7.c
fsl-imx25.c
fsl-imx31.c
gumstix.c
highbank.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
imx25_pdk.c
integratorcp.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
Kconfig
kzm.c
mainstone.c
mcimx6ul-evk.c
mcimx7d-sabre.c
meson.build configure: do not include dependency flags in QEMU_CFLAGS and LIBS 2020-09-08 11:43:16 +02:00
microbit.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
mps2-tz.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
mps2.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
msf2-soc.c
msf2-som.c
musca.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
musicpal.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
netduino2.c
netduinoplus2.c
nrf51_soc.c
nseries.c
omap1.c hw/arm/omap1:Remove redundant statement in omap_clkdsp_read() 2020-09-01 11:53:44 +02:00
omap2.c
omap_sx1.c
orangepi.c
palm.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pxa2xx.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pxa2xx_gpio.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pxa2xx_pic.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
raspi.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
realview.c
sabrelite.c
sbsa-ref.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
smmu-common.c
smmu-internal.h
smmuv3-internal.h
smmuv3.c
spitz.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
stellaris.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
stm32f205_soc.c
stm32f405_soc.c
strongarm.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
strongarm.h
sysbus-fdt.c
tosa.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
trace-events
trace.h
versatilepb.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vexpress.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virt-acpi-build.c hw/arm/virt-acpi-build:Remove dead assignment in build_madt() 2020-09-01 11:52:25 +02:00
virt.c
xilinx_zynq.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
xlnx-versal-virt.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
xlnx-versal.c
xlnx-zcu102.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
xlnx-zynqmp.c
z2.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00