Skip to content

Commit

Permalink
Do not include exec/address-spaces.h if it's not really necessary
Browse files Browse the repository at this point in the history
Stop including exec/address-spaces.h in files that don't need it.

Signed-off-by: Thomas Huth <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
  • Loading branch information
huth authored and vivier committed May 2, 2021
1 parent 2068cab commit ee86213
Show file tree
Hide file tree
Showing 125 changed files with 0 additions and 126 deletions.
1 change: 0 additions & 1 deletion accel/kvm/kvm-all.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include "qemu/bswap.h"
#include "exec/memory.h"
#include "exec/ram_addr.h"
#include "exec/address-spaces.h"
#include "qemu/event_notifier.h"
#include "qemu/main-loop.h"
#include "trace.h"
Expand Down
1 change: 0 additions & 1 deletion accel/tcg/cputlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "hw/core/tcg-cpu-ops.h"
#include "exec/exec-all.h"
#include "exec/memory.h"
#include "exec/address-spaces.h"
#include "exec/cpu_ldst.h"
#include "exec/cputlb.h"
#include "exec/tb-hash.h"
Expand Down
1 change: 0 additions & 1 deletion hw/acpi/generic_event_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include "qemu/osdep.h"
#include "qapi/error.h"
#include "exec/address-spaces.h"
#include "hw/acpi/acpi.h"
#include "hw/acpi/generic_event_device.h"
#include "hw/irq.h"
Expand Down
1 change: 0 additions & 1 deletion hw/acpi/ich9.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#include "sysemu/runstate.h"
#include "hw/acpi/acpi.h"
#include "hw/acpi/tco.h"
#include "exec/address-spaces.h"

#include "hw/i386/ich9.h"
#include "hw/mem/pc-dimm.h"
Expand Down
1 change: 0 additions & 1 deletion hw/acpi/pcihp.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include "hw/pci/pci.h"
#include "hw/pci/pci_bridge.h"
#include "hw/acpi/acpi.h"
#include "exec/address-spaces.h"
#include "hw/pci/pci_bus.h"
#include "migration/vmstate.h"
#include "qapi/error.h"
Expand Down
1 change: 0 additions & 1 deletion hw/acpi/piix4.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include "sysemu/xen.h"
#include "qapi/error.h"
#include "qemu/range.h"
#include "exec/address-spaces.h"
#include "hw/acpi/pcihp.h"
#include "hw/acpi/cpu_hotplug.h"
#include "hw/acpi/cpu.h"
Expand Down
1 change: 0 additions & 1 deletion hw/alpha/typhoon.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "cpu.h"
#include "hw/irq.h"
#include "alpha_sys.h"
#include "exec/address-spaces.h"
#include "qom/object.h"


Expand Down
1 change: 0 additions & 1 deletion hw/arm/allwinner-a10.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/

#include "qemu/osdep.h"
#include "exec/address-spaces.h"
#include "qapi/error.h"
#include "qemu/module.h"
#include "hw/sysbus.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/allwinner-h3.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

#include "qemu/osdep.h"
#include "exec/address-spaces.h"
#include "qapi/error.h"
#include "qemu/error-report.h"
#include "qemu/module.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/armv7m.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include "sysemu/reset.h"
#include "qemu/error-report.h"
#include "qemu/module.h"
#include "exec/address-spaces.h"
#include "target/arm/idau.h"

/* Bitbanded IO. Each word corresponds to a single bit. */
Expand Down
1 change: 0 additions & 1 deletion hw/arm/aspeed.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include "qemu/osdep.h"
#include "qapi/error.h"
#include "exec/address-spaces.h"
#include "hw/arm/boot.h"
#include "hw/arm/aspeed.h"
#include "hw/arm/aspeed_soc.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/aspeed_ast2600.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include "qemu/osdep.h"
#include "qapi/error.h"
#include "exec/address-spaces.h"
#include "hw/misc/unimp.h"
#include "hw/arm/aspeed_soc.h"
#include "hw/char/serial.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/aspeed_soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

#include "qemu/osdep.h"
#include "qapi/error.h"
#include "exec/address-spaces.h"
#include "hw/misc/unimp.h"
#include "hw/arm/aspeed_soc.h"
#include "hw/char/serial.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "sysemu/device_tree.h"
#include "qemu/config-file.h"
#include "qemu/option.h"
#include "exec/address-spaces.h"
#include "qemu/units.h"

