qemu-e2k/include/hw/misc
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
..
macio Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
a9scu.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
allwinner-cpucfg.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
allwinner-h3-ccu.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
allwinner-h3-dramc.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
allwinner-h3-sysctrl.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
allwinner-sid.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
arm11scu.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
arm_integrator_debug.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
armsse-cpuid.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
armsse-mhu.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
aspeed_scu.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
aspeed_sdmc.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
aspeed_xdma.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
auxbus.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
avr_power.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
bcm2835_mbox.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
bcm2835_mbox_defs.h hw/arm/bcm283x: Correct the license text 2020-03-23 17:22:30 +00:00
bcm2835_mphi.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
bcm2835_property.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
bcm2835_rng.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
bcm2835_thermal.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
cbus.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
empty_slot.h hw/misc/empty_slot: Name the slots when created 2020-06-09 06:59:44 +02:00
grlib_ahb_apb_pnp.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
imx6_ccm.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
imx6_src.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
imx6ul_ccm.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
imx7_ccm.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
imx7_gpr.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
imx7_snvs.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
imx25_ccm.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
imx31_ccm.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
imx_ccm.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
imx_rngc.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
iotkit-secctl.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
iotkit-sysctl.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
iotkit-sysinfo.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ivshmem.h ivshmem: add check on protocol version in QEMU 2015-10-24 18:03:18 +02:00
mac_via.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
max111x.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
mips_cmgcr.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
mips_cpc.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
mips_itu.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
mos6522.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
mps2-fpgaio.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
mps2-scc.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
msf2-sysreg.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
nrf51_rng.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pca9552.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pca9552_regs.h misc: add pca9552 LED blinker model 2018-06-08 13:15:32 +01:00
pvpanic.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
stm32f2xx_syscfg.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
stm32f4xx_exti.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
stm32f4xx_syscfg.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
tmp105_regs.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
tz-mpc.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
tz-msc.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
tz-ppc.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
unimp.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vmcoreinfo.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
zynq-xadc.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00