qemu-patch-raspberry4/hw/dma
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
..
bcm2835_dma.c qom: Don't handle impossible object_property_get_link() failure 2020-07-10 15:18:08 +02:00
etraxfs_dma.c Remove unnecessary cast when using the cpu_[physical]_memory API 2020-02-20 14:47:08 +01:00
i8257.c i8257: Move QOM macro to header 2020-08-27 14:04:54 -04:00
i82374.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
Kconfig hw/core: Add a config switch for the "register" device 2019-08-20 09:11:05 +02:00
meson.build meson: convert hw/dma 2020-08-21 06:30:31 -04:00
omap_dma.c hw/dma/omap_dma: Move switch 'fall through' comment to correct place 2019-08-21 10:55:23 +02:00
pl080.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pl330.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
puv3_dma.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pxa2xx_dma.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
rc4030.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
soc_dma.c misc: Replace zero-length arrays with flexible array member (automatic) 2020-03-16 22:07:42 +01:00
sparc32_dma.c hw: Mark nd_table[] misuse in realize methods FIXME 2020-07-21 08:41:15 +02:00
trace-events dma/pl330: Convert to support tracing 2020-01-23 15:34:04 +00:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
xilinx_axidma.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
xlnx-zdma.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
xlnx-zynq-devcfg.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
xlnx_dpdma.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00