/* Kernel boot protocol is specified in the kernel docs
Expand Down
1 change: 0 additions & 1 deletion hw/arm/cubieboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/

#include "qemu/osdep.h"
#include "exec/address-spaces.h"
#include "qapi/error.h"
#include "hw/boards.h"
#include "hw/qdev-properties.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/digic_boards.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "hw/boards.h"
#include "exec/address-spaces.h"
#include "qemu/error-report.h"
#include "hw/arm/digic.h"
#include "hw/block/flash.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/fsl-imx25.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "qapi/error.h"
#include "hw/arm/fsl-imx25.h"
#include "sysemu/sysemu.h"
#include "exec/address-spaces.h"
#include "hw/qdev-properties.h"
#include "chardev/char.h"

Expand Down
1 change: 0 additions & 1 deletion hw/arm/highbank.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "sysemu/runstate.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h"
#include "exec/address-spaces.h"
#include "qemu/error-report.h"
#include "hw/char/pl011.h"
#include "hw/ide/ahci.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/imx25_pdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "hw/arm/fsl-imx25.h"
#include "hw/boards.h"
#include "qemu/error-report.h"
#include "exec/address-spaces.h"
#include "sysemu/qtest.h"
#include "hw/i2c/i2c.h"
#include "qemu/cutils.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/musicpal.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include "sysemu/block-backend.h"
#include "sysemu/runstate.h"
#include "sysemu/dma.h"
#include "exec/address-spaces.h"
#include "ui/pixel_ops.h"
#include "qemu/cutils.h"
#include "qom/object.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/npcm7xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include "qemu/osdep.h"

#include "exec/address-spaces.h"
#include "hw/arm/boot.h"
#include "hw/arm/npcm7xx.h"
#include "hw/char/serial.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/npcm7xx_boards.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include "qemu/osdep.h"

#include "exec/address-spaces.h"
#include "hw/arm/npcm7xx.h"
#include "hw/core/cpu.h"
#include "hw/i2c/smbus_eeprom.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/nrf51_soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "hw/arm/boot.h"
#include "hw/sysbus.h"
#include "hw/misc/unimp.h"
#include "exec/address-spaces.h"
#include "qemu/log.h"

#include "hw/arm/nrf51.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/nseries.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include "hw/loader.h"
#include "hw/sysbus.h"
#include "qemu/log.h"
#include "exec/address-spaces.h"

/* Nokia N8x0 support */
struct n800_s {
Expand Down
1 change: 0 additions & 1 deletion hw/arm/palm.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "hw/input/tsc2xxx.h"
#include "hw/irq.h"
#include "hw/loader.h"
#include "exec/address-spaces.h"
#include "cpu.h"
#include "qemu/cutils.h"
#include "qom/object.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/realview.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "sysemu/sysemu.h"
#include "hw/boards.h"
#include "hw/i2c/i2c.h"
#include "exec/address-spaces.h"
#include "qemu/error-report.h"
#include "hw/char/pl011.h"
#include "hw/cpu/a9mpcore.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/sbsa-ref.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "sysemu/numa.h"
#include "sysemu/runstate.h"
#include "sysemu/sysemu.h"
#include "exec/address-spaces.h"
#include "exec/hwaddr.h"
#include "kvm_arm.h"
#include "hw/arm/boot.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/smmu-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/

#include "qemu/osdep.h"
#include "exec/address-spaces.h"
#include "trace.h"
#include "exec/target_page.h"
#include "hw/core/cpu.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/smmuv3.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "migration/vmstate.h"
#include "hw/qdev-core.h"
#include "hw/pci/pci.h"
#include "exec/address-spaces.h"
#include "cpu.h"
#include "trace.h"
#include "qemu/log.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/versatilepb.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "hw/i2c/arm_sbcon_i2c.h"
#include "hw/irq.h"
#include "hw/boards.h"
#include "exec/address-spaces.h"
#include "hw/block/flash.h"
#include "qemu/error-report.h"
#include "hw/char/pl011.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/vexpress.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#include "sysemu/sysemu.h"
#include "hw/boards.h"
#include "hw/loader.h"
#include "exec/address-spaces.h"
#include "hw/block/flash.h"
#include "sysemu/device_tree.h"
#include "qemu/error-report.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/virt.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
#include "sysemu/tpm.h"
#include "sysemu/kvm.h"
#include "hw/loader.h"
#include "exec/address-spaces.h"
#include "qemu/bitops.h"
#include "qemu/error-report.h"
#include "qemu/module.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/xilinx_zynq.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "hw/sysbus.h"
#include "hw/arm/boot.h"
#include "net/net.h"
#include "exec/address-spaces.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h"
#include "hw/block/flash.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/xlnx-versal-virt.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "qemu/error-report.h"
#include "qapi/error.h"
#include "sysemu/device_tree.h"
#include "exec/address-spaces.h"
#include "hw/boards.h"
#include "hw/sysbus.h"
#include "hw/arm/sysbus-fdt.h"
Expand Down
1 change: 0 additions & 1 deletion hw/arm/xlnx-zynqmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "hw/arm/xlnx-zynqmp.h"
#include "hw/intc/arm_gic_common.h"
#include "hw/boards.h"
#include "exec/address-spaces.h"
#include "sysemu/kvm.h"
#include "sysemu/sysemu.h"
#include "kvm_arm.h"
Expand Down
1 change: 0 additions & 1 deletion hw/char/mchp_pfsoc_mmuart.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "qemu/osdep.h"
#include "qemu/log.h"
#include "chardev/char.h"
#include "exec/address-spaces.h"
#include "hw/char/mchp_pfsoc_mmuart.h"

static uint64_t mchp_pfsoc_mmuart_read(void *opaque, hwaddr addr, unsigned size)
Expand Down
1 change: 0 additions & 1 deletion hw/core/loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
#include "hw/loader.h"
#include "hw/nvram/fw_cfg.h"
#include "exec/memory.h"
#include "exec/address-spaces.h"
#include "hw/boards.h"
#include "qemu/cutils.h"
#include "sysemu/runstate.h"
Expand Down
1 change: 0 additions & 1 deletion hw/cris/axis_dev88.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include "hw/loader.h"
#include "elf.h"
#include "boot.h"
#include "exec/address-spaces.h"
#include "sysemu/qtest.h"
#include "sysemu/sysemu.h"

Expand Down
1 change: 0 additions & 1 deletion hw/dma/pl080.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "qemu/osdep.h"
#include "hw/sysbus.h"
#include "migration/vmstate.h"
#include "exec/address-spaces.h"
#include "qemu/log.h"
#include "qemu/module.h"
#include "hw/dma/pl080.h"
Expand Down
1 change: 0 additions & 1 deletion hw/hppa/dino.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include "hw/pci/pci_bus.h"
#include "migration/vmstate.h"
#include "hppa_sys.h"
#include "exec/address-spaces.h"
#include "trace.h"
#include "qom/object.h"

Expand Down
1 change: 0 additions & 1 deletion hw/hppa/lasi.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "hw/char/parallel.h"
#include "hw/char/serial.h"
#include "hw/input/lasips2.h"
#include "exec/address-spaces.h"
#include "migration/vmstate.h"
#include "qom/object.h"

Expand Down
1 change: 0 additions & 1 deletion hw/i386/intel_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "qemu/main-loop.h"
#include "qapi/error.h"
#include "hw/sysbus.h"
#include "exec/address-spaces.h"
#include "intel_iommu_internal.h"
#include "hw/pci/pci.h"
#include "hw/pci/pci_bus.h"
Expand Down
1 change: 0 additions & 1 deletion hw/i386/pc.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
#include "hw/xen/start_info.h"
#include "ui/qemu-spice.h"
#include "exec/memory.h"
#include "exec/address-spaces.h"
#include "sysemu/arch_init.h"
#include "qemu/bitmap.h"
#include "qemu/config-file.h"
Expand Down
1 change: 0 additions & 1 deletion hw/i386/pc_piix.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
#include "hw/i2c/smbus_eeprom.h"
#include "hw/xen/xen-x86.h"
#include "exec/memory.h"
#include "exec/address-spaces.h"
#include "hw/acpi/acpi.h"
#include "qapi/error.h"
#include "qemu/error-report.h"
Expand Down
1 change: 0 additions & 1 deletion hw/i386/pc_q35.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#include "hw/kvm/clock.h"
#include "hw/pci-host/q35.h"
#include "hw/qdev-properties.h"
#include "exec/address-spaces.h"
#include "hw/i386/x86.h"
#include "hw/i386/pc.h"
#include "hw/i386/ich9.h"
Expand Down
1 change: 0 additions & 1 deletion hw/i386/xen/xen-hvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include "sysemu/xen.h"
#include "sysemu/xen-mapcache.h"
#include "trace.h"
#include "exec/address-spaces.h"

#include <xen/hvm/ioreq.h>
#include <xen/hvm/e820.h>
Expand Down
1 change: 0 additions & 1 deletion hw/i386/xen/xen_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include "migration/vmstate.h"
#include "hw/xen/xen-legacy-backend.h"
#include "trace.h"
#include "exec/address-spaces.h"
#include "sysemu/xen.h"
#include "sysemu/block-backend.h"
#include "qemu/error-report.h"
Expand Down
1 change: 0 additions & 1 deletion hw/intc/openpic_kvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include <sys/ioctl.h>
#include "exec/address-spaces.h"
#include "hw/ppc/openpic.h"
#include "hw/ppc/openpic_kvm.h"
#include "hw/pci/msi.h"
Expand Down
1 change: 0 additions & 1 deletion hw/isa/lpc_ich9.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#include "hw/acpi/ich9.h"
#include "hw/pci/pci_bus.h"
#include "hw/qdev-properties.h"
#include "exec/address-spaces.h"
#include "sysemu/runstate.h"
#include "sysemu/sysemu.h"
#include "hw/core/cpu.h"
Expand Down
1 change: 0 additions & 1 deletion hw/isa/vt82c686.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "qemu/module.h"
#include "qemu/range.h"
#include "qemu/timer.h"
#include "exec/address-spaces.h"
#include "trace.h"

#define TYPE_VIA_PM "via-pm"
Expand Down
Loading

0 comments on commit ee86213

Please sign in to comment.