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>
This commit is contained in:
Markus Armbruster 2019-08-12 07:23:46 +02:00
parent d645427057
commit d484205210
26 changed files with 20 additions and 10 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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;

View file

@ -3,7 +3,7 @@
/* NOR flash devices */
#include "exec/memory.h"
#include "exec/hwaddr.h"
/* pflash_cfi01.c */

View file

@ -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"

View file

@ -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"

View file

@ -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)

View file

@ -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,

View file

@ -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,

View file

@ -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);

View file

@ -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

View file

@ -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);

View file

@ -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;

View file

@ -28,6 +28,7 @@
#ifndef XICS_H
#define XICS_H
#include "exec/memory.h"
#include "hw/qdev.h"
#define XICS_IPI 0x2

View file

@ -25,6 +25,7 @@
* THE SOFTWARE.
*/
#include "exec/memory.h"
#include "hw/qdev.h"
#include "qemu/iov.h"
#include "qemu/queue.h"

View file

@ -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"