diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-08-12 07:23:46 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-08-16 13:31:52 +0200 |
commit | d4842052100a3b44167e34ebdce0e7b3bf7512cf (patch) | |
tree | 1843d364e16c6c272b97ca6870fb31d6992ed2a3 /include | |
parent | d6454270575da1f16a8923c7cb240e46ef243f72 (diff) | |
download | qemu-d4842052100a3b44167e34ebdce0e7b3bf7512cf.zip qemu-d4842052100a3b44167e34ebdce0e7b3bf7512cf.tar.gz qemu-d4842052100a3b44167e34ebdce0e7b3bf7512cf.tar.bz2 |
Include exec/memory.h slightly less
Drop unnecessary inclusions from headers. Downgrade a few more to
exec/hwaddr.h.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190812052359.30071-17-armbru@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/arm/boot.h | 1 | ||||
-rw-r--r-- | include/hw/arm/fsl-imx7.h | 1 | ||||
-rw-r--r-- | include/hw/arm/soc_dma.h | 2 | ||||
-rw-r--r-- | include/hw/block/flash.h | 2 | ||||
-rw-r--r-- | include/hw/boards.h | 1 | ||||
-rw-r--r-- | include/hw/char/parallel.h | 1 | ||||
-rw-r--r-- | include/hw/display/milkymist_tmu2.h | 1 | ||||
-rw-r--r-- | include/hw/display/tc6393xb.h | 2 | ||||
-rw-r--r-- | include/hw/display/vga.h | 2 | ||||
-rw-r--r-- | include/hw/hw.h | 1 | ||||
-rw-r--r-- | include/hw/i2c/pm_smbus.h | 1 | ||||
-rw-r--r-- | include/hw/i2c/smbus_eeprom.h | 1 | ||||
-rw-r--r-- | include/hw/misc/auxbus.h | 1 | ||||
-rw-r--r-- | include/hw/ppc/xics.h | 1 | ||||
-rw-r--r-- | include/hw/usb.h | 1 | ||||
-rw-r--r-- | include/hw/virtio/virtio.h | 1 |
16 files changed, 11 insertions, 9 deletions
diff --git a/include/hw/arm/boot.h b/include/hw/arm/boot.h index 350d4b0..5714dea 100644 --- a/include/hw/arm/boot.h +++ b/include/hw/arm/boot.h @@ -11,7 +11,6 @@ #ifndef HW_ARM_BOOT_H #define HW_ARM_BOOT_H -#include "exec/memory.h" #include "target/arm/cpu-qom.h" #include "qemu/notify.h" diff --git a/include/hw/arm/fsl-imx7.h b/include/hw/arm/fsl-imx7.h index 8003d45..706aef2 100644 --- a/include/hw/arm/fsl-imx7.h +++ b/include/hw/arm/fsl-imx7.h @@ -38,7 +38,6 @@ #include "hw/net/imx_fec.h" #include "hw/pci-host/designware.h" #include "hw/usb/chipidea.h" -#include "exec/memory.h" #include "cpu.h" #define TYPE_FSL_IMX7 "fsl,imx7" diff --git a/include/hw/arm/soc_dma.h b/include/hw/arm/soc_dma.h index 7886291..e93a749 100644 --- a/include/hw/arm/soc_dma.h +++ b/include/hw/arm/soc_dma.h @@ -21,7 +21,7 @@ #ifndef HW_SOC_DMA_H #define HW_SOC_DMA_H -#include "exec/memory.h" +#include "exec/hwaddr.h" struct soc_dma_s; struct soc_dma_ch_s; diff --git a/include/hw/block/flash.h b/include/hw/block/flash.h index 1acaf7d..2136a2d 100644 --- a/include/hw/block/flash.h +++ b/include/hw/block/flash.h @@ -3,7 +3,7 @@ /* NOR flash devices */ -#include "exec/memory.h" +#include "exec/hwaddr.h" /* pflash_cfi01.c */ diff --git a/include/hw/boards.h b/include/hw/boards.h index a71d1a5..3a0be31 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -3,6 +3,7 @@ #ifndef HW_BOARDS_H #define HW_BOARDS_H +#include "exec/memory.h" #include "sysemu/blockdev.h" #include "sysemu/accel.h" #include "hw/qdev.h" diff --git a/include/hw/char/parallel.h b/include/hw/char/parallel.h index d6dd62f..0a23c0f 100644 --- a/include/hw/char/parallel.h +++ b/include/hw/char/parallel.h @@ -1,7 +1,6 @@ #ifndef HW_PARALLEL_H #define HW_PARALLEL_H -#include "exec/memory.h" #include "hw/isa/isa.h" #include "chardev/char.h" diff --git a/include/hw/display/milkymist_tmu2.h b/include/hw/display/milkymist_tmu2.h index 148a119..1fd978d 100644 --- a/include/hw/display/milkymist_tmu2.h +++ b/include/hw/display/milkymist_tmu2.h @@ -27,6 +27,7 @@ #ifndef HW_DISPLAY_MILKYMIST_TMU2_H #define HW_DISPLAY_MILKYMIST_TMU2_H +#include "exec/hwaddr.h" #include "hw/qdev.h" #if defined(CONFIG_X11) && defined(CONFIG_OPENGL) diff --git a/include/hw/display/tc6393xb.h b/include/hw/display/tc6393xb.h index c653ef7..f9263bf 100644 --- a/include/hw/display/tc6393xb.h +++ b/include/hw/display/tc6393xb.h @@ -12,8 +12,6 @@ #ifndef HW_DISPLAY_TC6393XB_H #define HW_DISPLAY_TC6393XB_H -#include "exec/memory.h" - typedef struct TC6393xbState TC6393xbState; TC6393xbState *tc6393xb_init(struct MemoryRegion *sysmem, diff --git a/include/hw/display/vga.h b/include/hw/display/vga.h index 0401a3a..ca0003d 100644 --- a/include/hw/display/vga.h +++ b/include/hw/display/vga.h @@ -9,7 +9,7 @@ #ifndef QEMU_HW_DISPLAY_VGA_H #define QEMU_HW_DISPLAY_VGA_H -#include "exec/memory.h" +#include "exec/hwaddr.h" enum vga_retrace_method { VGA_RETRACE_DUMB, diff --git a/include/hw/hw.h b/include/hw/hw.h index e547008..8e18358 100644 --- a/include/hw/hw.h +++ b/include/hw/hw.h @@ -7,7 +7,6 @@ #endif #include "qom/object.h" -#include "exec/memory.h" void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2); diff --git a/include/hw/i2c/pm_smbus.h b/include/hw/i2c/pm_smbus.h index fb55c44..0d74207 100644 --- a/include/hw/i2c/pm_smbus.h +++ b/include/hw/i2c/pm_smbus.h @@ -1,6 +1,7 @@ #ifndef PM_SMBUS_H #define PM_SMBUS_H +#include "exec/memory.h" #include "hw/i2c/smbus_master.h" #define PM_SMBUS_MAX_MSG_SIZE 32 diff --git a/include/hw/i2c/smbus_eeprom.h b/include/hw/i2c/smbus_eeprom.h index 0f96836..15e2151 100644 --- a/include/hw/i2c/smbus_eeprom.h +++ b/include/hw/i2c/smbus_eeprom.h @@ -23,6 +23,7 @@ #ifndef HW_SMBUS_EEPROM_H #define HW_SMBUS_EEPROM_H +#include "exec/cpu-common.h" #include "hw/i2c/i2c.h" void smbus_eeprom_init_one(I2CBus *bus, uint8_t address, uint8_t *eeprom_buf); diff --git a/include/hw/misc/auxbus.h b/include/hw/misc/auxbus.h index c15b444..ee0ca3d 100644 --- a/include/hw/misc/auxbus.h +++ b/include/hw/misc/auxbus.h @@ -25,6 +25,7 @@ #ifndef HW_MISC_AUXBUS_H #define HW_MISC_AUXBUS_H +#include "exec/memory.h" #include "hw/qdev.h" typedef struct AUXBus AUXBus; diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h index 1eb7b5c..457aa98 100644 --- a/include/hw/ppc/xics.h +++ b/include/hw/ppc/xics.h @@ -28,6 +28,7 @@ #ifndef XICS_H #define XICS_H +#include "exec/memory.h" #include "hw/qdev.h" #define XICS_IPI 0x2 diff --git a/include/hw/usb.h b/include/hw/usb.h index c21f41c..96971a4 100644 --- a/include/hw/usb.h +++ b/include/hw/usb.h @@ -25,6 +25,7 @@ * THE SOFTWARE. */ +#include "exec/memory.h" #include "hw/qdev.h" #include "qemu/iov.h" #include "qemu/queue.h" diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h index 5da749e..e6a2a0a 100644 --- a/include/hw/virtio/virtio.h +++ b/include/hw/virtio/virtio.h @@ -14,6 +14,7 @@ #ifndef QEMU_VIRTIO_H #define QEMU_VIRTIO_H +#include "exec/memory.h" #include "hw/hw.h" #include "net/net.h" #include "hw/qdev.h" |