qemu-e2k/hw
Markus Armbruster 64552b6be4 Include hw/irq.h a lot less
In my "build everything" tree, changing hw/irq.h triggers a recompile
of some 5400 out of 6600 objects (not counting tests and objects that
don't depend on qemu/osdep.h).

hw/hw.h supposedly includes it for convenience.  Several other headers
include it just to get qemu_irq and.or qemu_irq_handler.

Move the qemu_irq and qemu_irq_handler typedefs from hw/irq.h to
qemu/typedefs.h, and then include hw/irq.h only where it's still
needed.  Touching it now recompiles only some 500 objects.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190812052359.30071-13-armbru@redhat.com>
2019-08-16 13:31:52 +02:00
..
9pfs xen: Import other xen/io/*.h 2019-06-24 10:42:30 +01:00
acpi Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
adc Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
alpha Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
arm Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
audio Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
block Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
bt Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
char Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
core Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
cpu Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
cris Include sysemu/reset.h a lot less 2019-08-16 13:31:52 +02:00
display Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
dma Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
gpio Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
hppa Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
hyperv Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
i2c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
i386 Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
ide ide: Include hw/ide/internal a bit less outside hw/ide/ 2019-08-16 13:31:52 +02:00
input Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
intc Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
ipack Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
ipmi Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
isa Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
lm32 Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
m68k Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
mem pc-dimm: fix crash when invalid slot number is used 2019-07-29 16:57:27 -04:00
microblaze Include sysemu/reset.h a lot less 2019-08-16 13:31:52 +02:00
mips Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
misc Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
moxie Include sysemu/reset.h a lot less 2019-08-16 13:31:52 +02:00
net Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
nios2 Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
nvram Include migration/qemu-file-types.h a lot less 2019-08-16 13:31:52 +02:00
openrisc Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
pci Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
pci-bridge pcie_root_port: Allow ACS to be disabled 2019-07-30 12:07:07 -04:00
pci-host Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
pcmcia Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
ppc Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
rdma Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
riscv Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
s390x Include migration/qemu-file-types.h a lot less 2019-08-16 13:31:52 +02:00
scsi Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
sd Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
semihosting semihosting: split console_out into string and char versions 2019-06-12 17:53:22 +01:00
sh4 Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
smbios machine: Refactor smp-related call chains to pass MachineState 2019-07-05 17:07:36 -03:00
sparc Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
sparc64 Include sysemu/reset.h a lot less 2019-08-16 13:31:52 +02:00
ssi Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
timer Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
tpm Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
tricore Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
unicore32 Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
usb Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
vfio Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
virtio Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
watchdog Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
xen xen: Import other xen/io/*.h 2019-06-24 10:42:30 +01:00
xenpv xen: Replace few mentions of xend by libxl 2019-01-14 13:45:40 +00:00
xtensa Include hw/irq.h a lot less 2019-08-16 13:31:52 +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