qemu/hw/riscv
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
..
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 sysemu/reset.h a lot less 2019-08-16 13:31:52 +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 qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
sifive_e.c hw/riscv: Replace global smp variables with machine smp properties 2019-07-05 17:07:42 -03:00
sifive_gpio.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
sifive_plic.c hw/riscv: Replace global smp variables with machine smp properties 2019-07-05 17:07:42 -03:00
sifive_prci.c sifive_prci: Read and write PRCI registers 2019-06-23 23:44:41 -07:00
sifive_test.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
sifive_u.c hw/riscv: Load OpenSBI as the default firmware 2019-07-18 14:18:45 -07:00
sifive_uart.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
spike.c hw/riscv: Replace global smp variables with machine smp properties 2019-07-05 17:07:42 -03:00
trace-events SiFive RISC-V GPIO Device 2019-05-24 11:58:30 -07:00
virt.c hw/riscv: Load OpenSBI as the default firmware 2019-07-18 14:18:45 -07:00