qemu/hw
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
..
9pfs Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
acpi Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
adc meson: convert hw/adc 2020-08-21 06:30:32 -04:00
alpha Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
arm Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
audio Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
avr Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
block Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
char Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
core target/arm: Move setting of CPU halted state to generic code 2020-09-08 10:08:42 +10:00
cpu Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
cris meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
display Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
dma Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
gpio Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
hppa Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
hyperv Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
i2c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
i386 Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ide Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
input Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
intc Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ipack Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ipmi Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
isa Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
lm32 hw/sd/milkymist: Do not create SD card within the SD host controller 2020-08-21 16:22:43 +02:00
m68k Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
mem meson: convert hw/mem 2020-08-21 06:30:26 -04:00
microblaze Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
mips Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
misc Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
moxie meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
net Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
nios2 meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
nubus meson: convert hw/nubus 2020-08-21 06:30:25 -04:00
nvram Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
openrisc meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
pci meson: convert hw/pci 2020-08-21 06:30:28 -04:00
pci-bridge Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pci-host Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pcmcia pxa2xx: Move QOM macros to header 2020-08-27 14:04:55 -04:00
ppc Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
rdma Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
riscv configure: do not include dependency flags in QEMU_CFLAGS and LIBS 2020-09-08 11:43:16 +02:00
rtc Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
rx Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
s390x Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
scsi Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
sd Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
semihosting meson: convert hw/semihosting 2020-08-21 06:30:25 -04:00
sh4 Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
smbios hw/smbios: add options for type 4 max-speed and current-speed 2020-08-27 08:29:13 -04:00
sparc Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
sparc64 Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ssi Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
timer Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
tpm Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
tricore meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
unicore32 meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
usb Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vfio Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
watchdog Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
xen Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
xenpv meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
xtensa target/xtensa: implement NMI support 2020-08-21 12:48:14 -07:00
Kconfig hw/avr: Add limited support for some Arduino boards 2020-07-11 11:02:05 +02:00
meson.build meson: convert hw/arch* 2020-08-21 06:30:33 -04:00