qemu-patch-raspberry4/hw/riscv
Markus Armbruster a27bd6c779 Include hw/qdev-properties.h less
In my "build everything" tree, changing hw/qdev-properties.h triggers
a recompile of some 2700 out of 6600 objects (not counting tests and
objects that don't depend on qemu/osdep.h).

Many places including hw/qdev-properties.h (directly or via hw/qdev.h)
actually need only hw/qdev-core.h.  Include hw/qdev-core.h there
instead.

hw/qdev.h is actually pointless: all it does is include hw/qdev-core.h
and hw/qdev-properties.h, which in turn includes hw/qdev-core.h.
Replace the remaining uses of hw/qdev.h by hw/qdev-properties.h.

While there, delete a few superfluous inclusions of hw/qdev-core.h.

Touching hw/qdev-properties.h now recompiles some 1200 objects.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190812052359.30071-22-armbru@redhat.com>
2019-08-16 13:31:53 +02:00
..
boot.c riscv/boot: Fixup the RISC-V firmware warning 2019-07-26 16:03:48 -07:00
Kconfig kconfig: add CONFIG_MSI_NONBROKEN 2019-03-18 09:39:57 +01:00
Makefile.objs hw/riscv: Split out the boot functions 2019-06-27 02:47:06 -07:00
riscv_hart.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
riscv_htif.c hw: Do not include "exec/address-spaces.h" if it is not necessary 2018-06-01 14:15:10 +02:00
sifive_clint.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
sifive_e.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
sifive_gpio.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
sifive_plic.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
sifive_prci.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
sifive_test.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
sifive_u.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
sifive_uart.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
spike.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
trace-events SiFive RISC-V GPIO Device 2019-05-24 11:58:30 -07:00
virt.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00