mirror of
https://github.com/qemu/qemu.git
synced 2024-11-27 13:53:45 +08:00
hw: Do not include "exec/address-spaces.h" if it is not necessary
Code change produced with: $ git grep '#include "exec/address-spaces.h"' hw include/hw | \ cut -d: -f-1 | \ xargs egrep -L "(get_system_|address_space_)" | \ xargs sed -i.bak '/#include "exec\/address-spaces.h"/d' Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180528232719.4721-12-f4bug@amsat.org> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
9c5900bce5
commit
ab728275e4
@ -15,7 +15,6 @@
|
||||
#include "hw/arm/bcm2836.h"
|
||||
#include "hw/arm/raspi_platform.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
/* Peripheral base address seen by the CPU */
|
||||
#define BCM2836_PERI_BASE 0x3F000000
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "hw/arm/xlnx-zynqmp.h"
|
||||
#include "hw/boards.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "qemu/log.h"
|
||||
#include "sysemu/qtest.h"
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "sysemu/block-backend.h"
|
||||
#include "sysemu/blockdev.h"
|
||||
#include "exec/memory.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "qemu/error-report.h"
|
||||
|
||||
|
@ -43,7 +43,6 @@
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "qemu/bitops.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "qemu/host-utils.h"
|
||||
#include "qemu/log.h"
|
||||
#include "hw/sysbus.h"
|
||||
|
@ -41,7 +41,6 @@
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "sysemu/block-backend.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "qemu/host-utils.h"
|
||||
#include "hw/sysbus.h"
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/m68k/mcf.h"
|
||||
#include "chardev/char-fe.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
typedef struct {
|
||||
SysBusDevice parent_obj;
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "chardev/char-serial.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "qemu/error-report.h"
|
||||
|
||||
//#define DEBUG_SERIAL
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "hw/hw.h"
|
||||
#include "hw/sh4/sh.h"
|
||||
#include "chardev/char-fe.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "qapi/error.h"
|
||||
|
||||
//#define DEBUG_SERIAL
|
||||
|
@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "exec/memory.h"
|
||||
#include "hw/loader.h"
|
||||
#include "hw/loader-fit.h"
|
||||
|
@ -21,7 +21,6 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/platform-bus.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "hw/pci/pci.h"
|
||||
#include "qemu/range.h"
|
||||
#include "ui/pixel_ops.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
/*
|
||||
* Status: 2010/05/07
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "qemu/timer.h"
|
||||
#include "hw/ptimer.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
/* General purpose timer module. */
|
||||
typedef struct {
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "hw/hw.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/m68k/mcf.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
#define TYPE_MCF_INTC "mcf-intc"
|
||||
#define MCF_INTC(obj) OBJECT_CHECK(mcf_intc_state, (obj), TYPE_MCF_INTC)
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "hw/misc/arm_integrator_debug.h"
|
||||
#include "qemu/log.h"
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "hw/sysbus.h"
|
||||
/* For crc32 */
|
||||
#include <zlib.h>
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
//#define DEBUG_FEC 1
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "hw/qdev.h"
|
||||
#include "ne2000.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/visitor.h"
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/pci/pci_bus.h"
|
||||
#include "hw/pci/pci_host.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "qemu/log.h"
|
||||
|
||||
/* Old and buggy versions of QEMU used the wrong mapping from
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "chardev/char-fe.h"
|
||||
#include "hw/riscv/riscv_htif.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "qemu/error-report.h"
|
||||
|
||||
#define RISCV_DEBUG_HTIF 0
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "hw/sh4/sh_intc.h"
|
||||
#include "cpu.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
#define NB_DEVICES 4
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "hw/sh4/sh.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "hw/ptimer.h"
|
||||
|
||||
//#define DEBUG_TIMER
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "hw/ide/ahci.h"
|
||||
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
|
||||
#define AW_A10_PIC_REG_BASE 0x01c20400
|
||||
|
@ -12,7 +12,6 @@
|
||||
#define BCM2835_PERIPHERALS_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/char/bcm2835_aux.h"
|
||||
#include "hw/display/bcm2835_fb.h"
|
||||
|
@ -12,7 +12,6 @@
|
||||
#define BCM2835_FB_H
|
||||
|
||||
#include "hw/sysbus.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "ui/console.h"
|
||||
|
||||
#define TYPE_BCM2835_FB "bcm2835-fb"
|
||||
|
@ -7,7 +7,6 @@
|
||||
#define BCM2835_DMA_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "hw/sysbus.h"
|
||||
|
||||
typedef struct {
|
||||
|
@ -8,7 +8,6 @@
|
||||
|
||||
#include "bcm2835_mbox_defs.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
#define TYPE_BCM2835_MBOX "bcm2835-mbox"
|
||||
#define BCM2835_MBOX(obj) \
|
||||
|
@ -7,7 +7,6 @@
|
||||
#define BCM2835_PROPERTY_H
|
||||
|
||||
#include "hw/sysbus.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "net/net.h"
|
||||
#include "hw/display/bcm2835_fb.h"
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "hw/irq.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
typedef unsigned char intc_enum;
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#include "hw/virtio/virtio.h"
|
||||
#include "hw/virtio/virtio-bus.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
#if defined(TARGET_PPC64) || defined(TARGET_ARM)
|
||||
#define LEGACY_VIRTIO_IS_BIENDIAN 1
|
||||
|
Loading…
Reference in New Issue
Block a user