]> Git Repo - qemu.git/commitdiff
ide: Include hw/ide/internal a bit less outside hw/ide/
authorMarkus Armbruster <[email protected]>
Mon, 12 Aug 2019 05:23:40 +0000 (07:23 +0200)
committerMarkus Armbruster <[email protected]>
Fri, 16 Aug 2019 11:31:52 +0000 (13:31 +0200)
According to hw/ide/internal's file comment, only files in hw/ide/ are
supposed to include it.  Drag reality slightly closer to supposition.

Three includes outside hw/ide remain: hw/arm/sbsa-ref.c,
include/hw/ide/pci.h, and include/hw/misc/macio/macio.h.  Turns out
board code needs ide-internal.h to wire up IDE stuff.  More cleanup is
needed.  Left for another day.

Cc: John Snow <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: John Snow <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20190812052359[email protected]>

hw/arm/allwinner-a10.c
hw/arm/cubieboard.c
hw/arm/xlnx-zynqmp.c
hw/ide/ahci_internal.h
hw/ppc/mac.h
include/hw/arm/allwinner-a10.h
include/hw/arm/xlnx-zynqmp.h
include/hw/misc/mos6522.h

index 35e906ca54f7157a4b9ade09464261d70e669592..3b0d3eccddf85840c82cb857d19c0d0a82a6fb2c 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "exec/address-spaces.h"
 #include "qapi/error.h"
 #include "qemu/module.h"
 #include "cpu.h"
index f7c8a5985a29db3d4376d891485c53ed650c8289..38e0ca0f533e31aa4274f8423c534beb173df9a6 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "exec/address-spaces.h"
 #include "qapi/error.h"
 #include "cpu.h"
 #include "hw/sysbus.h"
index a60830d37a5a9c43f26e5e6cada9507eeba0b78f..0f587e63d35d6ff8333aa65c30dc032b162bcac6 100644 (file)
@@ -24,6 +24,7 @@
 #include "hw/boards.h"
 #include "exec/address-spaces.h"
 #include "sysemu/kvm.h"
+#include "sysemu/sysemu.h"
 #include "kvm_arm.h"
 
 #define GIC_NUM_SPI_INTR 160
index 95ecddcd3c29a36631d580fa5086cfdfb3962357..73424516daf27f875aba856c52178c4925e476dd 100644 (file)
@@ -25,6 +25,7 @@
 #define HW_IDE_AHCI_INTERNAL_H
 
 #include "hw/ide/ahci.h"
+#include "hw/ide/internal.h"
 #include "hw/sysbus.h"
 
 #define AHCI_MEM_BAR_SIZE         0x1000
index a741300ac92bdacf7f88c0ffbd340c527c829def..6af87d1fa051742a676fbcc595d7d621e58169ca 100644 (file)
@@ -30,7 +30,6 @@
 #include "exec/memory.h"
 #include "hw/boards.h"
 #include "hw/sysbus.h"
-#include "hw/ide/internal.h"
 #include "hw/input/adb.h"
 #include "hw/misc/mos6522.h"
 #include "hw/pci/pci_host.h"
index 7182ce5c4b2d55147a6388571f90d45345fd1a94..101b72a71dcf2fcc75333284934a31741896801a 100644 (file)
@@ -7,7 +7,6 @@
 #include "hw/timer/allwinner-a10-pit.h"
 #include "hw/intc/allwinner-a10-pic.h"
 #include "hw/net/allwinner_emac.h"
-#include "hw/ide/pci.h"
 #include "hw/ide/ahci.h"
 
 #include "sysemu/sysemu.h"
index 6cb65e7537577a37a9a98563b22819fd6d97fa83..d7483c3b4285846177de1b2228751a87a3a781f8 100644 (file)
@@ -22,7 +22,6 @@
 #include "hw/intc/arm_gic.h"
 #include "hw/net/cadence_gem.h"
 #include "hw/char/cadence_uart.h"
-#include "hw/ide/pci.h"
 #include "hw/ide/ahci.h"
 #include "hw/sd/sdhci.h"
 #include "hw/ssi/xilinx_spips.h"
index 03d9f0c059768d7af0d0979f75b98c1930be02c8..493c907537448e3ecbde00da055975650a161b06 100644 (file)
@@ -29,7 +29,6 @@
 
 #include "exec/memory.h"
 #include "hw/sysbus.h"
-#include "hw/ide/internal.h"
 #include "hw/input/adb.h"
 
 /* Bits in ACR */
This page took 0.036726 seconds and 4 git commands to generate.