qemu/include/hw/net
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
..
allwinner_emac.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
cadence_gem.h Normalize position of header guard 2019-06-12 13:20:20 +02:00
ftgmac100.h ftgmac100: compute maximum frame size depending on the protocol 2018-06-08 13:15:32 +01:00
imx_fec.h imx_fec: Reserve full FSL_IMX25_FEC_SIZE page for the register file 2018-01-11 13:25:38 +00:00
lan9118.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
lance.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
mii.h net: add Sun HME (Happy Meal Ethernet) on-board NIC 2017-09-21 08:38:42 +01:00
ne2000-isa.h Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
smc91c111.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00