]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw: move headers to include/
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Feb 2013 16:06:20 +0000 (17:06 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Apr 2013 16:13:10 +0000 (18:13 +0200)
Many of these should be cleaned up with proper qdev-/QOM-ification.
Right now there are many catch-all headers in include/hw/ARCH depending
on cpu.h, and this makes it necessary to compile these files per-target.
However, fixing this does not belong in these patches.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
511 files changed:
arch_init.c
block/iscsi.c
blockdev-nbd.c
blockdev.c
exec.c
gdbstub.c
hw/9pfs/virtio-9p-device.c
hw/9pfs/virtio-9p-handle.c
hw/9pfs/virtio-9p-local.c
hw/9pfs/virtio-9p-posix-acl.c
hw/9pfs/virtio-9p-proxy.c
hw/9pfs/virtio-9p-synth.c
hw/9pfs/virtio-9p-xattr-user.c
hw/9pfs/virtio-9p-xattr.c
hw/9pfs/virtio-9p.c
hw/9pfs/virtio-9p.h
hw/ac97.c
hw/acpi.c
hw/acpi_ich9.c
hw/acpi_piix4.c
hw/adb.c
hw/adlib.c
hw/alpha/dp264.c
hw/alpha_sys.h
hw/alpha_typhoon.c
hw/apb_pci.c
hw/apic.c
hw/apic_common.c
hw/apm.c
hw/applesmc.c
hw/arm/armv7m.c
hw/arm/boot.c
hw/arm/collie.c
hw/arm/exynos4210.c
hw/arm/exynos4_boards.c
hw/arm/gumstix.c
hw/arm/highbank.c
hw/arm/integratorcp.c
hw/arm/kzm.c
hw/arm/mainstone.c
hw/arm/musicpal.c
hw/arm/nseries.c
hw/arm/omap1.c
hw/arm/omap2.c
hw/arm/omap_sx1.c
hw/arm/palm.c
hw/arm/pic_cpu.c
hw/arm/pxa2xx.c
hw/arm/pxa2xx_gpio.c
hw/arm/pxa2xx_pic.c
hw/arm/realview.c
hw/arm/spitz.c
hw/arm/stellaris.c
hw/arm/tosa.c
hw/arm/versatilepb.c
hw/arm/vexpress.c
hw/arm/xilinx_zynq.c
hw/arm/z2.c
hw/arm_sysctl.c
hw/armv7m_nvic.c
hw/bitbang_i2c.h
hw/blizzard.c
hw/block-common.c
hw/bonito.c
hw/bt-hid.c
hw/cbus.c
hw/cdrom.c
hw/cris/axis_dev88.c
hw/cris/pic_cpu.c
hw/cs4231a.c
hw/cuda.c
hw/dataplane/hostmem.c
hw/dataplane/virtio-blk.c
hw/dataplane/virtio-blk.h
hw/dataplane/vring.c
hw/debugcon.c
hw/debugexit.c
hw/dma.c
hw/dp8393x.c
hw/ds1338.c
hw/ecc.c
hw/eepro100.c
hw/eeprom93xx.c
hw/es1370.c
hw/escc.c
hw/esp-pci.c
hw/esp.c
hw/etraxfs_dma.c
hw/etraxfs_eth.c
hw/exynos4210_combiner.c
hw/exynos4210_gic.c
hw/exynos4210_i2c.c
hw/exynos4210_mct.c
hw/exynos4210_pwm.c
hw/exynos4210_rtc.c
hw/exynos4210_uart.c
hw/fdc.c
hw/fw_cfg.c
hw/grlib_irqmp.c
hw/gt64xxx.c
hw/gus.c
hw/hd-geometry.c
hw/hid.c
hw/hpet.c
hw/i2c.c
hw/i386/kvmvapic.c
hw/i386/multiboot.c
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/i386/smbios.c
hw/i386/xen_domainbuild.c
hw/i386/xen_machine_pv.c
hw/i82374.c
hw/i82378.c
hw/i8254.c
hw/i8254_common.c
hw/i8259.c
hw/i8259_common.c
hw/i82801b11.c
hw/ide/ahci.c
hw/ide/atapi.c
hw/ide/cmd646.c
hw/ide/core.c
hw/ide/ich.c
hw/ide/internal.h
hw/ide/isa.c
hw/ide/macio.c
hw/ide/microdrive.c
hw/ide/pci.c
hw/ide/piix.c
hw/ide/qdev.c
hw/ide/via.c
hw/imx_ccm.c
hw/imx_serial.c
hw/imx_timer.c
hw/intel-hda.c
hw/ioapic.c
hw/ioapic_common.c
hw/isa-bus.c
hw/isa_mmio.c
hw/ivshmem.c
hw/kvm/apic.c
hw/kvm/i8254.c
hw/kvm/i8259.c
hw/kvm/ioapic.c
hw/kvm/pci-assign.c
hw/lan9118.c
hw/lance.c
hw/lm32/lm32_boards.c
hw/lm32/milkymist.c
hw/lm32_juart.c
hw/lm32_pic.c
hw/lm832x.c
hw/loader.c
hw/lpc_ich9.c
hw/lsi53c895a.c
hw/m25p80.c
hw/m48t59.c
hw/m68k/an5206.c
hw/m68k/mcf5206.c
hw/m68k/mcf5208.c
hw/m68k/mcf_intc.c
hw/mac_dbdma.c
hw/mac_nvram.c
hw/macio.c
hw/marvell_88w8618_audio.c
hw/max7310.c
hw/mc146818rtc.c
hw/mcf_fec.c
hw/mcf_uart.c
hw/megasas.c
hw/microblaze/petalogix_ml605_mmu.c
hw/microblaze/petalogix_s3adsp1800_mmu.c
hw/milkymist-softusb.c
hw/mips/addr.c
hw/mips/cputimer.c
hw/mips/mips_fulong2e.c
hw/mips/mips_int.c
hw/mips/mips_jazz.c
hw/mips/mips_malta.c
hw/mips/mips_mipssim.c
hw/mips/mips_r4k.c
hw/moxie/moxiesim.c
hw/nand.c
hw/ne2000-isa.c
hw/omap_clk.c
hw/omap_dma.c
hw/omap_dss.c
hw/omap_gpio.c
hw/omap_gpmc.c
hw/omap_gptimer.c
hw/omap_i2c.c
hw/omap_intc.c
hw/omap_l4.c
hw/omap_lcdc.c
hw/omap_mmc.c
hw/omap_sdrc.c
hw/omap_spi.c
hw/omap_synctimer.c
hw/omap_tap.c
hw/omap_uart.c
hw/onenand.c
hw/openpic.c
hw/openrisc/openrisc_sim.c
hw/pam.c
hw/parallel.c
hw/pc-testdev.c
hw/pc87312.c
hw/pc_sysfw.c
hw/pci/pci-hotplug.c
hw/pckbd.c
hw/pcspk.c
hw/pflash_cfi01.c
hw/pflash_cfi02.c
hw/piix4.c
hw/piix_pci.c
hw/pl050.c
hw/pl330.c
hw/pm_smbus.c
hw/ppc/e500.c
hw/ppc/e500plat.c
hw/ppc/mac.h
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c
hw/ppc/mpc8544ds.c
hw/ppc/ppc.c
hw/ppc/ppc405_boards.c
hw/ppc/ppc405_uc.c
hw/ppc/ppc440_bamboo.c
hw/ppc/ppc4xx_devs.c
hw/ppc/ppc_booke.c
hw/ppc/prep.c
hw/ppc/spapr.c
hw/ppc/spapr_events.c
hw/ppc/spapr_hcall.c
hw/ppc/spapr_iommu.c
hw/ppc/spapr_rtas.c
hw/ppc/spapr_vio.c
hw/ppc/virtex_ml507.c
hw/ppc/xics.c
hw/ppc405.h
hw/ppc4xx_pci.c
hw/ppce500_pci.c
hw/prep_pci.c
hw/ps2.c
hw/puv3_dma.c
hw/puv3_gpio.c
hw/puv3_intc.c
hw/puv3_ost.c
hw/puv3_pm.c
hw/pxa2xx_dma.c
hw/pxa2xx_keypad.c
hw/pxa2xx_lcd.c
hw/pxa2xx_mmci.c
hw/pxa2xx_pcmcia.c
hw/pxa2xx_timer.c
hw/q35.c
hw/qdev-properties-system.c
hw/qdev-properties.c
hw/rc4030.c
hw/s390x/s390-virtio-bus.c
hw/s390x/s390-virtio-bus.h
hw/s390x/s390-virtio.c
hw/s390x/virtio-ccw.c
hw/s390x/virtio-ccw.h
hw/sb16.c
hw/scsi-bus.c
hw/scsi-disk.c
hw/scsi-generic.c
hw/serial-isa.c
hw/serial-pci.c
hw/serial.c
hw/sga.c
hw/sh4/r2d.c
hw/sh4/sh7750.c
hw/sh4/sh7750_regnames.c
hw/sh4/shix.c
hw/sh_intc.c
hw/sh_pci.c
hw/sh_serial.c
hw/sh_timer.c
hw/slavio_intctl.c
hw/slavio_timer.c
hw/sm501.c
hw/smbus.c
hw/smbus_eeprom.c
hw/smbus_ich9.c
hw/smc91c111.c
hw/soc_dma.c
hw/spapr_llan.c
hw/spapr_nvram.c
hw/spapr_pci.c
hw/spapr_vscsi.c
hw/spapr_vty.c
hw/sparc/leon3.c
hw/sparc/sun4m.c
hw/sparc32_dma.c
hw/sparc64/sun4u.c
hw/ssd0303.c
hw/stellaris_input.c
hw/strongarm.c
hw/sun4c_intctl.c
hw/sun4m_iommu.c
hw/tc58128.c
hw/tc6393xb.c
hw/tmp105.c
hw/tmp105.h
hw/tsc2005.c
hw/tsc210x.c
hw/tusb6010.c
hw/twl92230.c
hw/unicore32/puv3.c
hw/usb/dev-audio.c
hw/usb/dev-hid.c
hw/usb/dev-storage.c
hw/usb/dev-uas.c
hw/vga-isa-mm.c
hw/vga-isa.c
hw/vga.c
hw/vhost.c
hw/vhost_net.c
hw/virtio-balloon.c
hw/virtio-blk.c
hw/virtio-bus.c
hw/virtio-console.c
hw/virtio-net.c
hw/virtio-pci.c
hw/virtio-pci.h
hw/virtio-rng.c
hw/virtio-scsi.c
hw/virtio-serial-bus.c
hw/virtio.c
hw/vmmouse.c
hw/vmport.c
hw/vmxnet3.c
hw/vt82c686.c
hw/watchdog.c
hw/wdt_i6300esb.c
hw/wdt_ib700.c
hw/wm8750.c
hw/xen_apic.c
hw/xen_backend.c
hw/xen_console.c
hw/xen_devconfig.c
hw/xen_disk.c
hw/xen_domainbuild.h
hw/xen_nic.c
hw/xen_platform.c
hw/xen_pt.c
hw/xen_pt.h
hw/xen_pt_config_init.c
hw/xen_pt_msi.c
hw/xenfb.c
hw/xtensa/xtensa_lx60.c
hw/zaurus.c
include/block/scsi.h [moved from hw/scsi-defs.h with 100% similarity]
include/exec/memory-internal.h
include/hw/acpi/acpi.h [moved from hw/acpi.h with 100% similarity]
include/hw/acpi/ich9.h [moved from hw/acpi_ich9.h with 98% similarity]
include/hw/arm.h [moved from hw/arm-misc.h with 100% similarity]
include/hw/arm/devices.h [moved from hw/devices.h with 100% similarity]
include/hw/arm/exynos4210.h [moved from hw/exynos4210.h with 100% similarity]
include/hw/arm/imx.h [moved from hw/imx.h with 100% similarity]
include/hw/arm/omap.h [moved from hw/omap.h with 100% similarity]
include/hw/arm/primecell.h [moved from hw/primecell.h with 100% similarity]
include/hw/arm/pxa.h [moved from hw/pxa.h with 100% similarity]
include/hw/arm/sharpsl.h [moved from hw/sharpsl.h with 100% similarity]
include/hw/arm/soc_dma.h [moved from hw/soc_dma.h with 100% similarity]
include/hw/audio/audio.h [moved from hw/audiodev.h with 100% similarity]
include/hw/audio/pcspk.h [moved from hw/pcspk.h with 98% similarity]
include/hw/block/block.h [moved from hw/block-common.h with 100% similarity]
include/hw/block/fdc.h [moved from hw/fdc.h with 100% similarity]
include/hw/block/flash.h [moved from hw/flash.h with 100% similarity]
include/hw/boards.h [moved from hw/boards.h with 100% similarity]
include/hw/bt.h [moved from hw/bt.h with 100% similarity]
include/hw/char/escc.h [moved from hw/escc.h with 100% similarity]
include/hw/char/serial.h [moved from hw/serial.h with 100% similarity]
include/hw/cris/etraxfs.h [moved from hw/etraxfs.h with 98% similarity]
include/hw/cris/etraxfs_dma.h [moved from hw/etraxfs_dma.h with 100% similarity]
include/hw/elf_ops.h [moved from hw/elf_ops.h with 100% similarity]
include/hw/empty_slot.h [moved from hw/empty_slot.h with 100% similarity]
include/hw/hw.h [moved from hw/hw.h with 100% similarity]
include/hw/i2c/i2c.h [moved from hw/i2c.h with 100% similarity]
include/hw/i2c/pm_smbus.h [moved from hw/pm_smbus.h with 100% similarity]
include/hw/i2c/smbus.h [moved from hw/smbus.h with 99% similarity]
include/hw/i386/apic-msidef.h [moved from hw/apic-msidef.h with 100% similarity]
include/hw/i386/apic.h [moved from hw/apic.h with 100% similarity]
include/hw/i386/apic_internal.h [moved from hw/apic_internal.h with 100% similarity]
include/hw/i386/ich9.h [moved from hw/ich9.h with 98% similarity]
include/hw/i386/ioapic.h [moved from hw/ioapic.h with 100% similarity]
include/hw/i386/ioapic_internal.h [moved from hw/ioapic_internal.h with 100% similarity]
include/hw/i386/pc.h [moved from hw/pc.h with 98% similarity]
include/hw/i386/smbios.h [moved from hw/smbios.h with 100% similarity]
include/hw/ide.h [moved from hw/ide.h with 97% similarity]
include/hw/input/adb.h [moved from hw/adb.h with 100% similarity]
include/hw/input/hid.h [moved from hw/hid.h with 100% similarity]
include/hw/input/ps2.h [moved from hw/ps2.h with 100% similarity]
include/hw/irq.h [moved from hw/irq.h with 100% similarity]
include/hw/isa/apm.h [moved from hw/apm.h with 100% similarity]
include/hw/isa/i8259_internal.h [moved from hw/i8259_internal.h with 98% similarity]
include/hw/isa/isa.h [moved from hw/isa.h with 100% similarity]
include/hw/isa/pc87312.h [moved from hw/pc87312.h with 98% similarity]
include/hw/isa/vt82c686.h [moved from hw/vt82c686.h with 100% similarity]
include/hw/kvm/clock.h [moved from hw/kvm/clock.h with 100% similarity]
include/hw/lm32/lm32_juart.h [moved from hw/lm32_juart.h with 100% similarity]
include/hw/lm32/lm32_pic.h [moved from hw/lm32_pic.h with 100% similarity]
include/hw/loader.h [moved from hw/loader.h with 100% similarity]
include/hw/m68k/mcf.h [moved from hw/mcf.h with 100% similarity]
include/hw/mips/bios.h [moved from hw/mips-bios.h with 100% similarity]
include/hw/mips/cpudevs.h [moved from hw/mips_cpudevs.h with 100% similarity]
include/hw/mips/mips.h [moved from hw/mips.h with 100% similarity]
include/hw/misc/tmp105_regs.h [moved from hw/tmp105_regs.h with 100% similarity]
include/hw/nvram/eeprom93xx.h [moved from hw/eeprom93xx.h with 100% similarity]
include/hw/nvram/fw_cfg.h [moved from hw/fw_cfg.h with 100% similarity]
include/hw/pci-host/apb.h [moved from hw/apb_pci.h with 100% similarity]
include/hw/pci-host/pam.h [moved from hw/pam.h with 100% similarity]
include/hw/pci-host/ppce500.h [moved from hw/ppce500_pci.h with 100% similarity]
include/hw/pci-host/q35.h [moved from hw/q35.h with 97% similarity]
include/hw/pci-host/spapr.h [moved from hw/spapr_pci.h with 99% similarity]
include/hw/pci/msi.h [moved from hw/pci/msi.h with 100% similarity]
include/hw/pci/msix.h [moved from hw/pci/msix.h with 100% similarity]
include/hw/pci/pci.h [moved from hw/pci/pci.h with 99% similarity]
include/hw/pci/pci_bridge.h [moved from hw/pci/pci_bridge.h with 100% similarity]
include/hw/pci/pci_bus.h [moved from hw/pci/pci_bus.h with 100% similarity]
include/hw/pci/pci_host.h [moved from hw/pci/pci_host.h with 100% similarity]
include/hw/pci/pci_ids.h [moved from hw/pci/pci_ids.h with 100% similarity]
include/hw/pci/pci_regs.h [moved from hw/pci/pci_regs.h with 100% similarity]
include/hw/pci/pcie.h [moved from hw/pci/pcie.h with 100% similarity]
include/hw/pci/pcie_aer.h [moved from hw/pci/pcie_aer.h with 100% similarity]
include/hw/pci/pcie_host.h [moved from hw/pci/pcie_host.h with 100% similarity]
include/hw/pci/pcie_port.h [moved from hw/pci/pcie_port.h with 100% similarity]
include/hw/pci/pcie_regs.h [moved from hw/pci/pcie_regs.h with 100% similarity]
include/hw/pci/shpc.h [moved from hw/pci/shpc.h with 100% similarity]
include/hw/pci/slotid_cap.h [moved from hw/pci/slotid_cap.h with 100% similarity]
include/hw/pcmcia.h [moved from hw/pcmcia.h with 100% similarity]
include/hw/ppc/mac_dbdma.h [moved from hw/mac_dbdma.h with 100% similarity]
include/hw/ppc/openpic.h [moved from hw/openpic.h with 100% similarity]
include/hw/ppc/ppc.h [moved from hw/ppc.h with 100% similarity]
include/hw/ppc/ppc4xx.h [moved from hw/ppc4xx.h with 100% similarity]
include/hw/ppc/spapr.h [moved from hw/spapr.h with 99% similarity]
include/hw/ppc/spapr_vio.h [moved from hw/spapr_vio.h with 100% similarity]
include/hw/ppc/xics.h [moved from hw/xics.h with 100% similarity]
include/hw/ptimer.h [moved from hw/ptimer.h with 100% similarity]
include/hw/qdev-addr.h [moved from hw/qdev-addr.h with 100% similarity]
include/hw/qdev-core.h [moved from hw/qdev-core.h with 100% similarity]
include/hw/qdev-dma.h [moved from hw/qdev-dma.h with 100% similarity]
include/hw/qdev-properties.h [moved from hw/qdev-properties.h with 100% similarity]
include/hw/qdev.h [moved from hw/qdev.h with 100% similarity]
include/hw/s390x/event-facility.h [moved from hw/s390x/event-facility.h with 100% similarity]
include/hw/s390x/sclp.h [moved from hw/s390x/sclp.h with 100% similarity]
include/hw/scsi/esp.h [moved from hw/esp.h with 99% similarity]
include/hw/scsi/scsi.h [moved from hw/scsi.h with 99% similarity]
include/hw/sd.h [moved from hw/sd.h with 100% similarity]
include/hw/sh4/sh.h [moved from hw/sh.h with 98% similarity]
include/hw/sh4/sh_intc.h [moved from hw/sh_intc.h with 100% similarity]
include/hw/sparc/firmware_abi.h [moved from hw/firmware_abi.h with 100% similarity]
include/hw/sparc/grlib.h [moved from hw/grlib.h with 100% similarity]
include/hw/sparc/sparc32_dma.h [moved from hw/sparc32_dma.h with 100% similarity]
include/hw/sparc/sun4m.h [moved from hw/sun4m.h with 96% similarity]
include/hw/ssi.h [moved from hw/ssi.h with 100% similarity]
include/hw/stream.h [moved from hw/stream.h with 100% similarity]
include/hw/sysbus.h [moved from hw/sysbus.h with 100% similarity]
include/hw/timer/hpet.h [moved from hw/hpet_emul.h with 100% similarity]
include/hw/timer/i8254.h [moved from hw/i8254.h with 98% similarity]
include/hw/timer/i8254_internal.h [moved from hw/i8254_internal.h with 98% similarity]
include/hw/timer/m48t59.h [moved from hw/nvram.h with 100% similarity]
include/hw/timer/mc146818rtc.h [moved from hw/mc146818rtc.h with 80% similarity]
include/hw/timer/mc146818rtc_regs.h [moved from hw/mc146818rtc_regs.h with 100% similarity]
include/hw/unicore32/puv3.h [moved from hw/puv3.h with 100% similarity]
include/hw/usb.h [moved from hw/usb.h with 100% similarity]
include/hw/virtio/dataplane/hostmem.h [moved from hw/dataplane/hostmem.h with 100% similarity]
include/hw/virtio/dataplane/vring.h [moved from hw/dataplane/vring.h with 98% similarity]
include/hw/virtio/vhost.h [moved from hw/vhost.h with 98% similarity]
include/hw/virtio/virtio-9p.h [moved from hw/9pfs/virtio-9p-device.h with 100% similarity]
include/hw/virtio/virtio-balloon.h [moved from hw/virtio-balloon.h with 98% similarity]
include/hw/virtio/virtio-blk.h [moved from hw/virtio-blk.h with 96% similarity]
include/hw/virtio/virtio-bus.h [moved from hw/virtio-bus.h with 99% similarity]
include/hw/virtio/virtio-net.h [moved from hw/virtio-net.h with 99% similarity]
include/hw/virtio/virtio-rng.h [moved from hw/virtio-rng.h with 100% similarity]
include/hw/virtio/virtio-scsi.h [moved from hw/virtio-scsi.h with 97% similarity]
include/hw/virtio/virtio-serial.h [moved from hw/virtio-serial.h with 99% similarity]
include/hw/virtio/virtio.h [moved from hw/virtio.h with 99% similarity]
include/hw/xen/xen.h [moved from hw/xen.h with 100% similarity]
include/hw/xen/xen_backend.h [moved from hw/xen_backend.h with 99% similarity]
include/hw/xen/xen_common.h [moved from hw/xen_common.h with 99% similarity]
include/hw/xilinx.h [moved from hw/xilinx.h with 100% similarity]
include/net/vhost_net.h [moved from hw/vhost_net.h with 100% similarity]
include/sysemu/watchdog.h [moved from hw/watchdog.h with 100% similarity]
monitor.c
net/tap.c
pc-bios/optionrom/optionrom.h
target-arm/arm-semi.c
target-arm/kvm.c
target-i386/cpu.c
target-i386/cpu.h
target-i386/kvm.c
target-i386/machine.c
target-lm32/op_helper.c
target-lm32/translate.c
target-ppc/kvm.c
target-sh4/helper.c
tests/rtc-test.c
tests/tmp105-test.c
tpm/tpm_passthrough.c
tpm/tpm_tis.c
tpm/tpm_tis.h
vl.c
xen-all.c
xen-mapcache.c
xen-stub.c

index c2cbc71c31cf3be31ed6e0b9480f9cf001507655..769ce77e61dc826b7037dc12ee1f1e30419bc8dd 100644 (file)
 #include "qemu/bitmap.h"
 #include "sysemu/arch_init.h"
 #include "audio/audio.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/pci/pci.h"
-#include "hw/audiodev.h"
+#include "hw/audio/audio.h"
 #include "sysemu/kvm.h"
 #include "migration/migration.h"
 #include "exec/gdbstub.h"
-#include "hw/smbios.h"
+#include "hw/i386/smbios.h"
 #include "exec/address-spaces.h"
-#include "hw/pcspk.h"
+#include "hw/audio/pcspk.h"
 #include "migration/page_cache.h"
 #include "qemu/config-file.h"
 #include "qmp-commands.h"
index 51a28894522a94b992bfbd1473e3788d3b40aa4c..92d6eae76f2f5b61e7aec9c6f08f375bdd38f1c4 100644 (file)
 #include "qemu/error-report.h"
 #include "block/block_int.h"
 #include "trace.h"
-#include "hw/scsi-defs.h"
+#include "block/scsi.h"
 
 #include <iscsi/iscsi.h>
 #include <iscsi/scsi-lowlevel.h>
 
 #ifdef __linux__
 #include <scsi/sg.h>
-#include <hw/scsi-defs.h>
+#include <block/scsi.h>
 #endif
 
 typedef struct IscsiLun {
index dc4e9a2462c0909b23853257adde7ee2968cf896..95f10c81e3faae3cf16c4f405e44e763e2e4df52 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #include "sysemu/blockdev.h"
-#include "hw/block-common.h"
+#include "hw/block/block.h"
 #include "monitor/monitor.h"
 #include "qapi/qmp/qerror.h"
 #include "sysemu/sysemu.h"
index 6dc999d802bbd4ada5df06b6504ddbe13c785bd1..8a1652b7224ee3a756e1a453f5f196de62ee2f2b 100644 (file)
@@ -31,7 +31,7 @@
  */
 
 #include "sysemu/blockdev.h"
-#include "hw/block-common.h"
+#include "hw/block/block.h"
 #include "block/blockjob.h"
 #include "monitor/monitor.h"
 #include "qapi/qmp/qerror.h"
diff --git a/exec.c b/exec.c
index 786987a0165dd6acc01a6677957d7019e648d5a7..fa1e0c3d7365d2787eb3908e4cdb25c3d577aff6 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -31,7 +31,7 @@
 #include "hw/qdev.h"
 #include "qemu/osdep.h"
 #include "sysemu/kvm.h"
-#include "hw/xen.h"
+#include "hw/xen/xen.h"
 #include "qemu/timer.h"
 #include "qemu/config-file.h"
 #include "exec/memory.h"
index a0288a77fb219af89cb8eac1594ce17d8dcb0d6b..22ab12c68cea3d6015a7d65da8fc7c2dc6f3b64c 100644 (file)
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -1607,7 +1607,7 @@ static int cpu_gdb_write_register(CPUS390XState *env, uint8_t *mem_buf, int n)
 }
 #elif defined (TARGET_LM32)
 
-#include "hw/lm32_pic.h"
+#include "hw/lm32/lm32_pic.h"
 #define NUM_CORE_REGS (32 + 7)
 
 static int cpu_gdb_read_register(CPULM32State *env, uint8_t *mem_buf, int n)
index d321c802f24745b4c314f9ddc453fded75b894e6..43f930e9205a85b7829d8fbcff1828a14a2203a2 100644 (file)
@@ -11,8 +11,8 @@
  *
  */
 
-#include "hw/virtio.h"
-#include "hw/pc.h"
+#include "hw/virtio/virtio.h"
+#include "hw/i386/pc.h"
 #include "qemu/sockets.h"
 #include "virtio-9p.h"
 #include "fsdev/qemu-fsdev.h"
index e30fdb6730e68dbf651d5b305446900a3103f7ae..fe8e0ed19dcc9933c60f42792f3bf9ab61ef47cb 100644 (file)
@@ -11,7 +11,7 @@
  *
  */
 
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "virtio-9p.h"
 #include "virtio-9p-xattr.h"
 #include <arpa/inet.h>
index f1b1c83a2269977ed20f797dc6f1008c30814346..be898eccd91278a0b3f84a1a849eb2aa8338316d 100644 (file)
@@ -11,7 +11,7 @@
  *
  */
 
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "virtio-9p.h"
 #include "virtio-9p-xattr.h"
 #include <arpa/inet.h>
index 08bb0e8bcaf91105783165aa1d7fd869f93e4ebb..339c5ecae441edf564a09cc4a9af91a14434122f 100644 (file)
@@ -13,7 +13,7 @@
 
 #include <sys/types.h>
 #include "qemu/xattr.h"
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "virtio-9p.h"
 #include "fsdev/file-op-9p.h"
 #include "virtio-9p-xattr.h"
index 730027900e7fcbc15c4db327dd1c18c5fa854ee8..8ba2959dbb3af1e82a980389ce1a35e873c40e89 100644 (file)
@@ -11,7 +11,7 @@
  */
 #include <sys/socket.h>
 #include <sys/un.h>
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "virtio-9p.h"
 #include "qemu/error-report.h"
 #include "fsdev/qemu-fsdev.h"
index e95a856d25e80745322d61ab175e94ffe7882e71..840e4ebb5aeb09459959b7c5bbbfd51209c0b05c 100644 (file)
@@ -12,7 +12,7 @@
  *
  */
 
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "virtio-9p.h"
 #include "virtio-9p-xattr.h"
 #include "fsdev/qemu-fsdev.h"
index 5bb602007096baad89316a10282f01de2233baf3..e0c92ebf9e5dcd3ed99da4d951d34bbddfee3a42 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 #include <sys/types.h>
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "virtio-9p.h"
 #include "fsdev/file-op-9p.h"
 #include "virtio-9p-xattr.h"
index a83960676d16c74cbfd919ddeaca766dcb337494..90ae565c1914b897b651faf6358f507ebccab154 100644 (file)
@@ -11,7 +11,7 @@
  *
  */
 
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "virtio-9p.h"
 #include "fsdev/file-op-9p.h"
 #include "virtio-9p-xattr.h"
index 5cc4c92012a3c9d8ad74c4dd62496ece6536f2e2..db2ae32fe8c3130d46a8253628937f5d4590d37d 100644 (file)
@@ -11,8 +11,8 @@
  *
  */
 
-#include "hw/virtio.h"
-#include "hw/pc.h"
+#include "hw/virtio/virtio.h"
+#include "hw/i386/pc.h"
 #include "qemu/sockets.h"
 #include "virtio-9p.h"
 #include "fsdev/qemu-fsdev.h"
index 52b1c6997f1f4d8e02fbf48061b606ea9f2049bb..95a8ec3ba9ea31855b669d646b5aec463ed9e025 100644 (file)
@@ -6,7 +6,7 @@
 #include <sys/time.h>
 #include <utime.h>
 #include <sys/resource.h>
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "fsdev/file-op-9p.h"
 #include "fsdev/virtio-9p-marshal.h"
 #include "qemu/thread.h"
index c7d601fdb7dcf736f4b38d8fc966775afb9e44f3..ab68ec6204cb8b1fc8c63ff2470b2bbf79d90e78 100644 (file)
--- a/hw/ac97.c
+++ b/hw/ac97.c
@@ -18,7 +18,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/audiodev.h"
+#include "hw/audio/audio.h"
 #include "audio/audio.h"
 #include "hw/pci/pci.h"
 #include "sysemu/dma.h"
index 856da81f0c74ffcb555527f5eb2ff0c10a8b6df2..64b871846d4cb824f97a934f64b6e9af1381ec19 100644 (file)
--- a/hw/acpi.c
+++ b/hw/acpi.c
@@ -20,8 +20,8 @@
  */
 #include "sysemu/sysemu.h"
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/acpi.h"
+#include "hw/i386/pc.h"
+#include "hw/acpi/acpi.h"
 #include "monitor/monitor.h"
 #include "qemu/config-file.h"
 #include "qapi/opts-visitor.h"
index 7b34a03866168e646d617c61707f29264557574b..e663d297a1504074c9867dc9bf4c49f990933345 100644 (file)
  * GNU GPL, version 2 or (at your option) any later version.
  */
 #include "hw/hw.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/pci/pci.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
-#include "hw/acpi.h"
+#include "hw/acpi/acpi.h"
 #include "sysemu/kvm.h"
 #include "exec/address-spaces.h"
 
-#include "hw/ich9.h"
+#include "hw/i386/ich9.h"
 
 //#define DEBUG
 
index 48a32b5aa05194f0068f660fe74c08fd87a0b4ef..88386d7ea7f7349401fc9360ffc7da30f15babd2 100644 (file)
  * GNU GPL, version 2 or (at your option) any later version.
  */
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/apm.h"
-#include "hw/pm_smbus.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/apm.h"
+#include "hw/i2c/pm_smbus.h"
 #include "hw/pci/pci.h"
-#include "hw/acpi.h"
+#include "hw/acpi/acpi.h"
 #include "sysemu/sysemu.h"
 #include "qemu/range.h"
 #include "exec/ioport.h"
-#include "hw/fw_cfg.h"
+#include "hw/nvram/fw_cfg.h"
 #include "exec/address-spaces.h"
 
 //#define DEBUG
index fd9052c16b04571b6198d42e07e28b91031abbeb..a75d3fd7b9bb41d614ad5483ec27395b0f898f05 100644 (file)
--- a/hw/adb.c
+++ b/hw/adb.c
@@ -22,7 +22,7 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/adb.h"
+#include "hw/input/adb.h"
 #include "ui/console.h"
 
 /* debug ADB */
index e6bce59512d98a7dfca646c3262ec540123e850e..133c0ff7b11e58877fd4dd4baa1853f22f2ecfea 100644 (file)
@@ -23,9 +23,9 @@
  */
 
 #include "hw/hw.h"
-#include "hw/audiodev.h"
+#include "hw/audio/audio.h"
 #include "audio/audio.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 
 //#define DEBUG
 
index 13aaa57b9034eb0c59f3e46f0f4c494b6f3d23cd..a0dd12ce79b6c3b4bac50bcbc43bb4d0abd986a1 100644 (file)
 #include "hw/boards.h"
 #include "hw/alpha_sys.h"
 #include "sysemu/sysemu.h"
-#include "hw/mc146818rtc.h"
+#include "hw/timer/mc146818rtc.h"
 #include "hw/ide.h"
-#include "hw/i8254.h"
-#include "hw/serial.h"
+#include "hw/timer/i8254.h"
+#include "hw/char/serial.h"
 
 #define MAX_IDE_BUS 2
 
index b4ebd2a9cc68cf897e9d69f40ee19250c7a798d0..50e7730caaf514bca4771d49dc5326336baf08c4 100644 (file)
@@ -6,7 +6,7 @@
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
 #include "hw/ide.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/irq.h"
 
 
index b1e0044a35650b1c6853fcc9ced8b6bdfacf243e..41a0ebc7a3c303d398b5444fb2764164f4ba966c 100644 (file)
@@ -9,7 +9,7 @@
 #include "cpu.h"
 #include "exec/exec-all.h"
 #include "hw/hw.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "sysemu/sysemu.h"
 #include "hw/alpha_sys.h"
 #include "exec/address-spaces.h"
index 754ca6ca8f711683b7f7e2b9ea2ed7df50668ee9..fe15ae8f8a622822c0f5592940c1e400b5a91512 100644 (file)
@@ -31,7 +31,7 @@
 #include "hw/pci/pci_host.h"
 #include "hw/pci/pci_bridge.h"
 #include "hw/pci/pci_bus.h"
-#include "hw/apb_pci.h"
+#include "hw/pci-host/apb.h"
 #include "sysemu/sysemu.h"
 #include "exec/address-spaces.h"
 
index d2395f04dd9586d914f5efd956357bcf6061030c..2d79a9ea7f69cd2fa7c7054196e591ed060d7b02 100644 (file)
--- a/hw/apic.c
+++ b/hw/apic.c
  * License along with this library; if not, see <http://www.gnu.org/licenses/>
  */
 #include "qemu/thread.h"
-#include "hw/apic_internal.h"
-#include "hw/apic.h"
-#include "hw/ioapic.h"
+#include "hw/i386/apic_internal.h"
+#include "hw/i386/apic.h"
+#include "hw/i386/ioapic.h"
 #include "hw/pci/msi.h"
 #include "qemu/host-utils.h"
 #include "trace.h"
-#include "hw/pc.h"
-#include "hw/apic-msidef.h"
+#include "hw/i386/pc.h"
+#include "hw/i386/apic-msidef.h"
 
 #define MAX_APIC_WORDS 8
 
index 37985097caabfcb5e6f15adb40c960f895d97557..e0ae07afd518a7877f22132b4f551e1a22213b66 100644 (file)
@@ -17,8 +17,8 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, see <http://www.gnu.org/licenses/>
  */
-#include "hw/apic.h"
-#include "hw/apic_internal.h"
+#include "hw/i386/apic.h"
+#include "hw/i386/apic_internal.h"
 #include "trace.h"
 #include "sysemu/kvm.h"
 
index e2846f99c844969e528ea56bdc5db81e9d8975c8..5f21d2147301d239ec1926bf51ee91fa3594afa5 100644 (file)
--- a/hw/apm.c
+++ b/hw/apm.c
@@ -20,7 +20,7 @@
  * GNU GPL, version 2 or (at your option) any later version.
  */
 
-#include "hw/apm.h"
+#include "hw/isa/apm.h"
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
 
index 44b9bacd88aa4c7dc3e0055bca4657a500b5490a..c29558bdd58b8e509ce60f7bc029fef1c33a2d81 100644 (file)
@@ -31,7 +31,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "ui/console.h"
 #include "qemu/timer.h"
 
index 1d5bb592c49a81e24a6aae2a2b5a6e96d006b309..a4bdd5f30f387524b61f2701cf86e1724e05cdc2 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include "hw/sysbus.h"
-#include "hw/arm-misc.h"
+#include "hw/arm.h"
 #include "hw/loader.h"
 #include "elf.h"
 
index 43253fd34a2d4844bc513df1d2e0a6761ba547c6..c79c590171af2e51953ad710c9735c03e7c3e40e 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "config.h"
 #include "hw/hw.h"
-#include "hw/arm-misc.h"
+#include "hw/arm.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
index 17fddc8d5b08a4df102a325e71149723260de135..76eda8e8b06fd4a3da1809d97aaedf3b4476c208 100644 (file)
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "hw/boards.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "hw/strongarm.h"
-#include "hw/arm-misc.h"
-#include "hw/flash.h"
+#include "hw/arm.h"
+#include "hw/block/flash.h"
 #include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
 
index 4592514bb26a8aaedbfd8ca35bf19a8c61071636..78b8b7407a450feab70af3d6f5887794e379e89c 100644 (file)
@@ -24,9 +24,9 @@
 #include "hw/boards.h"
 #include "sysemu/sysemu.h"
 #include "hw/sysbus.h"
-#include "hw/arm-misc.h"
+#include "hw/arm.h"
 #include "hw/loader.h"
-#include "hw/exynos4210.h"
+#include "hw/arm/exynos4210.h"
 #include "hw/usb/hcd-ehci.h"
 
 #define EXYNOS4210_CHIPID_ADDR         0x10000000
index 473da349bd1d4df8878489f4fc897aa3831bd693..ba14a1fd09999f3254a08e30961283788abd7d99 100644 (file)
@@ -24,9 +24,9 @@
 #include "sysemu/sysemu.h"
 #include "hw/sysbus.h"
 #include "net/net.h"
-#include "hw/arm-misc.h"
+#include "hw/arm.h"
 #include "exec/address-spaces.h"
-#include "hw/exynos4210.h"
+#include "hw/arm/exynos4210.h"
 #include "hw/boards.h"
 
 #undef DEBUG
index 8859b7392fe70d9bc381338da83b3291705d3da9..4d800c9547d0c082f897569c9b9dce157971fb49 100644 (file)
  */
 
 #include "hw/hw.h"
-#include "hw/pxa.h"
+#include "hw/arm/pxa.h"
 #include "net/net.h"
-#include "hw/flash.h"
-#include "hw/devices.h"
+#include "hw/block/flash.h"
+#include "hw/arm/devices.h"
 #include "hw/boards.h"
 #include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
index a622224dccedda7b589f7fbde28d73b9f00cf05a..58f73c1bd30c058ccf16cd12eebdcfbae335573e 100644 (file)
@@ -18,8 +18,8 @@
  */
 
 #include "hw/sysbus.h"
-#include "hw/arm-misc.h"
-#include "hw/devices.h"
+#include "hw/arm.h"
+#include "hw/arm/devices.h"
 #include "hw/loader.h"
 #include "net/net.h"
 #include "sysemu/sysemu.h"
index e0ba327a5545d249eee94ec03afff9725fe38c26..8d0fb7584abda5f9909fb2ce0dacf3cbcafa0592 100644 (file)
@@ -8,9 +8,9 @@
  */
 
 #include "hw/sysbus.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "hw/boards.h"
-#include "hw/arm-misc.h"
+#include "hw/arm.h"
 #include "net/net.h"
 #include "exec/address-spaces.h"
 #include "sysemu/sysemu.h"
index ec50a319acb97ea1b32d0c5edec9ac038398c446..46264cdeacb0067962b0be1d8d0df1ed2128bef0 100644 (file)
 #include "hw/sysbus.h"
 #include "exec/address-spaces.h"
 #include "hw/hw.h"
-#include "hw/arm-misc.h"
-#include "hw/devices.h"
+#include "hw/arm.h"
+#include "hw/arm/devices.h"
 #include "net/net.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
-#include "hw/serial.h"
-#include "hw/imx.h"
+#include "hw/char/serial.h"
+#include "hw/arm/imx.h"
 
     /* Memory map for Kzm Emulation Baseboard:
      * 0x00000000-0x00003fff 16k secure ROM       IGNORED
index aea908f0365f175cc14c4b13a785cc6d577f5c92..b78e6f00d30706ef1b266db4c5f70c6f48e33e01 100644 (file)
  * GNU GPL, version 2 or (at your option) any later version.
  */
 #include "hw/hw.h"
-#include "hw/pxa.h"
-#include "hw/arm-misc.h"
+#include "hw/arm/pxa.h"
+#include "hw/arm.h"
 #include "net/net.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "hw/boards.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "sysemu/blockdev.h"
 #include "hw/sysbus.h"
 #include "exec/address-spaces.h"
index ea8473db3ecefdb0b038ab269f2737be0cdea949..97b13405e652f242edb5bb23cad679b36c53eca9 100644 (file)
  */
 
 #include "hw/sysbus.h"
-#include "hw/arm-misc.h"
-#include "hw/devices.h"
+#include "hw/arm.h"
+#include "hw/arm/devices.h"
 #include "net/net.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
-#include "hw/serial.h"
+#include "hw/char/serial.h"
 #include "qemu/timer.h"
 #include "hw/ptimer.h"
 #include "block/block.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "ui/console.h"
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 #include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
 #include "ui/pixel_ops.h"
index b28e7d372f1ff3bcab0219eba9def68d31f58059..ba8dc3e01ad85f98613a9a7e34da63472d6d65a4 100644 (file)
 
 #include "qemu-common.h"
 #include "sysemu/sysemu.h"
-#include "hw/omap.h"
-#include "hw/arm-misc.h"
+#include "hw/arm/omap.h"
+#include "hw/arm.h"
 #include "hw/irq.h"
 #include "ui/console.h"
 #include "hw/boards.h"
-#include "hw/i2c.h"
-#include "hw/devices.h"
-#include "hw/flash.h"
+#include "hw/i2c/i2c.h"
+#include "hw/arm/devices.h"
+#include "hw/block/flash.h"
 #include "hw/hw.h"
 #include "hw/bt.h"
 #include "hw/loader.h"
index 3245c62e68fc8db581cda441e554511012bcb28d..17caa618221819c58e3d5a2d7ec84d2357810e05 100644 (file)
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "hw/hw.h"
-#include "hw/arm-misc.h"
-#include "hw/omap.h"
+#include "hw/arm.h"
+#include "hw/arm/omap.h"
 #include "sysemu/sysemu.h"
-#include "hw/soc_dma.h"
+#include "hw/arm/soc_dma.h"
 #include "sysemu/blockdev.h"
 #include "qemu/range.h"
 #include "hw/sysbus.h"
index 0a2cd7bab668cb768c86dac43c22124f07b5d6b7..010c483e8ce70c9df4f5d68e5a5295fe815f2ecc 100644 (file)
 
 #include "sysemu/blockdev.h"
 #include "hw/hw.h"
-#include "hw/arm-misc.h"
-#include "hw/omap.h"
+#include "hw/arm.h"
+#include "hw/arm/omap.h"
 #include "sysemu/sysemu.h"
 #include "qemu/timer.h"
 #include "char/char.h"
-#include "hw/flash.h"
-#include "hw/soc_dma.h"
+#include "hw/block/flash.h"
+#include "hw/arm/soc_dma.h"
 #include "hw/sysbus.h"
 #include "audio/audio.h"
 
index 85982334bdbda4eba0d6f4a6718b5929a064c5e5..aa85602aa6e01ae38bcc1587174a1e97e42e6f70 100644 (file)
  */
 #include "hw/hw.h"
 #include "ui/console.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 #include "hw/boards.h"
-#include "hw/arm-misc.h"
-#include "hw/flash.h"
+#include "hw/arm.h"
+#include "hw/block/flash.h"
 #include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
 
index baeb5850673f9f4e96fcef651c44a7fde82d9023..0bc11aed2bdea317274df9459ce409957990de19 100644 (file)
 #include "audio/audio.h"
 #include "sysemu/sysemu.h"
 #include "ui/console.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 #include "hw/boards.h"
-#include "hw/arm-misc.h"
-#include "hw/devices.h"
+#include "hw/arm.h"
+#include "hw/arm/devices.h"
 #include "hw/loader.h"
 #include "exec/address-spaces.h"
 
index 3a3f06566b0b545d5fe8849f0f962487f44f0948..787767f51f66b11fb100bf4572264099fb8ccb8d 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/arm-misc.h"
+#include "hw/arm.h"
 #include "sysemu/kvm.h"
 
 /* Input 0 is IRQ and input 1 is FIQ.  */
index b7ca511d45c04d3a5312ef0602ce5ee9f48adc04..bbecc770ed8f7bcefadd4b1d4f8eb624a6f34fd0 100644 (file)
@@ -8,10 +8,10 @@
  */
 
 #include "hw/sysbus.h"
-#include "hw/pxa.h"
+#include "hw/arm/pxa.h"
 #include "sysemu/sysemu.h"
-#include "hw/serial.h"
-#include "hw/i2c.h"
+#include "hw/char/serial.h"
+#include "hw/i2c/i2c.h"
 #include "hw/ssi.h"
 #include "char/char.h"
 #include "sysemu/blockdev.h"
index 55ebcd724a873cf0059de95a4672517ebaa9a9b2..fa31575edd3730800a9a60cba23a20f983344ba6 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "hw/hw.h"
 #include "hw/sysbus.h"
-#include "hw/pxa.h"
+#include "hw/arm/pxa.h"
 
 #define PXA2XX_GPIO_BANKS      4
 
index 25e90895e1ddf0ecbc25a909e8d78975a2e21899..835d07c3410b1b416cce08ec4057cd6f9263322a 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/pxa.h"
+#include "hw/arm/pxa.h"
 #include "hw/sysbus.h"
 
 #define ICIP   0x00    /* Interrupt Controller IRQ Pending register */
index 5fb490c832a37aa2ae7c16d9e765464670803273..afd52d31befd82b586ebaa44c6f4f2c6b73a1683 100644 (file)
@@ -8,14 +8,14 @@
  */
 
 #include "hw/sysbus.h"
-#include "hw/arm-misc.h"
-#include "hw/primecell.h"
-#include "hw/devices.h"
+#include "hw/arm.h"
+#include "hw/arm/primecell.h"
+#include "hw/arm/devices.h"
 #include "hw/pci/pci.h"
 #include "net/net.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 #include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
 
index f5832bea935f10a58f465e00d0539b6a70360d9e..fa434dc68eb64c715d8063a942f0653fded438e1 100644 (file)
  */
 
 #include "hw/hw.h"
-#include "hw/pxa.h"
-#include "hw/arm-misc.h"
+#include "hw/arm/pxa.h"
+#include "hw/arm.h"
 #include "sysemu/sysemu.h"
 #include "hw/pcmcia.h"
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 #include "hw/ssi.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "qemu/timer.h"
-#include "hw/devices.h"
-#include "hw/sharpsl.h"
+#include "hw/arm/devices.h"
+#include "hw/arm/sharpsl.h"
 #include "ui/console.h"
 #include "block/block.h"
 #include "audio/audio.h"
index f4ce7945f39a1d9a1cc4ca987867c8f5295286c7..952087ce2dd0409707b226347462399cc5e97188 100644 (file)
@@ -9,10 +9,10 @@
 
 #include "hw/sysbus.h"
 #include "hw/ssi.h"
-#include "hw/arm-misc.h"
-#include "hw/devices.h"
+#include "hw/arm.h"
+#include "hw/arm/devices.h"
 #include "qemu/timer.h"
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 #include "net/net.h"
 #include "hw/boards.h"
 #include "exec/address-spaces.h"
index 747888c64e16fecec5e31d3f98285094eab0fbc6..c4362d4313441ffcdd6ae2793bcd50112a33e6a1 100644 (file)
  */
 
 #include "hw/hw.h"
-#include "hw/pxa.h"
-#include "hw/arm-misc.h"
-#include "hw/devices.h"
-#include "hw/sharpsl.h"
+#include "hw/arm/pxa.h"
+#include "hw/arm.h"
+#include "hw/arm/devices.h"
+#include "hw/arm/sharpsl.h"
 #include "hw/pcmcia.h"
 #include "block/block.h"
 #include "hw/boards.h"
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 #include "hw/ssi.h"
 #include "sysemu/blockdev.h"
 #include "hw/sysbus.h"
index baaa265888a5ba3932dc7fff9a942dc5ee89d83d..d9be6044818dae98aa05f55314cc9742c266d381 100644 (file)
@@ -8,16 +8,16 @@
  */
 
 #include "hw/sysbus.h"
-#include "hw/arm-misc.h"
-#include "hw/devices.h"
+#include "hw/arm.h"
+#include "hw/arm/devices.h"
 #include "net/net.h"
 #include "sysemu/sysemu.h"
 #include "hw/pci/pci.h"
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 #include "hw/boards.h"
 #include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 
 #define VERSATILE_FLASH_ADDR 0x34000000
 #define VERSATILE_FLASH_SIZE (64 * 1024 * 1024)
index 2e1a5d0e5b53aa6445a5eb11d78c9bf08418d449..96e098579f89500882edc30e42e83b771fccb35d 100644 (file)
  */
 
 #include "hw/sysbus.h"
-#include "hw/arm-misc.h"
-#include "hw/primecell.h"
-#include "hw/devices.h"
+#include "hw/arm.h"
+#include "hw/arm/primecell.h"
+#include "hw/arm/devices.h"
 #include "net/net.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "exec/address-spaces.h"
 #include "sysemu/blockdev.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 
 #define VEXPRESS_BOARD_ID 0x8e0
 #define VEXPRESS_FLASH_SIZE (64 * 1024 * 1024)
index 5b9257a9de6673883052e14cac67ab7c046056f4..8d65f796f99e292cd66b7a5066773382945407a0 100644 (file)
  */
 
 #include "hw/sysbus.h"
-#include "hw/arm-misc.h"
+#include "hw/arm.h"
 #include "net/net.h"
 #include "exec/address-spaces.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "sysemu/blockdev.h"
 #include "hw/loader.h"
 #include "hw/ssi.h"
index cbb6d8085e10d52ce75dd03551d7a3f821b5bba0..3e272088f5329cdab5d42500d8745eb44d8a7bea 100644 (file)
  */
 
 #include "hw/hw.h"
-#include "hw/pxa.h"
-#include "hw/arm-misc.h"
-#include "hw/devices.h"
-#include "hw/i2c.h"
+#include "hw/arm/pxa.h"
+#include "hw/arm.h"
+#include "hw/arm/devices.h"
+#include "hw/i2c/i2c.h"
 #include "hw/ssi.h"
 #include "hw/boards.h"
 #include "sysemu/sysemu.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "sysemu/blockdev.h"
 #include "ui/console.h"
 #include "audio/audio.h"
index 25fc6eac946f1ea18b14df9582cd01b67b614e71..c8b55a834932065f53282ff59f9aac97d528ba17 100644 (file)
@@ -11,7 +11,7 @@
 #include "qemu/timer.h"
 #include "qemu/bitops.h"
 #include "hw/sysbus.h"
-#include "hw/primecell.h"
+#include "hw/arm/primecell.h"
 #include "sysemu/sysemu.h"
 
 #define LOCK_VALUE 0xa05f
index 235120024f5dc491fa08d11cd2757fe555ceefb8..75742601cb08eb26bb8c197b90c5edd97b859a97 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
-#include "hw/arm-misc.h"
+#include "hw/arm.h"
 #include "exec/address-spaces.h"
 #include "hw/arm_gic_internal.h"
 
index e86062742c6f810037df10ab6ab54e3cf0414515..2866ac351b763a48b26e3372d15a9e5525bd7868 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef BITBANG_I2C_H
 #define BITBANG_I2C_H
 
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 
 typedef struct bitbang_i2c_interface bitbang_i2c_interface;
 
index 020d3de43196461a54a1e313761a91c873e336ba..bdb0b15ddb215a52a585d926500fbb3f69c3a484 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "qemu-common.h"
 #include "ui/console.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "hw/vga_int.h"
 #include "ui/pixel_ops.h"
 
index d21ec3ada124959fb79c00be80a8ee93b2adfd94..33dd3f33b61b3cf9abdc0f1c52663b5698c5d4e5 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include "sysemu/blockdev.h"
-#include "hw/block-common.h"
+#include "hw/block/block.h"
 #include "qemu/error-report.h"
 
 void blkconf_serial(BlockConf *conf, char **serial)
index e58655a64d268d403acd356239576b12390424b6..974150bfc1132eec2f2278b1b1db0207d2c60aca 100644 (file)
@@ -41,8 +41,8 @@
 
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
-#include "hw/pc.h"
-#include "hw/mips.h"
+#include "hw/i386/pc.h"
+#include "hw/mips/mips.h"
 #include "hw/pci/pci_host.h"
 #include "sysemu/sysemu.h"
 #include "exec/address-spaces.h"
index 69ccf9b4329e48cbe83f7f8f1e97e25df0b07eaa..af494e1e06b857308c04dba7d9c0747760ff4bbb 100644 (file)
@@ -21,7 +21,7 @@
 #include "qemu-common.h"
 #include "qemu/timer.h"
 #include "ui/console.h"
-#include "hw/hid.h"
+#include "hw/input/hid.h"
 #include "hw/bt.h"
 
 enum hid_transaction_req {
index 29b467b61fdb928d2bec56dc7a757447e60bc0c8..3d9027f6922ef6c95b278b3b217ff7fefd8c45d3 100644 (file)
--- a/hw/cbus.c
+++ b/hw/cbus.c
@@ -22,7 +22,7 @@
 
 #include "qemu-common.h"
 #include "hw/irq.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "sysemu/sysemu.h"
 
 //#define DEBUG
index a018eec40aa898facb230a97d308f6d16d6f18c8..38469fa92894bc414f6cc613045ad4873791a53b 100644 (file)
@@ -26,7 +26,7 @@
    here.  */
 
 #include "qemu-common.h"
-#include "hw/scsi.h"
+#include "hw/scsi/scsi.h"
 
 static void lba_to_msf(uint8_t *buf, int lba)
 {
index eccd423abfba294455906df5627cce649dee29db..00daceb81392303a85e2b72dff2e9662080e914b 100644 (file)
@@ -24,9 +24,9 @@
 
 #include "hw/sysbus.h"
 #include "net/net.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "hw/boards.h"
-#include "hw/etraxfs.h"
+#include "hw/cris/etraxfs.h"
 #include "hw/loader.h"
 #include "elf.h"
 #include "hw/cris-boot.h"
index 85c68c04971874b5ef2ca4079df654859c4b5823..bd47bf1a5d0a6bd44bcf7a2a49c848252f2e260d 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "hw/sysbus.h"
 #include "hw/hw.h"
-#include "hw/etraxfs.h"
+#include "hw/cris/etraxfs.h"
 
 #define D(x)
 
index f005f2589918176e29ce6fee95f77322e59b8b52..5711b62f83f815414492127129c7e7afe75f8e7f 100644 (file)
@@ -22,9 +22,9 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/audiodev.h"
+#include "hw/audio/audio.h"
 #include "audio/audio.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "hw/qdev.h"
 #include "qemu/timer.h"
 
index 2ae430d326e3e9382fae3a69d609de231143ec5f..f797796a36d1bb8006721a4ce39bd988127d53bd 100644 (file)
--- a/hw/cuda.c
+++ b/hw/cuda.c
@@ -24,7 +24,7 @@
  */
 #include "hw/hw.h"
 #include "hw/ppc/mac.h"
-#include "hw/adb.h"
+#include "hw/input/adb.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
 
index 380537e06d893e5a9f6f9082fe305a81c1e4cb60..37292ffd00ec83b24640a3a7c17536370844b5f2 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 #include "exec/address-spaces.h"
-#include "hostmem.h"
+#include "hw/virtio/dataplane/hostmem.h"
 
 static int hostmem_lookup_cmp(const void *phys_, const void *region_)
 {
index 1242d61e71f30d7f4c9173eb5052f327ffd26703..5baef2391aafe8bb6587bf0f7e65ae11a0bf0f7e 100644 (file)
 #include "qemu/iov.h"
 #include "qemu/thread.h"
 #include "qemu/error-report.h"
-#include "vring.h"
+#include "hw/virtio/dataplane/vring.h"
 #include "ioq.h"
 #include "migration/migration.h"
 #include "block/block.h"
-#include "hw/virtio-blk.h"
-#include "hw/dataplane/virtio-blk.h"
+#include "hw/virtio/virtio-blk.h"
+#include "virtio-blk.h"
 #include "block/aio.h"
 
 enum {
index 1e8fdfe4183adf0a8222b0981f3515503a08fccd..c90e99f48ff1607a5dfdd43d01b85b96cbcf44d0 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef HW_DATAPLANE_VIRTIO_BLK_H
 #define HW_DATAPLANE_VIRTIO_BLK_H
 
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 
 typedef struct VirtIOBlockDataPlane VirtIOBlockDataPlane;
 
index e3b225315ff99353dadece9055a36ecb595737da..e0d6e8362509448691cb95085d13479d98549039 100644 (file)
@@ -15,7 +15,7 @@
  */
 
 #include "trace.h"
-#include "vring.h"
+#include "hw/virtio/dataplane/vring.h"
 #include "qemu/error-report.h"
 
 /* Map the guest's vring to host memory */
index cab7691b12e4b4af88fa187bffb10150e5dbba73..0588eebb773a1aed85ab79d79c80df2019cc81b6 100644 (file)
@@ -26,8 +26,8 @@
 
 #include "hw/hw.h"
 #include "char/char.h"
-#include "hw/isa.h"
-#include "hw/pc.h"
+#include "hw/isa/isa.h"
+#include "hw/i386/pc.h"
 
 #define TYPE_ISA_DEBUGCON_DEVICE "isa-debugcon"
 #define ISA_DEBUGCON_DEVICE(obj) \
index ba67a8fb415956add7a1e8b97f1012c5c5b3c4ca..59bed5bff559c1182883375772a1b2c9b15b33af 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 
 #define TYPE_ISA_DEBUG_EXIT_DEVICE "isa-debug-exit"
 #define ISA_DEBUG_EXIT_DEVICE(obj) \
index fd1161ca312c4f8cc01cffb0ab898655c10098cb..eb60d45178ee50e76563a9f9eff0756eb114b0f1 100644 (file)
--- a/hw/dma.c
+++ b/hw/dma.c
@@ -22,7 +22,7 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "qemu/main-loop.h"
 
 /* #define DEBUG_DMA */
index 8b5ca6a4ece6636bec71106129d353c2fd7df057..2289f089ad12a999da10cbd4fc1a4a909420f676 100644 (file)
@@ -20,7 +20,7 @@
 #include "hw/hw.h"
 #include "qemu/timer.h"
 #include "net/net.h"
-#include "hw/mips.h"
+#include "hw/mips/mips.h"
 
 //#define DEBUG_SONIC
 
index ae7ca9f82daaae05f4d671edb714a01ea6897cb3..8987cdc9e066a5c7aaa679af59d000cadfbe6e28 100644 (file)
@@ -10,7 +10,7 @@
  * GNU GPL, version 2 or (at your option) any later version.
  */
 
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 
 /* Size of NVRAM including both the user-accessible area and the
  * secondary register area.
index 8c97c33debd0832cfb5b2f7a71d1281196b93d0c..8c888cc12a57215ad0b70277039516ea552788e1 100644 (file)
--- a/hw/ecc.c
+++ b/hw/ecc.c
@@ -12,7 +12,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 
 /*
  * Pre-calculated 256-way 1 byte column parity.  Table borrowed from Linux.
index 68d729c17af4d67b53b5fc348739c99ca68aebe2..dc99ea6ea0712058eceae18e7a047bd2dd93ff77 100644 (file)
@@ -44,7 +44,7 @@
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
 #include "net/net.h"
-#include "hw/eeprom93xx.h"
+#include "hw/nvram/eeprom93xx.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/dma.h"
 
index 39f560553d15c22589c513ad840147118a396ef3..08f4df586cdf3b17ad9c14dfc05b1c2c29779d37 100644 (file)
@@ -36,7 +36,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/eeprom93xx.h"
+#include "hw/nvram/eeprom93xx.h"
 
 /* Debug EEPROM emulation. */
 //~ #define DEBUG_EEPROM
index e64cf23099ed695233332fb9d2b2ad72e4665269..9fe57087bf6d2b58c0833dbd93a39d3b20632cd1 100644 (file)
@@ -27,7 +27,7 @@
 #define SILENT_ES1370
 
 #include "hw/hw.h"
-#include "hw/audiodev.h"
+#include "hw/audio/audio.h"
 #include "audio/audio.h"
 #include "hw/pci/pci.h"
 #include "sysemu/dma.h"
index baf02193043bb6e923ec8f960ca753ac91fb61a3..067b055fee0b49050b25b4b65b542240155c7981 100644 (file)
--- a/hw/escc.c
+++ b/hw/escc.c
@@ -24,7 +24,7 @@
 
 #include "hw/hw.h"
 #include "hw/sysbus.h"
-#include "hw/escc.h"
+#include "hw/char/escc.h"
 #include "char/char.h"
 #include "ui/console.h"
 #include "trace.h"
index 7599b39d8d564b1802bc9666fbb7c8e339b02fcb..3ca5c8c673b53609227bba9ca4f936ad493991af 100644 (file)
@@ -24,8 +24,8 @@
  */
 
 #include "hw/pci/pci.h"
-#include "hw/eeprom93xx.h"
-#include "hw/esp.h"
+#include "hw/nvram/eeprom93xx.h"
+#include "hw/scsi/esp.h"
 #include "trace.h"
 #include "qemu/log.h"
 
index 5365eacec0fa7ddde81514bbff33e779fafa6ddc..17adbecf8c0c65c61e2aa2068514a23fe24466c1 100644 (file)
--- a/hw/esp.c
+++ b/hw/esp.c
@@ -24,7 +24,7 @@
  */
 
 #include "hw/sysbus.h"
-#include "hw/esp.h"
+#include "hw/scsi/esp.h"
 #include "trace.h"
 #include "qemu/log.h"
 
index a84ec1f23ce1286b23b2db9a8058c6ee539636f1..6a8c2225023639a1097e767bb4ec471564b9ae6b 100644 (file)
@@ -28,7 +28,7 @@
 #include "qemu-common.h"
 #include "sysemu/sysemu.h"
 
-#include "hw/etraxfs_dma.h"
+#include "hw/cris/etraxfs_dma.h"
 
 #define D(x)
 
index 591bee245cc5f8b07892d461feed862799aa4ba2..1039913e0f1e7766817ad599f557fa7c5f5508f7 100644 (file)
@@ -25,7 +25,7 @@
 #include <stdio.h>
 #include "hw/sysbus.h"
 #include "net/net.h"
-#include "hw/etraxfs.h"
+#include "hw/cris/etraxfs.h"
 
 #define D(x)
 
index 5818f101324f239f2091383be24217b3936baa29..6874287302c1ba0c74e9feb89616b6957ef1ef0b 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "hw/sysbus.h"
 
-#include "hw/exynos4210.h"
+#include "hw/arm/exynos4210.h"
 
 //#define DEBUG_COMBINER
 
index 807849c5741787660ea0aec73b8787154da49f29..bad6dde652cf90434a9b2a089b73a28ddb68ee22 100644 (file)
@@ -23,7 +23,7 @@
 #include "hw/sysbus.h"
 #include "qemu-common.h"
 #include "hw/irq.h"
-#include "hw/exynos4210.h"
+#include "hw/arm/exynos4210.h"
 
 enum ExtGicId {
     EXT_GIC_ID_MDMA_LCD0 = 66,
index 9e428759a11a0584bdee4b61a612b5a1f4d401eb..196f88907dafba878cb4db0ae9a74e6bb466e522 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "qemu/timer.h"
 #include "hw/sysbus.h"
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 
 #ifndef EXYNOS4_I2C_DEBUG
 #define EXYNOS4_I2C_DEBUG                 0
index 862c96212bc96f2aec551357f328c319d20aedd1..87ce75b6436d434a5b23c84853a87e3eb1a2a866 100644 (file)
@@ -57,7 +57,7 @@
 #include "qemu-common.h"
 #include "hw/ptimer.h"
 
-#include "hw/exynos4210.h"
+#include "hw/arm/exynos4210.h"
 
 //#define DEBUG_MCT
 
index 6d74cd4db5fc1131d07fadd88c3bef4488e1311a..185ccb9a74e0518af75c2d3c18322dd7b4ce7cd6 100644 (file)
@@ -25,7 +25,7 @@
 #include "qemu-common.h"
 #include "hw/ptimer.h"
 
-#include "hw/exynos4210.h"
+#include "hw/arm/exynos4210.h"
 
 //#define DEBUG_PWM
 
index d170ca755ade22b5eb0b1ce4b91cbdfab80b107c..bceee44cb26aa9d009a1718006b3b2483495f529 100644 (file)
@@ -34,7 +34,7 @@
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
 
-#include "hw/exynos4210.h"
+#include "hw/arm/exynos4210.h"
 
 #define DEBUG_RTC 0
 
index 006f3d44fb1d8108051282a296d2fe5029ed159b..8b4e72ca11efe4c1ec94d569e4d8883c491dc5fd 100644 (file)
@@ -23,7 +23,7 @@
 #include "sysemu/sysemu.h"
 #include "char/char.h"
 
-#include "hw/exynos4210.h"
+#include "hw/arm/exynos4210.h"
 
 #undef DEBUG_UART
 #undef DEBUG_UART_EXTEND
index a4bb1290effed7aba5151f6c075143960a863758..1ed874f074120bda3431a859d767fafe4460bf8c 100644 (file)
--- a/hw/fdc.c
+++ b/hw/fdc.c
  */
 
 #include "hw/hw.h"
-#include "hw/fdc.h"
+#include "hw/block/fdc.h"
 #include "qemu/error-report.h"
 #include "qemu/timer.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "hw/sysbus.h"
 #include "hw/qdev-addr.h"
 #include "sysemu/blockdev.h"
index 63a199876cfe39412576af61acf7d514f563cb72..97bba874e37c5949f1fb8a39fb88d0723ef4db14 100644 (file)
@@ -23,8 +23,8 @@
  */
 #include "hw/hw.h"
 #include "sysemu/sysemu.h"
-#include "hw/isa.h"
-#include "hw/fw_cfg.h"
+#include "hw/isa/isa.h"
+#include "hw/nvram/fw_cfg.h"
 #include "hw/sysbus.h"
 #include "trace.h"
 #include "qemu/error-report.h"
index 7ee469d1911ba9c15688acef210f632db77baca8..68dfe6a4bb6c96f470bfe5ec1cb858b104acf3cf 100644 (file)
@@ -27,7 +27,7 @@
 #include "hw/sysbus.h"
 #include "cpu.h"
 
-#include "hw/grlib.h"
+#include "hw/sparc/grlib.h"
 
 #include "trace.h"
 
index 37be9c2a5664d4c822bc809508bbc1d1ca965299..189e865a65396d65e593abafe710b33b279a3a78 100644 (file)
  */
 
 #include "hw/hw.h"
-#include "hw/mips.h"
+#include "hw/mips/mips.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "exec/address-spaces.h"
 
 //#define DEBUG
index d2682249ca5031763a312c69a70ede06a56b923c..e44704b1cf84d12dca730facbed184dd595d84fd 100644 (file)
--- a/hw/gus.c
+++ b/hw/gus.c
@@ -22,9 +22,9 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/audiodev.h"
+#include "hw/audio/audio.h"
 #include "audio/audio.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "hw/gusemu.h"
 #include "hw/gustate.h"
 
index c30514364f162262ef5a19b31b47e66b0bb34595..6feb4f81750bdac71c7ccfd71dd2d1c6c0775d30 100644 (file)
@@ -31,7 +31,7 @@
  */
 
 #include "block/block.h"
-#include "hw/block-common.h"
+#include "hw/block/block.h"
 #include "trace.h"
 
 struct partition {
index 28b34747ff82c4c772fc3d4d455a6bc7de472d96..5fbde98f65bcafdf847c2270825f590439b60151 100644 (file)
--- a/hw/hid.c
+++ b/hw/hid.c
@@ -25,7 +25,7 @@
 #include "hw/hw.h"
 #include "ui/console.h"
 #include "qemu/timer.h"
-#include "hw/hid.h"
+#include "hw/input/hid.h"
 
 #define HID_USAGE_ERROR_ROLLOVER        0x01
 #define HID_USAGE_POSTFAIL              0x02
index 6bfbf3a68ca69bd22d84709323b63796f9c1705e..95dd01d147dfc31df5d3b1bf0330f12397720ef4 100644 (file)
--- a/hw/hpet.c
+++ b/hw/hpet.c
  */
 
 #include "hw/hw.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "ui/console.h"
 #include "qemu/timer.h"
-#include "hw/hpet_emul.h"
+#include "hw/timer/hpet.h"
 #include "hw/sysbus.h"
-#include "hw/mc146818rtc.h"
-#include "hw/i8254.h"
+#include "hw/timer/mc146818rtc.h"
+#include "hw/timer/i8254.h"
 
 //#define HPET_DEBUG
 #ifdef HPET_DEBUG
index ad361cc57f98809dc6867971153c19ebcf7e1ba7..0c4fc1dbaa29af01f7f5b4aafa85db4b1da9e84d 100644 (file)
--- a/hw/i2c.c
+++ b/hw/i2c.c
@@ -7,7 +7,7 @@
  * This code is licensed under the LGPL.
  */
 
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 
 struct i2c_bus
 {
index cc95e5c3f054a1d665bbc1eec9df4b1dc6f41df6..ed9b448d07253846ab87eb9cd42fc84a25d2ee7c 100644 (file)
@@ -11,7 +11,7 @@
 #include "sysemu/sysemu.h"
 #include "sysemu/cpus.h"
 #include "sysemu/kvm.h"
-#include "hw/apic_internal.h"
+#include "hw/i386/apic_internal.h"
 
 #define VAPIC_IO_PORT           0x7e
 
index 3cb228f0ca67952739448b95ee58bdbf943b0bb2..c7f01df4bfbbbe25ea332e1c38d2e56b1133a034 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/fw_cfg.h"
+#include "hw/nvram/fw_cfg.h"
 #include "hw/multiboot.h"
 #include "hw/loader.h"
 #include "elf.h"
index ebbf05922545f056048c1c7d734abc6048cbe60b..a38fc95055a9158574c0c77b0763f1fe5fca5b0d 100644 (file)
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/serial.h"
-#include "hw/apic.h"
-#include "hw/fdc.h"
+#include "hw/i386/pc.h"
+#include "hw/char/serial.h"
+#include "hw/i386/apic.h"
+#include "hw/block/fdc.h"
 #include "hw/ide.h"
 #include "hw/pci/pci.h"
 #include "monitor/monitor.h"
-#include "hw/fw_cfg.h"
-#include "hw/hpet_emul.h"
-#include "hw/smbios.h"
+#include "hw/nvram/fw_cfg.h"
+#include "hw/timer/hpet.h"
+#include "hw/i386/smbios.h"
 #include "hw/loader.h"
 #include "elf.h"
 #include "hw/multiboot.h"
-#include "hw/mc146818rtc.h"
-#include "hw/i8254.h"
-#include "hw/pcspk.h"
+#include "hw/timer/mc146818rtc.h"
+#include "hw/timer/i8254.h"
+#include "hw/audio/pcspk.h"
 #include "hw/pci/msi.h"
 #include "hw/sysbus.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/kvm.h"
 #include "kvm_i386.h"
-#include "hw/xen.h"
+#include "hw/xen/xen.h"
 #include "sysemu/blockdev.h"
-#include "hw/block-common.h"
+#include "hw/block/block.h"
 #include "ui/qemu-spice.h"
 #include "exec/memory.h"
 #include "exec/address-spaces.h"
index 0abc9f11e388fd169784a8de4b259ac0729fbff1..cff8013b830c78859b5197de88f828baa53007d3 100644 (file)
@@ -25,8 +25,8 @@
 #include <glib.h>
 
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/apic.h"
+#include "hw/i386/pc.h"
+#include "hw/i386/apic.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_ids.h"
 #include "hw/usb.h"
@@ -39,8 +39,8 @@
 #include "hw/sysbus.h"
 #include "sysemu/arch_init.h"
 #include "sysemu/blockdev.h"
-#include "hw/smbus.h"
-#include "hw/xen.h"
+#include "hw/i2c/smbus.h"
+#include "hw/xen/xen.h"
 #include "exec/memory.h"
 #include "exec/address-spaces.h"
 #include "cpu.h"
index 4f5f34730900bf4ce62ca3bf4205364cee279474..6ac1a89ad71b1e90c6dd74d535130c7e2b1e7775 100644 (file)
  */
 #include "hw/hw.h"
 #include "sysemu/arch_init.h"
-#include "hw/smbus.h"
+#include "hw/i2c/smbus.h"
 #include "hw/boards.h"
-#include "hw/mc146818rtc.h"
-#include "hw/xen.h"
+#include "hw/timer/mc146818rtc.h"
+#include "hw/xen/xen.h"
 #include "sysemu/kvm.h"
 #include "hw/kvm/clock.h"
-#include "hw/q35.h"
+#include "hw/pci-host/q35.h"
 #include "exec/address-spaces.h"
-#include "hw/ich9.h"
+#include "hw/i386/ich9.h"
 #include "hw/ide/pci.h"
 #include "hw/ide/ahci.h"
 #include "hw/usb.h"
index 672ee9b0e7b5b5e7b62f5f84daab935e704ee092..c00bb2fad8372867d5de061ca806e9be686f53a0 100644 (file)
@@ -14,7 +14,7 @@
  */
 
 #include "sysemu/sysemu.h"
-#include "hw/smbios.h"
+#include "hw/i386/smbios.h"
 #include "hw/loader.h"
 
 /*
index d477061545849f3bab43fbc6b5ebff2038cadbcf..ed90b4b379d724afc9a54b26c3b9a7e0a22826e2 100644 (file)
@@ -1,5 +1,5 @@
 #include <signal.h>
-#include "hw/xen_backend.h"
+#include "hw/xen/xen_backend.h"
 #include "hw/xen_domainbuild.h"
 #include "qemu/timer.h"
 #include "qemu/log.h"
index 37ba34e5a903bcd76565b87afebec1eb2441d909..fdd93742d086c68b04db26f8e85954420e75d691 100644 (file)
@@ -23,9 +23,9 @@
  */
 
 #include "hw/hw.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/boards.h"
-#include "hw/xen_backend.h"
+#include "hw/xen/xen_backend.h"
 #include "hw/xen_domainbuild.h"
 #include "sysemu/blockdev.h"
 
index 22115e4fcf4a6d2efef4385e755ee892660830ff..835639d43cd81671d9bf0772a17c276b4820b8e8 100644 (file)
@@ -22,7 +22,7 @@
  * THE SOFTWARE.
  */
 
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 
 //#define DEBUG_I82374
 
index 6f8c48b9aedfc7c0243b8cd7c85118a01ba96cd5..cced9aff2638527055a123b60c2e2a3d53931f72 100644 (file)
@@ -18,9 +18,9 @@
  */
 
 #include "hw/pci/pci.h"
-#include "hw/pc.h"
-#include "hw/i8254.h"
-#include "hw/pcspk.h"
+#include "hw/i386/pc.h"
+#include "hw/timer/i8254.h"
+#include "hw/audio/pcspk.h"
 
 //#define DEBUG_I82378
 
index 67bfc6a80668f406c2c7d38f77a8623b8ce7695f..20c0c3601dcb7e313e34e3ee03084baf7248261d 100644 (file)
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/isa.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/isa.h"
 #include "qemu/timer.h"
-#include "hw/i8254.h"
-#include "hw/i8254_internal.h"
+#include "hw/timer/i8254.h"
+#include "hw/timer/i8254_internal.h"
 
 //#define DEBUG_PIT
 
index c6c0c80c248e87ecb547709337d9a52e246d1713..5342df4a347e5be95a9c35af330489f33e230969 100644 (file)
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/isa.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/isa.h"
 #include "qemu/timer.h"
-#include "hw/i8254.h"
-#include "hw/i8254_internal.h"
+#include "hw/timer/i8254.h"
+#include "hw/timer/i8254_internal.h"
 
 /* val must be 0 or 1 */
 void pit_set_gate(ISADevice *dev, int channel, int val)
index 1d8275232abc778147f741ff5116d964d1ef8a17..ce14bd0f947bfe49de9c4fd9e07df5e94aa6f010 100644 (file)
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/isa.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/isa.h"
 #include "monitor/monitor.h"
 #include "qemu/timer.h"
-#include "hw/i8259_internal.h"
+#include "hw/isa/i8259_internal.h"
 
 /* debug PIC */
 //#define DEBUG_PIC
index 98052db1fa261d201ac3f40d2cbae25f77d4aecf..996ba9dfdb0ede5210ec9f6594a5f532b20b2f77 100644 (file)
@@ -22,8 +22,8 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
-#include "hw/pc.h"
-#include "hw/i8259_internal.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/i8259_internal.h"
 
 void pic_reset_common(PICCommonState *s)
 {
index 8b4a9c6e5451e3585d04efaa29c18fed65debb44..5807a92d7f30f7c6c15778e3ba85a18328695954 100644 (file)
@@ -42,7 +42,7 @@
  */
 
 #include "hw/pci/pci.h"
-#include "hw/ich9.h"
+#include "hw/i386/ich9.h"
 
 
 /*****************************************************************************/
index ad0094f532ef7750f85f3f8bcb43e7ee1cddde8b..d0ae8afba2d47113e9094e0214f936cbd981fc2c 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <hw/hw.h>
 #include <hw/pci/msi.h>
-#include <hw/pc.h>
+#include <hw/i386/pc.h>
 #include <hw/pci/pci.h>
 #include <hw/sysbus.h>
 
index 861fd2bec31d636cc28b936e89e9ceecf269bffe..05e60b1cdce6d1a644b65cd1b75ef7138b776386 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 #include "hw/ide/internal.h"
-#include "hw/scsi.h"
+#include "hw/scsi/scsi.h"
 
 static void ide_atapi_cmd_read_dma_cb(void *opaque, int ret);
 
index 745ef94deb04e79189726b78173c752151d281c4..541d4ef3358c40b87a9b49b629dcee59297d73f3 100644 (file)
@@ -23,9 +23,9 @@
  * THE SOFTWARE.
  */
 #include <hw/hw.h>
-#include <hw/pc.h>
+#include <hw/i386/pc.h>
 #include <hw/pci/pci.h>
-#include <hw/isa.h>
+#include <hw/isa/isa.h>
 #include "block/block.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/dma.h"
index 3743dc3b55e7570cf6f0b45a30206abff5010d89..87d67b7bcbf399cd0cc1ab149612b81f486780c2 100644 (file)
  * THE SOFTWARE.
  */
 #include <hw/hw.h>
-#include <hw/pc.h>
+#include <hw/i386/pc.h>
 #include <hw/pci/pci.h>
-#include <hw/isa.h>
+#include <hw/isa/isa.h>
 #include "qemu/error-report.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/dma.h"
-#include "hw/block-common.h"
+#include "hw/block/block.h"
 #include "sysemu/blockdev.h"
 
 #include <hw/ide/internal.h>
index cc30adc701af46e785da0796e172f8dbf26c5b88..ed1f1a287e8978fa8d47c20f6661c8f27f31b17e 100644 (file)
@@ -62,9 +62,9 @@
 
 #include <hw/hw.h>
 #include <hw/pci/msi.h>
-#include <hw/pc.h>
+#include <hw/i386/pc.h>
 #include <hw/pci/pci.h>
-#include <hw/isa.h>
+#include <hw/isa/isa.h>
 #include "block/block.h"
 #include "sysemu/dma.h"
 
index d80360e85bbfaf54d58bafe01071dd013fe3b2f6..2c89b50c5ece5c3bfbaeea19a2cf76a2d725b7ea 100644 (file)
@@ -7,12 +7,12 @@
  * non-internal declarations are in hw/ide.h
  */
 #include <hw/ide.h>
-#include <hw/isa.h>
+#include <hw/isa/isa.h>
 #include "exec/iorange.h"
 #include "sysemu/dma.h"
 #include "sysemu/sysemu.h"
-#include "hw/block-common.h"
-#include "hw/scsi-defs.h"
+#include "hw/block/block.h"
+#include "block/scsi.h"
 
 /* debug IDE devices */
 //#define DEBUG_IDE
index fb7bb8201db3269128fa10900e4851029f4d9782..e0d47bf7cfada983b8b86eade1f712c5e217b00a 100644 (file)
@@ -23,8 +23,8 @@
  * THE SOFTWARE.
  */
 #include <hw/hw.h>
-#include <hw/pc.h>
-#include <hw/isa.h>
+#include <hw/i386/pc.h>
+#include <hw/isa/isa.h>
 #include "block/block.h"
 #include "sysemu/dma.h"
 
index 375c46f9daffc85cffc86a792628e05a9a972d4f..64b2406ab010daf49253da55d700b1cae58a83fa 100644 (file)
@@ -24,7 +24,7 @@
  */
 #include "hw/hw.h"
 #include "hw/ppc/mac.h"
-#include "hw/mac_dbdma.h"
+#include "hw/ppc/mac_dbdma.h"
 #include "block/block.h"
 #include "sysemu/dma.h"
 
index 642774ef98fc16054338c8e897e5c56f8c51dd70..92c1df0460f51b3cdfe7a4680f2fc6eadeb2c757 100644 (file)
@@ -23,7 +23,7 @@
  * THE SOFTWARE.
  */
 #include <hw/hw.h>
-#include <hw/pc.h>
+#include <hw/i386/pc.h>
 #include <hw/pcmcia.h>
 #include "block/block.h"
 #include "sysemu/dma.h"
index 59fd53992a3d2f830be1b67118b3e71ace6bccff..a310975391f6eff7eadbe3f7168d0fd6b32149b4 100644 (file)
@@ -23,9 +23,9 @@
  * THE SOFTWARE.
  */
 #include <hw/hw.h>
-#include <hw/pc.h>
+#include <hw/i386/pc.h>
 #include <hw/pci/pci.h>
-#include <hw/isa.h>
+#include <hw/isa/isa.h>
 #include "block/block.h"
 #include "sysemu/dma.h"
 
index 4d3e82266c3a6ab6f6efca5c06eedd8a43a22b9d..1de284d0e3da3728d95f11472c99c98039e768ac 100644 (file)
@@ -24,9 +24,9 @@
  */
 
 #include <hw/hw.h>
-#include <hw/pc.h>
+#include <hw/i386/pc.h>
 #include <hw/pci/pci.h>
-#include <hw/isa.h>
+#include <hw/isa/isa.h>
 #include "sysemu/blockdev.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/dma.h"
index fd06da7003aac407c19921efe6de9daa59f1c1e4..8a9a89176989b447a89b44302668c4706e6e85a6 100644 (file)
@@ -21,7 +21,7 @@
 #include "qemu/error-report.h"
 #include <hw/ide/internal.h>
 #include "sysemu/blockdev.h"
-#include "hw/block-common.h"
+#include "hw/block/block.h"
 #include "sysemu/sysemu.h"
 
 /* --------------------------------- */
index f40c1adc8cfc9a6937b78b85140f69286a0af97e..9d6a644391a9372e3db1f5f62d92b0837aa64ec5 100644 (file)
@@ -24,9 +24,9 @@
  * THE SOFTWARE.
  */
 #include <hw/hw.h>
-#include <hw/pc.h>
+#include <hw/i386/pc.h>
 #include <hw/pci/pci.h>
-#include <hw/isa.h>
+#include <hw/isa/isa.h>
 #include "block/block.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/dma.h"
index ad7aad339747356c01a067009099555f63acaedf..c153a24310156242fc3e6b342992b0ff51c32749 100644 (file)
@@ -13,7 +13,7 @@
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "sysemu/sysemu.h"
-#include "hw/imx.h"
+#include "hw/arm/imx.h"
 
 #define CKIH_FREQ 26000000 /* 26MHz crystal input */
 #define CKIL_FREQ    32768 /* nominal 32khz clock */
index 746723cd6e7cbd38dbeba0d96183f4eb4c7bd54e..d7ec2090fd85ed28e9523326c0854cfdfe16c2a6 100644 (file)
@@ -21,7 +21,7 @@
 #include "hw/sysbus.h"
 #include "sysemu/sysemu.h"
 #include "char/char.h"
-#include "hw/imx.h"
+#include "hw/arm/imx.h"
 
 //#define DEBUG_SERIAL 1
 #ifdef DEBUG_SERIAL
index a8c311141e9caa1459786ab4a654aeaa32766672..03197e3f5471ab5f613e41307e9b92b6bd2f887f 100644 (file)
@@ -15,7 +15,7 @@
 #include "qemu/timer.h"
 #include "hw/ptimer.h"
 #include "hw/sysbus.h"
-#include "hw/imx.h"
+#include "hw/arm/imx.h"
 
 //#define DEBUG_TIMER 1
 #ifdef DEBUG_TIMER
index 728b60fb9a7468ea80dfa6e57d70a6c69b12d48f..68201cd091a14834386e1f09f081d97e185f224c 100644 (file)
@@ -21,7 +21,7 @@
 #include "hw/pci/pci.h"
 #include "hw/pci/msi.h"
 #include "qemu/timer.h"
-#include "hw/audiodev.h"
+#include "hw/audio/audio.h"
 #include "hw/intel-hda.h"
 #include "hw/intel-hda-defs.h"
 #include "sysemu/dma.h"
index 78629fac6cc054bb855623feee0efbad6504914e..7089fa808dfd1d02d9b3713aad9328dcb39c9019 100644 (file)
  */
 
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/apic.h"
-#include "hw/ioapic.h"
-#include "hw/ioapic_internal.h"
+#include "hw/i386/pc.h"
+#include "hw/i386/apic.h"
+#include "hw/i386/ioapic.h"
+#include "hw/i386/ioapic_internal.h"
 
 //#define DEBUG_IOAPIC
 
index d4aff2954468e4dba475d55cf3c31b77e7ce9b26..42c7adc6911233baef1759679f973cf5bb72ed53 100644 (file)
@@ -19,8 +19,8 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "hw/ioapic.h"
-#include "hw/ioapic_internal.h"
+#include "hw/i386/ioapic.h"
+#include "hw/i386/ioapic_internal.h"
 #include "hw/sysbus.h"
 
 void ioapic_reset_common(DeviceState *dev)
index 67ff8fd314c62c5143590e3333b82ad25e4bbfbf..7860b17d66fc6acddf74bbacd65c21fd7204a9a7 100644 (file)
@@ -20,7 +20,7 @@
 #include "monitor/monitor.h"
 #include "hw/sysbus.h"
 #include "sysemu/sysemu.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "exec/address-spaces.h"
 
 static ISABus *isabus;
index a7860e7459b6613b09b24ef87f8f04d441f7da34..d4dbf138310356a1adbb45bebe65a89382010d67 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "exec/address-spaces.h"
 
 static void isa_mmio_writeb (void *opaque, hwaddr addr,
index af2789e9ac820e654e868a1595aa0ede8f93b026..f92ce19dde84ff336b58a097439767ccf776ead8 100644 (file)
@@ -17,7 +17,7 @@
  * GNU GPL, version 2 or (at your option) any later version.
  */
 #include "hw/hw.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/msix.h"
 #include "sysemu/kvm.h"
index d994ea7c97b38aeb12be1df2f522a2dd0d49b2d7..c6ff9821e33cb6534a692ce911d0084820a8541e 100644 (file)
@@ -9,7 +9,7 @@
  * This work is licensed under the terms of the GNU GPL version 2.
  * See the COPYING file in the top-level directory.
  */
-#include "hw/apic_internal.h"
+#include "hw/i386/apic_internal.h"
 #include "hw/pci/msi.h"
 #include "sysemu/kvm.h"
 
index 04ad649b0ee126738359ba056784a2e48098521c..da90711853e44843300ccfd9510bc6d717cfc598 100644 (file)
@@ -24,8 +24,8 @@
  */
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
-#include "hw/i8254.h"
-#include "hw/i8254_internal.h"
+#include "hw/timer/i8254.h"
+#include "hw/timer/i8254_internal.h"
 #include "sysemu/kvm.h"
 
 #define KVM_PIT_REINJECT_BIT 0
index 5ae8b6819ba77c899f5c2f7b3bf2ec9e743baec1..ea77be8638fd0828e84bba163c6a4b63917c455d 100644 (file)
@@ -9,8 +9,8 @@
  * This work is licensed under the terms of the GNU GPL version 2.
  * See the COPYING file in the top-level directory.
  */
-#include "hw/i8259_internal.h"
-#include "hw/apic_internal.h"
+#include "hw/isa/i8259_internal.h"
+#include "hw/i386/apic_internal.h"
 #include "sysemu/kvm.h"
 
 static void kvm_pic_get(PICCommonState *s)
index 23877d4259301785a3912d234ca06b5aed47cdc3..a3bd519b4de56b536eef088c0e732ca9e85e2c90 100644 (file)
@@ -10,9 +10,9 @@
  * See the COPYING file in the top-level directory.
  */
 
-#include "hw/pc.h"
-#include "hw/ioapic_internal.h"
-#include "hw/apic_internal.h"
+#include "hw/i386/pc.h"
+#include "hw/i386/ioapic_internal.h"
+#include "hw/i386/apic_internal.h"
 #include "sysemu/kvm.h"
 
 /* PC Utility function */
index da64b5b86f8df35a0f0f3c806702983616789713..c1e08ec1a041e00d20c7e4e7e25b6474b81fd994 100644 (file)
@@ -27,7 +27,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include "hw/hw.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "qemu/error-report.h"
 #include "ui/console.h"
 #include "hw/loader.h"
index 403fb868aeab3b4d5127f52e30e72f085d6915dd..04cf267f139cb19ce70b44fdd75f957b6f9ce5fd 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "hw/sysbus.h"
 #include "net/net.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "sysemu/sysemu.h"
 #include "hw/ptimer.h"
 /* For crc32 */
index acfffaed31091163cc8d168d24e083ad622ced3b..0f4e808d141ace27632165a61b011ca4f71cf7db 100644 (file)
@@ -39,7 +39,7 @@
 #include "net/net.h"
 #include "qemu/timer.h"
 #include "qemu/sockets.h"
-#include "hw/sun4m.h"
+#include "hw/sparc/sun4m.h"
 #include "hw/pcnet.h"
 #include "trace.h"
 
index db9294809273175071057a63d78ae4aaccb14151..b22c94f85fffd2d3566b9b301b3fb48b4a9066ee 100644 (file)
@@ -19,8 +19,8 @@
 
 #include "hw/sysbus.h"
 #include "hw/hw.h"
-#include "hw/flash.h"
-#include "hw/devices.h"
+#include "hw/block/flash.h"
+#include "hw/arm/devices.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
 #include "sysemu/blockdev.h"
index b347cf964cb206cbb97e54a65b9bd108fa8cd7a2..c3724dee0662bc9da8fda902137b6733ddbd4e26 100644 (file)
@@ -19,9 +19,9 @@
 
 #include "hw/sysbus.h"
 #include "hw/hw.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "sysemu/sysemu.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
 #include "elf.h"
index 472e9c25fd808748726a89295accf4c290d9f688..93f0d1534e0c54a8959d46101e75567c14f9a98c 100644 (file)
@@ -22,7 +22,7 @@
 #include "trace.h"
 #include "char/char.h"
 
-#include "hw/lm32_juart.h"
+#include "hw/lm32/lm32_juart.h"
 
 enum {
     LM32_JUART_MIN_SAVE_VERSION = 0,
index d17c310d5c14e7fd77666ca5b0d83588d0550cbc..b4e80c8d8cf6a3c81a4100b6627f57b3c534c060 100644 (file)
 #include <assert.h>
 
 #include "hw/hw.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "monitor/monitor.h"
 #include "hw/sysbus.h"
 #include "trace.h"
-#include "hw/lm32_pic.h"
+#include "hw/lm32/lm32_pic.h"
 
 struct LM32PicState {
     SysBusDevice busdev;
index a064dfd17262ac7c5911de48d70c9a74f3f81046..bacbeb23435f35251d6c440d85d2296797d6a0d6 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 #include "qemu/timer.h"
 #include "ui/console.h"
 
index 6ce66fb5bb10d4d681a82d370c3307e85d5983ce..2f5072dfa2816ebd044cb125f1c17950eb8f3302 100644 (file)
@@ -48,7 +48,7 @@
 #include "sysemu/sysemu.h"
 #include "hw/uboot_image.h"
 #include "hw/loader.h"
-#include "hw/fw_cfg.h"
+#include "hw/nvram/fw_cfg.h"
 #include "exec/memory.h"
 #include "exec/address-spaces.h"
 
index ff0a3092d52e221886d7a325a427950afb972bfd..d11607593340a6e6828b75714c694f4275458015 100644 (file)
 #include "qemu-common.h"
 #include "hw/hw.h"
 #include "qemu/range.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "hw/sysbus.h"
-#include "hw/pc.h"
-#include "hw/apm.h"
-#include "hw/ioapic.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/apm.h"
+#include "hw/i386/ioapic.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pcie_host.h"
 #include "hw/pci/pci_bridge.h"
-#include "hw/ich9.h"
-#include "hw/acpi.h"
-#include "hw/acpi_ich9.h"
-#include "hw/pam.h"
+#include "hw/i386/ich9.h"
+#include "hw/acpi/acpi.h"
+#include "hw/acpi/ich9.h"
 #include "hw/pci/pci_bus.h"
 #include "exec/address-spaces.h"
 #include "sysemu/sysemu.h"
index 5a8bf4d0e9b33a46d860502effec9ad5b934f533..c601b2943d68b69588c956d9b73a15511f0a787c 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
-#include "hw/scsi.h"
+#include "hw/scsi/scsi.h"
 #include "sysemu/dma.h"
 
 //#define DEBUG_LSI
index 55e9d0d37a1379fd092bf5d56f8dc57368c87d2a..cd560e3747f483c3e2904dc3ad446fb42adcca3b 100644 (file)
@@ -24,7 +24,7 @@
 #include "hw/hw.h"
 #include "sysemu/blockdev.h"
 #include "hw/ssi.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 
 #ifdef M25P80_ERR_DEBUG
 #define DB_PRINT(...) do { \
index 39a9d808cd9e18c072c66a3af9ada6d7f18b2322..5019e0632b5eb261b3c9f03216e32169ea63cbdd 100644 (file)
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/nvram.h"
+#include "hw/timer/m48t59.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
 #include "hw/sysbus.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "exec/address-spaces.h"
 
 //#define DEBUG_NVRAM
index 7c21c66cdecb9789bf93e0115586cb7caaa149b2..c4a5626a53191495de6239ca00b0a851b4897c36 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/mcf.h"
+#include "hw/m68k/mcf.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
 #include "elf.h"
index 58cd8d46c9a32597f39c2a36a50935712e4a2b91..bcc619d74bc02c7e23a1ae526e0067365a69e8c6 100644 (file)
@@ -6,7 +6,7 @@
  * This code is licensed under the GPL
  */
 #include "hw/hw.h"
-#include "hw/mcf.h"
+#include "hw/m68k/mcf.h"
 #include "qemu/timer.h"
 #include "hw/ptimer.h"
 #include "sysemu/sysemu.h"
index 748bf5698378796ac017a331683aca626ea34d3f..05efde7ceb9a0607ad6931af170ddf8381e36133 100644 (file)
@@ -6,7 +6,7 @@
  * This code is licensed under the GPL
  */
 #include "hw/hw.h"
-#include "hw/mcf.h"
+#include "hw/m68k/mcf.h"
 #include "qemu/timer.h"
 #include "hw/ptimer.h"
 #include "sysemu/sysemu.h"
index fff27b34aa09e0859ae163c7ebec586cce719f59..cfe660d0a497da19cb53c28bafe2dda42df9b9df 100644 (file)
@@ -6,7 +6,7 @@
  * This code is licensed under the GPL
  */
 #include "hw/hw.h"
-#include "hw/mcf.h"
+#include "hw/m68k/mcf.h"
 #include "exec/address-spaces.h"
 
 typedef struct {
index 61d2f35c8e6ff5fb4948e60b61c353e4190f1c4d..a2363bbdf291a0524c76623f8bc0d3db82565424 100644 (file)
@@ -37,8 +37,8 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/isa.h"
-#include "hw/mac_dbdma.h"
+#include "hw/isa/isa.h"
+#include "hw/ppc/mac_dbdma.h"
 #include "qemu/main-loop.h"
 
 /* debug DBDMA */
index ed32bde5aba2fbc2b7e385bb3b16afd9bc2b0e2d..52233308387798fbcfd86bbc0860cc6e776e841f 100644 (file)
@@ -23,7 +23,7 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/firmware_abi.h"
+#include "hw/sparc/firmware_abi.h"
 #include "sysemu/sysemu.h"
 #include "hw/ppc/mac.h"
 
index e91143e3315aceebed7989b231ebaebb881f7bee..2f389dd7ccffe9b68dbf9f6bf420afd413e6d1ac 100644 (file)
@@ -25,8 +25,8 @@
 #include "hw/hw.h"
 #include "hw/ppc/mac.h"
 #include "hw/pci/pci.h"
-#include "hw/mac_dbdma.h"
-#include "hw/escc.h"
+#include "hw/ppc/mac_dbdma.h"
+#include "hw/char/escc.h"
 
 #define TYPE_MACIO "macio"
 #define MACIO(obj) OBJECT_CHECK(MacIOState, (obj), TYPE_MACIO)
index e042046e4f15d7d7ed8c6ad5d92b221ff5f9fd43..f9b68fd3112259ddcbda47a6211277778ac0d8a3 100644 (file)
@@ -11,7 +11,7 @@
  */
 #include "hw/sysbus.h"
 #include "hw/hw.h"
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 #include "hw/sysbus.h"
 #include "audio/audio.h"
 
index e5cb810a276494218c2d1204cf034f7750f48512..59b287703ecc4e431558a93c1503b50fb2085c16 100644 (file)
@@ -7,7 +7,7 @@
  * This file is licensed under GNU GPL.
  */
 
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 
 typedef struct {
     I2CSlave i2c;
index a2119ad2f1b2a2ecd03a27b8a0feb1c9dfe42e5d..69e6844ff4209e928f30f05b97c8712f7bc39d5d 100644 (file)
 #include "hw/hw.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
-#include "hw/mc146818rtc.h"
+#include "hw/timer/mc146818rtc.h"
 #include "qapi/visitor.h"
 
 #ifdef TARGET_I386
-#include "hw/apic.h"
+#include "hw/i386/apic.h"
 #endif
 
 //#define DEBUG_CMOS
index 0227bd852c4b77ae54d7dc04f61715b548f18c04..9b6805267d3dd0e0eca08387a9cb13309ce02a57 100644 (file)
@@ -7,7 +7,7 @@
  */
 #include "hw/hw.h"
 #include "net/net.h"
-#include "hw/mcf.h"
+#include "hw/m68k/mcf.h"
 /* For crc32 */
 #include <zlib.h>
 #include "exec/address-spaces.h"
index e5de801671327cd024039c419feffc1980e767b1..6724b1b7188262631cd35b3d8824ffd83f50e2e5 100644 (file)
@@ -6,7 +6,7 @@
  * This code is licensed under the GPL
  */
 #include "hw/hw.h"
-#include "hw/mcf.h"
+#include "hw/m68k/mcf.h"
 #include "char/char.h"
 #include "exec/address-spaces.h"
 
index 9b815d4b8fc6191dbc41951da07fd8886b940f0d..f46f800355e50ab696aa885da714b795f161a4a8 100644 (file)
@@ -23,8 +23,8 @@
 #include "sysemu/dma.h"
 #include "hw/pci/msix.h"
 #include "qemu/iov.h"
-#include "hw/scsi.h"
-#include "hw/scsi-defs.h"
+#include "hw/scsi/scsi.h"
+#include "block/scsi.h"
 #include "trace.h"
 
 #include "hw/mfi.h"
index 07dc8084051f72cc9f616bfad269b4460f201ec1..79a8a0e17034bd9eb14fb44c8d663d37667fe99b 100644 (file)
 #include "hw/sysbus.h"
 #include "hw/hw.h"
 #include "net/net.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "sysemu/sysemu.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "hw/boards.h"
 #include "hw/xilinx.h"
 #include "sysemu/blockdev.h"
-#include "hw/serial.h"
+#include "hw/char/serial.h"
 #include "exec/address-spaces.h"
 #include "hw/ssi.h"
 
index 24983621e59fbf0b2c9d59136a863ba98442c14b..b38640321b7ae085a1575a8035e11dc4005ebd60 100644 (file)
@@ -26,9 +26,9 @@
 #include "hw/sysbus.h"
 #include "hw/hw.h"
 #include "net/net.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "sysemu/sysemu.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "hw/boards.h"
 #include "hw/xilinx.h"
 #include "sysemu/blockdev.h"
index 90a0ae57696dca218ac5165278c975c316267e5e..3edab4ff0b9b4eb04b32c6c553201d0b0596a92d 100644 (file)
@@ -25,7 +25,7 @@
 #include "hw/sysbus.h"
 #include "trace.h"
 #include "ui/console.h"
-#include "hw/hid.h"
+#include "hw/input/hid.h"
 #include "qemu/error-report.h"
 
 enum {
index cddc25cf3f69f8603e6591d0909e6ee3a5094982..99488f1d2a6f2a8cff217f59013f93355785c9b8 100644 (file)
@@ -21,7 +21,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/mips_cpudevs.h"
+#include "hw/mips/cpudevs.h"
 
 uint64_t cpu_mips_kseg0_to_phys(void *opaque, uint64_t addr)
 {
index 9ad13f3924a61137b0dc999cbc919a6fe7c6c737..e0266bf15ae68363ea80ce97832b076e834088f9 100644 (file)
@@ -21,7 +21,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/mips_cpudevs.h"
+#include "hw/mips/cpudevs.h"
 #include "qemu/timer.h"
 
 #define TIMER_FREQ     100 * 1000 * 1000
index 766aa9dfb56b7c061bf3d02fb86a23a0a210a44c..3cf27fa822fb6301309fb6660c5fe6c6544548cb 100644 (file)
  */
 
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/serial.h"
-#include "hw/fdc.h"
+#include "hw/i386/pc.h"
+#include "hw/char/serial.h"
+#include "hw/block/fdc.h"
 #include "net/net.h"
 #include "hw/boards.h"
-#include "hw/smbus.h"
+#include "hw/i2c/smbus.h"
 #include "block/block.h"
-#include "hw/flash.h"
-#include "hw/mips.h"
-#include "hw/mips_cpudevs.h"
+#include "hw/block/flash.h"
+#include "hw/mips/mips.h"
+#include "hw/mips/cpudevs.h"
 #include "hw/pci/pci.h"
 #include "char/char.h"
 #include "sysemu/sysemu.h"
 #include "audio/audio.h"
 #include "qemu/log.h"
 #include "hw/loader.h"
-#include "hw/mips-bios.h"
+#include "hw/mips/bios.h"
 #include "hw/ide.h"
 #include "elf.h"
-#include "hw/vt82c686.h"
-#include "hw/mc146818rtc.h"
-#include "hw/i8254.h"
+#include "hw/isa/vt82c686.h"
+#include "hw/timer/mc146818rtc.h"
+#include "hw/timer/i8254.h"
 #include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
 
index 0e5e86699cd55a89e10a78d86f2e4accfc561260..7dbd24d3d6e5d00ff63901d29a3bb1e3f450460c 100644 (file)
@@ -21,7 +21,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/mips_cpudevs.h"
+#include "hw/mips/cpudevs.h"
 #include "cpu.h"
 
 static void cpu_mips_irq_request(void *opaque, int irq, int level)
index daeb985b1d0368daa249f84c2ccadae4f2f537dc..fd3a5f93f9aa4abc372b16fbd79e19ce1a740be4 100644 (file)
  */
 
 #include "hw/hw.h"
-#include "hw/mips.h"
-#include "hw/mips_cpudevs.h"
-#include "hw/pc.h"
-#include "hw/serial.h"
-#include "hw/isa.h"
-#include "hw/fdc.h"
+#include "hw/mips/mips.h"
+#include "hw/mips/cpudevs.h"
+#include "hw/i386/pc.h"
+#include "hw/char/serial.h"
+#include "hw/isa/isa.h"
+#include "hw/block/fdc.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/arch_init.h"
 #include "hw/boards.h"
 #include "net/net.h"
-#include "hw/esp.h"
-#include "hw/mips-bios.h"
+#include "hw/scsi/esp.h"
+#include "hw/mips/bios.h"
 #include "hw/loader.h"
-#include "hw/mc146818rtc.h"
-#include "hw/i8254.h"
-#include "hw/pcspk.h"
+#include "hw/timer/mc146818rtc.h"
+#include "hw/timer/i8254.h"
+#include "hw/audio/pcspk.h"
 #include "sysemu/blockdev.h"
 #include "hw/sysbus.h"
 #include "exec/address-spaces.h"
index 9a67dce2077227aca2d29fe557c0b981086b5c44..a3e936b77fa3d6517e49f8447c466fda0ad03ad3 100644 (file)
  */
 
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/serial.h"
-#include "hw/fdc.h"
+#include "hw/i386/pc.h"
+#include "hw/char/serial.h"
+#include "hw/block/fdc.h"
 #include "net/net.h"
 #include "hw/boards.h"
-#include "hw/smbus.h"
+#include "hw/i2c/smbus.h"
 #include "block/block.h"
-#include "hw/flash.h"
-#include "hw/mips.h"
-#include "hw/mips_cpudevs.h"
+#include "hw/block/flash.h"
+#include "hw/mips/mips.h"
+#include "hw/mips/cpudevs.h"
 #include "hw/pci/pci.h"
 #include "char/char.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/arch_init.h"
 #include "hw/boards.h"
 #include "qemu/log.h"
-#include "hw/mips-bios.h"
+#include "hw/mips/bios.h"
 #include "hw/ide.h"
 #include "hw/loader.h"
 #include "elf.h"
-#include "hw/mc146818rtc.h"
-#include "hw/i8254.h"
+#include "hw/timer/mc146818rtc.h"
+#include "hw/timer/i8254.h"
 #include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
 #include "hw/sysbus.h"             /* SysBusDevice */
index 4935c78c01643e7c56152b4e1ed5adcbd0d8a2d9..d1681ec2fe5b7c102e00df6c8a6cb8b1e2bc9bfd 100644 (file)
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/mips.h"
-#include "hw/mips_cpudevs.h"
-#include "hw/serial.h"
-#include "hw/isa.h"
+#include "hw/mips/mips.h"
+#include "hw/mips/cpudevs.h"
+#include "hw/char/serial.h"
+#include "hw/isa/isa.h"
 #include "net/net.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
-#include "hw/mips-bios.h"
+#include "hw/mips/bios.h"
 #include "hw/loader.h"
 #include "elf.h"
 #include "hw/sysbus.h"
index 539a56262078f6d3a88c44c17bef1f95920ab9f4..4646ab6db7f499980fe01043fbc20eb89e17dc92 100644 (file)
@@ -8,22 +8,22 @@
  * the standard PC ISA addresses.
 */
 #include "hw/hw.h"
-#include "hw/mips.h"
-#include "hw/mips_cpudevs.h"
-#include "hw/pc.h"
-#include "hw/serial.h"
-#include "hw/isa.h"
+#include "hw/mips/mips.h"
+#include "hw/mips/cpudevs.h"
+#include "hw/i386/pc.h"
+#include "hw/char/serial.h"
+#include "hw/isa/isa.h"
 #include "net/net.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "qemu/log.h"
-#include "hw/mips-bios.h"
+#include "hw/mips/bios.h"
 #include "hw/ide.h"
 #include "hw/loader.h"
 #include "elf.h"
-#include "hw/mc146818rtc.h"
-#include "hw/i8254.h"
+#include "hw/timer/mc146818rtc.h"
+#include "hw/timer/i8254.h"
 #include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
 
index e1e88a9c30728e7c571a894fa9f2cefdfce31560..70bf28f2fd4d747485938d6d45bf8b429af974ad 100644 (file)
  */
 #include "hw/sysbus.h"
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/isa.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/isa.h"
 #include "net/net.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
-#include "hw/serial.h"
+#include "hw/char/serial.h"
 #include "exec/address-spaces.h"
 
 #define PHYS_MEM_BASE 0x80000000
index 63620938fba0c4321c3dd94076a30cc60b6f560c..087ca14ed1b5a7c66f6a287c4d4d0dbb0058723d 100644 (file)
--- a/hw/nand.c
+++ b/hw/nand.c
@@ -19,7 +19,7 @@
 #ifndef NAND_IO
 
 # include "hw/hw.h"
-# include "hw/flash.h"
+# include "hw/block/flash.h"
 # include "sysemu/blockdev.h"
 # include "hw/sysbus.h"
 #include "qemu/error-report.h"
index 47c00c3a7652e7792c46496945940ca01e1aa6c6..e4c10dbe25266caa11c3450c0aa419ee2a2fb088 100644 (file)
@@ -22,8 +22,8 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/isa.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/isa.h"
 #include "hw/qdev.h"
 #include "net/net.h"
 #include "hw/ne2000.h"
index c7b5c11626e23e7a035b67da2b20b561ea148bb9..80a3c50e1e1277c25c807d72b3a173312a58997f 100644 (file)
@@ -19,7 +19,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "hw/hw.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 
 struct clk {
     const char *name;
index 0c5902f6f9cad0dd9b1889108344c2bd21a685de..184fcee1a7262e1c46164d1694bc5c55f0e5c87f 100644 (file)
@@ -19,9 +19,9 @@
  */
 #include "qemu-common.h"
 #include "qemu/timer.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 #include "hw/irq.h"
-#include "hw/soc_dma.h"
+#include "hw/arm/soc_dma.h"
 
 struct omap_dma_channel_s {
     /* transfer data */
index 948ad8fcc5fc2e1b6ba28a84742535951c3636fd..ea3afcef5e8e5f5702943e5944c8b00f7d55fbe1 100644 (file)
@@ -19,7 +19,7 @@
  */
 #include "hw/hw.h"
 #include "ui/console.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 
 struct omap_dss_s {
     qemu_irq irq;
index c79f61c2ba07911206a1d6e54b98bff3ec78e2f7..f5eeaea54982a180dea5c784b2a01253e92ce2ab 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 #include "hw/sysbus.h"
 
 struct omap_gpio_s {
index ebb259c283333a04624686aaf4b66ae3428da08c..91adb66c2b301fc34ad31054a07762b496b35b20 100644 (file)
@@ -19,8 +19,8 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "hw/hw.h"
-#include "hw/flash.h"
-#include "hw/omap.h"
+#include "hw/block/flash.h"
+#include "hw/arm/omap.h"
 #include "exec/memory.h"
 #include "exec/address-spaces.h"
 
index 8485ee84f532efaf15adc97fd847ac78759950a7..9b0e9dd56760bc826a611de8fbdac5f32e2e96f6 100644 (file)
@@ -19,7 +19,7 @@
  */
 #include "hw/hw.h"
 #include "qemu/timer.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 
 /* GP timers */
 struct omap_gp_timer_s {
index 92f7b371eaf216af25b32a0e618b7d684d26722e..efb2254aea12502e060cd2bf78e9a8b4b5c79c46 100644 (file)
@@ -17,8 +17,8 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "hw/hw.h"
-#include "hw/i2c.h"
-#include "hw/omap.h"
+#include "hw/i2c/i2c.h"
+#include "hw/arm/omap.h"
 #include "hw/sysbus.h"
 
 
index 7da9c3548cda494953b448986d94a5eacd1a5233..875eba4e3ee56f6d7641347361c0e9e96e59697e 100644 (file)
@@ -18,7 +18,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "hw/hw.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 #include "hw/sysbus.h"
 
 /* Interrupt Handlers */
index cbe8a06033725ec7f5be5daf3e212737c709cc67..ac8251f7367150ed851ddb96e96a977c2ddbdd99 100644 (file)
@@ -18,7 +18,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "hw/hw.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 
 struct omap_l4_s {
     MemoryRegion *address_space;
index 4f5b0947cffc4f3d3d90686dd7a155cce9e0ea00..4048cc102d9a1a694178b0fb5cf0f7aa168f7bab 100644 (file)
@@ -18,7 +18,7 @@
  */
 #include "hw/hw.h"
 #include "ui/console.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 #include "hw/framebuffer.h"
 #include "ui/pixel_ops.h"
 
index 6e48110c9eef0e739f030aea5eeaf2ee6e85bf0d..d4079cde0b993e43895236830fe522cc4ae0086b 100644 (file)
@@ -17,7 +17,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "hw/hw.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 #include "hw/sd.h"
 
 struct omap_mmc_s {
index 510e6cc5808bfa3c0c4a574affcdf9ed1fbc485d..e38b57105466504c72c074e74a3aebd2adb8d941 100644 (file)
@@ -18,7 +18,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "hw/hw.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 
 /* SDRAM Controller Subsystem */
 struct omap_sdrc_s {
index 1cbd98d338f6e4af033af60b0e5cfa41a701ed41..11403c411b4b526b65bd19052ddfae5bdf8e54d2 100644 (file)
@@ -20,7 +20,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 #include "hw/hw.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 
 /* Multichannel SPI */
 struct omap_mcspi_s {
index 13e7280e6939857d439c14c1dd4a5a4f500e3d15..a24f35c277ccd89363d8fb73f757e0d62a103578 100644 (file)
@@ -19,7 +19,7 @@
  */
 #include "hw/hw.h"
 #include "qemu/timer.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 struct omap_synctimer_s {
     MemoryRegion iomem;
     uint32_t val;
index 181ecee1a5d115125f66a8b08d24abe4d222969c..99b70d5a750b0aaa738b0b1cfa72316779f2fb27 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 
 /* TEST-Chip-level TAP */
 static uint64_t omap_tap_read(void *opaque, hwaddr addr,
index af51ce753491a900e03a7380c9cfd13730f2e463..26c14266fc48be09d1d4bc80502eaf43777f1aec 100644 (file)
@@ -19,8 +19,8 @@
  */
 #include "char/char.h"
 #include "hw/hw.h"
-#include "hw/omap.h"
-#include "hw/serial.h"
+#include "hw/arm/omap.h"
+#include "hw/char/serial.h"
 #include "exec/address-spaces.h"
 
 /* UARTs */
index 57a346d7da374d98a244fa9b14059fab54976097..8b511a79dce675062de03d94da12ecadb4fef362 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "qemu-common.h"
 #include "hw/hw.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "hw/irq.h"
 #include "sysemu/blockdev.h"
 #include "exec/memory.h"
index 03a7075c39c9ddd8c77e5a9a95872837d425132d..c78871445b4a3c18b173b13fd2419b4c9c0e9871 100644 (file)
 #include "hw/hw.h"
 #include "hw/ppc/mac.h"
 #include "hw/pci/pci.h"
-#include "hw/openpic.h"
+#include "hw/ppc/openpic.h"
 #include "hw/sysbus.h"
 #include "hw/pci/msi.h"
 #include "qemu/bitops.h"
-#include "hw/ppc.h"
+#include "hw/ppc/ppc.h"
 
 //#define DEBUG_OPENPIC
 
index db2aac8cf81afe95a31c61efc6157b35682ed82d..49bab1f0f069b4a24c12f2d22ed54cedb6811c09 100644 (file)
@@ -21,7 +21,7 @@
 #include "hw/hw.h"
 #include "hw/boards.h"
 #include "elf.h"
-#include "hw/serial.h"
+#include "hw/char/serial.h"
 #include "net/net.h"
 #include "hw/loader.h"
 #include "exec/address-spaces.h"
index 6c0061e06edc2903114c69d1aaacf8d5239c107b..7181bd68eb939373664cacd72e10d99f05f2d8b4 100644 (file)
--- a/hw/pam.c
+++ b/hw/pam.c
@@ -27,7 +27,7 @@
  * THE SOFTWARE.
  */
 #include "sysemu/sysemu.h"
-#include "hw/pam.h"
+#include "hw/pci-host/pam.h"
 
 void smram_update(MemoryRegion *smram_region, uint8_t smram,
                   uint8_t smm_enabled)
index 0b9af43d8b36425e088a65b35896b5db3ffac345..863a6fb4a9ecf901eec69f3d628cfdc71c748f5b 100644 (file)
@@ -24,8 +24,8 @@
  */
 #include "hw/hw.h"
 #include "char/char.h"
-#include "hw/isa.h"
-#include "hw/pc.h"
+#include "hw/isa/isa.h"
+#include "hw/i386/pc.h"
 #include "sysemu/sysemu.h"
 
 //#define DEBUG_PARALLEL
index 8236bce0c79b1a891744708c1fe83861ae3b62d7..32df175c10387e55783dea4cbc0993ea5a5135c5 100644 (file)
@@ -41,7 +41,7 @@
 #endif
 #include "hw/hw.h"
 #include "hw/qdev.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 
 #define IOMEM_LEN    0x10000
 
index c4e4c6273bd3fa1855e921ccc0da4645e8e8de13..9f5e18568555292719e50798f6c1bf4c567e49f4 100644 (file)
@@ -23,7 +23,7 @@
  * THE SOFTWARE.
  */
 
-#include "hw/pc87312.h"
+#include "hw/isa/pc87312.h"
 #include "qemu/error-report.h"
 #include "sysemu/blockdev.h"
 #include "sysemu/sysemu.h"
index 3e01528e786941867c28266b36f6734a08a5968f..0d95c8a9261f2d93fd055e94297a04cd81c2e507 100644 (file)
 #include "qemu/error-report.h"
 #include "hw/sysbus.h"
 #include "hw/hw.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
 #include "sysemu/sysemu.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "sysemu/kvm.h"
 
 #define BIOS_FILENAME "bios.bin"
index 180ee07fefc74496bbb4b413f873dc9f24bff2c9..12287d1efcb78197e784e5697ceb991b29f67cc6 100644 (file)
 #include "hw/boards.h"
 #include "hw/pci/pci.h"
 #include "net/net.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "monitor/monitor.h"
-#include "hw/scsi.h"
-#include "hw/virtio-blk.h"
+#include "hw/scsi/scsi.h"
+#include "hw/virtio/virtio-blk.h"
 #include "qemu/config-file.h"
 #include "sysemu/blockdev.h"
 #include "qapi/error.h"
index cc63df0570dcd910e8a219b93eac1d0138d07dcd..08ceb9fe8a80a0fa4722af44598d6ecbd0655190 100644 (file)
@@ -22,9 +22,9 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/isa.h"
-#include "hw/pc.h"
-#include "hw/ps2.h"
+#include "hw/isa/isa.h"
+#include "hw/i386/pc.h"
+#include "hw/input/ps2.h"
 #include "sysemu/sysemu.h"
 
 /* debug PC keyboard */
index d5334159502916f08e685ed81d35b03a96822170..34e0df74857c03e54b00361912276ac95e2235fd 100644 (file)
  */
 
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/isa.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/isa.h"
 #include "audio/audio.h"
 #include "qemu/timer.h"
-#include "hw/i8254.h"
-#include "hw/pcspk.h"
+#include "hw/timer/i8254.h"
+#include "hw/audio/pcspk.h"
 
 #define PCSPK_BUF_LEN 1792
 #define PCSPK_SAMPLE_RATE 32000
index 646dc794bf72535e09cbe6b5d991d3620c2464ad..3ff20e0c6faa17dc408680deeb7856e6e6b25ff9 100644 (file)
@@ -37,7 +37,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "block/block.h"
 #include "qemu/timer.h"
 #include "exec/address-spaces.h"
index 37b4fcc234d56b5be9e7923d7814f562631c4b8c..9a7fa707ca0de14f7da2ddce7decce8d919795a9 100644 (file)
@@ -36,7 +36,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "qemu/timer.h"
 #include "block/block.h"
 #include "exec/address-spaces.h"
index 0f5cd014e59815ccb5656529687c08a295d4d96d..d750413a7e3db64b6515858046ba9e21576be18d 100644 (file)
@@ -23,9 +23,9 @@
  */
 
 #include "hw/hw.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/pci/pci.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "hw/sysbus.h"
 
 PCIDevice *piix4_dev;
index 83fcfa497c9cc6377f46344de8b80170006390b7..f9e68c30999c9cea119be103fbcd5872bc2348ef 100644 (file)
  */
 
 #include "hw/hw.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "hw/sysbus.h"
 #include "qemu/range.h"
-#include "hw/xen.h"
-#include "hw/pam.h"
+#include "hw/xen/xen.h"
+#include "hw/pci-host/pam.h"
 #include "sysemu/sysemu.h"
 
 /*
index 76735a0eda4976fd66c08baa174b0e1a89519cfd..7dd8a59dd4940e84eb75af1a6dfeb7e29bae1a6c 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include "hw/sysbus.h"
-#include "hw/ps2.h"
+#include "hw/input/ps2.h"
 
 typedef struct {
     SysBusDevice busdev;
index 60aa4a8f9f1a768efcb74a9fa2687ecd642b97f8..8b33138f30f77253095be8d02c57047f088c9609 100644 (file)
@@ -14,7 +14,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "sysbus.h"
+#include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "sysemu/dma.h"
 
index 790061065ce59ca6a074072b5c5d9000099499c2..0b5bb8997684201f71e9b1490b3de592f2c65b2d 100644 (file)
@@ -18,9 +18,9 @@
  * <http://www.gnu.org/licenses/>.
  */
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/pm_smbus.h"
-#include "hw/smbus.h"
+#include "hw/i386/pc.h"
+#include "hw/i2c/pm_smbus.h"
+#include "hw/i2c/smbus.h"
 
 /* no save/load? */
 
index fef9c5d842a40cda2097ec69db9696ceb494b681..c1bdb6be981734ea5d83967be8c865e3d5281054 100644 (file)
 #include "net/net.h"
 #include "qemu/config-file.h"
 #include "hw/hw.h"
-#include "hw/serial.h"
+#include "hw/char/serial.h"
 #include "hw/pci/pci.h"
 #include "hw/boards.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/kvm.h"
 #include "kvm_ppc.h"
 #include "sysemu/device_tree.h"
-#include "hw/openpic.h"
-#include "hw/ppc.h"
+#include "hw/ppc/openpic.h"
+#include "hw/ppc/ppc.h"
 #include "hw/loader.h"
 #include "elf.h"
 #include "hw/sysbus.h"
 #include "exec/address-spaces.h"
 #include "qemu/host-utils.h"
-#include "hw/ppce500_pci.h"
+#include "hw/pci-host/ppce500.h"
 
 #define BINARY_DEVICE_TREE_FILE    "mpc8544ds.dtb"
 #define UIMAGE_LOAD_BASE           0
index 4b3057528c69ff80e700d4e13d343e49f5117de1..7292ce12900ef232508687ab90c990b35b538551 100644 (file)
@@ -15,7 +15,7 @@
 #include "hw/boards.h"
 #include "sysemu/device_tree.h"
 #include "hw/pci/pci.h"
-#include "hw/openpic.h"
+#include "hw/ppc/openpic.h"
 
 static void e500plat_fixup_devtree(PPCE500Params *params, void *fdt)
 {
index b17107b7973e4547859eb6770e85eeaea72aed7f..54efaed627b3f321bcc839d48bd45db956467abd 100644 (file)
@@ -28,7 +28,7 @@
 #include "exec/memory.h"
 #include "hw/sysbus.h"
 #include "hw/ide/internal.h"
-#include "hw/adb.h"
+#include "hw/input/adb.h"
 
 /* SMP is not enabled, for now */
 #define MAX_CPUS 1
index a08a6b2086247b2bd7d17dfd9b99cc38a8cd84a4..4a9b8837e3d772ee8e8061977b57b0fc6ea58044 100644 (file)
  *
  */
 #include "hw/hw.h"
-#include "hw/ppc.h"
+#include "hw/ppc/ppc.h"
 #include "hw/ppc/mac.h"
-#include "hw/adb.h"
-#include "hw/mac_dbdma.h"
-#include "hw/nvram.h"
+#include "hw/input/adb.h"
+#include "hw/ppc/mac_dbdma.h"
+#include "hw/timer/m48t59.h"
 #include "hw/pci/pci.h"
 #include "net/net.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
-#include "hw/fw_cfg.h"
-#include "hw/escc.h"
-#include "hw/openpic.h"
+#include "hw/nvram/fw_cfg.h"
+#include "hw/char/escc.h"
+#include "hw/ppc/openpic.h"
 #include "hw/ide.h"
 #include "hw/loader.h"
 #include "elf.h"
index 2778e45879dc141ad67845e32df94fe4a180be17..3acca94432dfae316c98c9283bf8bfb565c1e071 100644 (file)
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/ppc.h"
+#include "hw/ppc/ppc.h"
 #include "mac.h"
-#include "hw/adb.h"
-#include "hw/nvram.h"
+#include "hw/input/adb.h"
+#include "hw/timer/m48t59.h"
 #include "sysemu/sysemu.h"
 #include "net/net.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "hw/pci/pci.h"
 #include "hw/boards.h"
-#include "hw/fw_cfg.h"
-#include "hw/escc.h"
+#include "hw/nvram/fw_cfg.h"
+#include "hw/char/escc.h"
 #include "hw/ide.h"
 #include "hw/loader.h"
 #include "elf.h"
index cf29788c4da8d9dd1b93d800a0af5e6b6cadc11a..444da0246d454f402f8026afddd5645c41607a9e 100644 (file)
@@ -14,7 +14,7 @@
 #include "e500.h"
 #include "hw/boards.h"
 #include "sysemu/device_tree.h"
-#include "hw/openpic.h"
+#include "hw/ppc/openpic.h"
 
 static void mpc8544ds_fixup_devtree(PPCE500Params *params, void *fdt)
 {
index 85bc821d944e2d53e15a97af6451c2ab09ecdaee..fb57b42ea087c58f2852fb634353c13aa4dd2b62 100644 (file)
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/ppc.h"
+#include "hw/ppc/ppc.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
-#include "hw/nvram.h"
+#include "hw/timer/m48t59.h"
 #include "qemu/log.h"
 #include "hw/loader.h"
 #include "sysemu/kvm.h"
index ba443cf8ef1063af755f783a77599429227b1311..18a29dbc6636679755c68a9310442a895b131525 100644 (file)
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/ppc.h"
+#include "hw/ppc/ppc.h"
 #include "hw/ppc405.h"
-#include "hw/nvram.h"
-#include "hw/flash.h"
+#include "hw/timer/m48t59.h"
+#include "hw/block/flash.h"
 #include "sysemu/sysemu.h"
 #include "block/block.h"
 #include "hw/boards.h"
index 56bae8f6e06e85f4fb13cb3f1459f83fcd3e8835..82b8956ea83cbdd452dfec8f8d6baf43e77c3141 100644 (file)
@@ -22,9 +22,9 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/ppc.h"
+#include "hw/ppc/ppc.h"
 #include "hw/ppc405.h"
-#include "hw/serial.h"
+#include "hw/char/serial.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
 #include "qemu/log.h"
index 66911b58c67c1e09bf7ba75b0aa4a706f5cfe8f9..48a02183d4cb413f2dfb2bf4d3b4de45d4558a8a 100644 (file)
@@ -23,8 +23,8 @@
 #include "hw/loader.h"
 #include "elf.h"
 #include "exec/address-spaces.h"
-#include "hw/serial.h"
-#include "hw/ppc.h"
+#include "hw/char/serial.h"
+#include "hw/ppc/ppc.h"
 #include "hw/ppc405.h"
 #include "sysemu/sysemu.h"
 #include "hw/sysbus.h"
index 49ec728a7b2e9dff3e9a4768f44d356e73d453cd..d8e3dae25cd606ebb05e8180c337766630528a7e 100644 (file)
@@ -22,8 +22,8 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/ppc.h"
-#include "hw/ppc4xx.h"
+#include "hw/ppc/ppc.h"
+#include "hw/ppc/ppc4xx.h"
 #include "qemu/log.h"
 #include "exec/address-spaces.h"
 
index 30375c0c41b4d2518fed96c99577063d9f654d49..585f53b912fc7b0eee7bcc0250cd6e1b235e6497 100644 (file)
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/ppc.h"
+#include "hw/ppc/ppc.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
-#include "hw/nvram.h"
+#include "hw/timer/m48t59.h"
 #include "qemu/log.h"
 #include "hw/loader.h"
 
index 292091180d40a4c16f251f02e37ad6a0ee6f1306..cceab3ead93e852e2b7375940a177e002ff3e5c2 100644 (file)
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/nvram.h"
-#include "hw/pc.h"
-#include "hw/serial.h"
-#include "hw/fdc.h"
+#include "hw/timer/m48t59.h"
+#include "hw/i386/pc.h"
+#include "hw/char/serial.h"
+#include "hw/block/fdc.h"
 #include "net/net.h"
 #include "sysemu/sysemu.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
-#include "hw/ppc.h"
+#include "hw/ppc/ppc.h"
 #include "hw/boards.h"
 #include "qemu/log.h"
 #include "hw/ide.h"
 #include "hw/loader.h"
-#include "hw/mc146818rtc.h"
-#include "hw/pc87312.h"
+#include "hw/timer/mc146818rtc.h"
+#include "hw/isa/pc87312.h"
 #include "sysemu/blockdev.h"
 #include "sysemu/arch_init.h"
 #include "exec/address-spaces.h"
index 7b2a11fbe462bd1490298a79fb9f3e491e01ab6d..7a425011da9b7693048807acc6860309f60c1a61 100644 (file)
 #include "kvm_ppc.h"
 
 #include "hw/boards.h"
-#include "hw/ppc.h"
+#include "hw/ppc/ppc.h"
 #include "hw/loader.h"
 
-#include "hw/spapr.h"
-#include "hw/spapr_vio.h"
-#include "hw/spapr_pci.h"
-#include "hw/xics.h"
+#include "hw/ppc/spapr.h"
+#include "hw/ppc/spapr_vio.h"
+#include "hw/pci-host/spapr.h"
+#include "hw/ppc/xics.h"
 #include "hw/pci/msi.h"
 
 #include "sysemu/kvm.h"
index ce78f0922e7f47e7ab5cca323e5c72ca732678f8..ff87ac31d1302226bfd54ae5c62fa9028eedf8b7 100644 (file)
@@ -30,8 +30,8 @@
 #include "hw/qdev.h"
 #include "sysemu/device_tree.h"
 
-#include "hw/spapr.h"
-#include "hw/spapr_vio.h"
+#include "hw/ppc/spapr.h"
+#include "hw/ppc/spapr_vio.h"
 
 #include <libfdt.h>
 
index 22cfb7e6742c7e80b3e60e94bece6c2940a986c5..f518aee21661be914300d86e8e0432f6b1e2ac90 100644 (file)
@@ -2,7 +2,7 @@
 #include "cpu.h"
 #include "sysemu/sysemu.h"
 #include "helper_regs.h"
-#include "hw/spapr.h"
+#include "hw/ppc/spapr.h"
 #include "mmu-hash64.h"
 
 static target_ulong compute_tlbie_rb(target_ulong v, target_ulong r,
index 8d500bf6be01ad80aa9fe0fc59e14ac0f0670b1b..d2782cfb39ac5f91806bb4131a4ab78b7adf1afa 100644 (file)
@@ -23,7 +23,7 @@
 #include "sysemu/dma.h"
 #include "exec/address-spaces.h"
 
-#include "hw/spapr.h"
+#include "hw/ppc/spapr.h"
 
 #include <libfdt.h>
 
index a24e853d4defec388cf667324009bc869e146869..b71b59c5cf9163bfdbba417808e4b80f933174ce 100644 (file)
@@ -30,8 +30,8 @@
 #include "hw/qdev.h"
 #include "sysemu/device_tree.h"
 
-#include "hw/spapr.h"
-#include "hw/spapr_vio.h"
+#include "hw/ppc/spapr.h"
+#include "hw/ppc/spapr_vio.h"
 
 #include <libfdt.h>
 
index 6eb3ab54824b3de29d9ec42bb7dfb90f1a8ec4ef..4dbc31541bccb0a365ae350cd16ac50c5695dc7c 100644 (file)
@@ -30,9 +30,9 @@
 #include "sysemu/device_tree.h"
 #include "kvm_ppc.h"
 
-#include "hw/spapr.h"
-#include "hw/spapr_vio.h"
-#include "hw/xics.h"
+#include "hw/ppc/spapr.h"
+#include "hw/ppc/spapr_vio.h"
+#include "hw/ppc/xics.h"
 
 #ifdef CONFIG_FDT
 #include <libfdt.h>
index 41eab1697ce3233fdc8999e335cbe1def05663cc..db52649208276a6971fecd6c3a98085843f7abb5 100644 (file)
 
 #include "hw/sysbus.h"
 #include "hw/hw.h"
-#include "hw/serial.h"
-#include "hw/flash.h"
+#include "hw/char/serial.h"
+#include "hw/block/flash.h"
 #include "sysemu/sysemu.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "hw/boards.h"
 #include "sysemu/device_tree.h"
 #include "hw/loader.h"
@@ -35,8 +35,8 @@
 #include "qemu/log.h"
 #include "exec/address-spaces.h"
 
-#include "hw/ppc.h"
-#include "hw/ppc4xx.h"
+#include "hw/ppc/ppc.h"
+#include "hw/ppc/ppc4xx.h"
 #include "hw/ppc405.h"
 
 #include "sysemu/blockdev.h"
index 374da5bbfdbf6059a075d0b0881b83b93bab5d34..8e1e85edfda88dbcca0c858d565ce5405bc63321 100644 (file)
@@ -27,8 +27,8 @@
 
 #include "hw/hw.h"
 #include "trace.h"
-#include "hw/spapr.h"
-#include "hw/xics.h"
+#include "hw/ppc/spapr.h"
+#include "hw/ppc/xics.h"
 
 /*
  * ICP: Presentation layer
index 45c2159aa6ce0b4c3de5c31cc50647fec136177c..1c5f04fae1eadb855429379fd5be130e49d2023b 100644 (file)
@@ -25,7 +25,7 @@
 #if !defined(PPC_405_H)
 #define PPC_405_H
 
-#include "hw/ppc4xx.h"
+#include "hw/ppc/ppc4xx.h"
 
 /* Bootinfo as set-up by u-boot */
 typedef struct ppc4xx_bd_info_t ppc4xx_bd_info_t;
index 854e17048f823a08946105b0c7d93cb710b69183..599539bc1dc2856fcea5f49a903d85493949031a 100644 (file)
@@ -20,8 +20,8 @@
  * 4xx SoCs, such as the 440EP. */
 
 #include "hw/hw.h"
-#include "hw/ppc.h"
-#include "hw/ppc4xx.h"
+#include "hw/ppc/ppc.h"
+#include "hw/ppc/ppc4xx.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
 #include "exec/address-spaces.h"
index abc7ebe1bf8e35dc2b6a9958d6b64b76633d89d8..5e7ad94388b084a58f6d94b9896d55eff2ccb178 100644 (file)
@@ -19,7 +19,7 @@
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
 #include "qemu/bswap.h"
-#include "hw/ppce500_pci.h"
+#include "hw/pci-host/ppce500.h"
 
 #ifdef DEBUG_PCI
 #define pci_debug(fmt, ...) fprintf(stderr, fmt, ## __VA_ARGS__)
index 58df2452cd54776376a4f29f922387c875fb7923..61302539abaad9875982aeab197c28c6bc0faed3 100644 (file)
@@ -27,7 +27,7 @@
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_bus.h"
 #include "hw/pci/pci_host.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "exec/address-spaces.h"
 
 #define TYPE_RAVEN_PCI_DEVICE "raven"
index 233a087a5ead3b473b8de4c1277db05d5ad780d9..34120796b12828d4e4c44eaf5f406f1fd3fd7432 100644 (file)
--- a/hw/ps2.c
+++ b/hw/ps2.c
@@ -22,7 +22,7 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/ps2.h"
+#include "hw/input/ps2.h"
 #include "ui/console.h"
 #include "sysemu/sysemu.h"
 
index c05a14ea16ff2a5e1fbd63b589dcceaffd51e5e3..32844b5f755eff6749a53398e6f186f52cf0da7a 100644 (file)
@@ -12,7 +12,7 @@
 #include "hw/sysbus.h"
 
 #undef DEBUG_PUV3
-#include "hw/puv3.h"
+#include "hw/unicore32/puv3.h"
 
 #define PUV3_DMA_CH_NR          (6)
 #define PUV3_DMA_CH_MASK        (0xff)
index b2a790b683bfc25459a3f21054c67f6c73f03aad..5bab97e95a2dad100168a04e68b8fb61502f65ad 100644 (file)
@@ -12,7 +12,7 @@
 #include "hw/sysbus.h"
 
 #undef DEBUG_PUV3
-#include "hw/puv3.h"
+#include "hw/unicore32/puv3.h"
 
 typedef struct {
     SysBusDevice busdev;
index 6bc9e1a752496e4c19106a19872b669882c597bd..0cd5e9eae01d7aae74b69d5a61adb6d79c5c67a8 100644 (file)
@@ -11,7 +11,7 @@
 #include "hw/sysbus.h"
 
 #undef DEBUG_PUV3
-#include "hw/puv3.h"
+#include "hw/unicore32/puv3.h"
 
 typedef struct {
     SysBusDevice busdev;
index 10a522adbb46d23961a49315f018c7a71b4c7880..0c3d8279780dae62dd20f0fd7041875423039730 100644 (file)
@@ -12,7 +12,7 @@
 #include "hw/ptimer.h"
 
 #undef DEBUG_PUV3
-#include "hw/puv3.h"
+#include "hw/unicore32/puv3.h"
 
 /* puv3 ostimer implementation. */
 typedef struct {
index 6b8d94dd07262d75a98aed8b917540215a54872b..0aacdc2fce3cdb28f7ab2cf5bf6b553b3a648962 100644 (file)
@@ -12,7 +12,7 @@
 #include "hw/sysbus.h"
 
 #undef DEBUG_PUV3
-#include "hw/puv3.h"
+#include "hw/unicore32/puv3.h"
 
 typedef struct {
     SysBusDevice busdev;
index 1db21c99ab3f45af76ee4d90cf70aca8cb800fb5..6e4c1f6d62303f8371a4085c234bccdab1d7589c 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/pxa.h"
+#include "hw/arm/pxa.h"
 #include "hw/sysbus.h"
 
 #define PXA255_DMA_NUM_CHANNELS 16
index 32ea7a5d34c7b7d73b756229a0b73f3af7c51282..1fd5f2076a92d8869c1ffc41d38813df0d6c5e2a 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/pxa.h"
+#include "hw/arm/pxa.h"
 #include "ui/console.h"
 
 /*
index f2b0c93661bc7ed1d0ed5d650b0ba240a8b488d4..ee59bc2de3b36709ed0938ff9f3a4cacb46c0cb3 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "hw/hw.h"
 #include "ui/console.h"
-#include "hw/pxa.h"
+#include "hw/arm/pxa.h"
 #include "ui/pixel_ops.h"
 /* FIXME: For graphic_rotate. Should probably be done in common code.  */
 #include "sysemu/sysemu.h"
index 0df83cc1df8ad3f4e5a0f358f66be168526dec38..2db1cabb7a70e181aee0e2540f381a13df517f43 100644 (file)
@@ -11,7 +11,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/pxa.h"
+#include "hw/arm/pxa.h"
 #include "hw/sd.h"
 #include "hw/qdev.h"
 
index 66fefba58cea252444a1d67cdf78eb814fac5e01..323d458491c1e00dc45e3fee841c5c09be06a4b2 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "hw/hw.h"
 #include "hw/pcmcia.h"
-#include "hw/pxa.h"
+#include "hw/arm/pxa.h"
 
 
 struct PXA2xxPCMCIAState {
index c173fe4c1158b7cf7afe65cb5a3799e6e1d56fa0..8ea2416dd7bd4bba38ff812b170c58631f9c41d0 100644 (file)
@@ -10,7 +10,7 @@
 #include "hw/hw.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
-#include "hw/pxa.h"
+#include "hw/arm/pxa.h"
 #include "hw/sysbus.h"
 
 #define OSMR0  0x00
index 6ea081aaa3ba7fb340a40564d28c53bf4f95dcf8..8467f864506b0a899f0c5ca0ff5fc7cd6ab4c2ca 100644 (file)
--- a/hw/q35.c
+++ b/hw/q35.c
@@ -28,7 +28,7 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/q35.h"
+#include "hw/pci-host/q35.h"
 
 /****************************************************************************
  * Q35 host
index a22b155b6f98ab0341219394fb209a1c3ec2e7f2..8c2e15205cffd3f6fbbc9bfe5ac839edeee5972a 100644 (file)
@@ -14,7 +14,7 @@
 #include "hw/qdev.h"
 #include "qapi/qmp/qerror.h"
 #include "sysemu/blockdev.h"
-#include "hw/block-common.h"
+#include "hw/block/block.h"
 #include "net/hub.h"
 #include "qapi/visitor.h"
 #include "char/char.h"
index 168c4663e9a82835a227f1e37953fbe51faaafa4..9a0872d3b9c71da0db06ae1627ff42324fdb1426 100644 (file)
@@ -2,7 +2,7 @@
 #include "hw/qdev.h"
 #include "qapi/qmp/qerror.h"
 #include "sysemu/blockdev.h"
-#include "hw/block-common.h"
+#include "hw/block/block.h"
 #include "net/hub.h"
 #include "qapi/visitor.h"
 #include "char/char.h"
index b065515e672a1cf59d94e548511e47b59aa571d5..03f92f1ab675ada7e6df59fdb58837059515cad3 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/mips.h"
+#include "hw/mips/mips.h"
 #include "qemu/timer.h"
 
 /********************************************************/
index 8c529c14d0f2dbb66e463cacda7a3eb25d3e3480..ddf15a21d39ebdbbc4170ba261a1227505285b9c 100644 (file)
 #include "monitor/monitor.h"
 #include "hw/loader.h"
 #include "elf.h"
-#include "hw/virtio.h"
-#include "hw/virtio-rng.h"
-#include "hw/virtio-serial.h"
-#include "hw/virtio-net.h"
+#include "hw/virtio/virtio.h"
+#include "hw/virtio/virtio-rng.h"
+#include "hw/virtio/virtio-serial.h"
+#include "hw/virtio/virtio-net.h"
 #include "hw/sysbus.h"
 #include "sysemu/kvm.h"
 
 #include "hw/s390x/s390-virtio-bus.h"
-#include "hw/virtio-bus.h"
+#include "hw/virtio/virtio-bus.h"
 
 /* #define DEBUG_S390 */
 
index ebe8794204091f164af04dd8cdc220e7e74e4c9c..c557132166c28d946dce7a2655f3ed3cc6162cbd 100644 (file)
 #ifndef HW_S390_VIRTIO_BUS_H
 #define HW_S390_VIRTIO_BUS_H 1
 
-#include "hw/virtio-blk.h"
-#include "hw/virtio-net.h"
-#include "hw/virtio-rng.h"
-#include "hw/virtio-serial.h"
-#include "hw/virtio-scsi.h"
-#include "hw/virtio-bus.h"
+#include "hw/virtio/virtio-blk.h"
+#include "hw/virtio/virtio-net.h"
+#include "hw/virtio/virtio-rng.h"
+#include "hw/virtio/virtio-serial.h"
+#include "hw/virtio/virtio-scsi.h"
+#include "hw/virtio/virtio-bus.h"
 
 #define VIRTIO_DEV_OFFS_TYPE           0       /* 8 bits */
 #define VIRTIO_DEV_OFFS_NUM_VQ         1       /* 8 bits */
index ca275bd9d7412324711bb1f6b1ce37de80f07584..f82c0e19640bd170091d43f40b98b6de9cc729a8 100644 (file)
@@ -29,7 +29,7 @@
 #include "hw/boards.h"
 #include "monitor/monitor.h"
 #include "hw/loader.h"
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "hw/sysbus.h"
 #include "sysemu/kvm.h"
 #include "exec/address-spaces.h"
index 5dce791406ee65e4cbc7b0628866fae5d3645477..4dec0cd8617fc3f6c1f02432e5afa2fba7756e86 100644 (file)
 #include "sysemu/sysemu.h"
 #include "net/net.h"
 #include "monitor/monitor.h"
-#include "hw/virtio.h"
-#include "hw/virtio-serial.h"
-#include "hw/virtio-net.h"
+#include "hw/virtio/virtio.h"
+#include "hw/virtio/virtio-serial.h"
+#include "hw/virtio/virtio-net.h"
 #include "hw/sysbus.h"
 #include "qemu/bitops.h"
-#include "hw/virtio-bus.h"
+#include "hw/virtio/virtio-bus.h"
 
 #include "ioinst.h"
 #include "css.h"
index d58051028350a9138bae592558ec948ac0d54db1..46e9a558af24253417ada0b4b40f62d0545a85a6 100644 (file)
 #ifndef HW_S390X_VIRTIO_CCW_H
 #define HW_S390X_VIRTIO_CCW_H
 
-#include <hw/virtio-blk.h>
-#include <hw/virtio-net.h>
-#include <hw/virtio-serial.h>
-#include <hw/virtio-scsi.h>
-#include "hw/virtio-balloon.h"
-#include <hw/virtio-rng.h>
-#include <hw/virtio-bus.h>
+#include <hw/virtio/virtio-blk.h>
+#include <hw/virtio/virtio-net.h>
+#include <hw/virtio/virtio-serial.h>
+#include <hw/virtio/virtio-scsi.h>
+#include <hw/virtio/virtio-balloon.h>
+#include <hw/virtio/virtio-rng.h>
+#include <hw/virtio/virtio-bus.h>
 
 #define VIRTUAL_CSSID 0xfe
 
index bd51cebfd8a8e4dd3b4d3d4457e61d7647c02543..783b6b4351d86d3ee1408c650b0bc9fba7dfa013 100644 (file)
--- a/hw/sb16.c
+++ b/hw/sb16.c
@@ -22,9 +22,9 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/audiodev.h"
+#include "hw/audio/audio.h"
 #include "audio/audio.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "hw/qdev.h"
 #include "qemu/timer.h"
 #include "qemu/host-utils.h"
index ac2093a5ef6707ec84d4079707caa4ff9b5ac2ac..6239ee146579874eb67e7608138c9777634650a8 100644 (file)
@@ -1,7 +1,7 @@
 #include "hw/hw.h"
 #include "qemu/error-report.h"
-#include "hw/scsi.h"
-#include "hw/scsi-defs.h"
+#include "hw/scsi/scsi.h"
+#include "block/scsi.h"
 #include "hw/qdev.h"
 #include "sysemu/blockdev.h"
 #include "trace.h"
index c5c7bf3dfa6dd06e0a4300a2b6839fe16cea6fd0..f52bd11d4260c77f01f80a05e6f7b6242d1015cc 100644 (file)
@@ -30,11 +30,11 @@ do { printf("scsi-disk: " fmt , ## __VA_ARGS__); } while (0)
 
 #include "qemu-common.h"
 #include "qemu/error-report.h"
-#include "hw/scsi.h"
-#include "hw/scsi-defs.h"
+#include "hw/scsi/scsi.h"
+#include "block/scsi.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/blockdev.h"
-#include "hw/block-common.h"
+#include "hw/block/block.h"
 #include "sysemu/dma.h"
 
 #ifdef __linux
index 4d04caccce3004132aa88bf5ecb694c5ceeb6960..2a9a561127ed52818f78c97e6ac2f3e6e293c2b9 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "qemu-common.h"
 #include "qemu/error-report.h"
-#include "hw/scsi.h"
+#include "hw/scsi/scsi.h"
 #include "sysemu/blockdev.h"
 
 #ifdef __linux__
@@ -35,7 +35,7 @@ do { fprintf(stderr, "scsi-generic: " fmt , ## __VA_ARGS__); } while (0)
 #include <sys/stat.h>
 #include <unistd.h>
 #include <scsi/sg.h>
-#include "hw/scsi-defs.h"
+#include "block/scsi.h"
 
 #define SCSI_SENSE_BUF_SIZE 96
 
index a630a7d506a7e6e05b10e2f18c12f9eb046029c4..ed140d04a66f247f12b60abff5df77d8424ed45f 100644 (file)
@@ -23,8 +23,8 @@
  * THE SOFTWARE.
  */
 
-#include "hw/serial.h"
-#include "hw/isa.h"
+#include "hw/char/serial.h"
+#include "hw/isa/isa.h"
 
 typedef struct ISASerialState {
     ISADevice dev;
index 954657ba326e1569a6ff1de268c2fcafcdc5f77c..2138e358516a5aef125ef463ad4ff4d659faf2cd 100644 (file)
@@ -25,7 +25,7 @@
 
 /* see docs/specs/pci-serial.txt */
 
-#include "hw/serial.h"
+#include "hw/char/serial.h"
 #include "hw/pci/pci.h"
 
 #define PCI_SERIAL_MAX_PORTS 4
index 0ccc499285a4e414be2d7d34cb2ffe4f6cdafdf3..1151bf1babda58ec500d6d8a43cad0d7648343f7 100644 (file)
@@ -23,7 +23,7 @@
  * THE SOFTWARE.
  */
 
-#include "hw/serial.h"
+#include "hw/char/serial.h"
 #include "char/char.h"
 #include "qemu/timer.h"
 #include "exec/address-spaces.h"
index 4b1d4e536997ffd50b0ddd1982f7c3e9b2f36d7c..5cf4b86c4f8f578a094719081ba3cf06f1c461a6 100644 (file)
--- a/hw/sga.c
+++ b/hw/sga.c
@@ -25,7 +25,7 @@
  *
  */
 #include "hw/pci/pci.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/loader.h"
 #include "sysemu/sysemu.h"
 
index faa03d2069357fa8d28f01aa22a01e55396c92c4..bcc326a1e0e06ad1c87fee0604a793f9e0de5bd9 100644 (file)
@@ -25,8 +25,8 @@
 
 #include "hw/sysbus.h"
 #include "hw/hw.h"
-#include "hw/sh.h"
-#include "hw/devices.h"
+#include "hw/sh4/sh.h"
+#include "hw/arm/devices.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/pci/pci.h"
@@ -35,7 +35,7 @@
 #include "hw/ide.h"
 #include "hw/loader.h"
 #include "hw/usb.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
 
index e4d37ad6aca3a82af49cb154f10423242399ef92..d72708ee2794c61b963dc11f99a4363b18fc3c7e 100644 (file)
  */
 #include <stdio.h>
 #include "hw/hw.h"
-#include "hw/sh.h"
+#include "hw/sh4/sh.h"
 #include "sysemu/sysemu.h"
 #include "hw/sh7750_regs.h"
 #include "hw/sh7750_regnames.h"
-#include "hw/sh_intc.h"
+#include "hw/sh4/sh_intc.h"
 #include "cpu.h"
 #include "exec/address-spaces.h"
 
index 389698d24af170c00efc60c56ddaad1b85550076..7a3cdf3248e10e665aaf6a17025b69b932d5871f 100644 (file)
@@ -1,5 +1,5 @@
 #include "hw/hw.h"
-#include "hw/sh.h"
+#include "hw/sh4/sh.h"
 #include "hw/sh7750_regs.h"
 #include "hw/sh7750_regnames.h"
 
index 192579d0658ba1b7ae1a3ec053e878424c4ce54e..c23d4afb10f17e825ef6c5935e666c221d55ab28 100644 (file)
@@ -28,7 +28,7 @@
    More information in target-sh4/README.sh4
 */
 #include "hw/hw.h"
-#include "hw/sh.h"
+#include "hw/sh4/sh.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
index 29e3d8f127700f96828a65f96ed4b540803a5757..050bfb63ce5eacaa6f1e3775c8461dc593dd894a 100644 (file)
@@ -8,9 +8,9 @@
  * This code is licensed under the GPL.
  */
 
-#include "hw/sh_intc.h"
+#include "hw/sh4/sh_intc.h"
 #include "hw/hw.h"
-#include "hw/sh.h"
+#include "hw/sh4/sh.h"
 
 //#define DEBUG_INTC
 //#define DEBUG_INTC_SOURCES
index e3e7550ae78bd093feb1522a0e2974354c7ae4a9..d213a9058013834b7e371fc62d4a0dc34fa557f8 100644 (file)
@@ -22,7 +22,7 @@
  * THE SOFTWARE.
  */
 #include "hw/sysbus.h"
-#include "hw/sh.h"
+#include "hw/sh4/sh.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
 #include "qemu/bswap.h"
index 462969557ca06008d743af6b3f83ef5b430d1cbf..450c7d8551b9a38c9230d79d73c683b86ee10d3d 100644 (file)
@@ -25,7 +25,7 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/sh.h"
+#include "hw/sh4/sh.h"
 #include "char/char.h"
 #include "exec/address-spaces.h"
 
index b4503230a9ed82f1d27de15e8677e9b2b149efb2..f92ff4f73f6039a98d63e388c6201bb2a4c482e5 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/sh.h"
+#include "hw/sh4/sh.h"
 #include "qemu/timer.h"
 #include "exec/address-spaces.h"
 #include "hw/ptimer.h"
index b60592b35d363c2522654a563c1456dc3c098f35..b367752fd3e6f7d524eda512929f240fcb431135 100644 (file)
@@ -22,7 +22,7 @@
  * THE SOFTWARE.
  */
 
-#include "hw/sun4m.h"
+#include "hw/sparc/sun4m.h"
 #include "monitor/monitor.h"
 #include "hw/sysbus.h"
 #include "trace.h"
index 83f22a03668faea8f8c80e8a7de9d416ccfaa911..1145a87603ba96e3f368d0254cc80611d1e4d3f1 100644 (file)
@@ -22,7 +22,7 @@
  * THE SOFTWARE.
  */
 
-#include "hw/sun4m.h"
+#include "hw/sparc/sun4m.h"
 #include "qemu/timer.h"
 #include "hw/ptimer.h"
 #include "hw/sysbus.h"
index 93a06c90b9d7d4a469f6108ac7223c8b9235edeb..d9fcead71923dddbc6daa2b5d3f343a96d9a55ba 100644 (file)
@@ -24,9 +24,9 @@
 
 #include <stdio.h>
 #include "hw/hw.h"
-#include "hw/serial.h"
+#include "hw/char/serial.h"
 #include "ui/console.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "hw/sysbus.h"
 #include "hw/qdev-addr.h"
 #include "qemu/range.h"
index 9626415bcaab73c781499f2e3adf260590438db9..25d2d04163fe7a0a4baf615b3f778a5a86e80ecf 100644 (file)
@@ -10,8 +10,8 @@
 /* TODO: Implement PEC.  */
 
 #include "hw/hw.h"
-#include "hw/i2c.h"
-#include "hw/smbus.h"
+#include "hw/i2c/i2c.h"
+#include "hw/i2c/smbus.h"
 
 //#define DEBUG_SMBUS 1
 
index dff8403d6ce90e864db134d4b426ed309b0fc7dd..0154283762e680abf16c3c0b90ad0a09103a5e9e 100644 (file)
@@ -23,8 +23,8 @@
  */
 
 #include "hw/hw.h"
-#include "hw/i2c.h"
-#include "hw/smbus.h"
+#include "hw/i2c/i2c.h"
+#include "hw/i2c/smbus.h"
 
 //#define DEBUG
 
index 732ebd3bb0a41c3e86be786e014e61582ce828d6..ca229789f4dc49ab47ca933beef404114a5a471b 100644 (file)
  *
  */
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/pm_smbus.h"
+#include "hw/i386/pc.h"
+#include "hw/i2c/pm_smbus.h"
 #include "hw/pci/pci.h"
 #include "sysemu/sysemu.h"
-#include "hw/i2c.h"
-#include "hw/smbus.h"
+#include "hw/i2c/i2c.h"
+#include "hw/i2c/smbus.h"
 
-#include "hw/ich9.h"
+#include "hw/i386/ich9.h"
 
 #define TYPE_ICH9_SMB_DEVICE "ICH9 SMB"
 #define ICH9_SMB_DEVICE(obj) \
index c2feae6eb8e905690d118e17a5a3ad0afb355591..f659256d6eb94c15eb0c912e0c45d0ead9b36a14 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "hw/sysbus.h"
 #include "net/net.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 /* For crc32 */
 #include <zlib.h>
 
index db5d60938898b14fa195d35af8c1b2f38d6e9541..5e3491d3736fb0349684a92f40fa9fc032f7709d 100644 (file)
@@ -19,7 +19,7 @@
  */
 #include "qemu-common.h"
 #include "qemu/timer.h"
-#include "hw/soc_dma.h"
+#include "hw/arm/soc_dma.h"
 
 static void transfer_mem2mem(struct soc_dma_ch_s *ch)
 {
index 19701e7e406dc33d5d6d5f5507713605b63080d1..34332f24526bd746ff499ab782ecca8802cf20fa 100644 (file)
@@ -27,8 +27,8 @@
 #include "hw/hw.h"
 #include "net/net.h"
 #include "hw/qdev.h"
-#include "hw/spapr.h"
-#include "hw/spapr_vio.h"
+#include "hw/ppc/spapr.h"
+#include "hw/ppc/spapr_vio.h"
 
 #include <libfdt.h>
 
index 680cdba928f815fe98e7c0ddd613e9cff3971664..0cc6cba0e35e5a35862703753fc877c58c26f33c 100644 (file)
@@ -26,8 +26,8 @@
 
 #include "sysemu/device_tree.h"
 #include "hw/sysbus.h"
-#include "hw/spapr.h"
-#include "hw/spapr_vio.h"
+#include "hw/ppc/spapr.h"
+#include "hw/ppc/spapr_vio.h"
 
 typedef struct sPAPRNVRAM {
     VIOsPAPRDevice sdev;
index 3e0d8d12fbdcdc53ca57e062168da9865ddb9ced..62ff323f7321e0d4d5306de2519ed7d168e33012 100644 (file)
@@ -27,8 +27,8 @@
 #include "hw/pci/msi.h"
 #include "hw/pci/msix.h"
 #include "hw/pci/pci_host.h"
-#include "hw/spapr.h"
-#include "hw/spapr_pci.h"
+#include "hw/ppc/spapr.h"
+#include "hw/pci-host/spapr.h"
 #include "exec/address-spaces.h"
 #include <libfdt.h>
 #include "trace.h"
index 27940949ce5c472699a07c540484875fffeb8354..e92b09a522f570771052597f6d761f7d31cf97a5 100644 (file)
  *  - Maybe do autosense (PAPR seems to mandate it, linux doesn't care)
  */
 #include "hw/hw.h"
-#include "hw/scsi.h"
-#include "hw/scsi-defs.h"
+#include "hw/scsi/scsi.h"
+#include "block/scsi.h"
 #include "hw/srp.h"
 #include "hw/qdev.h"
-#include "hw/spapr.h"
-#include "hw/spapr_vio.h"
+#include "hw/ppc/spapr.h"
+#include "hw/ppc/spapr_vio.h"
 #include "hw/ppc-viosrp.h"
 
 #include <libfdt.h>
index be08571d230b96c8f15910c5d71989713fab9a47..9df018a230d893cdf1b5fdc78a62cad3e0b84f8c 100644 (file)
@@ -1,7 +1,7 @@
 #include "hw/qdev.h"
 #include "char/char.h"
-#include "hw/spapr.h"
-#include "hw/spapr_vio.h"
+#include "hw/ppc/spapr.h"
+#include "hw/ppc/spapr_vio.h"
 
 #define VTERM_BUFSIZE   16
 
index bf06bf4b51c376e92a59a594c9ca421766018c0c..3b27d4019a7b0652e989c0d75b592afaf21b8e56 100644 (file)
@@ -32,7 +32,7 @@
 #include "trace.h"
 #include "exec/address-spaces.h"
 
-#include "hw/grlib.h"
+#include "hw/sparc/grlib.h"
 
 /* Default system clock.  */
 #define CPU_CLK (40 * 1000 * 1000)
index 9ebda02aa13ff1b2d36d3b262619d5a8fb78d228..31beb328858a4377af1ba485a741785746b6fd8f 100644 (file)
  */
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
-#include "hw/sun4m.h"
-#include "hw/nvram.h"
-#include "hw/sparc32_dma.h"
-#include "hw/fdc.h"
+#include "hw/sparc/sun4m.h"
+#include "hw/timer/m48t59.h"
+#include "hw/sparc/sparc32_dma.h"
+#include "hw/block/fdc.h"
 #include "sysemu/sysemu.h"
 #include "net/net.h"
 #include "hw/boards.h"
-#include "hw/firmware_abi.h"
-#include "hw/esp.h"
-#include "hw/pc.h"
-#include "hw/isa.h"
-#include "hw/fw_cfg.h"
-#include "hw/escc.h"
+#include "hw/sparc/firmware_abi.h"
+#include "hw/scsi/esp.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/isa.h"
+#include "hw/nvram/fw_cfg.h"
+#include "hw/char/escc.h"
 #include "hw/empty_slot.h"
 #include "hw/qdev-addr.h"
 #include "hw/loader.h"
index 18e368ec98cb26a09de8493f1b747b84bb9feb75..fd21533f159feb05ad357df1b2618533d2e8711b 100644 (file)
@@ -26,8 +26,8 @@
  */
 
 #include "hw/hw.h"
-#include "hw/sparc32_dma.h"
-#include "hw/sun4m.h"
+#include "hw/sparc/sparc32_dma.h"
+#include "hw/sparc/sun4m.h"
 #include "hw/sysbus.h"
 #include "trace.h"
 
index 4c39cf660705425fea7bd8ab4edccd913bc01ba0..0d29620094c8ece3214983e9c3ef6f72664d7126 100644 (file)
  */
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
-#include "hw/apb_pci.h"
-#include "hw/pc.h"
-#include "hw/serial.h"
-#include "hw/nvram.h"
-#include "hw/fdc.h"
+#include "hw/pci-host/apb.h"
+#include "hw/i386/pc.h"
+#include "hw/char/serial.h"
+#include "hw/timer/m48t59.h"
+#include "hw/block/fdc.h"
 #include "net/net.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
-#include "hw/firmware_abi.h"
-#include "hw/fw_cfg.h"
+#include "hw/sparc/firmware_abi.h"
+#include "hw/nvram/fw_cfg.h"
 #include "hw/sysbus.h"
 #include "hw/ide.h"
 #include "hw/loader.h"
index 68d1f24b06c104b2fa691fbffea76ce11d34a1e8..183a87835cb8c7eed3bd05d652c3c9cf61dab352 100644 (file)
@@ -10,7 +10,7 @@
 /* The controller can support a variety of different displays, but we only
    implement one.  Most of the commends relating to brightness and geometry
    setup are ignored. */
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 #include "ui/console.h"
 
 //#define DEBUG_SSD0303 1
index 4e407922a0679e21806231e2d1ccf3491d4c0896..f83fc3f288aff7ca5995b8e5ffe9706327c1af2c 100644 (file)
@@ -7,7 +7,7 @@
  * This code is licensed under the GPL.
  */
 #include "hw/hw.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "ui/console.h"
 
 typedef struct {
index 49f9577e32ea2b5fce85837ddfca20a81c524ff3..0e5262d9f527492d4f3ba2ef240fda3829abaa29 100644 (file)
@@ -29,7 +29,7 @@
 #include "hw/sysbus.h"
 #include "hw/strongarm.h"
 #include "qemu/error-report.h"
-#include "hw/arm-misc.h"
+#include "hw/arm.h"
 #include "char/char.h"
 #include "sysemu/sysemu.h"
 #include "hw/ssi.h"
index 9d443d1b10194c1e885d3c814c1d200c3bcc7ecd..10963756704c90df548a3b53469e095860546d3f 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/sun4m.h"
+#include "hw/sparc/sun4m.h"
 #include "monitor/monitor.h"
 #include "hw/sysbus.h"
 
index 33e77b02a3decce5a1e39c01cee3c6d655b256bb..744b5846b172d01b8cf9836e39f647c63c49df78 100644 (file)
@@ -22,7 +22,7 @@
  * THE SOFTWARE.
  */
 
-#include "hw/sun4m.h"
+#include "hw/sparc/sun4m.h"
 #include "hw/sysbus.h"
 #include "trace.h"
 
index f76f96d9e7e1aade94f16c647527bac9dacb9db3..a3929d444f8b6a1a70e1485ef25c3ca11421ba63 100644 (file)
@@ -1,5 +1,5 @@
 #include "hw/hw.h"
-#include "hw/sh.h"
+#include "hw/sh4/sh.h"
 #include "hw/loader.h"
 
 #define CE1  0x0100
index 79c971b4390d1f3c6072852a569fafb3888aa3d4..2d5fa89e9b6f2f439d98868a22a28159e3b02e31 100644 (file)
@@ -11,8 +11,8 @@
  * GNU GPL, version 2 or (at your option) any later version.
  */
 #include "hw/hw.h"
-#include "hw/devices.h"
-#include "hw/flash.h"
+#include "hw/arm/devices.h"
+#include "hw/block/flash.h"
 #include "ui/console.h"
 #include "ui/pixel_ops.h"
 #include "sysemu/blockdev.h"
index 47e5437e0dc86cfc14468c2c51ba2712947f6893..21a27a6f4435248aca31889acebe4c153e2fd096 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 #include "hw/tmp105.h"
 #include "qapi/visitor.h"
 
index 9a9632c54b9645b8f34098878b19571351084132..9ba05ecc9c72c1d414d87edf9a14f99b26d9a55d 100644 (file)
@@ -14,8 +14,8 @@
 #ifndef QEMU_TMP105_H
 #define QEMU_TMP105_H
 
-#include "hw/i2c.h"
-#include "hw/tmp105_regs.h"
+#include "hw/i2c/i2c.h"
+#include "hw/misc/tmp105_regs.h"
 
 #define TYPE_TMP105 "tmp105"
 #define TMP105(obj) OBJECT_CHECK(TMP105State, (obj), TYPE_TMP105)
index a771cd5e52a8b731b2ce3dc10699a1699618a90d..34ee1fb3cfcaa62945daaac6fcae5929b690c31f 100644 (file)
@@ -21,7 +21,7 @@
 #include "hw/hw.h"
 #include "qemu/timer.h"
 #include "ui/console.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 
 #define TSC_CUT_RESOLUTION(value, p)   ((value) >> (16 - (p ? 12 : 10)))
 
index b93e502e0587a39b8df9ab75ef24f0b19f011ae8..e6c217c8dbd20f1cb26a12c9ed57fa3de4536de7 100644 (file)
@@ -23,8 +23,8 @@
 #include "audio/audio.h"
 #include "qemu/timer.h"
 #include "ui/console.h"
-#include "hw/omap.h"   /* For I2SCodec and uWireSlave */
-#include "hw/devices.h"
+#include "hw/arm/omap.h"       /* For I2SCodec and uWireSlave */
+#include "hw/arm/devices.h"
 
 #define TSC_DATA_REGISTERS_PAGE                0x0
 #define TSC_CONTROL_REGISTERS_PAGE     0x1
index a5251a34ac6fed2451df09cbda310a5a23331676..533938a9b4c59bda9474d232e2e40c3164778299 100644 (file)
@@ -21,9 +21,9 @@
 #include "qemu-common.h"
 #include "qemu/timer.h"
 #include "hw/usb.h"
-#include "hw/omap.h"
+#include "hw/arm/omap.h"
 #include "hw/irq.h"
-#include "hw/devices.h"
+#include "hw/arm/devices.h"
 #include "hw/sysbus.h"
 
 typedef struct TUSBState {
index 7d020c4cba04a901c43d31facc62e233b5c86507..b730d853f7558c45a258faf3889aedc38cf9bd21 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "hw/hw.h"
 #include "qemu/timer.h"
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 #include "sysemu/sysemu.h"
 #include "ui/console.h"
 
index 78ab13f9ed1b79d9b0e921a4eeebef5643a60fdb..7c8fc364c84fbef8f718378dc889476a4461d1cf 100644 (file)
 #include "hw/sysbus.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 
 #undef DEBUG_PUV3
-#include "hw/puv3.h"
+#include "hw/unicore32/puv3.h"
 
 #define KERNEL_LOAD_ADDR        0x03000000
 #define KERNEL_MAX_SIZE         0x00800000 /* Just a guess */
index b8c79b85e930bf894c9717c4bb55b17cb0f86963..44fc43f4c41067837dab9ec70e8297fcd4766ec3 100644 (file)
@@ -33,7 +33,7 @@
 #include "hw/usb.h"
 #include "hw/usb/desc.h"
 #include "hw/hw.h"
-#include "hw/audiodev.h"
+#include "hw/audio/audio.h"
 #include "audio/audio.h"
 
 #define USBAUDIO_VENDOR_NUM     0x46f4 /* CRC16() of "QEMU" */
index 97010488872cacd0aa529a17da07b1ca004e14de..5f3a4b401e63292b61741bdb050a1e8160de6f92 100644 (file)
@@ -27,7 +27,7 @@
 #include "hw/usb.h"
 #include "hw/usb/desc.h"
 #include "qemu/timer.h"
-#include "hw/hid.h"
+#include "hw/input/hid.h"
 
 /* HID interface requests */
 #define GET_REPORT   0xa101
index 21651b3637338de19f20fb14480c4a1d5e9925b2..06f0171c46c8ddc8bb9722508bd3c20d6b81d11f 100644 (file)
@@ -12,7 +12,7 @@
 #include "qemu/config-file.h"
 #include "hw/usb.h"
 #include "hw/usb/desc.h"
-#include "hw/scsi.h"
+#include "hw/scsi/scsi.h"
 #include "ui/console.h"
 #include "monitor/monitor.h"
 #include "sysemu/sysemu.h"
index 1ac5117ba77f8e3efef39a50b667d50fef349886..c8c42eefb5b85e5e0c32ddf2ea86cb860f0023b5 100644 (file)
@@ -16,8 +16,8 @@
 
 #include "hw/usb.h"
 #include "hw/usb/desc.h"
-#include "hw/scsi.h"
-#include "hw/scsi-defs.h"
+#include "hw/scsi/scsi.h"
+#include "block/scsi.h"
 
 /* --------------------------------------------------------------------- */
 
index 02356d4d58323d961f26275ef28011e1c949f346..3b08720cf4461b2a1b1ec5da16bd8790be91f7c3 100644 (file)
@@ -23,7 +23,7 @@
  */
 #include "hw/hw.h"
 #include "ui/console.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/vga_int.h"
 #include "ui/pixel_ops.h"
 #include "qemu/timer.h"
index 9e293217d0163492ec75fec07d4909658a111d52..89d7fa6c3cddcbe2d382dbf6560d07c912a756ea 100644 (file)
@@ -25,7 +25,7 @@
  */
 #include "hw/hw.h"
 #include "ui/console.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/vga_int.h"
 #include "ui/pixel_ops.h"
 #include "qemu/timer.h"
index 59bfb220f5a1f715a90ce5ea43634470b3ad046a..dc31fd574c1078a7dc9cbae35af9c3b774d0a4d7 100644 (file)
--- a/hw/vga.c
+++ b/hw/vga.c
 #include "hw/hw.h"
 #include "hw/vga.h"
 #include "ui/console.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/pci/pci.h"
 #include "hw/vga_int.h"
 #include "ui/pixel_ops.h"
 #include "qemu/timer.h"
-#include "hw/xen.h"
+#include "hw/xen/xen.h"
 #include "trace.h"
 
 //#define DEBUG_VGA
index 4d6aee3ecd819cc29d3ba29afa615584f9060df1..636fad0f74040f99b27e5239ef6e98534a75a4d5 100644 (file)
@@ -14,7 +14,7 @@
  */
 
 #include <sys/ioctl.h>
-#include "hw/vhost.h"
+#include "hw/virtio/vhost.h"
 #include "hw/hw.h"
 #include "qemu/range.h"
 #include <linux/vhost.h>
index d3218a07f469469b53459b6887137959b1d197a2..8c5384cf76e2fc2b1afe25d44d65ea94a413ffd7 100644 (file)
@@ -16,8 +16,8 @@
 #include "net/net.h"
 #include "net/tap.h"
 
-#include "hw/virtio-net.h"
-#include "hw/vhost_net.h"
+#include "hw/virtio/virtio-net.h"
+#include "net/vhost_net.h"
 #include "qemu/error-report.h"
 
 #include "config.h"
@@ -36,7 +36,7 @@
 
 #include <stdio.h>
 
-#include "hw/vhost.h"
+#include "hw/virtio/vhost.h"
 
 struct vhost_net {
     struct vhost_dev dev;
index b382bd440df40323f352fcefd0fd9e72b4e5564e..c2c446eb9b34e21b61ecbe6400297dcbab8fa6d3 100644 (file)
 #include "qemu/iov.h"
 #include "qemu/timer.h"
 #include "qemu-common.h"
-#include "hw/virtio.h"
-#include "hw/pc.h"
+#include "hw/virtio/virtio.h"
+#include "hw/i386/pc.h"
 #include "cpu.h"
 #include "sysemu/balloon.h"
-#include "hw/virtio-balloon.h"
+#include "hw/virtio/virtio-balloon.h"
 #include "sysemu/kvm.h"
 #include "exec/address-spaces.h"
 #include "qapi/visitor.h"
@@ -29,7 +29,7 @@
 #include <sys/mman.h>
 #endif
 
-#include "hw/virtio-bus.h"
+#include "hw/virtio/virtio-bus.h"
 
 static void balloon_page(void *addr, int deflate)
 {
index f2143fded389a902ddb07510b2c3cbd2589c8d16..6efb2f063dbe5c6929bc0002f9762801ad015525 100644 (file)
 #include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "trace.h"
-#include "hw/block-common.h"
+#include "hw/block/block.h"
 #include "sysemu/blockdev.h"
-#include "hw/virtio-blk.h"
-#include "hw/scsi-defs.h"
+#include "hw/virtio/virtio-blk.h"
+#ifdef CONFIG_VIRTIO_BLK_DATA_PLANE
+# include "dataplane/virtio-blk.h"
+#endif
+#include "block/scsi.h"
 #ifdef __linux__
 # include <scsi/sg.h>
 #endif
-#include "hw/virtio-bus.h"
+#include "hw/virtio/virtio-bus.h"
 
 typedef struct VirtIOBlockReq
 {
index 6c2aab00eb1ca1095263608800f70c5f5182bd5d..1596a1c92f0714da9fa4da173820bc0833330821 100644 (file)
@@ -25,8 +25,8 @@
 #include "hw/hw.h"
 #include "qemu/error-report.h"
 #include "hw/qdev.h"
-#include "hw/virtio-bus.h"
-#include "hw/virtio.h"
+#include "hw/virtio/virtio-bus.h"
+#include "hw/virtio/virtio.h"
 
 /* #define DEBUG_VIRTIO_BUS */
 
index 284180f4e1cbb02d9006d47dcda5ec56fbaa65c1..31f672c9a31e1f8129601301495ca47e14383f5a 100644 (file)
@@ -13,7 +13,7 @@
 #include "char/char.h"
 #include "qemu/error-report.h"
 #include "trace.h"
-#include "hw/virtio-serial.h"
+#include "hw/virtio/virtio-serial.h"
 
 typedef struct VirtConsole {
     VirtIOSerialPort port;
index 5917740d9d0e6254babd10f356b1383848f66c22..bc8fd43b4b1611c1c27d5c640cc175ff3ae46fc4 100644 (file)
  */
 
 #include "qemu/iov.h"
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "net/net.h"
 #include "net/checksum.h"
 #include "net/tap.h"
 #include "qemu/error-report.h"
 #include "qemu/timer.h"
-#include "hw/virtio-net.h"
-#include "hw/vhost_net.h"
+#include "hw/virtio/virtio-net.h"
+#include "net/vhost_net.h"
 
 #define VIRTIO_NET_VM_VERSION    11
 
index fb20722eaadeeeff4fe8ef3a06f6069b7b4d782f..943b429d94878094ac81f0403fb8494677e8c722 100644 (file)
 
 #include <inttypes.h>
 
-#include "hw/virtio.h"
-#include "hw/virtio-blk.h"
-#include "hw/virtio-net.h"
-#include "hw/virtio-serial.h"
-#include "hw/virtio-scsi.h"
-#include "hw/virtio-balloon.h"
+#include "hw/virtio/virtio.h"
+#include "hw/virtio/virtio-blk.h"
+#include "hw/virtio/virtio-net.h"
+#include "hw/virtio/virtio-serial.h"
+#include "hw/virtio/virtio-scsi.h"
+#include "hw/virtio/virtio-balloon.h"
 #include "hw/pci/pci.h"
 #include "qemu/error-report.h"
 #include "hw/pci/msi.h"
@@ -32,7 +32,7 @@
 #include "sysemu/blockdev.h"
 #include "hw/virtio-pci.h"
 #include "qemu/range.h"
-#include "hw/virtio-bus.h"
+#include "hw/virtio/virtio-bus.h"
 
 /* from Linux's linux/virtio_pci.h */
 
index f99f2eb80ebb25da6e4dc65cc8d84672eebd156f..fb831550166dde539db2e82b4120c4e8167a862a 100644 (file)
 #define QEMU_VIRTIO_PCI_H
 
 #include "hw/pci/msi.h"
-#include "hw/virtio-blk.h"
-#include "hw/virtio-net.h"
-#include "hw/virtio-rng.h"
-#include "hw/virtio-serial.h"
-#include "hw/virtio-scsi.h"
-#include "hw/virtio-balloon.h"
-#include "hw/virtio-bus.h"
-#include "hw/9pfs/virtio-9p-device.h"
+#include "hw/virtio/virtio-blk.h"
+#include "hw/virtio/virtio-net.h"
+#include "hw/virtio/virtio-rng.h"
+#include "hw/virtio/virtio-serial.h"
+#include "hw/virtio/virtio-scsi.h"
+#include "hw/virtio/virtio-balloon.h"
+#include "hw/virtio/virtio-bus.h"
+#include "hw/virtio/virtio-9p.h"
 
 typedef struct VirtIOPCIProxy VirtIOPCIProxy;
 typedef struct VirtIOBlkPCI VirtIOBlkPCI;
index fa8e8f3f9a1592b8ebd339325f030056e1a26119..6079b2a3a951f946d5182fbd1b210417912866e6 100644 (file)
@@ -12,8 +12,8 @@
 #include "qemu/iov.h"
 #include "hw/qdev.h"
 #include "qapi/qmp/qerror.h"
-#include "hw/virtio.h"
-#include "hw/virtio-rng.h"
+#include "hw/virtio/virtio.h"
+#include "hw/virtio/virtio-rng.h"
 #include "qemu/rng.h"
 
 static bool is_guest_ready(VirtIORNG *vrng)
index 06a58a6a632cb43b9706ad9e0d710bec63930a2d..ead7cda13df2971a05d5e35b7050941ecc2eee1c 100644 (file)
  *
  */
 
-#include "hw/virtio-scsi.h"
+#include "hw/virtio/virtio-scsi.h"
 #include "qemu/error-report.h"
-#include <hw/scsi.h>
-#include <hw/scsi-defs.h>
-#include "hw/virtio-bus.h"
+#include <hw/scsi/scsi.h>
+#include <block/scsi.h>
+#include <hw/virtio/virtio-bus.h>
 
 #define VIRTIO_SCSI_VQ_SIZE     128
 #define VIRTIO_SCSI_CDB_SIZE    32
index a9cb1146494fa8c9a4bb46ddc397f86c4845311e..1dba8ab2c6f55512f4c02bf52fb54e04909381fb 100644 (file)
@@ -23,7 +23,7 @@
 #include "qemu/queue.h"
 #include "hw/sysbus.h"
 #include "trace.h"
-#include "hw/virtio-serial.h"
+#include "hw/virtio/virtio-serial.h"
 
 static VirtIOSerialPort *find_port_by_id(VirtIOSerial *vser, uint32_t id)
 {
index 26fbc790ecd999842129f25d0d9f824e2d772edc..1c2282c54f1b01993e2b7a82bb140b9d137b1f6c 100644 (file)
@@ -15,9 +15,9 @@
 
 #include "trace.h"
 #include "qemu/error-report.h"
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "qemu/atomic.h"
-#include "hw/virtio-bus.h"
+#include "hw/virtio/virtio-bus.h"
 
 /* The alignment to use between consumer and producer parts of vring.
  * x86 pagesize again. */
index a9d227e17d42c030960ca360859fdc672e44480d..f4f9c9373d524731a70b9557d21439ea96b4eb1a 100644 (file)
@@ -23,8 +23,8 @@
  */
 #include "hw/hw.h"
 #include "ui/console.h"
-#include "hw/ps2.h"
-#include "hw/pc.h"
+#include "hw/input/ps2.h"
+#include "hw/i386/pc.h"
 #include "hw/qdev.h"
 
 /* debug only vmmouse */
index cc1466ae967769e0759bb17f50bf99e2d71e5b7e..0d07ea1fc58e989f15a1c7f8ff5c47aa6774fdf6 100644 (file)
@@ -22,8 +22,8 @@
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/isa.h"
-#include "hw/pc.h"
+#include "hw/isa/isa.h"
+#include "hw/i386/pc.h"
 #include "sysemu/kvm.h"
 #include "hw/qdev.h"
 
index bdd256e9d56c0b5cdeb02b3b8773d743d95242a8..5916624371b77dda7237f24604095c66802a8466 100644 (file)
  *
  */
 
-#include "hw.h"
-#include "pci/pci.h"
+#include "hw/hw.h"
+#include "hw/pci/pci.h"
 #include "net/net.h"
-#include "virtio-net.h"
 #include "net/tap.h"
 #include "net/checksum.h"
 #include "sysemu/sysemu.h"
 #include "qemu-common.h"
 #include "qemu/bswap.h"
-#include "pci/msix.h"
-#include "pci/msi.h"
+#include "hw/pci/msix.h"
+#include "hw/pci/msi.h"
 
 #include "vmxnet3.h"
 #include "vmxnet_debug.h"
index 9d9b64eedd424a124ac4ebb6717e771c7efa0b24..52619276bd187b1a321fe1eae8676eca99fd2067 100644 (file)
  */
 
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/vt82c686.h"
-#include "hw/i2c.h"
-#include "hw/smbus.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/vt82c686.h"
+#include "hw/i2c/i2c.h"
+#include "hw/i2c/smbus.h"
 #include "hw/pci/pci.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "hw/sysbus.h"
-#include "hw/mips.h"
-#include "hw/apm.h"
-#include "hw/acpi.h"
-#include "hw/pm_smbus.h"
+#include "hw/mips/mips.h"
+#include "hw/isa/apm.h"
+#include "hw/acpi/acpi.h"
+#include "hw/i2c/pm_smbus.h"
 #include "sysemu/sysemu.h"
 #include "qemu/timer.h"
 #include "exec/address-spaces.h"
index 072d2568820ff4f953d5ed322f6300c09e478805..cb4e1f9e479f934532fcd4d07528feccba812b79 100644 (file)
@@ -26,7 +26,7 @@
 #include "qapi/qmp/types.h"
 #include "monitor/monitor.h"
 #include "sysemu/sysemu.h"
-#include "hw/watchdog.h"
+#include "sysemu/watchdog.h"
 
 /* Possible values for action parameter. */
 #define WDT_RESET        1     /* Hard reset. */
index f13e507fcff3d65a74a3d0b08ba4d72270349cd0..1407fbadb2ea9874cc51b5f9dad924e95e9457f1 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "qemu-common.h"
 #include "qemu/timer.h"
-#include "hw/watchdog.h"
+#include "sysemu/watchdog.h"
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
 
index 6c52808ac0425694ef4154dc5a2a5a8a158557ef..b8c4be85ff2a54125a587db67c5a0cf1f680e250 100644 (file)
 
 #include "qemu-common.h"
 #include "qemu/timer.h"
-#include "hw/watchdog.h"
+#include "sysemu/watchdog.h"
 #include "hw/hw.h"
-#include "hw/isa.h"
-#include "hw/pc.h"
+#include "hw/isa/isa.h"
+#include "hw/i386/pc.h"
 
 /*#define IB700_DEBUG 1*/
 
index 0904cf496df9dfe8fb59e5ba00752fc7b071341a..6b5a3499bb497b05397df3cd5ddac0c212c9d12c 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 #include "audio/audio.h"
 
 #define IN_PORT_N      3
index 8f387b64033fda474184213f51702c2a6a7cc33c..a2eb8a159a0333c7b8f06aff8737f899c7209201 100644 (file)
@@ -9,9 +9,9 @@
  * This work is licensed under the terms of the GNU GPL version 2 or
  * later. See the COPYING file in the top-level directory.
  */
-#include "hw/apic_internal.h"
+#include "hw/i386/apic_internal.h"
 #include "hw/pci/msi.h"
-#include "hw/xen.h"
+#include "hw/xen/xen.h"
 
 static uint64_t xen_apic_mem_read(void *opaque, hwaddr addr,
                                   unsigned size)
index 02693d75651294eea71eac8f337bb1ff89cf882f..2a8c9f5d1a7d6dacaf7c7dd02dbd82789e362965 100644 (file)
@@ -37,7 +37,7 @@
 #include "hw/hw.h"
 #include "char/char.h"
 #include "qemu/log.h"
-#include "hw/xen_backend.h"
+#include "hw/xen/xen_backend.h"
 
 #include <xen/grant_table.h>
 
index c56ef4737fb44322b0d5218f6453356384befeac..efc32320faa0eee15c61c43da000d413063f3496 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "hw/hw.h"
 #include "char/char.h"
-#include "hw/xen_backend.h"
+#include "hw/xen/xen_backend.h"
 
 #include <xen/io/console.h>
 
index cdcaf62f26f81e452c3afd3d060bc60a7f29526b..fa998eff0413f500b845332c3173f23be5dd0b94 100644 (file)
@@ -1,4 +1,4 @@
-#include "hw/xen_backend.h"
+#include "hw/xen/xen_backend.h"
 #include "sysemu/blockdev.h"
 
 /* ------------------------------------------------------------- */
index 47a51cf014b86b85b7b00887b5c61fc75ce76ab8..532347bf941fded4c7f51873d4ae799cd3b13ec2 100644 (file)
@@ -36,7 +36,7 @@
 #include <sys/uio.h>
 
 #include "hw/hw.h"
-#include "hw/xen_backend.h"
+#include "hw/xen/xen_backend.h"
 #include "hw/xen_blkif.h"
 #include "sysemu/blockdev.h"
 
index 681cbe5fd8d8f2b69c3ba3bd51ab0eeea5e8722e..29a91ea7b169c059d018e5eecce7fdf1fd5a89df 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef QEMU_HW_XEN_DOMAINBUILD_H
 #define QEMU_HW_XEN_DOMAINBUILD_H 1
 
-#include "hw/xen_common.h"
+#include "hw/xen/xen_common.h"
 
 int xenstore_domain_init1(const char *kernel, const char *ramdisk,
                           const char *cmdline);
index b6d36793b35e15e8ec01badd195abecee3a3afd4..63918ae1a0e2c006bb69eb3b765cbc8fca4d6a70 100644 (file)
@@ -39,7 +39,7 @@
 #include "net/net.h"
 #include "net/checksum.h"
 #include "net/util.h"
-#include "hw/xen_backend.h"
+#include "hw/xen/xen_backend.h"
 
 #include <xen/io/netif.h>
 
index 5e11c950abf90fa8684b3b7bb12216e7650d70f8..b6c6793e1e2294fe6ae3d3f983f16f432de6319e 100644 (file)
 #include <assert.h>
 
 #include "hw/hw.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/pci/pci.h"
 #include "hw/irq.h"
-#include "hw/xen_common.h"
-#include "hw/xen_backend.h"
+#include "hw/xen/xen_common.h"
+#include "hw/xen/xen_backend.h"
 #include "trace.h"
 #include "exec/address-spaces.h"
 
index ce695d0e64db8d22ab8ce8a76a60f4df5db2ec96..0cc45387ba214a07ef8ef17b5a774eebc31cb51c 100644 (file)
@@ -55,8 +55,8 @@
 #include <sys/ioctl.h>
 
 #include "hw/pci/pci.h"
-#include "hw/xen.h"
-#include "hw/xen_backend.h"
+#include "hw/xen/xen.h"
+#include "hw/xen/xen_backend.h"
 #include "hw/xen_pt.h"
 #include "qemu/range.h"
 #include "exec/address-spaces.h"
index 1cd9f44704134e05ef9cbdd7690cda63a350fe12..d2cac18604f5be205c4a3564969df004394f1182 100644 (file)
@@ -2,7 +2,7 @@
 #define XEN_PT_H
 
 #include "qemu-common.h"
-#include "hw/xen_common.h"
+#include "hw/xen/xen_common.h"
 #include "hw/pci/pci.h"
 #include "hw/xen-host-pci-device.h"
 
index 55838216d9e81c7e8b050359f8e28167ab0d684c..3ee2adfb9ebf2097a79af794f6ceee14f999d697 100644 (file)
@@ -13,7 +13,7 @@
  */
 
 #include "qemu/timer.h"
-#include "hw/xen_backend.h"
+#include "hw/xen/xen_backend.h"
 #include "hw/xen_pt.h"
 
 #define XEN_PT_MERGE_VALUE(value, data, val_mask) \
index a54ee2bfd96b4b64a556aa6ae95a4ae89a1a5525..dcdfc5c64d5f07885cf39cf3424ed2b120520a1b 100644 (file)
@@ -11,9 +11,9 @@
 
 #include <sys/mman.h>
 
-#include "hw/xen_backend.h"
+#include "hw/xen/xen_backend.h"
 #include "hw/xen_pt.h"
-#include "hw/apic-msidef.h"
+#include "hw/i386/apic-msidef.h"
 
 
 #define XEN_PT_AUTO_ASSIGN -1
index 7c46a2fa1e25c60fdd30a9c62c1a03600583cc3d..8e4266142debf0b675c33feeba7646b34c776499 100644 (file)
@@ -38,7 +38,7 @@
 #include "hw/hw.h"
 #include "ui/console.h"
 #include "char/char.h"
-#include "hw/xen_backend.h"
+#include "hw/xen/xen_backend.h"
 
 #include <xen/event_channel.h>
 #include <xen/io/fbif.h>
index f2a63d82da4b46b34c3aea584a9846818e5205b2..5695897b2337df4d0f8cba93c8c92ded518dddf2 100644 (file)
 #include "elf.h"
 #include "exec/memory.h"
 #include "exec/address-spaces.h"
-#include "hw/serial.h"
+#include "hw/char/serial.h"
 #include "net/net.h"
 #include "hw/sysbus.h"
-#include "hw/flash.h"
+#include "hw/block/flash.h"
 #include "sysemu/blockdev.h"
 #include "char/char.h"
 #include "hw/xtensa_bootparam.h"
index 7d3258cc663a890801853c84d3834f89c05cfcae..d853ea1310a0a13c36fb1b762a3971604a0405e1 100644 (file)
@@ -16,7 +16,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "hw/hw.h"
-#include "hw/sharpsl.h"
+#include "hw/arm/sharpsl.h"
 #include "hw/sysbus.h"
 
 #undef REG_FMT
similarity index 100%
rename from hw/scsi-defs.h
rename to include/block/scsi.h
index 1da240039dd501817b9b8aeb4ef1bc501fe67d26..977467bb57c69b0ce1be94346d6b2dc3c2d9dbf8 100644 (file)
@@ -20,7 +20,7 @@
 #define MEMORY_INTERNAL_H
 
 #ifndef CONFIG_USER_ONLY
-#include "hw/xen.h"
+#include "hw/xen/xen.h"
 
 typedef struct PhysPageEntry PhysPageEntry;
 
similarity index 100%
rename from hw/acpi.h
rename to include/hw/acpi/acpi.h
similarity index 98%
rename from hw/acpi_ich9.h
rename to include/hw/acpi/ich9.h
index 91c3aeb7ea946ae2bf1578a81266c6836fc0214c..85b82ee50cc5fc7f97e5bea7b9a789c6daecf5c3 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef HW_ACPI_ICH9_H
 #define HW_ACPI_ICH9_H
 
-#include "hw/acpi.h"
+#include "hw/acpi/acpi.h"
 
 typedef struct ICH9LPCPMRegs {
     /*
similarity index 100%
rename from hw/arm-misc.h
rename to include/hw/arm.h
similarity index 100%
rename from hw/devices.h
rename to include/hw/arm/devices.h
similarity index 100%
rename from hw/exynos4210.h
rename to include/hw/arm/exynos4210.h
similarity index 100%
rename from hw/imx.h
rename to include/hw/arm/imx.h
similarity index 100%
rename from hw/omap.h
rename to include/hw/arm/omap.h
similarity index 100%
rename from hw/primecell.h
rename to include/hw/arm/primecell.h
similarity index 100%
rename from hw/pxa.h
rename to include/hw/arm/pxa.h
similarity index 100%
rename from hw/sharpsl.h
rename to include/hw/arm/sharpsl.h
similarity index 100%
rename from hw/soc_dma.h
rename to include/hw/arm/soc_dma.h
similarity index 100%
rename from hw/audiodev.h
rename to include/hw/audio/audio.h
similarity index 98%
rename from hw/pcspk.h
rename to include/hw/audio/pcspk.h
index f448d221dafbcfc43f9500bc4bca31be7f4580c8..ce8ef4f9ea1fb2658d237cb2e449b67dbabb4a12 100644 (file)
@@ -26,7 +26,7 @@
 #define HW_PCSPK_H
 
 #include "hw/hw.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 
 static inline ISADevice *pcspk_init(ISABus *bus, ISADevice *pit)
 {
similarity index 100%
rename from hw/block-common.h
rename to include/hw/block/block.h
similarity index 100%
rename from hw/fdc.h
rename to include/hw/block/fdc.h
similarity index 100%
rename from hw/flash.h
rename to include/hw/block/flash.h
similarity index 100%
rename from hw/boards.h
rename to include/hw/boards.h
similarity index 100%
rename from hw/bt.h
rename to include/hw/bt.h
similarity index 100%
rename from hw/escc.h
rename to include/hw/char/escc.h
similarity index 100%
rename from hw/serial.h
rename to include/hw/char/serial.h
similarity index 98%
rename from hw/etraxfs.h
rename to include/hw/cris/etraxfs.h
index 0df4fdd2e999253414bf981d66112bdadb29862c..ab30559c7998b43820062411ce7b0425b5026b81 100644 (file)
@@ -26,7 +26,7 @@
 #define HW_EXTRAXFS_H 1
 
 #include "net/net.h"
-#include "hw/etraxfs_dma.h"
+#include "hw/cris/etraxfs_dma.h"
 
 qemu_irq *cris_pic_init_cpu(CPUCRISState *env);
 
similarity index 100%
rename from hw/elf_ops.h
rename to include/hw/elf_ops.h
similarity index 100%
rename from hw/empty_slot.h
rename to include/hw/empty_slot.h
similarity index 100%
rename from hw/hw.h
rename to include/hw/hw.h
similarity index 100%
rename from hw/i2c.h
rename to include/hw/i2c/i2c.h
similarity index 100%
rename from hw/pm_smbus.h
rename to include/hw/i2c/pm_smbus.h
similarity index 99%
rename from hw/smbus.h
rename to include/hw/i2c/smbus.h
index c3db620e00cb8f6d69ea70801b743f2e61c5696a..d764d759c47860bd7b9fe877bfb806bc72cc8eca 100644 (file)
@@ -25,7 +25,7 @@
  * THE SOFTWARE.
  */
 
-#include "hw/i2c.h"
+#include "hw/i2c/i2c.h"
 
 #define TYPE_SMBUS_DEVICE "smbus-device"
 #define SMBUS_DEVICE(obj) \
similarity index 100%
rename from hw/apic.h
rename to include/hw/i386/apic.h
similarity index 98%
rename from hw/ich9.h
rename to include/hw/i386/ich9.h
index e7d2df72802662331791a07cfa8a347aa2794f20..51d59819ab7ef34cdcc017b54ddce010561a5bf7 100644 (file)
--- a/hw/ich9.h
@@ -3,17 +3,16 @@
 
 #include "hw/hw.h"
 #include "qemu/range.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "hw/sysbus.h"
-#include "hw/pc.h"
-#include "hw/apm.h"
-#include "hw/ioapic.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/apm.h"
+#include "hw/i386/ioapic.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pcie_host.h"
 #include "hw/pci/pci_bridge.h"
-#include "hw/acpi.h"
-#include "hw/acpi_ich9.h"
-#include "hw/pam.h"
+#include "hw/acpi/acpi.h"
+#include "hw/acpi/ich9.h"
 #include "hw/pci/pci_bus.h"
 
 void ich9_lpc_set_irq(void *opaque, int irq_num, int level);
similarity index 100%
rename from hw/ioapic.h
rename to include/hw/i386/ioapic.h
similarity index 98%
rename from hw/pc.h
rename to include/hw/i386/pc.h
index 55964ced933e0c1243c6123a93f0e3650e8fe8d5..5d40914f491214c6c7c224f902dbdced7bac4536 100644 (file)
--- a/hw/pc.h
@@ -4,11 +4,11 @@
 #include "qemu-common.h"
 #include "exec/memory.h"
 #include "exec/ioport.h"
-#include "hw/isa.h"
-#include "hw/fdc.h"
+#include "hw/isa/isa.h"
+#include "hw/block/fdc.h"
 #include "net/net.h"
 #include "exec/memory.h"
-#include "hw/ioapic.h"
+#include "hw/i386/ioapic.h"
 
 /* PC-style peripherals (also used by other machines).  */
 
similarity index 100%
rename from hw/smbios.h
rename to include/hw/i386/smbios.h
similarity index 97%
rename from hw/ide.h
rename to include/hw/ide.h
index 35444a39f94c21e4ab93760d3d2a3ad2750ad774..507e6d33cbc79ef1b529282cad3fd02572506d95 100644 (file)
--- a/hw/ide.h
@@ -1,7 +1,7 @@
 #ifndef HW_IDE_H
 #define HW_IDE_H
 
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "hw/pci/pci.h"
 #include "exec/memory.h"
 
similarity index 100%
rename from hw/adb.h
rename to include/hw/input/adb.h
similarity index 100%
rename from hw/hid.h
rename to include/hw/input/hid.h
similarity index 100%
rename from hw/ps2.h
rename to include/hw/input/ps2.h
similarity index 100%
rename from hw/irq.h
rename to include/hw/irq.h
similarity index 100%
rename from hw/apm.h
rename to include/hw/isa/apm.h
similarity index 98%
rename from hw/i8259_internal.h
rename to include/hw/isa/i8259_internal.h
index 2813ec1baa00f5691b5e72b36f9bb5d78a031199..d3ddb27f4f8a4f8dba6b858e746d288cb9c95e6a 100644 (file)
@@ -26,8 +26,8 @@
 #define QEMU_I8259_INTERNAL_H
 
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/isa.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/isa.h"
 
 typedef struct PICCommonState PICCommonState;
 
similarity index 100%
rename from hw/isa.h
rename to include/hw/isa/isa.h
similarity index 98%
rename from hw/pc87312.h
rename to include/hw/isa/pc87312.h
index ad087c73e5a8cbaecd96a92df6b4af1a81d5ba48..befc8bdc626cc649728b66e7bc48be03c95d34cd 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef QEMU_PC87312_H
 #define QEMU_PC87312_H
 
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 
 
 #define TYPE_PC87312 "pc87312"
similarity index 100%
rename from hw/vt82c686.h
rename to include/hw/isa/vt82c686.h
similarity index 100%
rename from hw/kvm/clock.h
rename to include/hw/kvm/clock.h
similarity index 100%
rename from hw/lm32_juart.h
rename to include/hw/lm32/lm32_juart.h
similarity index 100%
rename from hw/lm32_pic.h
rename to include/hw/lm32/lm32_pic.h
similarity index 100%
rename from hw/loader.h
rename to include/hw/loader.h
similarity index 100%
rename from hw/mcf.h
rename to include/hw/m68k/mcf.h
similarity index 100%
rename from hw/mips-bios.h
rename to include/hw/mips/bios.h
similarity index 100%
rename from hw/mips_cpudevs.h
rename to include/hw/mips/cpudevs.h
similarity index 100%
rename from hw/mips.h
rename to include/hw/mips/mips.h
similarity index 100%
rename from hw/fw_cfg.h
rename to include/hw/nvram/fw_cfg.h
similarity index 100%
rename from hw/apb_pci.h
rename to include/hw/pci-host/apb.h
similarity index 100%
rename from hw/pam.h
rename to include/hw/pci-host/pam.h
similarity index 97%
rename from hw/q35.h
rename to include/hw/pci-host/q35.h
index d766bb7b023498c7354fd142415f41a54f1f6f77..6b50b5f34a04185a4015bcaac720f66ff703691e 100644 (file)
--- a/hw/q35.h
 
 #include "hw/hw.h"
 #include "qemu/range.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "hw/sysbus.h"
-#include "hw/pc.h"
-#include "hw/apm.h"
-#include "hw/apic.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/apm.h"
+#include "hw/i386/apic.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pcie_host.h"
-#include "hw/acpi.h"
-#include "hw/acpi_ich9.h"
-#include "hw/pam.h"
+#include "hw/acpi/acpi.h"
+#include "hw/acpi/ich9.h"
+#include "hw/pci-host/pam.h"
 
 #define TYPE_Q35_HOST_DEVICE "q35-pcihost"
 #define Q35_HOST_DEVICE(obj) \
similarity index 99%
rename from hw/spapr_pci.h
rename to include/hw/pci-host/spapr.h
index 8bd8a663c5c8e450502e0f06e9b33f2aee36c1d6..b21080cd5874efa9fb176c09bef321819d39e97a 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
-#include "hw/xics.h"
+#include "hw/ppc/xics.h"
 
 #define SPAPR_MSIX_MAX_DEVS 32
 
similarity index 100%
rename from hw/pci/msi.h
rename to include/hw/pci/msi.h
similarity index 100%
rename from hw/pci/msix.h
rename to include/hw/pci/msix.h
similarity index 99%
rename from hw/pci/pci.h
rename to include/hw/pci/pci.h
index 9ea67a383273fd7674cffb75712f09688f3353cb..05315c0475e892d5d3b949341726411e2fe71398 100644 (file)
@@ -8,7 +8,7 @@
 #include "sysemu/dma.h"
 
 /* PCI includes legacy ISA access.  */
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 
 #include "hw/pci/pcie.h"
 
similarity index 100%
rename from hw/pci/pci_bus.h
rename to include/hw/pci/pci_bus.h
similarity index 100%
rename from hw/pci/pci_host.h
rename to include/hw/pci/pci_host.h
similarity index 100%
rename from hw/pci/pci_ids.h
rename to include/hw/pci/pci_ids.h
similarity index 100%
rename from hw/pci/pci_regs.h
rename to include/hw/pci/pci_regs.h
similarity index 100%
rename from hw/pci/pcie.h
rename to include/hw/pci/pcie.h
similarity index 100%
rename from hw/pci/pcie_aer.h
rename to include/hw/pci/pcie_aer.h
similarity index 100%
rename from hw/pci/shpc.h
rename to include/hw/pci/shpc.h
similarity index 100%
rename from hw/pcmcia.h
rename to include/hw/pcmcia.h
similarity index 100%
rename from hw/mac_dbdma.h
rename to include/hw/ppc/mac_dbdma.h
similarity index 100%
rename from hw/openpic.h
rename to include/hw/ppc/openpic.h
similarity index 100%
rename from hw/ppc.h
rename to include/hw/ppc/ppc.h
similarity index 100%
rename from hw/ppc4xx.h
rename to include/hw/ppc/ppc4xx.h
similarity index 99%
rename from hw/spapr.h
rename to include/hw/ppc/spapr.h
index 3a1f69f2a9fc78f33254a696d6a03d947e6f536f..864bee9d00d03686a8717d681acbcc458e32d095 100644 (file)
@@ -2,7 +2,7 @@
 #define __HW_SPAPR_H__
 
 #include "sysemu/dma.h"
-#include "hw/xics.h"
+#include "hw/ppc/xics.h"
 
 struct VIOsPAPRBus;
 struct sPAPRPHBState;
similarity index 100%
rename from hw/spapr_vio.h
rename to include/hw/ppc/spapr_vio.h
similarity index 100%
rename from hw/xics.h
rename to include/hw/ppc/xics.h
similarity index 100%
rename from hw/ptimer.h
rename to include/hw/ptimer.h
similarity index 100%
rename from hw/qdev-addr.h
rename to include/hw/qdev-addr.h
similarity index 100%
rename from hw/qdev-core.h
rename to include/hw/qdev-core.h
similarity index 100%
rename from hw/qdev-dma.h
rename to include/hw/qdev-dma.h
similarity index 100%
rename from hw/qdev.h
rename to include/hw/qdev.h
similarity index 100%
rename from hw/s390x/sclp.h
rename to include/hw/s390x/sclp.h
similarity index 99%
rename from hw/esp.h
rename to include/hw/scsi/esp.h
index 830673be8f33a27aa7779a40017162b4ada1e1db..e079fb8d16c16452848a3394ff68fa6b6bca189e 100644 (file)
--- a/hw/esp.h
@@ -1,7 +1,7 @@
 #ifndef QEMU_HW_ESP_H
 #define QEMU_HW_ESP_H
 
-#include "hw/scsi.h"
+#include "hw/scsi/scsi.h"
 
 /* esp.c */
 #define ESP_MAX_DEVS 7
similarity index 99%
rename from hw/scsi.h
rename to include/hw/scsi/scsi.h
index 02a1497d7ad351fc86fba51c87ae41ebd8311984..3bda1c42c1892a990e614cbb135c88edbbbea2f6 100644 (file)
--- a/hw/scsi.h
@@ -3,7 +3,7 @@
 
 #include "hw/qdev.h"
 #include "block/block.h"
-#include "hw/block-common.h"
+#include "hw/block/block.h"
 #include "sysemu/sysemu.h"
 
 #define MAX_SCSI_DEVS  255
similarity index 100%
rename from hw/sd.h
rename to include/hw/sd.h
similarity index 98%
rename from hw/sh.h
rename to include/hw/sh4/sh.h
index 6230954eac924e64bfc5782b4d181f541dd3cee8..87c378f1eb252f8364e2654847c67fcb91f587f3 100644 (file)
--- a/hw/sh.h
@@ -2,7 +2,7 @@
 #define QEMU_SH_H
 /* Definitions for SH board emulation.  */
 
-#include "hw/sh_intc.h"
+#include "hw/sh4/sh_intc.h"
 
 #define A7ADDR(x) ((x) & 0x1fffffff)
 #define P4ADDR(x) ((x) | 0xe0000000)
similarity index 100%
rename from hw/sh_intc.h
rename to include/hw/sh4/sh_intc.h
similarity index 100%
rename from hw/grlib.h
rename to include/hw/sparc/grlib.h
similarity index 96%
rename from hw/sun4m.h
rename to include/hw/sparc/sun4m.h
index 0d2cfb807b179a79d5b75abc748414ce0edbca29..e984671129d844664ff6b41a102b7c85daadfe33 100644 (file)
@@ -31,6 +31,6 @@ void sun4m_pic_info(Monitor *mon, const QDict *qdict);
 void sun4m_irq_info(Monitor *mon, const QDict *qdict);
 
 /* sparc32_dma.c */
-#include "hw/sparc32_dma.h"
+#include "hw/sparc/sparc32_dma.h"
 
 #endif
similarity index 100%
rename from hw/ssi.h
rename to include/hw/ssi.h
similarity index 100%
rename from hw/stream.h
rename to include/hw/stream.h
similarity index 100%
rename from hw/sysbus.h
rename to include/hw/sysbus.h
similarity index 100%
rename from hw/hpet_emul.h
rename to include/hw/timer/hpet.h
similarity index 98%
rename from hw/i8254.h
rename to include/hw/timer/i8254.h
index 7d4432e72270a0c14dca41162152272a1676ce7f..75bb530ad92358b81267645c14a1eed1f35c80b2 100644 (file)
@@ -26,7 +26,7 @@
 #define HW_I8254_H
 
 #include "hw/hw.h"
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 
 #define PIT_FREQ 1193182
 
similarity index 98%
rename from hw/i8254_internal.h
rename to include/hw/timer/i8254_internal.h
index 30d5b1b95018714c1f539e2667e58a64e45db6bc..e0cff0cf5ae411c579acf428fde5197bca71cb4d 100644 (file)
@@ -26,8 +26,8 @@
 #define QEMU_I8254_INTERNAL_H
 
 #include "hw/hw.h"
-#include "hw/pc.h"
-#include "hw/isa.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/isa.h"
 
 typedef struct PITChannelState {
     int count; /* can be 65536 */
similarity index 100%
rename from hw/nvram.h
rename to include/hw/timer/m48t59.h
similarity index 80%
rename from hw/mc146818rtc.h
rename to include/hw/timer/mc146818rtc.h
index 967403edb5384237ce390a2d509c27038251eaae..854ea3f5b5e9542933a0f953e63a077eae5c43f2 100644 (file)
@@ -1,8 +1,8 @@
 #ifndef MC146818RTC_H
 #define MC146818RTC_H
 
-#include "hw/isa.h"
-#include "hw/mc146818rtc_regs.h"
+#include "hw/isa/isa.h"
+#include "hw/timer/mc146818rtc_regs.h"
 
 ISADevice *rtc_init(ISABus *bus, int base_year, qemu_irq intercept_irq);
 void rtc_set_memory(ISADevice *dev, int addr, int val);
similarity index 100%
rename from hw/puv3.h
rename to include/hw/unicore32/puv3.h
similarity index 100%
rename from hw/usb.h
rename to include/hw/usb.h
similarity index 98%
rename from hw/dataplane/vring.h
rename to include/hw/virtio/dataplane/vring.h
index defb1efcda4be1cfcbf772025dcf29a27b372b98..9380cb54133e67d9fc8b9f8c44c4259ddd39f960 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/virtio_ring.h>
 #include "qemu-common.h"
 #include "hostmem.h"
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 
 typedef struct {
     HostMem hostmem;                /* guest memory mapper */
similarity index 98%
rename from hw/vhost.h
rename to include/hw/virtio/vhost.h
index f062d48807e449dd843b979fc4f4a378a1a41833..b373be03875810704afb350524aeebd564246f56 100644 (file)
@@ -2,7 +2,7 @@
 #define VHOST_H
 
 #include "hw/hw.h"
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "exec/memory.h"
 
 /* Generic structures common for any vhost based device. */
similarity index 98%
rename from hw/virtio-balloon.h
rename to include/hw/virtio/virtio-balloon.h
index d8983154146672a70bfa733592ad05b0d62bc67f..3b459bbdd795c65ad8b8d0796b75c56ebe814a8e 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef _QEMU_VIRTIO_BALLOON_H
 #define _QEMU_VIRTIO_BALLOON_H
 
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "hw/pci/pci.h"
 
 #define TYPE_VIRTIO_BALLOON "virtio-balloon"
similarity index 96%
rename from hw/virtio-blk.h
rename to include/hw/virtio/virtio-blk.h
index 8c6c78b1917722b58a4dc682a63b09819518c1d1..c10d069b258d1c5c94eb97e7e2d12ec66e13e8bf 100644 (file)
 #ifndef _QEMU_VIRTIO_BLK_H
 #define _QEMU_VIRTIO_BLK_H
 
-#include "hw/virtio.h"
-#include "hw/block-common.h"
-#ifdef CONFIG_VIRTIO_BLK_DATA_PLANE
-#include "dataplane/virtio-blk.h"
-#endif
+#include "hw/virtio/virtio.h"
+#include "hw/block/block.h"
 
 #define TYPE_VIRTIO_BLK "virtio-blk"
 #define VIRTIO_BLK(obj) \
@@ -115,6 +112,8 @@ struct VirtIOBlkConf
     uint32_t data_plane;
 };
 
+struct VirtIOBlockDataPlane;
+
 typedef struct VirtIOBlock {
     VirtIODevice parent_obj;
     BlockDriverState *bs;
@@ -126,7 +125,7 @@ typedef struct VirtIOBlock {
     unsigned short sector_mask;
     VMChangeStateEntry *change;
 #ifdef CONFIG_VIRTIO_BLK_DATA_PLANE
-    VirtIOBlockDataPlane *dataplane;
+    struct VirtIOBlockDataPlane *dataplane;
 #endif
 } VirtIOBlock;
 
similarity index 99%
rename from hw/virtio-bus.h
rename to include/hw/virtio/virtio-bus.h
index ae0f7078b4631e3d87654c413c226e6c062d8c17..311e8c78bd9c0873eb7a1c3e76b71010dd510d4b 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "hw/qdev.h"
 #include "sysemu/sysemu.h"
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 
 #define TYPE_VIRTIO_BUS "virtio-bus"
 #define VIRTIO_BUS_GET_CLASS(obj) \
similarity index 99%
rename from hw/virtio-net.h
rename to include/hw/virtio/virtio-net.h
index 4d1a8cdca037bde92001dd563569a9a553a3f3d6..d2cc9968723df1e351c04b4fd6636de0d9a9ae70 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef _QEMU_VIRTIO_NET_H
 #define _QEMU_VIRTIO_NET_H
 
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "hw/pci/pci.h"
 
 #define ETH_ALEN    6
similarity index 97%
rename from hw/virtio-scsi.h
rename to include/hw/virtio/virtio-scsi.h
index 31e97bbe38c8fb57bbbf64d227e79fb7111226ec..c9d92ca2e8a33da77a1ded913968288c9f26b70f 100644 (file)
@@ -14,9 +14,9 @@
 #ifndef _QEMU_VIRTIO_SCSI_H
 #define _QEMU_VIRTIO_SCSI_H
 
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 #include "hw/pci/pci.h"
-#include "hw/scsi.h"
+#include "hw/scsi/scsi.h"
 
 #define TYPE_VIRTIO_SCSI "virtio-scsi"
 #define VIRTIO_SCSI(obj) \
similarity index 99%
rename from hw/virtio-serial.h
rename to include/hw/virtio/virtio-serial.h
index 516400f22d68b9293e205d3e467b691b6e993173..098deeac4aa6e39c18de8d6a7f8e71391ef54a36 100644 (file)
@@ -16,7 +16,7 @@
 #define _QEMU_VIRTIO_SERIAL_H
 
 #include "hw/qdev.h"
-#include "hw/virtio.h"
+#include "hw/virtio/virtio.h"
 
 /* == Interface shared between the guest kernel and qemu == */
 
similarity index 99%
rename from hw/virtio.h
rename to include/hw/virtio/virtio.h
index fdbe9313a00e3f32ae6ea0668cf22f628e9e7939..7e24b2b69aec62c561fccd0032f14f38b3f9adbc 100644 (file)
@@ -20,7 +20,7 @@
 #include "sysemu/sysemu.h"
 #include "qemu/event_notifier.h"
 #ifdef CONFIG_VIRTFS
-#include "hw/9pfs/virtio-9p-device.h"
+#include "hw/virtio/virtio-9p.h"
 #endif
 
 /* from Linux's linux/virtio_config.h */
similarity index 100%
rename from hw/xen.h
rename to include/hw/xen/xen.h
similarity index 99%
rename from hw/xen_backend.h
rename to include/hw/xen/xen_backend.h
index d04b985d109a8b33df01ccf1beb242bdf55c6e52..3b7d96d7a50c4cfef37ea46bbb48b723f5ce9b3e 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef QEMU_HW_XEN_BACKEND_H
 #define QEMU_HW_XEN_BACKEND_H 1
 
-#include "hw/xen_common.h"
+#include "hw/xen/xen_common.h"
 #include "sysemu/sysemu.h"
 #include "net/net.h"
 
similarity index 99%
rename from hw/xen_common.h
rename to include/hw/xen/xen_common.h
index c37bde3f7e0bceadb68bae5d9a7222ec588bc014..2d5a25bf40f42eaccd9a6a770a4bb882c852a18b 100644 (file)
@@ -15,7 +15,7 @@
 #include <xen/io/xenbus.h>
 
 #include "hw/hw.h"
-#include "hw/xen.h"
+#include "hw/xen/xen.h"
 #include "qemu/queue.h"
 
 /*
similarity index 100%
rename from hw/xilinx.h
rename to include/hw/xilinx.h
similarity index 100%
rename from hw/vhost_net.h
rename to include/net/vhost_net.h
similarity index 100%
rename from hw/watchdog.h
rename to include/sysemu/watchdog.h
index b4bda7777e4405503a994631d564ca55afc4516e..c897e8033f367e85c70121b296d63d6f52809e37 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -26,9 +26,9 @@
 #include "monitor/qdev.h"
 #include "hw/usb.h"
 #include "hw/pcmcia.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/pci/pci.h"
-#include "hw/watchdog.h"
+#include "sysemu/watchdog.h"
 #include "hw/loader.h"
 #include "exec/gdbstub.h"
 #include "net/net.h"
@@ -71,9 +71,9 @@
 
 /* for pic/irq_info */
 #if defined(TARGET_SPARC)
-#include "hw/sun4m.h"
+#include "hw/sparc/sun4m.h"
 #endif
-#include "hw/lm32_pic.h"
+#include "hw/lm32/lm32_pic.h"
 
 //#define DEBUG
 //#define DEBUG_COMPLETION
index e7c84811ac37d4f2e12ef562e346f1473e1a362a..17bdf014a903a979044039cd7c70887496d485c7 100644 (file)
--- a/net/tap.c
+++ b/net/tap.c
@@ -42,7 +42,7 @@
 
 #include "net/tap.h"
 
-#include "hw/vhost_net.h"
+#include "net/vhost_net.h"
 
 typedef struct TAPState {
     NetClientState nc;
index 3daf7da49576091e337b1dab814e87310d5ea25f..ce436085d9ba9e3a97229d0bf59b38b57942848d 100644 (file)
@@ -20,7 +20,7 @@
 
 
 #define NO_QEMU_PROTOS
-#include "../../hw/fw_cfg.h"
+#include "../../include/hw/nvram/fw_cfg.h"
 
 #define BIOS_CFG_IOPORT_CFG    0x510
 #define BIOS_CFG_IOPORT_DATA   0x511
index 847318d1f428aefe4f3e785e2e3f8934d08bdd8a..77718c4caacb5b189b4bf69b1853c5916c768b04 100644 (file)
@@ -34,7 +34,7 @@
 #else
 #include "qemu-common.h"
 #include "exec/gdbstub.h"
-#include "hw/arm-misc.h"
+#include "hw/arm.h"
 #endif
 
 #define TARGET_SYS_OPEN        0x01
index 82e2e084c35fbbb3d756a013677ed6685f835276..6bfb10350b621cf44c290d3d9d738edd8828894f 100644 (file)
@@ -21,7 +21,7 @@
 #include "sysemu/kvm.h"
 #include "kvm_arm.h"
 #include "cpu.h"
-#include "hw/arm-misc.h"
+#include "hw/arm.h"
 
 const KVMCapabilityInfo kvm_arch_required_capabilities[] = {
     KVM_CAP_LAST_INFO
index 69c3570a15a749a64f9d87ce5990b0f8b5f6cc28..356378c11000e912db82ac4ac88eef71c59b380b 100644 (file)
@@ -42,9 +42,9 @@
 
 #include "sysemu/sysemu.h"
 #ifndef CONFIG_USER_ONLY
-#include "hw/xen.h"
+#include "hw/xen/xen.h"
 #include "hw/sysbus.h"
-#include "hw/apic_internal.h"
+#include "hw/i386/apic_internal.h"
 #endif
 
 static void x86_cpu_vendor_words2str(char *dst, uint32_t vendor1,
index 069a2e2cf9e806339157f73c66c29b0b8610cc20..2b4e3193f3a17ff57a411f55de952a1127246f85 100644 (file)
@@ -1164,7 +1164,7 @@ static inline void cpu_clone_regs(CPUX86State *env, target_ulong newsp)
 #include "svm.h"
 
 #if !defined(CONFIG_USER_ONLY)
-#include "hw/apic.h"
+#include "hw/i386/apic.h"
 #endif
 
 static inline bool cpu_has_work(CPUState *cs)
index df30fa6ed62d015960fde9d117dc28f7536d664b..397afebecbb3dd9ac3b44c7a4702b83ba3df4c91 100644 (file)
@@ -28,8 +28,8 @@
 #include "exec/gdbstub.h"
 #include "qemu/host-utils.h"
 #include "qemu/config-file.h"
-#include "hw/pc.h"
-#include "hw/apic.h"
+#include "hw/i386/pc.h"
+#include "hw/i386/apic.h"
 #include "exec/ioport.h"
 #include "hyperv.h"
 #include "hw/pci/pci.h"
index b80a5f44707f87a3e1c32fec84e8921081f8dc47..ee85e574354b712d9ab295167e536af63076b5a2 100644 (file)
@@ -1,7 +1,7 @@
 #include "hw/hw.h"
 #include "hw/boards.h"
-#include "hw/pc.h"
-#include "hw/isa.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/isa.h"
 
 #include "cpu.h"
 #include "sysemu/kvm.h"
index 7ff991e28e402d5c8c3b9e6ecbee3014bca52943..f106873ad828660c4db47176f109e250cf8c4360 100644 (file)
@@ -3,8 +3,8 @@
 #include "helper.h"
 #include "qemu/host-utils.h"
 
-#include "hw/lm32_pic.h"
-#include "hw/lm32_juart.h"
+#include "hw/lm32/lm32_pic.h"
+#include "hw/lm32/lm32_juart.h"
 
 #if !defined(CONFIG_USER_ONLY)
 #define MMUSUFFIX _mmu
index e885bb3aeb9a93dabe9c5c5785ba6e193b35e0c9..af9ce8c3379102d876f1a0fda30bc5041d2e91c4 100644 (file)
@@ -22,7 +22,7 @@
 #include "helper.h"
 #include "tcg-op.h"
 
-#include "hw/lm32_pic.h"
+#include "hw/lm32/lm32_pic.h"
 
 #define GEN_HELPER 1
 #include "helper.h"
index 597066f5a0da32b84dab09e180288765c289ff6f..5e9dddbb5446a2fdbb2a1dd4c729e14fd34d4241 100644 (file)
 #include "sysemu/cpus.h"
 #include "sysemu/device_tree.h"
 #include "hw/sysbus.h"
-#include "hw/spapr.h"
+#include "hw/ppc/spapr.h"
 #include "mmu-hash64.h"
 
 #include "hw/sysbus.h"
-#include "hw/spapr.h"
-#include "hw/spapr_vio.h"
+#include "hw/ppc/spapr.h"
+#include "hw/ppc/spapr_vio.h"
 
 //#define DEBUG_KVM
 
index 0a9cb3ac987da98cd931312be863b2cd21e62b0a..ce10ca84ee0982b2bc8339291f5888f04e542c7c 100644 (file)
@@ -26,7 +26,7 @@
 #include "cpu.h"
 
 #if !defined(CONFIG_USER_ONLY)
-#include "hw/sh_intc.h"
+#include "hw/sh4/sh_intc.h"
 #endif
 
 #if defined(CONFIG_USER_ONLY)
index 9ab583b860135d8f89a8948bf63f6488345992cb..3395d7f50bc7616a577df9eb2f75a7b46f9c6edd 100644 (file)
@@ -11,7 +11,7 @@
  *
  */
 #include "libqtest.h"
-#include "hw/mc146818rtc_regs.h"
+#include "hw/timer/mc146818rtc_regs.h"
 
 #include <glib.h>
 #include <stdio.h>
index a6ad213de805ae2eda353c44eda4aac089c1bc0b..2869129df3c30ffa13a8ca07d7c9180f8f3dec9d 100644 (file)
@@ -8,7 +8,7 @@
  */
 #include "libqtest.h"
 #include "libi2c.h"
-#include "hw/tmp105_regs.h"
+#include "hw/misc/tmp105_regs.h"
 
 #include <glib.h>
 
index 80a48d68cd1abaeabe17137ba200e3e571159597..1fdd66d356775eaefd333ba698d9624bc579c693 100644 (file)
@@ -30,7 +30,7 @@
 #include "backends/tpm.h"
 #include "tpm_int.h"
 #include "hw/hw.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "tpm_tis.h"
 #include "tpm_backend.h"
 
index 367f734dc4fc370481be9157035709a50ac08f76..f0a45846071fe3da49b26522993e410b2b7ad2fc 100644 (file)
@@ -24,7 +24,7 @@
 #include "block/block.h"
 #include "exec/address-spaces.h"
 #include "hw/hw.h"
-#include "hw/pc.h"
+#include "hw/i386/pc.h"
 #include "hw/pci/pci_ids.h"
 #include "tpm/tpm_tis.h"
 #include "qemu-common.h"
index 7f216e56b2128b909a95a69bca5a4220cdb12482..1be4ddc8a12fd7a4298837423d599241cbe92424 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef TPM_TPM_TIS_H
 #define TPM_TPM_TIS_H
 
-#include "hw/isa.h"
+#include "hw/isa/isa.h"
 #include "qemu-common.h"
 
 #define TPM_TIS_ADDR_BASE           0xFED40000
diff --git a/vl.c b/vl.c
index a8bba043a27ddfef82819180eae18299809a875e..d694a9039b61b0b6b318f80ceb73264b3e49977d 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -117,12 +117,12 @@ int main(int argc, char **argv)
 #include "hw/boards.h"
 #include "hw/usb.h"
 #include "hw/pcmcia.h"
-#include "hw/pc.h"
-#include "hw/isa.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/isa.h"
 #include "hw/bt.h"
-#include "hw/watchdog.h"
-#include "hw/smbios.h"
-#include "hw/xen.h"
+#include "sysemu/watchdog.h"
+#include "hw/i386/smbios.h"
+#include "hw/xen/xen.h"
 #include "hw/qdev.h"
 #include "hw/loader.h"
 #include "monitor/qdev.h"
@@ -137,7 +137,7 @@ int main(int argc, char **argv)
 #include "char/char.h"
 #include "qemu/cache-utils.h"
 #include "sysemu/blockdev.h"
-#include "hw/block-common.h"
+#include "hw/block/block.h"
 #include "migration/block.h"
 #include "tpm/tpm.h"
 #include "sysemu/dma.h"
index 8c05843faf0f535a8c3bfdd04bab3e95e1eaf93b..31f28fc1ae7f84ed2ca4d6ed6656b73bc23eb793 100644 (file)
--- a/xen-all.c
+++ b/xen-all.c
@@ -11,9 +11,9 @@
 #include <sys/mman.h>
 
 #include "hw/pci/pci.h"
-#include "hw/pc.h"
-#include "hw/xen_common.h"
-#include "hw/xen_backend.h"
+#include "hw/i386/pc.h"
+#include "hw/xen/xen_common.h"
+#include "hw/xen/xen_backend.h"
 #include "qmp-commands.h"
 
 #include "char/char.h"
index 5a626cdf845ff7a943c0279f19df333edb2385f4..eda914a75c983f14e5e54f87a2aae827e350d0f8 100644 (file)
@@ -12,7 +12,7 @@
 
 #include <sys/resource.h>
 
-#include "hw/xen_backend.h"
+#include "hw/xen/xen_backend.h"
 #include "sysemu/blockdev.h"
 #include "qemu/bitmap.h"
 
index 1ee841137e2443c64d5c96ec89fb2819b0891559..6f0516aa3eaa340b33fd16a999b5710743ab7070 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #include "qemu-common.h"
-#include "hw/xen.h"
+#include "hw/xen/xen.h"
 #include "exec/memory.h"
 #include "qmp-commands.h"