]> git.proxmox.com Git - mirror_qemu.git/commit - hw/net/opencores_eth.c
Include hw/irq.h a lot less
authorMarkus Armbruster <armbru@redhat.com>
Mon, 12 Aug 2019 05:23:42 +0000 (07:23 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 16 Aug 2019 11:31:52 +0000 (13:31 +0200)
commit64552b6be4758d3a774f7787b294543ccebd5358
tree585e4f41f5bc934e7dbdba73a2e49dc23ac4e190
parent2a28720d773df2193c9fb633c02092cca107a9e5
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>
338 files changed:
hw/acpi/core.c
hw/acpi/piix4.c
hw/alpha/alpha_sys.h
hw/alpha/typhoon.c
hw/arm/armsse.c
hw/arm/exynos4210.c
hw/arm/exynos4_boards.c
hw/arm/integratorcp.c
hw/arm/msf2-soc.c
hw/arm/musicpal.c
hw/arm/omap1.c
hw/arm/omap2.c
hw/arm/palm.c
hw/arm/pxa2xx.c
hw/arm/pxa2xx_gpio.c
hw/arm/realview.c
hw/arm/smmuv3.c
hw/arm/spitz.c
hw/arm/stellaris.c
hw/arm/strongarm.c
hw/arm/tosa.c
hw/arm/versatilepb.c
hw/arm/virt.c
hw/arm/z2.c
hw/audio/cs4231a.c
hw/audio/gus.c
hw/audio/marvell_88w8618.c
hw/audio/milkymist-ac97.c
hw/audio/pl041.c
hw/audio/sb16.c
hw/block/fdc.c
hw/char/bcm2835_aux.c
hw/char/cadence_uart.c
hw/char/cmsdk-apb-uart.c
hw/char/escc.c
hw/char/etraxfs_ser.c
hw/char/exynos4210_uart.c
hw/char/grlib_apbuart.c
hw/char/imx_serial.c
hw/char/ipoctal232.c
hw/char/lm32_uart.c
hw/char/mcf_uart.c
hw/char/milkymist-uart.c
hw/char/nrf51_uart.c
hw/char/parallel.c
hw/char/pl011.c
hw/char/serial-pci-multi.c
hw/char/serial-pci.c
hw/char/serial.c
hw/char/sh_serial.c
hw/char/spapr_vty.c
hw/char/stm32f2xx_usart.c
hw/char/xilinx_uartlite.c
hw/core/or-irq.c
hw/core/qdev.c
hw/core/split-irq.c
hw/cpu/a15mpcore.c
hw/cpu/a9mpcore.c
hw/cpu/arm11mpcore.c
hw/cpu/realview_mpcore.c
hw/display/ads7846.c
hw/display/bcm2835_fb.c
hw/display/cg3.c
hw/display/exynos4210_fimd.c
hw/display/g364fb.c
hw/display/milkymist-tmu2.c
hw/display/omap_dss.c
hw/display/omap_lcdc.c
hw/display/pl110.c
hw/display/pxa2xx_lcd.c
hw/display/tc6393xb.c
hw/display/xlnx_dp.c
hw/dma/bcm2835_dma.c
hw/dma/etraxfs_dma.c
hw/dma/pl080.c
hw/dma/pl330.c
hw/dma/pxa2xx_dma.c
hw/dma/rc4030.c
hw/dma/sparc32_dma.c
hw/dma/xilinx_axidma.c
hw/dma/xlnx-zdma.c
hw/dma/xlnx-zynq-devcfg.c
hw/dma/xlnx_dpdma.c
hw/gpio/bcm2835_gpio.c
hw/gpio/gpio_key.c
hw/gpio/imx_gpio.c
hw/gpio/max7310.c
hw/gpio/mpc8xxx.c
hw/gpio/nrf51_gpio.c
hw/gpio/omap_gpio.c
hw/gpio/pl061.c
hw/gpio/zaurus.c
hw/hppa/dino.c
hw/hppa/hppa_sys.h
hw/i2c/aspeed_i2c.c
hw/i2c/bitbang_i2c.c
hw/i2c/exynos4210_i2c.c
hw/i2c/imx_i2c.c
hw/i2c/mpc_i2c.c
hw/i2c/omap_i2c.c
hw/i2c/ppc4xx_i2c.c
hw/i386/kvm/i8259.c
hw/i386/kvm/ioapic.c
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/xen/xen-hvm.c
hw/input/lm832x.c
hw/input/milkymist-softusb.c
hw/input/pckbd.c
hw/input/pl050.c
hw/input/pxa2xx_keypad.c
hw/input/stellaris_input.c
hw/input/tsc2005.c
hw/input/tsc210x.c
hw/intc/allwinner-a10-pic.c
hw/intc/arm_gic.c
hw/intc/arm_gicv2m.c
hw/intc/arm_gicv3_cpuif.c
hw/intc/armv7m_nvic.c
hw/intc/aspeed_vic.c
hw/intc/bcm2835_ic.c
hw/intc/bcm2836_control.c
hw/intc/etraxfs_pic.c
hw/intc/exynos4210_combiner.c
hw/intc/heathrow_pic.c
hw/intc/i8259.c
hw/intc/imx_avic.c
hw/intc/lm32_pic.c
hw/intc/mips_gic.c
hw/intc/nios2_iic.c
hw/intc/omap_intc.c
hw/intc/ompic.c
hw/intc/openpic.c
hw/intc/pl190.c
hw/intc/puv3_intc.c
hw/intc/realview_gic.c
hw/intc/sh_intc.c
hw/intc/slavio_intctl.c
hw/intc/xics.c
hw/intc/xilinx_intc.c
hw/intc/xive.c
hw/intc/xlnx-pmu-iomod-intc.c
hw/intc/xlnx-zynqmp-ipi.c
hw/ipack/ipack.c
hw/ipack/tpci200.c
hw/ipmi/isa_ipmi_bt.c
hw/ipmi/isa_ipmi_kcs.c
hw/isa/i82378.c
hw/isa/lpc_ich9.c
hw/lm32/lm32_boards.c
hw/lm32/milkymist.c
hw/m68k/mcf5206.c
hw/m68k/mcf5208.c
hw/m68k/mcf_intc.c
hw/mips/gt64xxx_pci.c
hw/mips/mips_int.c
hw/mips/mips_malta.c
hw/misc/arm_sysctl.c
hw/misc/armsse-mhu.c
hw/misc/aspeed_xdma.c
hw/misc/bcm2835_mbox.c
hw/misc/bcm2835_property.c
hw/misc/eccmemctl.c
hw/misc/iotkit-secctl.c
hw/misc/macio/mac_dbdma.c
hw/misc/macio/pmu.c
hw/misc/max111x.c
hw/misc/milkymist-pfpu.c
hw/misc/mos6522.c
hw/misc/mst_fpga.c
hw/misc/nrf51_rng.c
hw/misc/omap_clk.c
hw/misc/omap_gpmc.c
hw/misc/pc-testdev.c
hw/misc/slavio_misc.c
hw/misc/tmp105.c
hw/misc/tz-mpc.c
hw/misc/tz-msc.c
hw/misc/tz-ppc.c
hw/misc/zynq-xadc.c
hw/net/allwinner_emac.c
hw/net/cadence_gem.c
hw/net/can/can_kvaser_pci.c
hw/net/can/can_mioe3680_pci.c
hw/net/can/can_pcm3680_pci.c
hw/net/can/can_sja1000.c
hw/net/dp8393x.c
hw/net/fsl_etsec/etsec.c
hw/net/ftgmac100.c
hw/net/imx_fec.c
hw/net/lan9118.c
hw/net/mcf_fec.c
hw/net/milkymist-minimac2.c
hw/net/mipsnet.c
hw/net/ne2000-pci.c
hw/net/ne2000.c
hw/net/opencores_eth.c
hw/net/pcnet-pci.c
hw/net/pcnet.c
hw/net/smc91c111.c
hw/net/spapr_llan.c
hw/net/stellaris_enet.c
hw/net/xgmac.c
hw/net/xilinx_axienet.c
hw/net/xilinx_ethlite.c
hw/nios2/cpu_pic.c
hw/openrisc/openrisc_sim.c
hw/openrisc/pic_cpu.c
hw/pci-host/bonito.c
hw/pci-host/designware.c
hw/pci-host/gpex.c
hw/pci-host/grackle.c
hw/pci-host/piix.c
hw/pci-host/ppce500.c
hw/pci-host/prep.c
hw/pci-host/sabre.c
hw/pci-host/uninorth.c
hw/pci-host/versatile.c
hw/pci-host/xilinx-pcie.c
hw/pci/pci.c
hw/pcmcia/pxa2xx.c
hw/ppc/e500.c
hw/ppc/pnv_lpc.c
hw/ppc/pnv_psi.c
hw/ppc/ppc.c
hw/ppc/ppc405_uc.c
hw/ppc/ppc440_pcix.c
hw/ppc/ppc440_uc.c
hw/ppc/ppc4xx_devs.c
hw/ppc/ppc4xx_pci.c
hw/ppc/prep.c
hw/ppc/prep_systemio.c
hw/ppc/spapr_events.c
hw/ppc/spapr_irq.c
hw/ppc/spapr_pci.c
hw/ppc/spapr_vio.c
hw/riscv/sifive_gpio.c
hw/riscv/sifive_uart.c
hw/scsi/esp-pci.c
hw/scsi/esp.c
hw/scsi/lsi53c895a.c
hw/sd/bcm2835_sdhost.c
hw/sd/omap_mmc.c
hw/sd/pl181.c
hw/sd/pxa2xx_mmci.c
hw/sd/sd.c
hw/sd/sdhci.c
hw/sh4/r2d.c
hw/sh4/sh7750.c
hw/sh4/sh_pci.c
hw/sparc/leon3.c
hw/sparc/sun4m.c
hw/sparc/sun4m_iommu.c
hw/ssi/aspeed_smc.c
hw/ssi/imx_spi.c
hw/ssi/mss-spi.c
hw/ssi/omap_spi.c
hw/ssi/pl022.c
hw/ssi/xilinx_spi.c
hw/ssi/xilinx_spips.c
hw/timer/a9gtimer.c
hw/timer/allwinner-a10-pit.c
hw/timer/altera_timer.c
hw/timer/arm_mptimer.c
hw/timer/arm_timer.c
hw/timer/armv7m_systick.c
hw/timer/aspeed_timer.c
hw/timer/cadence_ttc.c
hw/timer/cmsdk-apb-dualtimer.c
hw/timer/cmsdk-apb-timer.c
hw/timer/etraxfs_timer.c
hw/timer/exynos4210_mct.c
hw/timer/exynos4210_pwm.c
hw/timer/exynos4210_rtc.c
hw/timer/grlib_gptimer.c
hw/timer/hpet.c
hw/timer/i8254.c
hw/timer/imx_epit.c
hw/timer/imx_gpt.c
hw/timer/lm32_timer.c
hw/timer/m48t59.c
hw/timer/mc146818rtc.c
hw/timer/milkymist-sysctl.c
hw/timer/mss-timer.c
hw/timer/nrf51_timer.c
hw/timer/omap_gptimer.c
hw/timer/pl031.c
hw/timer/puv3_ost.c
hw/timer/pxa2xx_timer.c
hw/timer/sh_timer.c
hw/timer/slavio_timer.c
hw/timer/stm32f2xx_timer.c
hw/timer/twl92230.c
hw/timer/xilinx_timer.c
hw/timer/xlnx-zynqmp-rtc.c
hw/tpm/tpm_tis.c
hw/unicore32/puv3.c
hw/usb/hcd-ehci.c
hw/usb/hcd-ohci.c
hw/vfio/platform.c
hw/virtio/virtio-mmio.c
hw/watchdog/cmsdk-apb-watchdog.c
hw/xtensa/mx_pic.c
hw/xtensa/pic_cpu.c
include/hw/acpi/acpi.h
include/hw/arm/boot.h
include/hw/arm/omap.h
include/hw/arm/soc_dma.h
include/hw/block/fdc.h
include/hw/bt.h
include/hw/core/split-irq.h
include/hw/cris/etraxfs_dma.h
include/hw/display/blizzard.h
include/hw/display/tc6393xb.h
include/hw/hw.h
include/hw/ide/internal.h
include/hw/input/gamepad.h
include/hw/input/tsc2xxx.h
include/hw/irq.h
include/hw/isa/vt82c686.h
include/hw/mips/mips.h
include/hw/misc/cbus.h
include/hw/net/lan9118.h
include/hw/net/smc91c111.h
include/hw/or-irq.h
include/hw/ppc/spapr_irq.h
include/hw/qdev-core.h
include/hw/sh4/sh_intc.h
include/hw/timer/m48t59.h
include/hw/tricore/tricore.h
include/hw/vfio/vfio-platform.h
include/hw/xen/xen.h
include/hw/xtensa/mx_pic.h
include/qemu/typedefs.h
include/sysemu/kvm.h
target/arm/helper.c
target/arm/kvm.c
target/mips/cp0_timer.c