qemu-patch-raspberry4/include/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
..
acpi Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
adc 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 qom: Put name parameter before value / visitor parameter 2020-07-10 15:18:08 +02: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 Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
cpu Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
cris sysbus: Convert to sysbus_realize() etc. with Coccinelle 2020-06-15 22:05:28 +02: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
firmware machine: Refactor smp-related call chains to pass MachineState 2019-07-05 17:07:36 -03:00
gpio 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
kvm Supply missing header guards 2019-06-12 13:20:21 +02:00
lm32 Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
m68k Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
mem 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
net Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
nubus Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
nvram Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pci Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -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
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 Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04: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 semihosting: add qemu_semihosting_console_inc for SYS_READC 2020-01-09 11:41:29 +00:00
sh4 hw/sh4: Extract timer definitions to 'hw/timer/tmu012.h' 2020-06-22 18:37:12 +02:00
southbridge Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
sparc 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
tricore Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
unicore32 hw/unicore32: restrict hw addr defines to source file 2017-12-18 17:07:02 +03: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
xtensa Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
boards.h hw: add compat machines for 5.2 2020-08-19 10:45:48 -04:00
clock.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
elf_ops.h hw/elf_ops: Do not ignore write failures when loading ELF 2020-06-10 12:10:23 -04:00
fw-path-provider.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
hotplug.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
hw.h Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
ide.h hw/ide: Move MAX_IDE_DEVS define to hw/ide/internal.h 2020-03-17 12:22:36 -04:00
irq.h include/hw/irq.h: New function qemu_irq_is_connected() 2020-08-03 17:55:03 +01:00
loader-fit.h Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00
loader.h hw/core/loader: Let load_elf() populate a field with CPU-specific flags 2020-01-29 19:28:52 +01:00
nmi.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
or-irq.h hw/core/or-irq: Increase limit of or-lines to 48 2020-01-23 16:34:15 +00:00
pcmcia.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
platform-bus.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ptimer.h ptimer: Remove old ptimer_init_with_bh() API 2019-11-11 13:44:16 +00:00
qdev-clock.h hw/qdev-clock: Avoid calling qdev_connect_clock_in after DeviceRealize 2020-08-28 10:02:46 +01:00
qdev-core.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
qdev-dma.h Supply missing header guards 2019-06-12 13:20:21 +02:00
qdev-properties.h qdev: Document qdev_prop_set_drive_err() return value 2020-08-19 10:44:29 -04:00
register.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
registerfields.h hw/registerfields: Prefix local variables with underscore in macros 2020-05-27 11:23:07 -07:00
resettable.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
stream.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
sysbus.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
usb.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vmstate-if.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00