]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/misc/applesmc.c
Include hw/hw.h exactly where needed
authorMarkus Armbruster <armbru@redhat.com>
Mon, 12 Aug 2019 05:23:48 +0000 (07:23 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 16 Aug 2019 11:31:52 +0000 (13:31 +0200)
commit650d103d3ea959212f826acb9d3fe80cf30e347b
treed77413eb83368a13ba4dfd0d592997602fa963df
parente7febd959740d45c0fc07ce63d834815483afaa0
Include hw/hw.h exactly where needed

In my "build everything" tree, changing hw/hw.h triggers a recompile
of some 2600 out of 6600 objects (not counting tests and objects that
don't depend on qemu/osdep.h).

The previous commits have left only the declaration of hw_error() in
hw/hw.h.  This permits dropping most of its inclusions.  Touching it
now recompiles less than 200 objects.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190812052359.30071-19-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
401 files changed:
accel/kvm/kvm-all.c
audio/audio.c
audio/spiceaudio.c
audio/wavcapture.c
cpus.c
device-hotplug.c
exec.c
hw/9pfs/xen-9p-backend.c
hw/acpi/core.c
hw/acpi/cpu_hotplug.c
hw/acpi/ich9.c
hw/acpi/pcihp.c
hw/acpi/piix4.c
hw/adc/stm32f2xx_adc.c
hw/alpha/dp264.c
hw/alpha/typhoon.c
hw/arm/boot.c
hw/arm/collie.c
hw/arm/gumstix.c
hw/arm/integratorcp.c
hw/arm/mainstone.c
hw/arm/musicpal.c
hw/arm/omap2.c
hw/arm/omap_sx1.c
hw/arm/palm.c
hw/arm/pxa2xx_pic.c
hw/arm/spitz.c
hw/arm/tosa.c
hw/arm/virt-acpi-build.c
hw/arm/z2.c
hw/audio/ac97.c
hw/audio/adlib.c
hw/audio/cs4231a.c
hw/audio/es1370.c
hw/audio/gus.c
hw/audio/hda-codec.c
hw/audio/intel-hda.c
hw/audio/marvell_88w8618.c
hw/audio/milkymist-ac97.c
hw/audio/pcspk.c
hw/audio/sb16.c
hw/block/dataplane/xen-block.c
hw/block/ecc.c
hw/block/fdc.c
hw/block/m25p80.c
hw/block/nvme.c
hw/block/pflash_cfi01.c
hw/block/pflash_cfi02.c
hw/block/tc58128.c
hw/block/xen-block.c
hw/char/debugcon.c
hw/char/digic-uart.c
hw/char/escc.c
hw/char/lm32_juart.c
hw/char/lm32_uart.c
hw/char/mcf_uart.c
hw/char/milkymist-uart.c
hw/char/omap_uart.c
hw/char/parallel.c
hw/char/sh_serial.c
hw/char/xen_console.c
hw/char/xilinx_uartlite.c
hw/core/empty_slot.c
hw/core/null-machine.c
hw/core/ptimer.c
hw/cris/boot.c
hw/display/ati.c
hw/display/bcm2835_fb.c
hw/display/bochs-display.c
hw/display/cirrus_vga.c
hw/display/cirrus_vga_isa.c
hw/display/exynos4210_fimd.c
hw/display/framebuffer.c
hw/display/milkymist-tmu2.c
hw/display/omap_lcdc.c
hw/display/qxl.h
hw/display/sm501.c
hw/display/tc6393xb.c
hw/display/vga-isa-mm.c
hw/display/vga-isa.c
hw/display/vga-pci.c
hw/display/vga.c
hw/display/virtio-vga.c
hw/display/vmware_vga.c
hw/display/xenfb.c
hw/dma/i8257.c
hw/dma/pl080.c
hw/dma/puv3_dma.c
hw/dma/rc4030.c
hw/dma/sparc32_dma.c
hw/dma/xilinx_axidma.c
hw/gpio/max7310.c
hw/gpio/omap_gpio.c
hw/gpio/puv3_gpio.c
hw/gpio/zaurus.c
hw/hppa/dino.c
hw/hppa/machine.c
hw/i2c/bitbang_i2c.c
hw/i2c/omap_i2c.c
hw/i2c/pm_smbus.c
hw/i2c/ppc4xx_i2c.c
hw/i2c/smbus_eeprom.c
hw/i2c/smbus_ich9.c
hw/i2c/smbus_master.c
hw/i2c/smbus_slave.c
hw/i386/amd_iommu.h
hw/i386/multiboot.c
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/i386/pc_sysfw.c
hw/i386/vmmouse.c
hw/i386/vmport.c
hw/i386/xen/xen-hvm.c
hw/i386/xen/xen_platform.c
hw/i386/xen/xen_pvdevice.c
hw/ide/ahci-allwinner.c
hw/ide/ahci.c
hw/ide/cmd646.c
hw/ide/core.c
hw/ide/ich.c
hw/ide/ioport.c
hw/ide/isa.c
hw/ide/macio.c
hw/ide/microdrive.c
hw/ide/mmio.c
hw/ide/pci.c
hw/ide/piix.c
hw/ide/qdev.c
hw/ide/via.c
hw/input/hid.c
hw/input/lm832x.c
hw/input/milkymist-softusb.c
hw/input/pckbd.c
hw/input/ps2.c
hw/input/stellaris_input.c
hw/input/tsc2005.c
hw/intc/etraxfs_pic.c
hw/intc/exynos4210_combiner.c
hw/intc/heathrow_pic.c
hw/intc/i8259.c
hw/intc/ioapic.c
hw/intc/lm32_pic.c
hw/intc/mips_gic.c
hw/intc/omap_intc.c
hw/intc/ompic.c
hw/intc/openpic.c
hw/intc/openpic_kvm.c
hw/intc/sh_intc.c
hw/intc/xics.c
hw/intc/xics_kvm.c
hw/intc/xics_spapr.c
hw/intc/xilinx_intc.c
hw/ipmi/ipmi.c
hw/ipmi/isa_ipmi_bt.c
hw/ipmi/isa_ipmi_kcs.c
hw/isa/apm.c
hw/isa/lpc_ich9.c
hw/isa/piix4.c
hw/isa/vt82c686.c
hw/lm32/lm32_boards.c
hw/lm32/milkymist.c
hw/m68k/an5206.c
hw/microblaze/boot.h
hw/microblaze/petalogix_ml605_mmu.c
hw/microblaze/petalogix_s3adsp1800_mmu.c
hw/mips/addr.c
hw/mips/boston.c
hw/mips/gt64xxx_pci.c
hw/mips/mips_fulong2e.c
hw/mips/mips_int.c
hw/mips/mips_jazz.c
hw/mips/mips_malta.c
hw/mips/mips_mipssim.c
hw/mips/mips_r4k.c
hw/misc/applesmc.c
hw/misc/arm_integrator_debug.c
hw/misc/arm_sysctl.c
hw/misc/debugexit.c
hw/misc/edu.c
hw/misc/ivshmem.c
hw/misc/macio/cuda.c
hw/misc/macio/gpio.c
hw/misc/macio/mac_dbdma.c
hw/misc/macio/macio.c
hw/misc/macio/pmu.c
hw/misc/milkymist-hpdmc.c
hw/misc/milkymist-pfpu.c
hw/misc/mips_cmgcr.c
hw/misc/mos6522.c
hw/misc/mst_fpga.c
hw/misc/omap_gpmc.c
hw/misc/omap_l4.c
hw/misc/omap_sdrc.c
hw/misc/pc-testdev.c
hw/misc/pca9552.c
hw/misc/pci-testdev.c
hw/misc/puv3_pm.c
hw/misc/tmp105.c
hw/misc/tmp421.c
hw/misc/unimp.c
hw/misc/zynq-xadc.c
hw/misc/zynq_slcr.c
hw/moxie/moxiesim.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/e1000.c
hw/net/e1000e.c
hw/net/e1000e_core.c
hw/net/e1000x_common.c
hw/net/eepro100.c
hw/net/lan9118.c
hw/net/milkymist-minimac2.c
hw/net/mipsnet.c
hw/net/ne2000.h
hw/net/opencores_eth.c
hw/net/rocker/rocker.c
hw/net/rocker/rocker_desc.c
hw/net/rtl8139.c
hw/net/spapr_llan.c
hw/net/sunhme.c
hw/net/xen_nic.c
hw/net/xilinx_axienet.c
hw/net/xilinx_ethlite.c
hw/nios2/10m50_devboard.c
hw/nios2/boot.h
hw/nios2/generic_nommu.c
hw/nvram/chrp_nvram.c
hw/nvram/eeprom93xx.c
hw/nvram/eeprom_at24c.c
hw/nvram/fw_cfg.c
hw/nvram/mac_nvram.c
hw/openrisc/cputimer.c
hw/openrisc/openrisc_sim.c
hw/openrisc/pic_cpu.c
hw/pci-host/bonito.c
hw/pci-host/gpex.c
hw/pci-host/piix.c
hw/pci-host/ppce500.c
hw/pci-host/prep.c
hw/pci-host/q35.c
hw/pci-host/uninorth.c
hw/pci/msix.c
hw/pci/pci.c
hw/pci/pcie_host.c
hw/pcmcia/pcmcia.c
hw/pcmcia/pxa2xx.c
hw/ppc/e500.c
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c
hw/ppc/mpc8544_guts.c
hw/ppc/pnv.c
hw/ppc/pnv_bmc.c
hw/ppc/pnv_occ.c
hw/ppc/pnv_psi.c
hw/ppc/pnv_xscom.c
hw/ppc/ppc.c
hw/ppc/ppc405_boards.c
hw/ppc/ppc405_uc.c
hw/ppc/ppc440_bamboo.c
hw/ppc/ppc440_pcix.c
hw/ppc/ppc440_uc.c
hw/ppc/ppc4xx_devs.c
hw/ppc/ppc4xx_pci.c
hw/ppc/ppc_booke.c
hw/ppc/prep.c
hw/ppc/sam460ex.c
hw/ppc/spapr.c
hw/ppc/spapr_iommu.c
hw/ppc/spapr_pci.c
hw/ppc/spapr_vio.c
hw/ppc/virtex_ml507.c
hw/rdma/vmw/pvrdma_cmd.c
hw/rdma/vmw/pvrdma_main.c
hw/riscv/sifive_e.c
hw/riscv/sifive_prci.c
hw/riscv/sifive_test.c
hw/riscv/sifive_u.c
hw/riscv/sifive_uart.c
hw/riscv/spike.c
hw/riscv/virt.c
hw/s390x/virtio-ccw.c
hw/scsi/lsi53c895a.c
hw/scsi/megasas.c
hw/scsi/mptconfig.c
hw/scsi/mptendian.c
hw/scsi/mptsas.c
hw/scsi/scsi-bus.c
hw/scsi/spapr_vscsi.c
hw/sd/milkymist-memcard.c
hw/sd/omap_mmc.c
hw/sd/pxa2xx_mmci.c
hw/sd/sd.c
hw/sd/sdhci-pci.c
hw/sd/sdhci.c
hw/sh4/r2d.c
hw/sh4/sh7750.c
hw/sh4/sh7750_regnames.c
hw/sh4/shix.c
hw/sparc/leon3.c
hw/sparc64/niagara.c
hw/sparc64/sun4u.c
hw/timer/a9gtimer.c
hw/timer/arm_mptimer.c
hw/timer/exynos4210_mct.c
hw/timer/exynos4210_rtc.c
hw/timer/hpet.c
hw/timer/i8254.c
hw/timer/i8254_common.c
hw/timer/lm32_timer.c
hw/timer/m48t59.c
hw/timer/mc146818rtc.c
hw/timer/milkymist-sysctl.c
hw/timer/mips_gictimer.c
hw/timer/omap_gptimer.c
hw/timer/omap_synctimer.c
hw/timer/pxa2xx_timer.c
hw/timer/sun4v-rtc.c
hw/timer/twl92230.c
hw/tpm/tpm_emulator.c
hw/tpm/tpm_passthrough.c
hw/tricore/tricore_testboard.c
hw/usb/bus.c
hw/usb/dev-audio.c
hw/usb/dev-hid.c
hw/usb/dev-wacom.c
hw/usb/hcd-ehci.h
hw/usb/hcd-ohci-pci.c
hw/usb/hcd-ohci.c
hw/usb/hcd-uhci.c
hw/usb/hcd-xhci-nec.c
hw/usb/hcd-xhci.c
hw/usb/libhw.c
hw/usb/tusb6010.c
hw/vfio/pci-quirks.c
hw/vfio/pci.c
hw/virtio/vhost.c
hw/virtio/virtio-bus.c
hw/watchdog/wdt_i6300esb.c
hw/watchdog/wdt_ib700.c
hw/xen/xen-bus-helper.c
hw/xen/xen-bus.c
hw/xen/xen-legacy-backend.c
hw/xen/xen_pt_load_rom.c
hw/xenpv/xen_machine_pv.c
hw/xtensa/mx_pic.c
hw/xtensa/pic_cpu.c
include/hw/audio/pcspk.h
include/hw/audio/wm8750.h
include/hw/char/serial.h
include/hw/char/stm32f2xx_usart.h
include/hw/dma/i8257.h
include/hw/hw.h
include/hw/i386/ich9.h
include/hw/i386/ioapic_internal.h
include/hw/input/i8042.h
include/hw/isa/apm.h
include/hw/isa/i8259_internal.h
include/hw/misc/stm32f2xx_syscfg.h
include/hw/net/ne2000-isa.h
include/hw/pci-host/designware.h
include/hw/pci-host/gpex.h
include/hw/pci-host/q35.h
include/hw/pci-host/uninorth.h
include/hw/pci-host/xilinx-pcie.h
include/hw/pci/pcie.h
include/hw/pci/pcie_aer.h
include/hw/qdev.h
include/hw/riscv/riscv_htif.h
include/hw/ssi/stm32f2xx_spi.h
include/hw/timer/aspeed_rtc.h
include/hw/timer/i8254.h
include/hw/timer/i8254_internal.h
include/hw/virtio/vhost.h
include/hw/virtio/virtio.h
include/hw/xen/xen_common.h
include/sysemu/dma.h
include/sysemu/hax.h
include/sysemu/hvf.h
monitor/misc.c
target/alpha/machine.c
target/arm/machine.c
target/cris/machine.c
target/hppa/machine.c
target/i386/cpu.c
target/i386/machine.c
target/lm32/machine.c
target/mips/machine.c
target/moxie/machine.c
target/openrisc/machine.c
target/ppc/kvm.c
target/ppc/machine.c
target/s390x/cpu.c
target/s390x/kvm.c
target/s390x/machine.c
target/s390x/mmu_helper.c
target/sparc/machine.c
ui/spice-core.c
vl.c