Ver código fonte

Include sysemu/reset.h a lot less

In my "build everything" tree, changing sysemu/reset.h triggers a
recompile of some 2600 out of 6600 objects (not counting tests and
objects that don't depend on qemu/osdep.h).

The main culprit is hw/hw.h, which supposedly includes it for
convenience.

Include sysemu/reset.h only where it's needed.  Touching it now
recompiles less than 200 objects.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190812052359.30071-9-armbru@redhat.com>
Markus Armbruster 6 anos atrás
pai
commit
71e8a91585
92 arquivos alterados com 107 adições e 2 exclusões
  1. 2 0
      hw/acpi/ich9.c
  2. 2 0
      hw/acpi/piix4.c
  3. 1 0
      hw/acpi/vmgenid.c
  4. 1 0
      hw/arm/armv7m.c
  5. 1 0
      hw/arm/boot.c
  6. 1 0
      hw/arm/nseries.c
  7. 1 0
      hw/arm/omap1.c
  8. 1 0
      hw/arm/omap2.c
  9. 1 0
      hw/arm/virt-acpi-build.c
  10. 1 0
      hw/char/parallel.c
  11. 1 0
      hw/char/serial.c
  12. 1 0
      hw/core/generic-loader.c
  13. 1 0
      hw/core/loader.c
  14. 1 0
      hw/cris/boot.c
  15. 1 0
      hw/display/cirrus_vga.c
  16. 2 0
      hw/display/ramfb.c
  17. 2 0
      hw/display/vga.c
  18. 1 0
      hw/hppa/machine.c
  19. 1 0
      hw/i386/acpi-build.c
  20. 1 0
      hw/i386/pc.c
  21. 1 0
      hw/ide/cmd646.c
  22. 1 0
      hw/ide/piix.c
  23. 1 0
      hw/ide/sii3112.c
  24. 1 0
      hw/ide/via.c
  25. 1 0
      hw/input/lm832x.c
  26. 2 0
      hw/input/pckbd.c
  27. 2 0
      hw/input/ps2.c
  28. 1 0
      hw/input/tsc2005.c
  29. 1 0
      hw/input/tsc210x.c
  30. 1 0
      hw/intc/mips_gic.c
  31. 1 0
      hw/intc/pnv_xive.c
  32. 1 0
      hw/intc/spapr_xive.c
  33. 1 0
      hw/intc/xics.c
  34. 1 0
      hw/intc/xive.c
  35. 1 0
      hw/isa/piix4.c
  36. 1 0
      hw/isa/vt82c686.c
  37. 1 0
      hw/lm32/lm32_boards.c
  38. 1 0
      hw/lm32/milkymist.c
  39. 1 0
      hw/microblaze/boot.c
  40. 1 0
      hw/mips/cps.c
  41. 1 0
      hw/mips/mips_fulong2e.c
  42. 1 0
      hw/mips/mips_jazz.c
  43. 1 0
      hw/mips/mips_malta.c
  44. 2 0
      hw/mips/mips_mipssim.c
  45. 2 0
      hw/mips/mips_r4k.c
  46. 1 0
      hw/misc/vmcoreinfo.c
  47. 2 0
      hw/moxie/moxiesim.c
  48. 1 0
      hw/net/eepro100.c
  49. 1 0
      hw/nios2/boot.c
  50. 1 0
      hw/nvram/fw_cfg.c
  51. 1 0
      hw/openrisc/openrisc_sim.c
  52. 1 0
      hw/pci-host/bonito.c
  53. 1 0
      hw/pci-host/piix.c
  54. 1 0
      hw/ppc/e500.c
  55. 1 0
      hw/ppc/mac_newworld.c
  56. 1 0
      hw/ppc/mac_oldworld.c
  57. 1 0
      hw/ppc/pnv.c
  58. 1 0
      hw/ppc/pnv_core.c
  59. 1 0
      hw/ppc/pnv_psi.c
  60. 2 0
      hw/ppc/ppc405_boards.c
  61. 2 0
      hw/ppc/ppc405_uc.c
  62. 1 0
      hw/ppc/ppc440_bamboo.c
  63. 1 0
      hw/ppc/ppc440_uc.c
  64. 2 0
      hw/ppc/ppc4xx_devs.c
  65. 1 0
      hw/ppc/ppc4xx_pci.c
  66. 2 0
      hw/ppc/ppc_booke.c
  67. 2 0
      hw/ppc/prep.c
  68. 1 0
      hw/ppc/sam460ex.c
  69. 1 0
      hw/ppc/spapr.c
  70. 2 0
      hw/ppc/spapr_cpu_core.c
  71. 1 0
      hw/ppc/spapr_drc.c
  72. 1 0
      hw/ppc/virtex_ml507.c
  73. 1 0
      hw/riscv/riscv_hart.c
  74. 1 0
      hw/s390x/ipl.c
  75. 1 0
      hw/s390x/s390-virtio-ccw.c
  76. 1 0
      hw/sh4/r2d.c
  77. 2 0
      hw/sparc/leon3.c
  78. 2 0
      hw/sparc/sun4m.c
  79. 1 0
      hw/sparc64/sparc64.c
  80. 1 0
      hw/timer/etraxfs_timer.c
  81. 1 0
      hw/timer/mc146818rtc.c
  82. 0 1
      hw/tpm/tpm_ppi.c
  83. 1 0
      hw/vfio/common.c
  84. 1 0
      hw/watchdog/wdt_diag288.c
  85. 1 0
      hw/xtensa/sim.c
  86. 1 0
      hw/xtensa/xtfpga.c
  87. 0 1
      include/hw/hw.h
  88. 1 0
      target/i386/cpu.c
  89. 1 0
      target/i386/hax-all.c
  90. 1 0
      target/i386/kvm.c
  91. 1 0
      target/s390x/cpu.c
  92. 1 0
      vl.c

+ 2 - 0
hw/acpi/ich9.c

@@ -23,6 +23,7 @@
  * Contributions after 2012-01-13 are licensed under the terms of the
  * Contributions after 2012-01-13 are licensed under the terms of the
  * GNU GPL, version 2 or (at your option) any later version.
  * GNU GPL, version 2 or (at your option) any later version.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
@@ -30,6 +31,7 @@
 #include "hw/i386/pc.h"
 #include "hw/i386/pc.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "hw/acpi/acpi.h"
 #include "hw/acpi/acpi.h"
 #include "hw/acpi/tco.h"
 #include "hw/acpi/tco.h"

+ 2 - 0
hw/acpi/piix4.c

@@ -18,6 +18,7 @@
  * Contributions after 2012-01-13 are licensed under the terms of the
  * Contributions after 2012-01-13 are licensed under the terms of the
  * GNU GPL, version 2 or (at your option) any later version.
  * GNU GPL, version 2 or (at your option) any later version.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/i386/pc.h"
 #include "hw/i386/pc.h"
@@ -25,6 +26,7 @@
 #include "hw/i2c/pm_smbus.h"
 #include "hw/i2c/pm_smbus.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci.h"
 #include "hw/acpi/acpi.h"
 #include "hw/acpi/acpi.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qemu/range.h"
 #include "qemu/range.h"

+ 1 - 0
hw/acpi/vmgenid.c

@@ -18,6 +18,7 @@
 #include "hw/acpi/aml-build.h"
 #include "hw/acpi/aml-build.h"
 #include "hw/acpi/vmgenid.h"
 #include "hw/acpi/vmgenid.h"
 #include "hw/nvram/fw_cfg.h"
 #include "hw/nvram/fw_cfg.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 
 
 void vmgenid_build_acpi(VmGenIdState *vms, GArray *table_data, GArray *guid,
 void vmgenid_build_acpi(VmGenIdState *vms, GArray *table_data, GArray *guid,

+ 1 - 0
hw/arm/armv7m.c

@@ -16,6 +16,7 @@
 #include "hw/loader.h"
 #include "hw/loader.h"
 #include "elf.h"
 #include "elf.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"

+ 1 - 0
hw/arm/boot.c

@@ -18,6 +18,7 @@
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/numa.h"
 #include "sysemu/numa.h"
+#include "sysemu/reset.h"
 #include "hw/boards.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
 #include "hw/loader.h"
 #include "elf.h"
 #include "elf.h"

+ 1 - 0
hw/arm/nseries.c

@@ -23,6 +23,7 @@
 #include "cpu.h"
 #include "cpu.h"
 #include "qemu/cutils.h"
 #include "qemu/cutils.h"
 #include "qemu/bswap.h"
 #include "qemu/bswap.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "hw/arm/omap.h"
 #include "hw/arm/omap.h"
 #include "hw/arm/boot.h"
 #include "hw/arm/boot.h"

+ 1 - 0
hw/arm/omap1.c

@@ -29,6 +29,7 @@
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "hw/arm/soc_dma.h"
 #include "hw/arm/soc_dma.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "qemu/range.h"
 #include "qemu/range.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "qemu/cutils.h"
 #include "qemu/cutils.h"

+ 1 - 0
hw/arm/omap2.c

@@ -23,6 +23,7 @@
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "cpu.h"
 #include "cpu.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "hw/boards.h"
 #include "hw/boards.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/arm/boot.h"
 #include "hw/arm/boot.h"

+ 1 - 0
hw/arm/virt-acpi-build.c

@@ -44,6 +44,7 @@
 #include "hw/pci/pci.h"
 #include "hw/pci/pci.h"
 #include "hw/arm/virt.h"
 #include "hw/arm/virt.h"
 #include "sysemu/numa.h"
 #include "sysemu/numa.h"
+#include "sysemu/reset.h"
 #include "kvm_arm.h"
 #include "kvm_arm.h"
 
 
 #define ARM_SPI_BASE 32
 #define ARM_SPI_BASE 32

+ 1 - 0
hw/char/parallel.c

@@ -31,6 +31,7 @@
 #include "chardev/char-fe.h"
 #include "chardev/char-fe.h"
 #include "hw/isa/isa.h"
 #include "hw/isa/isa.h"
 #include "hw/char/parallel.h"
 #include "hw/char/parallel.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "trace.h"
 #include "trace.h"
 
 

+ 1 - 0
hw/char/serial.c

@@ -28,6 +28,7 @@
 #include "chardev/char-serial.h"
 #include "chardev/char-serial.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
+#include "sysemu/reset.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "trace.h"
 #include "trace.h"
 
 

+ 1 - 0
hw/core/generic-loader.c

@@ -34,6 +34,7 @@
 #include "qom/cpu.h"
 #include "qom/cpu.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "sysemu/dma.h"
 #include "sysemu/dma.h"
+#include "sysemu/reset.h"
 #include "hw/loader.h"
 #include "hw/loader.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qemu/module.h"
 #include "qemu/module.h"

+ 1 - 0
hw/core/loader.c

@@ -48,6 +48,7 @@
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "disas/disas.h"
 #include "disas/disas.h"
 #include "monitor/monitor.h"
 #include "monitor/monitor.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "uboot_image.h"
 #include "uboot_image.h"
 #include "hw/loader.h"
 #include "hw/loader.h"

+ 1 - 0
hw/cris/boot.c

@@ -29,6 +29,7 @@
 #include "elf.h"
 #include "elf.h"
 #include "boot.h"
 #include "boot.h"
 #include "qemu/cutils.h"
 #include "qemu/cutils.h"
+#include "sysemu/reset.h"
 
 
 static void main_cpu_reset(void *opaque)
 static void main_cpu_reset(void *opaque)
 {
 {

+ 1 - 0
hw/display/cirrus_vga.c

@@ -35,6 +35,7 @@
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
 #include "qemu/units.h"
 #include "qemu/units.h"
+#include "sysemu/reset.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "trace.h"
 #include "trace.h"
 #include "hw/hw.h"
 #include "hw/hw.h"

+ 2 - 0
hw/display/ramfb.c

@@ -10,12 +10,14 @@
  * This work is licensed under the terms of the GNU GPL, version 2 or later.
  * This work is licensed under the terms of the GNU GPL, version 2 or later.
  * See the COPYING file in the top-level directory.
  * See the COPYING file in the top-level directory.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qemu/option.h"
 #include "qemu/option.h"
 #include "hw/loader.h"
 #include "hw/loader.h"
 #include "hw/display/ramfb.h"
 #include "hw/display/ramfb.h"
 #include "ui/console.h"
 #include "ui/console.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 
 
 struct QEMU_PACKED RAMFBCfg {
 struct QEMU_PACKED RAMFBCfg {

+ 2 - 0
hw/display/vga.c

@@ -21,8 +21,10 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qemu/units.h"
+#include "sysemu/reset.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/display/vga.h"
 #include "hw/display/vga.h"

+ 1 - 0
hw/hppa/machine.c

@@ -11,6 +11,7 @@
 #include "hw/loader.h"
 #include "hw/loader.h"
 #include "hw/boards.h"
 #include "hw/boards.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "hw/timer/mc146818rtc.h"
 #include "hw/timer/mc146818rtc.h"
 #include "hw/ide.h"
 #include "hw/ide.h"

+ 1 - 0
hw/i386/acpi-build.c

@@ -48,6 +48,7 @@
 #include "hw/timer/mc146818rtc_regs.h"
 #include "hw/timer/mc146818rtc_regs.h"
 #include "hw/mem/memory-device.h"
 #include "hw/mem/memory-device.h"
 #include "sysemu/numa.h"
 #include "sysemu/numa.h"
+#include "sysemu/reset.h"
 
 
 /* Supported chipsets: */
 /* Supported chipsets: */
 #include "hw/acpi/piix4.h"
 #include "hw/acpi/piix4.h"

+ 1 - 0
hw/i386/pc.c

@@ -54,6 +54,7 @@
 #include "sysemu/numa.h"
 #include "sysemu/numa.h"
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "kvm_i386.h"
 #include "kvm_i386.h"
 #include "hw/xen/xen.h"
 #include "hw/xen/xen.h"
 #include "hw/xen/start_info.h"
 #include "hw/xen/start_info.h"

+ 1 - 0
hw/ide/cmd646.c

@@ -30,6 +30,7 @@
 #include "hw/isa/isa.h"
 #include "hw/isa/isa.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/dma.h"
 #include "sysemu/dma.h"
+#include "sysemu/reset.h"
 
 
 #include "hw/ide/pci.h"
 #include "hw/ide/pci.h"
 #include "trace.h"
 #include "trace.h"

+ 1 - 0
hw/ide/piix.c

@@ -31,6 +31,7 @@
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/blockdev.h"
 #include "sysemu/blockdev.h"
 #include "sysemu/dma.h"
 #include "sysemu/dma.h"
+#include "sysemu/reset.h"
 
 
 #include "hw/ide/pci.h"
 #include "hw/ide/pci.h"
 #include "trace.h"
 #include "trace.h"

+ 1 - 0
hw/ide/sii3112.c

@@ -15,6 +15,7 @@
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "hw/ide/pci.h"
 #include "hw/ide/pci.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
+#include "sysemu/reset.h"
 #include "trace.h"
 #include "trace.h"
 
 
 #define TYPE_SII3112_PCI "sii3112"
 #define TYPE_SII3112_PCI "sii3112"

+ 1 - 0
hw/ide/via.c

@@ -30,6 +30,7 @@
 #include "qemu/module.h"
 #include "qemu/module.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/dma.h"
 #include "sysemu/dma.h"
+#include "sysemu/reset.h"
 
 
 #include "hw/ide/pci.h"
 #include "hw/ide/pci.h"
 #include "trace.h"
 #include "trace.h"

+ 1 - 0
hw/input/lm832x.c

@@ -23,6 +23,7 @@
 #include "hw/i2c/i2c.h"
 #include "hw/i2c/i2c.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
+#include "sysemu/reset.h"
 #include "ui/console.h"
 #include "ui/console.h"
 
 
 #define TYPE_LM8323 "lm8323"
 #define TYPE_LM8323 "lm8323"

+ 2 - 0
hw/input/pckbd.c

@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/log.h"
 #include "qemu/log.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
@@ -28,6 +29,7 @@
 #include "hw/i386/pc.h"
 #include "hw/i386/pc.h"
 #include "hw/input/ps2.h"
 #include "hw/input/ps2.h"
 #include "hw/input/i8042.h"
 #include "hw/input/i8042.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 
 
 #include "trace.h"
 #include "trace.h"

+ 2 - 0
hw/input/ps2.c

@@ -21,12 +21,14 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/log.h"
 #include "qemu/log.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/input/ps2.h"
 #include "hw/input/ps2.h"
 #include "ui/console.h"
 #include "ui/console.h"
 #include "ui/input.h"
 #include "ui/input.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 
 
 #include "trace.h"
 #include "trace.h"

+ 1 - 0
hw/input/tsc2005.c

@@ -22,6 +22,7 @@
 #include "qemu/log.h"
 #include "qemu/log.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
+#include "sysemu/reset.h"
 #include "ui/console.h"
 #include "ui/console.h"
 #include "hw/input/tsc2xxx.h"
 #include "hw/input/tsc2xxx.h"
 #include "trace.h"
 #include "trace.h"

+ 1 - 0
hw/input/tsc210x.c

@@ -23,6 +23,7 @@
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "audio/audio.h"
 #include "audio/audio.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
+#include "sysemu/reset.h"
 #include "ui/console.h"
 #include "ui/console.h"
 #include "hw/arm/omap.h"            /* For I2SCodec */
 #include "hw/arm/omap.h"            /* For I2SCodec */
 #include "hw/input/tsc2xxx.h"
 #include "hw/input/tsc2xxx.h"

+ 1 - 0
hw/intc/mips_gic.c

@@ -18,6 +18,7 @@
 #include "exec/memory.h"
 #include "exec/memory.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"
+#include "sysemu/reset.h"
 #include "kvm_mips.h"
 #include "kvm_mips.h"
 #include "hw/intc/mips_gic.h"
 #include "hw/intc/mips_gic.h"
 
 

+ 1 - 0
hw/intc/pnv_xive.c

@@ -14,6 +14,7 @@
 #include "target/ppc/cpu.h"
 #include "target/ppc/cpu.h"
 #include "sysemu/cpus.h"
 #include "sysemu/cpus.h"
 #include "sysemu/dma.h"
 #include "sysemu/dma.h"
+#include "sysemu/reset.h"
 #include "monitor/monitor.h"
 #include "monitor/monitor.h"
 #include "hw/ppc/fdt.h"
 #include "hw/ppc/fdt.h"
 #include "hw/ppc/pnv.h"
 #include "hw/ppc/pnv.h"

+ 1 - 0
hw/intc/spapr_xive.c

@@ -14,6 +14,7 @@
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "target/ppc/cpu.h"
 #include "target/ppc/cpu.h"
 #include "sysemu/cpus.h"
 #include "sysemu/cpus.h"
+#include "sysemu/reset.h"
 #include "monitor/monitor.h"
 #include "monitor/monitor.h"
 #include "hw/ppc/fdt.h"
 #include "hw/ppc/fdt.h"
 #include "hw/ppc/spapr.h"
 #include "hw/ppc/spapr.h"

+ 1 - 0
hw/intc/xics.c

@@ -38,6 +38,7 @@
 #include "monitor/monitor.h"
 #include "monitor/monitor.h"
 #include "hw/intc/intc.h"
 #include "hw/intc/intc.h"
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"
+#include "sysemu/reset.h"
 
 
 void icp_pic_print_info(ICPState *icp, Monitor *mon)
 void icp_pic_print_info(ICPState *icp, Monitor *mon)
 {
 {

+ 1 - 0
hw/intc/xive.c

@@ -14,6 +14,7 @@
 #include "target/ppc/cpu.h"
 #include "target/ppc/cpu.h"
 #include "sysemu/cpus.h"
 #include "sysemu/cpus.h"
 #include "sysemu/dma.h"
 #include "sysemu/dma.h"
+#include "sysemu/reset.h"
 #include "hw/qdev-properties.h"
 #include "hw/qdev-properties.h"
 #include "monitor/monitor.h"
 #include "monitor/monitor.h"
 #include "hw/ppc/xive.h"
 #include "hw/ppc/xive.h"

+ 1 - 0
hw/isa/piix4.c

@@ -28,6 +28,7 @@
 #include "hw/pci/pci.h"
 #include "hw/pci/pci.h"
 #include "hw/isa/isa.h"
 #include "hw/isa/isa.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
+#include "sysemu/reset.h"
 
 
 PCIDevice *piix4_dev;
 PCIDevice *piix4_dev;
 
 

+ 1 - 0
hw/isa/vt82c686.c

@@ -22,6 +22,7 @@
 #include "hw/isa/apm.h"
 #include "hw/isa/apm.h"
 #include "hw/acpi/acpi.h"
 #include "hw/acpi/acpi.h"
 #include "hw/i2c/pm_smbus.h"
 #include "hw/i2c/pm_smbus.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"

+ 1 - 0
hw/lm32/lm32_boards.c

@@ -30,6 +30,7 @@
 #include "lm32_hwsetup.h"
 #include "lm32_hwsetup.h"
 #include "lm32.h"
 #include "lm32.h"
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 
 
 typedef struct {
 typedef struct {

+ 1 - 0
hw/lm32/milkymist.c

@@ -27,6 +27,7 @@
 #include "hw/block/flash.h"
 #include "hw/block/flash.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "hw/boards.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
 #include "hw/loader.h"
 #include "elf.h"
 #include "elf.h"

+ 1 - 0
hw/microblaze/boot.c

@@ -31,6 +31,7 @@
 #include "qemu/config-file.h"
 #include "qemu/config-file.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "sysemu/device_tree.h"
 #include "sysemu/device_tree.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "hw/loader.h"
 #include "hw/loader.h"
 #include "elf.h"
 #include "elf.h"

+ 1 - 0
hw/mips/cps.c

@@ -24,6 +24,7 @@
 #include "hw/mips/mips.h"
 #include "hw/mips/mips.h"
 #include "hw/mips/cpudevs.h"
 #include "hw/mips/cpudevs.h"
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"
+#include "sysemu/reset.h"
 
 
 qemu_irq get_cps_irq(MIPSCPSState *s, int pin_number)
 qemu_irq get_cps_irq(MIPSCPSState *s, int pin_number)
 {
 {

+ 1 - 0
hw/mips/mips_fulong2e.c

@@ -44,6 +44,7 @@
 #include "hw/timer/i8254.h"
 #include "hw/timer/i8254.h"
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 
 
 #define DEBUG_FULONG2E_INIT
 #define DEBUG_FULONG2E_INIT

+ 1 - 0
hw/mips/mips_jazz.c

@@ -48,6 +48,7 @@
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "qemu/help_option.h"
 #include "qemu/help_option.h"

+ 1 - 0
hw/mips/mips_malta.c

@@ -51,6 +51,7 @@
 #include "hw/sysbus.h"             /* SysBusDevice */
 #include "hw/sysbus.h"             /* SysBusDevice */
 #include "qemu/host-utils.h"
 #include "qemu/host-utils.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "hw/empty_slot.h"
 #include "hw/empty_slot.h"

+ 2 - 0
hw/mips/mips_mipssim.c

@@ -24,6 +24,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qemu-common.h"
 #include "qemu-common.h"
@@ -43,6 +44,7 @@
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 
 
 static struct _loaderparams {
 static struct _loaderparams {
     int ram_size;
     int ram_size;

+ 2 - 0
hw/mips/mips_r4k.c

@@ -7,6 +7,7 @@
  * All peripherial devices are attached to this "bus" with
  * All peripherial devices are attached to this "bus" with
  * the standard PC ISA addresses.
  * the standard PC ISA addresses.
 */
 */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qemu/units.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
@@ -33,6 +34,7 @@
 #include "hw/timer/i8254.h"
 #include "hw/timer/i8254.h"
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 
 
 #define MAX_IDE_BUS 2
 #define MAX_IDE_BUS 2

+ 1 - 0
hw/misc/vmcoreinfo.c

@@ -13,6 +13,7 @@
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
+#include "sysemu/reset.h"
 #include "hw/nvram/fw_cfg.h"
 #include "hw/nvram/fw_cfg.h"
 #include "hw/misc/vmcoreinfo.h"
 #include "hw/misc/vmcoreinfo.h"
 
 

+ 2 - 0
hw/moxie/moxiesim.c

@@ -24,6 +24,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
@@ -31,6 +32,7 @@
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "net/net.h"
 #include "net/net.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
 #include "hw/loader.h"

+ 1 - 0
hw/net/eepro100.c

@@ -49,6 +49,7 @@
 #include "hw/nvram/eeprom93xx.h"
 #include "hw/nvram/eeprom93xx.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/dma.h"
 #include "sysemu/dma.h"
+#include "sysemu/reset.h"
 #include "qemu/bitops.h"
 #include "qemu/bitops.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
 #include "qapi/error.h"
 #include "qapi/error.h"

+ 1 - 0
hw/nios2/boot.c

@@ -36,6 +36,7 @@
 #include "qemu/config-file.h"
 #include "qemu/config-file.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "sysemu/device_tree.h"
 #include "sysemu/device_tree.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "hw/loader.h"
 #include "hw/loader.h"
 #include "elf.h"
 #include "elf.h"

+ 1 - 0
hw/nvram/fw_cfg.c

@@ -27,6 +27,7 @@
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/dma.h"
 #include "sysemu/dma.h"
+#include "sysemu/reset.h"
 #include "hw/boards.h"
 #include "hw/boards.h"
 #include "hw/nvram/fw_cfg.h"
 #include "hw/nvram/fw_cfg.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"

+ 1 - 0
hw/openrisc/openrisc_sim.c

@@ -32,6 +32,7 @@
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 
 
 #define KERNEL_LOAD_ADDR 0x100
 #define KERNEL_LOAD_ADDR 0x100
 
 

+ 1 - 0
hw/pci-host/bonito.c

@@ -44,6 +44,7 @@
 #include "hw/i386/pc.h"
 #include "hw/i386/pc.h"
 #include "hw/mips/mips.h"
 #include "hw/mips/mips.h"
 #include "hw/pci/pci_host.h"
 #include "hw/pci/pci_host.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"
 
 

+ 1 - 0
hw/pci-host/piix.c

@@ -33,6 +33,7 @@
 #include "qemu/range.h"
 #include "qemu/range.h"
 #include "hw/xen/xen.h"
 #include "hw/xen/xen.h"
 #include "hw/pci-host/pam.h"
 #include "hw/pci-host/pam.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "hw/i386/ioapic.h"
 #include "hw/i386/ioapic.h"
 #include "qapi/visitor.h"
 #include "qapi/visitor.h"

+ 1 - 0
hw/ppc/e500.c

@@ -28,6 +28,7 @@
 #include "hw/boards.h"
 #include "hw/boards.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"
+#include "sysemu/reset.h"
 #include "kvm_ppc.h"
 #include "kvm_ppc.h"
 #include "sysemu/device_tree.h"
 #include "sysemu/device_tree.h"
 #include "hw/ppc/openpic.h"
 #include "hw/ppc/openpic.h"

+ 1 - 0
hw/ppc/mac_newworld.c

@@ -68,6 +68,7 @@
 #include "elf.h"
 #include "elf.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"
+#include "sysemu/reset.h"
 #include "kvm_ppc.h"
 #include "kvm_ppc.h"
 #include "hw/usb.h"
 #include "hw/usb.h"
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"

+ 1 - 0
hw/ppc/mac_oldworld.c

@@ -47,6 +47,7 @@
 #include "elf.h"
 #include "elf.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"
+#include "sysemu/reset.h"
 #include "kvm_ppc.h"
 #include "kvm_ppc.h"
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"
 
 

+ 1 - 0
hw/ppc/pnv.c

@@ -23,6 +23,7 @@
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/numa.h"
 #include "sysemu/numa.h"
+#include "sysemu/reset.h"
 #include "sysemu/cpus.h"
 #include "sysemu/cpus.h"
 #include "sysemu/device_tree.h"
 #include "sysemu/device_tree.h"
 #include "hw/hw.h"
 #include "hw/hw.h"

+ 1 - 0
hw/ppc/pnv_core.c

@@ -18,6 +18,7 @@
  */
  */
 
 
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qemu/log.h"
 #include "qemu/log.h"

+ 1 - 0
hw/ppc/pnv_psi.c

@@ -22,6 +22,7 @@
 #include "target/ppc/cpu.h"
 #include "target/ppc/cpu.h"
 #include "qemu/log.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
+#include "sysemu/reset.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "monitor/monitor.h"
 #include "monitor/monitor.h"
 
 

+ 2 - 0
hw/ppc/ppc405_boards.c

@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qemu/units.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
@@ -33,6 +34,7 @@
 #include "hw/block/flash.h"
 #include "hw/block/flash.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "sysemu/block-backend.h"
 #include "sysemu/block-backend.h"
 #include "hw/boards.h"
 #include "hw/boards.h"
 #include "qemu/log.h"
 #include "qemu/log.h"

+ 2 - 0
hw/ppc/ppc405_uc.c

@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qemu/units.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
@@ -32,6 +33,7 @@
 #include "ppc405.h"
 #include "ppc405.h"
 #include "hw/char/serial.h"
 #include "hw/char/serial.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "qemu/log.h"
 #include "qemu/log.h"
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"

+ 1 - 0
hw/ppc/ppc440_bamboo.c

@@ -31,6 +31,7 @@
 #include "ppc405.h"
 #include "ppc405.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 
 
 #define BINARY_DEVICE_TREE_FILE "bamboo.dtb"
 #define BINARY_DEVICE_TREE_FILE "bamboo.dtb"

+ 1 - 0
hw/ppc/ppc440_uc.c

@@ -21,6 +21,7 @@
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/ppc.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci.h"
 #include "sysemu/block-backend.h"
 #include "sysemu/block-backend.h"
+#include "sysemu/reset.h"
 #include "ppc440.h"
 #include "ppc440.h"
 
 
 /*****************************************************************************/
 /*****************************************************************************/

+ 2 - 0
hw/ppc/ppc4xx_devs.c

@@ -21,8 +21,10 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qemu/units.h"
+#include "sysemu/reset.h"
 #include "cpu.h"
 #include "cpu.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/ppc.h"

+ 1 - 0
hw/ppc/ppc4xx_pci.c

@@ -24,6 +24,7 @@
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/ppc4xx.h"
 #include "hw/ppc/ppc4xx.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
+#include "sysemu/reset.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
 #include "hw/pci/pci_host.h"
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"

+ 2 - 0
hw/ppc/ppc_booke.c

@@ -21,11 +21,13 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "cpu.h"
 #include "cpu.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/ppc.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "qemu/log.h"
 #include "qemu/log.h"
 #include "hw/loader.h"
 #include "hw/loader.h"

+ 2 - 0
hw/ppc/prep.c

@@ -22,6 +22,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "cpu.h"
 #include "cpu.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
@@ -45,6 +46,7 @@
 #include "sysemu/arch_init.h"
 #include "sysemu/arch_init.h"
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"
 #include "trace.h"
 #include "trace.h"
 #include "elf.h"
 #include "elf.h"

+ 1 - 0
hw/ppc/sam460ex.c

@@ -31,6 +31,7 @@
 #include "hw/block/flash.h"
 #include "hw/block/flash.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "hw/char/serial.h"
 #include "hw/char/serial.h"
 #include "hw/i2c/ppc4xx_i2c.h"
 #include "hw/i2c/ppc4xx_i2c.h"

+ 1 - 0
hw/ppc/spapr.c

@@ -31,6 +31,7 @@
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/numa.h"
 #include "sysemu/numa.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "qemu/log.h"
 #include "qemu/log.h"
 #include "hw/fw-path-provider.h"
 #include "hw/fw-path-provider.h"

+ 2 - 0
hw/ppc/spapr_cpu_core.c

@@ -6,6 +6,7 @@
  * This work is licensed under the terms of the GNU GPL, version 2 or later.
  * This work is licensed under the terms of the GNU GPL, version 2 or later.
  * See the COPYING file in the top-level directory.
  * See the COPYING file in the top-level directory.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "hw/cpu/core.h"
 #include "hw/cpu/core.h"
 #include "hw/ppc/spapr_cpu_core.h"
 #include "hw/ppc/spapr_cpu_core.h"
@@ -19,6 +20,7 @@
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/ppc.h"
 #include "target/ppc/mmu-hash64.h"
 #include "target/ppc/mmu-hash64.h"
 #include "sysemu/numa.h"
 #include "sysemu/numa.h"
+#include "sysemu/reset.h"
 #include "sysemu/hw_accel.h"
 #include "sysemu/hw_accel.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 
 

+ 1 - 0
hw/ppc/spapr_drc.c

@@ -23,6 +23,7 @@
 #include "hw/ppc/spapr.h" /* for RTAS return codes */
 #include "hw/ppc/spapr.h" /* for RTAS return codes */
 #include "hw/pci-host/spapr.h" /* spapr_phb_remove_pci_device_cb callback */
 #include "hw/pci-host/spapr.h" /* spapr_phb_remove_pci_device_cb callback */
 #include "sysemu/device_tree.h"
 #include "sysemu/device_tree.h"
+#include "sysemu/reset.h"
 #include "trace.h"
 #include "trace.h"
 
 
 #define DRC_CONTAINER_PATH "/dr-connector"
 #define DRC_CONTAINER_PATH "/dr-connector"

+ 1 - 0
hw/ppc/virtex_ml507.c

@@ -32,6 +32,7 @@
 #include "hw/block/flash.h"
 #include "hw/block/flash.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "hw/boards.h"
 #include "hw/boards.h"
 #include "sysemu/device_tree.h"
 #include "sysemu/device_tree.h"
 #include "hw/loader.h"
 #include "hw/loader.h"

+ 1 - 0
hw/riscv/riscv_hart.c

@@ -21,6 +21,7 @@
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
+#include "sysemu/reset.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "target/riscv/cpu.h"
 #include "target/riscv/cpu.h"
 #include "hw/riscv/riscv_hart.h"
 #include "hw/riscv/riscv_hart.h"

+ 1 - 0
hw/s390x/ipl.c

@@ -14,6 +14,7 @@
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "qemu-common.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/tcg.h"
 #include "sysemu/tcg.h"
 #include "cpu.h"
 #include "cpu.h"

+ 1 - 0
hw/s390x/s390-virtio-ccw.c

@@ -27,6 +27,7 @@
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "qemu/option.h"
 #include "qemu/option.h"
 #include "s390-pci-bus.h"
 #include "s390-pci-bus.h"
+#include "sysemu/reset.h"
 #include "hw/s390x/storage-keys.h"
 #include "hw/s390x/storage-keys.h"
 #include "hw/s390x/storage-attributes.h"
 #include "hw/s390x/storage-attributes.h"
 #include "hw/s390x/event-facility.h"
 #include "hw/s390x/event-facility.h"

+ 1 - 0
hw/sh4/r2d.c

@@ -30,6 +30,7 @@
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/sh4/sh.h"
 #include "hw/sh4/sh.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/boards.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci.h"

+ 2 - 0
hw/sparc/leon3.c

@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qemu/units.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
@@ -32,6 +33,7 @@
 #include "hw/ptimer.h"
 #include "hw/ptimer.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/qtest.h"
 #include "sysemu/qtest.h"
+#include "sysemu/reset.h"
 #include "hw/boards.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
 #include "hw/loader.h"
 #include "elf.h"
 #include "elf.h"

+ 2 - 0
hw/sparc/sun4m.c

@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
+
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qemu/units.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
@@ -33,6 +34,7 @@
 #include "hw/timer/m48t59.h"
 #include "hw/timer/m48t59.h"
 #include "hw/sparc/sparc32_dma.h"
 #include "hw/sparc/sparc32_dma.h"
 #include "hw/block/fdc.h"
 #include "hw/block/fdc.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "net/net.h"
 #include "net/net.h"
 #include "hw/boards.h"
 #include "hw/boards.h"

+ 1 - 0
hw/sparc64/sparc64.c

@@ -28,6 +28,7 @@
 #include "hw/char/serial.h"
 #include "hw/char/serial.h"
 #include "hw/sparc/sparc64.h"
 #include "hw/sparc/sparc64.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
+#include "sysemu/reset.h"
 #include "trace.h"
 #include "trace.h"
 
 
 
 

+ 1 - 0
hw/timer/etraxfs_timer.c

@@ -24,6 +24,7 @@
 
 
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"

+ 1 - 0
hw/timer/mc146818rtc.c

@@ -31,6 +31,7 @@
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/replay.h"
 #include "sysemu/replay.h"
+#include "sysemu/reset.h"
 #include "hw/timer/mc146818rtc.h"
 #include "hw/timer/mc146818rtc.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qapi/qapi-commands-misc-target.h"
 #include "qapi/qapi-commands-misc-target.h"

+ 0 - 1
hw/tpm/tpm_ppi.c

@@ -16,7 +16,6 @@
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "cpu.h"
 #include "cpu.h"
 #include "sysemu/memory_mapping.h"
 #include "sysemu/memory_mapping.h"
-#include "sysemu/reset.h"
 #include "migration/vmstate.h"
 #include "migration/vmstate.h"
 #include "tpm_ppi.h"
 #include "tpm_ppi.h"
 #include "trace.h"
 #include "trace.h"

+ 1 - 0
hw/vfio/common.c

@@ -34,6 +34,7 @@
 #include "qemu/range.h"
 #include "qemu/range.h"
 #include "sysemu/balloon.h"
 #include "sysemu/balloon.h"
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"
+#include "sysemu/reset.h"
 #include "trace.h"
 #include "trace.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 
 

+ 1 - 0
hw/watchdog/wdt_diag288.c

@@ -12,6 +12,7 @@
  */
  */
 
 
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
+#include "sysemu/reset.h"
 #include "sysemu/watchdog.h"
 #include "sysemu/watchdog.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"

+ 1 - 0
hw/xtensa/sim.c

@@ -28,6 +28,7 @@
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "cpu.h"
 #include "cpu.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
 #include "hw/loader.h"

+ 1 - 0
hw/xtensa/xtfpga.c

@@ -41,6 +41,7 @@
 #include "hw/block/flash.h"
 #include "hw/block/flash.h"
 #include "chardev/char.h"
 #include "chardev/char.h"
 #include "sysemu/device_tree.h"
 #include "sysemu/device_tree.h"
+#include "sysemu/reset.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "qemu/option.h"
 #include "qemu/option.h"
 #include "bootparam.h"
 #include "bootparam.h"

+ 0 - 1
include/hw/hw.h

@@ -12,7 +12,6 @@
 #include "hw/irq.h"
 #include "hw/irq.h"
 #include "migration/vmstate.h"
 #include "migration/vmstate.h"
 #include "migration/qemu-file-types.h"
 #include "migration/qemu-file-types.h"
-#include "sysemu/reset.h"
 
 
 void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
 void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
 
 

+ 1 - 0
target/i386/cpu.c

@@ -26,6 +26,7 @@
 #include "cpu.h"
 #include "cpu.h"
 #include "exec/exec-all.h"
 #include "exec/exec-all.h"
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"
+#include "sysemu/reset.h"
 #include "sysemu/hvf.h"
 #include "sysemu/hvf.h"
 #include "sysemu/cpus.h"
 #include "sysemu/cpus.h"
 #include "kvm_i386.h"
 #include "kvm_i386.h"

+ 1 - 0
target/i386/hax-all.c

@@ -30,6 +30,7 @@
 #include "qemu-common.h"
 #include "qemu-common.h"
 #include "hax-i386.h"
 #include "hax-i386.h"
 #include "sysemu/accel.h"
 #include "sysemu/accel.h"
+#include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "qemu/main-loop.h"
 #include "qemu/main-loop.h"
 #include "hw/boards.h"
 #include "hw/boards.h"

+ 1 - 0
target/i386/kvm.c

@@ -24,6 +24,7 @@
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/hw_accel.h"
 #include "sysemu/hw_accel.h"
 #include "sysemu/kvm_int.h"
 #include "sysemu/kvm_int.h"
+#include "sysemu/reset.h"
 #include "kvm_i386.h"
 #include "kvm_i386.h"
 #include "hyperv.h"
 #include "hyperv.h"
 #include "hyperv-proto.h"
 #include "hyperv-proto.h"

+ 1 - 0
target/s390x/cpu.c

@@ -26,6 +26,7 @@
 #include "internal.h"
 #include "internal.h"
 #include "kvm_s390x.h"
 #include "kvm_s390x.h"
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"
+#include "sysemu/reset.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "qemu/module.h"
 #include "qemu/module.h"

+ 1 - 0
vl.c

@@ -30,6 +30,7 @@
 #include "qemu/cutils.h"
 #include "qemu/cutils.h"
 #include "qemu/help_option.h"
 #include "qemu/help_option.h"
 #include "qemu/uuid.h"
 #include "qemu/uuid.h"
+#include "sysemu/reset.h"
 #include "sysemu/seccomp.h"
 #include "sysemu/seccomp.h"
 #include "sysemu/tcg.h"
 #include "sysemu/tcg.h"