qemu-patch-raspberry4/hw/display
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
..
ads7846.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
artist.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ati.c ati-vga: Add dummy MEM_SDRAM_MODE_REG 2020-06-30 22:54:24 +02:00
ati_2d.c ati-vga: Fix checks in ati_2d_blt() to avoid crash 2020-04-07 09:25:23 +02:00
ati_dbg.c ati-vga: Add dummy MEM_SDRAM_MODE_REG 2020-06-30 22:54:24 +02:00
ati_int.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ati_regs.h ati-vga: Add dummy MEM_SDRAM_MODE_REG 2020-06-30 22:54:24 +02:00
bcm2835_fb.c qom: Don't handle impossible object_property_get_link() failure 2020-07-10 15:18:08 +02:00
blizzard.c display/blizzard: use extract16() for fix clang analyzer warning in blizzard_draw_line16_32() 2020-05-04 11:17:27 +02:00
bochs-display.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
cg3.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
cirrus_vga.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
cirrus_vga_internal.h hw/display/cirrus_vga: Move "isa-cirrus-vga" device into a separate file 2018-10-15 09:57:33 +02:00
cirrus_vga_isa.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
cirrus_vga_rop.h cirrus: fix off-by-one in cirrus_bitblt_rop_bkwd_transp_*_16 2017-03-17 10:23:44 +01:00
cirrus_vga_rop2.h cirrus: fix PUTPIXEL macro 2017-03-27 12:14:45 +02:00
dpcd.c hw/display/dpcd: Convert debug printf()s to trace events 2020-05-28 11:38:57 +02:00
edid-generate.c Arithmetic error in EDID generation fixed 2020-03-02 08:20:30 +01:00
edid-region.c Include exec/memory.h slightly less 2019-08-16 13:31:52 +02:00
exynos4210_fimd.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
framebuffer.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
framebuffer.h framebuffer: set DIRTY_MEMORY_VGA on RAM that is used for the framebuffer 2015-07-24 13:57:45 +02:00
g364fb.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
i2c-ddc.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
jazz_led.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
Kconfig hppa: Add emulation of Artist graphics 2020-01-27 10:49:51 -08:00
macfb.c nubus: Rename class type checking macros 2020-08-27 14:04:55 -04:00
meson.build meson: convert hw/display 2020-08-21 06:30:31 -04:00
milkymist-tmu2.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
milkymist-vgafb.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
milkymist-vgafb_template.h milkymist-vgafb: swap pixel data in source buffer 2014-02-04 19:34:30 +01:00
next-fb.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
omap_dss.c hw/display/omap_dss: Replace fprintf() call by qemu_log_mask(LOG_UNIMP) 2020-05-28 11:38:57 +02:00
omap_lcd_template.h omap_lcdc: Remove support for DEPTH != 32 2016-05-12 13:22:24 +01:00
omap_lcdc.c Remove unnecessary cast when using the cpu_[physical]_memory API 2020-02-20 14:47:08 +01:00
pl110.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pl110_template.h display: avoid multi-statement macro 2014-01-31 14:47:33 +00:00
pxa2xx_lcd.c hw/display/pxa2xx_lcd: Replace printf() call by qemu_log_mask() 2020-05-28 11:38:57 +02:00
pxa2xx_template.h display: avoid multi-statement macro 2014-01-31 14:47:33 +00:00
qxl-logger.c hw: Remove superfluous breaks 2020-09-01 08:38:00 +02:00
qxl-render.c console: add graphic_hw_update_done() 2020-01-02 13:54:57 +04:00
qxl.c qxl: fix modular builds with dtrace 2020-07-21 10:56:47 +02:00
qxl.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ramfb-standalone.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ramfb.c ramfb: fix size calculation 2020-05-18 15:43:51 +02:00
sii9022.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
sm501.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
sm501_template.h sm501: Misc clean ups 2017-04-24 12:32:12 +01:00
ssd0303.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ssd0323.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
tc6393xb.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
tc6393xb_template.h display: avoid multi-statement macro 2014-01-31 14:47:33 +00:00
tcx.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
trace-events sm501: Convert debug printfs to traces 2020-06-30 22:46:28 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vga-access.h vga: move access helpers to separate include file 2019-09-19 10:37:46 +02:00
vga-helpers.h vga: move access helpers to separate include file 2019-09-19 10:37:46 +02:00
vga-isa-mm.c vga: cleanup mapping of VRAM for non-PCI VGA 2019-12-18 02:34:13 +01:00
vga-isa.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vga-pci.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vga.c hw/display/vga:Remove redundant statement in vga_draw_graphic() 2020-09-01 12:06:15 +02:00
vga_int.h vga: cleanup mapping of VRAM for non-PCI VGA 2019-12-18 02:34:13 +01:00
vga_regs.h Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
vhost-user-gpu-pci.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vhost-user-gpu.c vhost-user-gpu: Move QOM macro to header 2020-08-27 14:04:54 -04:00
vhost-user-vga.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-gpu-3d.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
virtio-gpu-base.c error: Avoid error_propagate() after migrate_add_blocker() 2020-07-10 15:18:08 +02:00
virtio-gpu-pci.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-gpu.c virtio-gpu: fix unmap the already mapped items 2020-09-04 10:12:56 +02:00
virtio-vga.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-vga.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vmware_vga.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
xenfb.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
xlnx_dp.c auxbus: Eliminate aux_create_slave() 2020-06-15 22:05:28 +02:00