qemu-patch-raspberry4/hw
Markus Armbruster d5938f29fe Clean up inclusion of sysemu/sysemu.h
In my "build everything" tree, changing sysemu/sysemu.h triggers a
recompile of some 5400 out of 6600 objects (not counting tests and
objects that don't depend on qemu/osdep.h).

Almost a third of its inclusions are actually superfluous.  Delete
them.  Downgrade two more to qapi/qapi-types-run-state.h, and move one
from char/serial.h to char/serial.c.

hw/semihosting/config.c, monitor/monitor.c, qdev-monitor.c, and
stubs/semihost.c define variables declared in sysemu/sysemu.h without
including it.  The compiler is cool with that, but include it anyway.

This doesn't reduce actual use much, as it's still included into
widely included headers.  The next commit will tackle that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190812052359.30071-27-armbru@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
2019-08-16 13:31:53 +02:00
..
9pfs Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
acpi Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
adc Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
alpha Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
arm Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
audio Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
block Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
bt Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
char Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
core Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
cpu Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
cris Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
display Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
dma Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
gpio Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
hppa Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
hyperv Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
i2c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
i386 Include hw/boards.h a bit less 2019-08-16 13:31:53 +02:00
ide Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
input Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
intc Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
ipack Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
ipmi Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
isa Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
lm32 Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
m68k Include qemu/main-loop.h less 2019-08-16 13:31:52 +02:00
mem numa: Move remaining NUMA declarations from sysemu.h to numa.h 2019-08-16 13:31:53 +02:00
microblaze Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
mips Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
misc Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
moxie Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
net Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
nios2 Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
nvram Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
openrisc Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
pci numa: Move remaining NUMA declarations from sysemu.h to numa.h 2019-08-16 13:31:53 +02:00
pci-bridge Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
pci-host Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
pcmcia Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
ppc Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
rdma Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
riscv Include hw/boards.h a bit less 2019-08-16 13:31:53 +02:00
s390x Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
scsi Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
sd Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
semihosting Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
sh4 Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
smbios Clean up inclusion of exec/cpu-common.h 2019-08-16 13:31:52 +02:00
sparc Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
sparc64 Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
ssi Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
timer Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
tpm Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
tricore Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
unicore32 Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
usb Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
vfio Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
virtio Include sysemu/hostmem.h less 2019-08-16 13:31:53 +02:00
watchdog Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
xen Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
xenpv Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
xtensa Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
Kconfig semihosting: introduce CONFIG_SEMIHOSTING 2019-05-28 10:28:50 +01:00
Makefile.objs Makefile: do not repeat $(CONFIG_SOFTMMU) in hw/Makefile.objs 2019-07-15 20:58:37 +02:00