hw/ reorganization, part 1
Subsystems (5)
This includes the mechanical changes, as well as moving stuff out of hw/. Boards and devices referencing CPU are moved to per-arch subdirectories. This part was uncontroversial, and I have already posted it separately in this exact shape.
The following changes since commit 288f1e3f87ec24abeac38399f175fe74243f7bc5:
cadence_gem: Add debug msgs for rx desc movement (2013-02-28 18:49:24 +0000)
are available in the git repository at:
git://github.com/bonzini/qemu.git hw-dirs
for you to fetch changes up to 7a2771d1541ec9a0c585e9b853e5f4dc036919ad:
sh: move files referencing CPU to hw/sh4/ (2013-03-01 15:01:20 +0100)
----------------------------------------------------------------
Paolo Bonzini (18):
hw: move char backends to backends/
hw: move fifo.[ch] to libqemuutil
hw: move qdev-monitor.o to toplevel directory
hw: move device-hotplug.o to toplevel, compile it once
virtio-9p: use CONFIG_VIRTFS, not CONFIG_LINUX
virtio-9p: remove PCI dependencies from hw/9pfs/
vt82c686: vt82c686 is not a PCI host bridge
ppc: do not use ../ in include files
hw: include hw header files with full paths
build: always link device_tree.o into emulators if libfdt available
ppc: express FDT dependency of pSeries and e500 boards via default-configs/
hw: move boards and other isolated files to hw/ARCH
arm: move files referencing CPU to hw/arm/
i386: move files referencing CPU to hw/i386/
m68k: move files referencing CPU to hw/m68k/
ppc: move files referencing CPU to hw/ppc/
ppc: move more files to hw/ppc
sh: move files referencing CPU to hw/sh4/
Makefile.objs | 1 +
Makefile.target | 1 +
backends/Makefile.objs | 4 ++
{hw => backends}/baum.c | 4 +-
{hw => backends}/msmouse.c | 2 +-
configure | 10 +---
default-configs/ppc-softmmu.mak | 1 +
default-configs/ppc64-softmmu.mak | 2 +
default-configs/ppcemb-softmmu.mak | 1 +
hw/device-hotplug.c => device-hotplug.c | 13 +---
hw/9pfs/virtio-9p-device.c | 53 +----------------
hw/{9p.h => 9pfs/virtio-9p-device.h} | 4 +-
hw/9pfs/virtio-9p-proxy.c | 1 +
hw/9pfs/virtio-9p.c | 3 +-
hw/9pfs/virtio-9p.h | 1 -
hw/Makefile.objs | 8 +--
hw/a15mpcore.c | 2 +-
hw/a9mpcore.c | 2 +-
hw/a9scu.c | 2 +-
hw/ac97.c | 6 +-
hw/acpi.c | 6 +-
hw/acpi_ich9.c | 10 ++--
hw/acpi_ich9.h | 2 +-
hw/acpi_piix4.c | 14 ++---
hw/adb.c | 4 +-
hw/adb.h | 2 +-
hw/adlib.c | 8 +--
hw/ads7846.c | 2 +-
hw/alpha/Makefile.objs | 4 +-
hw/{alpha_dp264.c => alpha/dp264.c} | 16 ++---
hw/{alpha_pci.c => alpha/pci.c} | 2 +-
hw/alpha_sys.h | 10 ++--
hw/alpha_typhoon.c | 6 +-
hw/apb_pci.c | 12 ++--
hw/apic.c | 12 ++--
hw/apic_common.c | 4 +-
hw/apic_internal.h | 2 +-
hw/apm.c | 6 +-
hw/apm.h | 2 +-
hw/applesmc.c | 4 +-
hw/arm/Makefile.objs | 43 +++++++-------
hw/{ => arm}/armv7m.c | 6 +-
hw/{arm_boot.c => arm/boot.c} | 8 +--
hw/{ => arm}/collie.c | 14 ++---
hw/{ => arm}/exynos4210.c | 12 ++--
hw/{ => arm}/exynos4_boards.c | 8 +--
hw/{ => arm}/gumstix.c | 10 ++--
hw/{ => arm}/highbank.c | 12 ++--
hw/{ => arm}/integratorcp.c | 8 +--
hw/{ => arm}/kzm.c | 14 ++---
hw/{ => arm}/mainstone.c | 14 ++---
hw/{ => arm}/musicpal.c | 16 ++---
hw/{ => arm}/nseries.c | 22 +++----
hw/{ => arm}/omap1.c | 10 ++--
hw/{ => arm}/omap2.c | 12 ++--
hw/{ => arm}/omap_sx1.c | 10 ++--
hw/{ => arm}/palm.c | 12 ++--
hw/{arm_pic.c => arm/pic_cpu.c} | 4 +-
hw/{ => arm}/pxa2xx.c | 10 ++--
hw/{ => arm}/pxa2xx_gpio.c | 6 +-
hw/{ => arm}/pxa2xx_pic.c | 6 +-
hw/{ => arm}/realview.c | 14 ++---
hw/{ => arm}/spitz.c | 22 +++----
hw/{ => arm}/stellaris.c | 12 ++--
hw/{ => arm}/tosa.c | 20 +++----
hw/{ => arm}/versatilepb.c | 14 ++---
hw/{ => arm}/vexpress.c | 12 ++--
hw/{ => arm}/xilinx_zynq.c | 12 ++--
hw/{ => arm}/z2.c | 16 ++---
hw/arm11mpcore.c | 2 +-
hw/arm_gic.c | 4 +-
hw/arm_gic_common.c | 2 +-
hw/arm_gic_internal.h | 2 +-
hw/arm_l2x0.c | 2 +-
hw/arm_mptimer.c | 2 +-
hw/arm_sysctl.c | 6 +-
hw/arm_timer.c | 6 +-
hw/armv7m_nvic.c | 6 +-
hw/bitbang_i2c.c | 6 +-
hw/bitbang_i2c.h | 2 +-
hw/blizzard.c | 14 ++---
hw/boards.h | 2 +-
hw/bonito.c | 10 ++--
hw/bt-hci-csr.c | 4 +-
hw/bt-hci.c | 4 +-
hw/bt-hid.c | 4 +-
hw/bt-l2cap.c | 2 +-
hw/bt-sdp.c | 2 +-
hw/bt.c | 2 +-
hw/cadence_gem.c | 2 +-
hw/cadence_ttc.c | 2 +-
hw/cadence_uart.c | 2 +-
hw/cbus.c | 4 +-
hw/ccid.h | 2 +-
hw/cdrom.c | 2 +-
hw/cirrus_vga.c | 44 +++++++-------
hw/cirrus_vga_rop.h | 8 +--
hw/cris/Makefile.objs | 10 ++--
hw/{ => cris}/axis_dev88.c | 12 ++--
hw/{cris-boot.c => cris/boot.c} | 6 +-
hw/{cris_pic_cpu.c => cris/pic_cpu.c} | 6 +-
hw/cs4231.c | 2 +-
hw/cs4231a.c | 8 +--
hw/cuda.c | 6 +-
hw/dataplane/event-poll.c | 2 +-
hw/dataplane/ioq.c | 2 +-
hw/dataplane/virtio-blk.c | 4 +-
hw/dataplane/vring.c | 3 +-
hw/dataplane/vring.h | 2 +-
hw/debugcon.c | 6 +-
hw/debugexit.c | 4 +-
hw/dec_pci.c | 12 ++--
hw/dma.c | 4 +-
hw/dp8393x.c | 4 +-
hw/ds1225y.c | 2 +-
hw/ds1338.c | 2 +-
hw/e1000.c | 8 +--
hw/ecc.c | 4 +-
hw/eccmemctl.c | 2 +-
hw/eepro100.c | 6 +-
hw/eeprom93xx.c | 4 +-
hw/empty_slot.c | 6 +-
hw/es1370.c | 6 +-
hw/escc.c | 6 +-
hw/esp-pci.c | 6 +-
hw/esp.c | 4 +-
hw/esp.h | 2 +-
hw/etraxfs.h | 2 +-
hw/etraxfs_dma.c | 4 +-
hw/etraxfs_eth.c | 4 +-
hw/etraxfs_pic.c | 4 +-
hw/etraxfs_ser.c | 2 +-
hw/etraxfs_timer.c | 4 +-
hw/exynos4210_combiner.c | 4 +-
hw/exynos4210_fimd.c | 2 +-
hw/exynos4210_gic.c | 6 +-
hw/exynos4210_i2c.c | 4 +-
hw/exynos4210_mct.c | 6 +-
hw/exynos4210_pmu.c | 2 +-
hw/exynos4210_pwm.c | 6 +-
hw/exynos4210_rtc.c | 8 +--
hw/exynos4210_uart.c | 4 +-
hw/fdc.c | 10 ++--
hw/fmopl.c | 2 +-
hw/framebuffer.c | 4 +-
hw/fw_cfg.c | 8 +--
hw/g364fb.c | 4 +-
hw/grackle_pci.c | 6 +-
hw/grlib.h | 4 +-
hw/grlib_apbuart.c | 2 +-
hw/grlib_gptimer.c | 4 +-
hw/grlib_irqmp.c | 4 +-
hw/gt64xxx.c | 10 ++--
hw/gus.c | 10 ++--
hw/gusemu_hal.c | 4 +-
hw/gusemu_mixer.c | 4 +-
hw/hda-audio.c | 8 +--
hw/heathrow_pic.c | 4 +-
hw/hid.c | 4 +-
hw/hpet.c | 12 ++--
hw/hw.h | 2 +-
hw/i2c.c | 2 +-
hw/i2c.h | 2 +-
hw/i386/Makefile.objs | 17 ++++--
hw/{ => i386}/kvmvapic.c | 2 +-
hw/{ => i386}/multiboot.c | 8 +--
hw/{ => i386}/pc.c | 36 ++++++------
hw/{ => i386}/pc_piix.c | 24 ++++----
hw/{ => i386}/pc_q35.c | 16 ++---
hw/{ => i386}/smbios.c | 4 +-
hw/{ => i386}/xen_domainbuild.c | 4 +-
hw/{ => i386}/xen_machine_pv.c | 10 ++--
hw/i82374.c | 2 +-
hw/i82378.c | 8 +--
hw/i8254.c | 10 ++--
hw/i8254.h | 4 +-
hw/i8254_common.c | 10 ++--
hw/i8254_internal.h | 6 +-
hw/i8259.c | 8 +--
hw/i8259_common.c | 4 +-
hw/i8259_internal.h | 6 +-
hw/i82801b11.c | 4 +-
hw/ich9.h | 26 ++++----
hw/ide.h | 4 +-
hw/imx_avic.c | 4 +-
hw/imx_ccm.c | 6 +-
hw/imx_serial.c | 6 +-
hw/imx_timer.c | 8 +--
hw/intel-hda.c | 12 ++--
hw/intel-hda.h | 2 +-
hw/ioapic.c | 10 ++--
hw/ioapic_common.c | 6 +-
hw/ioapic_internal.h | 4 +-
hw/ioh3420.c | 8 +--
hw/ioh3420.h | 2 +-
hw/ipack.c | 2 +-
hw/ipack.h | 2 +-
hw/ipoctal232.c | 2 +-
hw/irq.c | 2 +-
hw/isa-bus.c | 6 +-
hw/isa.h | 2 +-
hw/isa_mmio.c | 4 +-
hw/ivshmem.c | 8 +--
hw/jazz_led.c | 2 +-
hw/lan9118.c | 6 +-
hw/lance.c | 6 +-
hw/lm32/Makefile.objs | 8 +--
hw/{ => lm32}/lm32_boards.c | 16 ++---
hw/{ => lm32}/milkymist.c | 16 ++---
hw/lm32_hwsetup.h | 2 +-
hw/lm32_juart.c | 6 +-
hw/lm32_pic.c | 8 +--
hw/lm32_sys.c | 4 +-
hw/lm32_timer.c | 6 +-
hw/lm32_uart.c | 4 +-
hw/lm4549.c | 4 +-
hw/lm832x.c | 4 +-
hw/loader.c | 12 ++--
hw/lpc_ich9.c | 28 ++++-----
hw/lsi53c895a.c | 6 +-
hw/m25p80.c | 6 +-
hw/m48t59.c | 8 +--
hw/m68k/Makefile.objs | 8 ++-
hw/{ => m68k}/an5206.c | 8 +--
hw/{ => m68k}/dummy_m68k.c | 6 +-
hw/{ => m68k}/mcf5206.c | 6 +-
hw/{ => m68k}/mcf5208.c | 10 ++--
hw/{ => m68k}/mcf_intc.c | 4 +-
hw/mac_dbdma.c | 6 +-
hw/mac_nvram.c | 6 +-
hw/macio.c | 10 ++--
hw/marvell_88w8618_audio.c | 8 +--
hw/max111x.c | 2 +-
hw/max7310.c | 2 +-
hw/mc146818rtc.c | 6 +-
hw/mc146818rtc.h | 4 +-
hw/mcf_fec.c | 4 +-
hw/mcf_uart.c | 4 +-
hw/megasas.c | 12 ++--
hw/microblaze/Makefile.objs | 11 ++--
hw/{microblaze_boot.c => microblaze/boot.c} | 4 +-
hw/{ => microblaze}/petalogix_ml605_mmu.c | 22 +++----
hw/{ => microblaze}/petalogix_s3adsp1800_mmu.c | 16 ++---
hw/{microblaze_pic_cpu.c => microblaze/pic_cpu.c} | 4 +-
hw/microblaze_boot.h | 2 +-
hw/milkymist-ac97.c | 4 +-
hw/milkymist-hpdmc.c | 4 +-
hw/milkymist-hw.h | 4 +-
hw/milkymist-memcard.c | 6 +-
hw/milkymist-minimac2.c | 6 +-
hw/milkymist-pfpu.c | 4 +-
hw/milkymist-softusb.c | 6 +-
hw/milkymist-sysctl.c | 6 +-
hw/milkymist-tmu2.c | 4 +-
hw/milkymist-uart.c | 4 +-
hw/milkymist-vgafb.c | 16 ++---
hw/mips/Makefile.objs | 8 ++-
hw/{mips_addr.c => mips/addr.c} | 4 +-
hw/{mips_timer.c => mips/cputimer.c} | 4 +-
hw/{ => mips}/mips_fulong2e.c | 32 +++++-----
hw/{ => mips}/mips_int.c | 4 +-
hw/{ => mips}/mips_jazz.c | 30 +++++-----
hw/{ => mips}/mips_malta.c | 34 +++++------
hw/{ => mips}/mips_mipssim.c | 18 +++---
hw/{ => mips}/mips_r4k.c | 26 ++++----
hw/mipsnet.c | 4 +-
hw/mst_fpga.c | 4 +-
hw/nand.c | 6 +-
hw/ne2000-isa.c | 10 ++--
hw/ne2000.c | 8 +--
hw/omap_clk.c | 4 +-
hw/omap_dma.c | 6 +-
hw/omap_dss.c | 4 +-
hw/omap_gpio.c | 6 +-
hw/omap_gpmc.c | 6 +-
hw/omap_gptimer.c | 4 +-
hw/omap_i2c.c | 8 +--
hw/omap_intc.c | 6 +-
hw/omap_l4.c | 4 +-
hw/omap_lcdc.c | 14 ++---
hw/omap_mmc.c | 6 +-
hw/omap_sdrc.c | 4 +-
hw/omap_spi.c | 4 +-
hw/omap_synctimer.c | 4 +-
hw/omap_tap.c | 4 +-
hw/omap_uart.c | 6 +-
hw/onenand.c | 8 +--
hw/opencores_eth.c | 4 +-
hw/openpic.c | 14 ++---
hw/openrisc/Makefile.objs | 5 +-
hw/{openrisc_timer.c => openrisc/cputimer.c} | 2 +-
hw/{ => openrisc}/openrisc_sim.c | 10 ++--
hw/{openrisc_pic.c => openrisc/pic_cpu.c} | 2 +-
hw/pam.c | 2 +-
hw/parallel.c | 6 +-
hw/pc-testdev.c | 6 +-
hw/pc.h | 6 +-
hw/pc87312.c | 3 +-
hw/pc87312.h | 2 +-
hw/pc_sysfw.c | 11 ++--
hw/pci/shpc.c | 3 +-
hw/pci/slotid_cap.c | 1 +
hw/pci_bridge_dev.c | 12 ++--
hw/pckbd.c | 8 +--
hw/pcnet-pci.c | 6 +-
hw/pcnet.c | 4 +-
hw/pcspk.c | 10 ++--
hw/pcspk.h | 4 +-
hw/pflash_cfi01.c | 6 +-
hw/pflash_cfi02.c | 6 +-
hw/piix4.c | 10 ++--
hw/piix_pci.c | 16 ++---
hw/pl011.c | 2 +-
hw/pl022.c | 4 +-
hw/pl031.c | 2 +-
hw/pl041.c | 6 +-
hw/pl050.c | 4 +-
hw/pl061.c | 2 +-
hw/pl080.c | 2 +-
hw/pl110.c | 14 ++---
hw/pl110_template.h | 12 ++--
hw/pl181.c | 4 +-
hw/pl190.c | 2 +-
hw/pm_smbus.c | 8 +--
hw/ppc/Makefile.objs | 29 ++++-----
hw/ppc/e500-ccsr.h | 2 +-
hw/ppc/e500plat.c | 2 +-
hw/{ => ppc}/mpc8544_guts.c | 4 +-
hw/ppc/mpc8544ds.c | 2 +-
hw/{ => ppc}/ppc.c | 8 +--
hw/{ => ppc}/ppc405_boards.c | 14 ++---
hw/{ => ppc}/ppc405_uc.c | 8 +--
hw/{ => ppc}/ppc440_bamboo.c | 16 ++---
hw/{ => ppc}/ppc4xx_devs.c | 6 +-
hw/{ => ppc}/ppc_booke.c | 8 +--
hw/{ => ppc}/ppce500_spin.c | 4 +-
hw/{ => ppc}/spapr.c | 4 +-
hw/{ => ppc}/spapr_events.c | 0
hw/{ => ppc}/spapr_hcall.c | 0
hw/{ => ppc}/spapr_iommu.c | 4 +-
hw/{ => ppc}/spapr_rtas.c | 0
hw/{ => ppc}/spapr_vio.c | 6 +-
hw/{ => ppc}/virtex_ml507.c | 22 +++----
hw/{ => ppc}/xics.c | 2 +-
hw/ppc405.h | 2 +-
hw/ppc4xx.h | 2 +-
hw/ppc4xx_pci.c | 10 ++--
hw/ppce500_pci.c | 8 +--
hw/prep_pci.c | 10 ++--
hw/ps2.c | 4 +-
hw/ptimer.c | 4 +-
hw/puv3_dma.c | 6 +-
hw/puv3_gpio.c | 6 +-
hw/puv3_intc.c | 4 +-
hw/puv3_ost.c | 6 +-
hw/puv3_pm.c | 6 +-
hw/pxa2xx_dma.c | 6 +-
hw/pxa2xx_keypad.c | 4 +-
hw/pxa2xx_lcd.c | 16 ++---
hw/pxa2xx_mmci.c | 8 +--
hw/pxa2xx_pcmcia.c | 6 +-
hw/pxa2xx_timer.c | 6 +-
hw/q35.c | 4 +-
hw/q35.h | 22 +++----
hw/qdev-addr.c | 5 +-
hw/qdev-properties-system.c | 2 +-
hw/qdev-properties.c | 2 +-
hw/qdev-properties.h | 2 +-
hw/qdev.c | 3 +-
hw/qdev.h | 5 +-
hw/qxl-logger.c | 2 +-
hw/qxl-render.c | 2 +-
hw/qxl.c | 2 +-
hw/qxl.h | 6 +-
hw/rc4030.c | 4 +-
hw/realview_gic.c | 2 +-
hw/rtl8139.c | 6 +-
hw/s390x/event-facility.c | 4 +-
hw/s390x/s390-virtio-ccw.c | 2 +-
hw/s390x/sclp.c | 2 +-
hw/s390x/sclpconsole.c | 5 +-
hw/s390x/sclpquiesce.c | 4 +-
hw/sb16.c | 8 +--
hw/sbi.c | 2 +-
hw/scsi-bus.c | 8 +--
hw/scsi-disk.c | 4 +-
hw/scsi-generic.c | 4 +-
hw/scsi.h | 2 +-
hw/sd.c | 4 +-
hw/sdhci.c | 4 +-
hw/sdhci.h | 4 +-
hw/serial-isa.c | 4 +-
hw/serial-pci.c | 4 +-
hw/serial.c | 2 +-
hw/serial.h | 2 +-
hw/sga.c | 6 +-
hw/sh.h | 2 +-
hw/sh4/Makefile.objs | 6 +-
hw/{ => sh4}/r2d.c | 22 +++----
hw/{ => sh4}/sh7750.c | 10 ++--
hw/{ => sh4}/sh7750_regnames.c | 8 +--
hw/{ => sh4}/shix.c | 8 +--
hw/sh_intc.c | 6 +-
hw/sh_intc.h | 2 +-
hw/sh_pci.c | 8 +--
hw/sh_serial.c | 4 +-
hw/sh_timer.c | 6 +-
hw/slavio_intctl.c | 4 +-
hw/slavio_misc.c | 2 +-
hw/slavio_timer.c | 6 +-
hw/sm501.c | 24 ++++----
hw/smbus.c | 6 +-
hw/smbus.h | 2 +-
hw/smbus_eeprom.c | 6 +-
hw/smbus_ich9.c | 14 ++---
hw/smc91c111.c | 4 +-
hw/soc_dma.c | 2 +-
hw/spapr_llan.c | 2 +-
hw/spapr_pci.c | 10 ++--
hw/spapr_vscsi.c | 8 +--
hw/spapr_vty.c | 2 +-
hw/sparc/Makefile.objs | 6 +-
hw/{ => sparc}/leon3.c | 10 ++--
hw/{ => sparc}/sun4m.c | 30 +++++-----
hw/sparc32_dma.c | 8 +--
hw/sparc64/Makefile.objs | 4 +-
hw/{ => sparc64}/sun4u.c | 26 ++++----
hw/ssd0303.c | 2 +-
hw/ssd0323.c | 2 +-
hw/ssi-sd.c | 4 +-
hw/ssi.c | 2 +-
hw/ssi.h | 2 +-
hw/stellaris_enet.c | 2 +-
hw/stellaris_input.c | 4 +-
hw/stream.c | 2 +-
hw/strongarm.c | 8 +--
hw/sun4c_intctl.c | 6 +-
hw/sun4m.h | 2 +-
hw/sun4m_iommu.c | 4 +-
hw/sysbus.c | 2 +-
hw/sysbus.h | 2 +-
hw/tc58128.c | 6 +-
hw/tc6393xb.c | 16 ++---
hw/tcx.c | 4 +-
hw/tmp105.c | 6 +-
hw/tmp105.h | 4 +-
hw/tpci200.c | 4 +-
hw/tsc2005.c | 4 +-
hw/tsc210x.c | 6 +-
hw/tusb6010.c | 10 ++--
hw/twl92230.c | 4 +-
hw/unicore32/Makefile.objs | 2 -
hw/{ => unicore32}/puv3.c | 10 ++--
hw/unin_pci.c | 8 +--
hw/usb.h | 2 +-
hw/usb/dev-network.c | 1 +
hw/versatile_i2c.c | 4 +-
hw/versatile_pci.c | 6 +-
hw/vfio_pci.c | 6 +-
hw/vga-isa-mm.c | 6 +-
hw/vga-isa.c | 8 +--
hw/vga-pci.c | 8 +--
hw/vga.c | 26 ++++----
hw/vhost.c | 2 +-
hw/vhost_net.c | 6 +-
hw/virtio-balloon.c | 6 +-
hw/virtio-balloon.h | 4 +-
hw/virtio-blk.c | 6 +-
hw/virtio-blk.h | 2 +-
hw/virtio-bus.c | 8 +--
hw/virtio-bus.h | 4 +-
hw/virtio-console.c | 2 +-
hw/virtio-net.c | 6 +-
hw/virtio-net.h | 4 +-
hw/virtio-pci.c | 72 +++++++++++++++++++----
hw/virtio-pci.h | 16 ++---
hw/virtio-rng.c | 7 ++-
hw/virtio-scsi.c | 3 +-
hw/virtio-scsi.h | 4 +-
hw/virtio-serial-bus.c | 4 +-
hw/virtio-serial.h | 4 +-
hw/virtio.c | 4 +-
hw/virtio.h | 10 ++--
hw/vmmouse.c | 8 +--
hw/vmport.c | 8 +--
hw/vmware_vga.c | 8 +--
hw/vt82c686.c | 26 ++++----
hw/wdt_i6300esb.c | 6 +-
hw/wdt_ib700.c | 8 +--
hw/wm8750.c | 4 +-
hw/xen-host-pci-device.c | 2 +-
hw/xen-host-pci-device.h | 2 +-
hw/xen_apic.c | 2 +-
hw/xen_backend.c | 4 +-
hw/xen_backend.h | 2 +-
hw/xen_common.h | 4 +-
hw/xen_console.c | 4 +-
hw/xen_devconfig.c | 2 +-
hw/xen_disk.c | 6 +-
hw/xen_domainbuild.h | 2 +-
hw/xen_nic.c | 4 +-
hw/xen_platform.c | 12 ++--
hw/xen_pt.c | 8 +--
hw/xen_pt.h | 6 +-
hw/xen_pt_config_init.c | 4 +-
hw/xen_pt_msi.c | 6 +-
hw/xenfb.c | 4 +-
hw/xgmac.c | 2 +-
hw/xilinx.h | 3 +-
hw/xilinx_axidma.c | 8 +--
hw/xilinx_axienet.c | 5 +-
hw/xilinx_ethlite.c | 4 +-
hw/xilinx_intc.c | 4 +-
hw/xilinx_spi.c | 6 +-
hw/xilinx_spips.c | 8 +--
hw/xilinx_timer.c | 4 +-
hw/xilinx_uartlite.c | 2 +-
hw/xio3130_downstream.c | 8 +--
hw/xio3130_downstream.h | 2 +-
hw/xio3130_upstream.c | 8 +--
hw/xio3130_upstream.h | 2 +-
hw/xtensa/Makefile.objs | 4 +-
hw/{xtensa_pic.c => xtensa/pic_cpu.c} | 2 +-
hw/{ => xtensa}/xtensa_lx60.c | 12 ++--
hw/{ => xtensa}/xtensa_sim.c | 4 +-
hw/zaurus.c | 6 +-
hw/zynq_slcr.c | 4 +-
{hw => include/char}/baum.h | 0
{hw => include/char}/msmouse.h | 0
include/migration/vmstate.h | 2 +
hw/qdev-monitor.h => include/monitor/qdev.h | 3 +-
hw/fifo.h => include/qemu/fifo8.h | 2 +-
monitor.c | 2 +-
hw/qdev-monitor.c => qdev-monitor.c | 3 +-
qemu-char.c | 4 +-
stubs/Makefile.objs | 1 +
stubs/pci-drive-hot-add.c | 10 ++++
util/Makefile.objs | 1 +
hw/fifo.c => util/fifo8.c | 3 +-
util/qemu-config.c | 1 +
vl.c | 3 +-
541 files changed, 1815 insertions(+), 1788 deletions(-)
rename {hw => backends}/baum.c (99%)
rename {hw => backends}/msmouse.c (99%)
rename hw/device-hotplug.c => device-hotplug.c (88%)
rename hw/{9p.h => 9pfs/virtio-9p-device.h} (85%)
rename hw/{alpha_dp264.c => alpha/dp264.c} (96%)
rename hw/{alpha_pci.c => alpha/pci.c} (98%)
rename hw/{ => arm}/armv7m.c (99%)
rename hw/{arm_boot.c => arm/boot.c} (99%)
rename hw/{ => arm}/collie.c (92%)
rename hw/{ => arm}/exynos4210.c (98%)
rename hw/{ => arm}/exynos4_boards.c (98%)
rename hw/{ => arm}/gumstix.c (97%)
rename hw/{ => arm}/highbank.c (98%)
rename hw/{ => arm}/integratorcp.c (99%)
rename hw/{ => arm}/kzm.c (97%)
rename hw/{ => arm}/mainstone.c (97%)
rename hw/{ => arm}/musicpal.c (99%)
rename hw/{ => arm}/nseries.c (99%)
rename hw/{ => arm}/omap1.c (99%)
rename hw/{ => arm}/omap2.c (99%)
rename hw/{ => arm}/omap_sx1.c (98%)
rename hw/{ => arm}/palm.c (98%)
rename hw/{arm_pic.c => arm/pic_cpu.c} (95%)
rename hw/{ => arm}/pxa2xx.c (99%)
rename hw/{ => arm}/pxa2xx_gpio.c (99%)
rename hw/{ => arm}/pxa2xx_pic.c (99%)
rename hw/{ => arm}/realview.c (98%)
rename hw/{ => arm}/spitz.c (99%)
rename hw/{ => arm}/stellaris.c (99%)
rename hw/{ => arm}/tosa.c (97%)
rename hw/{ => arm}/versatilepb.c (98%)
rename hw/{ => arm}/vexpress.c (99%)
rename hw/{ => arm}/xilinx_zynq.c (98%)
rename hw/{ => arm}/z2.c (98%)
rename hw/{ => cris}/axis_dev88.c (98%)
rename hw/{cris-boot.c => cris/boot.c} (97%)
rename hw/{cris_pic_cpu.c => cris/pic_cpu.c} (96%)
rename hw/{ => i386}/kvmvapic.c (99%)
rename hw/{ => i386}/multiboot.c (99%)
rename hw/{ => i386}/pc.c (98%)
rename hw/{ => i386}/pc_piix.c (98%)
rename hw/{ => i386}/pc_q35.c (97%)
rename hw/{ => i386}/smbios.c (99%)
rename hw/{ => i386}/xen_domainbuild.c (99%)
rename hw/{ => i386}/xen_machine_pv.c (96%)
rename hw/{ => lm32}/lm32_boards.c (98%)
rename hw/{ => lm32}/milkymist.c (97%)
rename hw/{ => m68k}/an5206.c (96%)
rename hw/{ => m68k}/dummy_m68k.c (97%)
rename hw/{ => m68k}/mcf5206.c (99%)
rename hw/{ => m68k}/mcf5208.c (98%)
rename hw/{ => m68k}/mcf_intc.c (98%)
rename hw/{microblaze_boot.c => microblaze/boot.c} (99%)
rename hw/{ => microblaze}/petalogix_ml605_mmu.c (95%)
rename hw/{ => microblaze}/petalogix_s3adsp1800_mmu.c (95%)
rename hw/{microblaze_pic_cpu.c => microblaze/pic_cpu.c} (96%)
rename hw/{mips_addr.c => mips/addr.c} (96%)
rename hw/{mips_timer.c => mips/cputimer.c} (98%)
rename hw/{ => mips}/mips_fulong2e.c (97%)
rename hw/{ => mips}/mips_int.c (97%)
rename hw/{ => mips}/mips_jazz.c (96%)
rename hw/{ => mips}/mips_malta.c (98%)
rename hw/{ => mips}/mips_mipssim.c (97%)
rename hw/{ => mips}/mips_r4k.c (96%)
rename hw/{openrisc_timer.c => openrisc/cputimer.c} (99%)
rename hw/{ => openrisc}/openrisc_sim.c (97%)
rename hw/{openrisc_pic.c => openrisc/pic_cpu.c} (98%)
rename hw/{ => ppc}/mpc8544_guts.c (98%)
rename hw/{ => ppc}/ppc.c (99%)
rename hw/{ => ppc}/ppc405_boards.c (99%)
rename hw/{ => ppc}/ppc405_uc.c (99%)
rename hw/{ => ppc}/ppc440_bamboo.c (98%)
rename hw/{ => ppc}/ppc4xx_devs.c (99%)
rename hw/{ => ppc}/ppc_booke.c (99%)
rename hw/{ => ppc}/ppce500_spin.c (99%)
rename hw/{ => ppc}/spapr.c (99%)
rename hw/{ => ppc}/spapr_events.c (100%)
rename hw/{ => ppc}/spapr_hcall.c (100%)
rename hw/{ => ppc}/spapr_iommu.c (99%)
rename hw/{ => ppc}/spapr_rtas.c (100%)
rename hw/{ => ppc}/spapr_vio.c (99%)
rename hw/{ => ppc}/virtex_ml507.c (97%)
rename hw/{ => ppc}/xics.c (99%)
rename hw/{ => sh4}/r2d.c (97%)
rename hw/{ => sh4}/sh7750.c (99%)
rename hw/{ => sh4}/sh7750_regnames.c (95%)
rename hw/{ => sh4}/shix.c (97%)
rename hw/{ => sparc}/leon3.c (98%)
rename hw/{ => sparc}/sun4m.c (99%)
rename hw/{ => sparc64}/sun4u.c (99%)
rename hw/{ => unicore32}/puv3.c (97%)
rename hw/{xtensa_pic.c => xtensa/pic_cpu.c} (99%)
rename hw/{ => xtensa}/xtensa_lx60.c (98%)
rename hw/{ => xtensa}/xtensa_sim.c (98%)
rename {hw => include/char}/baum.h (100%)
rename {hw => include/char}/msmouse.h (100%)
rename hw/qdev-monitor.h => include/monitor/qdev.h (80%)
rename hw/fifo.h => include/qemu/fifo8.h (98%)
rename hw/qdev-monitor.c => qdev-monitor.c (99%)
create mode 100644 stubs/pci-drive-hot-add.c
rename hw/fifo.c => util/fifo8.c (97%)Signature · 1 line
1.8.1.2
PATCH 1/18 hw: move char backends to backends/
Braille and msmouse support is in hw/, but it is not hardware. Move it to the backends/ directory.
---
backends/Makefile.objs | 4 ++++
{hw => backends}/baum.c | 4 ++--
{hw => backends}/msmouse.c | 2 +-
hw/Makefile.objs | 4 +---
{hw => include/char}/baum.h | 0
{hw => include/char}/msmouse.h | 0
qemu-char.c | 4 ++--
vl.c | 2 +-
8 files changed, 11 insertions(+), 9 deletions(-)
rename {hw => backends}/baum.c (99%)
rename {hw => backends}/msmouse.c (99%)
rename {hw => include/char}/baum.h (100%)
rename {hw => include/char}/msmouse.h (100%)backends/Makefile.objs +4 -0
@@ -1,2 +1,6 @@ common-obj-y += rng.o rng-egd.o common-obj-$(CONFIG_POSIX) += rng-random.o + +common-obj-y += msmouse.o +common-obj-$(CONFIG_BRLAPI) += baum.o +$(obj)/baum.o: QEMU_CFLAGS += $(SDL_CFLAGS)
backends/baum.c renamed from hw/baum.c +2 -2
@@ -24,8 +24,8 @@#include "qemu-common.h" #include "char/char.h" #include "qemu/timer.h" -#include "usb.h" -#include "baum.h" +#include "hw/usb.h" +#include "char/baum.h" #include <brlapi.h> #include <brlapi_constants.h> #include <brlapi_keycodes.h>
backends/msmouse.c renamed from hw/msmouse.c +1 -1
@@ -25,7 +25,7 @@#include "qemu-common.h" #include "char/char.h" #include "ui/console.h" -#include "msmouse.h" +#include "char/msmouse.h" #define MSMOUSE_LO6 (n) ((n) & 0x3f)#define MSMOUSE_HI2 (n) (((n) & 0xc0) >> 6)
hw/Makefile.objs +1 -3
@@ -190,10 +190,9 @@ common-obj-$(CONFIG_SSI_SD) += ssi-sd.o common-obj-$(CONFIG_SD) += sd.o common-obj-y += bt.o bt-l2cap.o bt-sdp.o bt-hci.o bt-hid.o common-obj-y += bt-hci-csr.o -common-obj-y += msmouse.o ps2.o +common-obj-y += ps2.o common-obj-y += qdev-monitor.o common-obj-y += qdev-properties-system.o -common-obj-$(CONFIG_BRLAPI) += baum.o # xen backend driver support common-obj-$(CONFIG_XEN_BACKEND) += xen_backend.o xen_devconfig.o
@@ -218,5 +217,4 @@ obj-$(CONFIG_KVM) += ivshmem.o obj-$(CONFIG_LINUX) += vfio_pci.o endif -$(obj)/baum.o: QEMU_CFLAGS += $(SDL_CFLAGS) endif
include/char/baum.h renamed from hw/baum.h +0 -0
include/char/msmouse.h renamed from hw/msmouse.h +0 -0
qemu-char.c +2 -2
@@ -28,8 +28,8 @@#include "qemu/timer.h" #include "char/char.h" #include "hw/usb.h" -#include "hw/baum.h" -#include "hw/msmouse.h" +#include "char/baum.h" +#include "char/msmouse.h" #include "qmp-commands.h" #include <unistd.h>
vl.c +1 -1
@@ -119,7 +119,7 @@ int main(int argc, char **argv)#include "hw/pcmcia.h" #include "hw/pc.h" #include "hw/isa.h" -#include "hw/baum.h" +#include "char/baum.h" #include "hw/bt.h" #include "hw/watchdog.h" #include "hw/smbios.h"
Signature · 1 line
1.8.1.2
PATCH 2/18 hw: move fifo.[ch] to libqemuutil
In reply to Paolo Bonzinififo.c is generic code that can be easily unit tested. So it belongs in libqemuutil.
--- hw/Makefile.objs | 1 - hw/xilinx_spi.c | 2 +- hw/xilinx_spips.c | 2 +- include/migration/vmstate.h | 2 ++ hw/fifo.h => include/qemu/fifo8.h | 2 +- util/Makefile.objs | 1 + hw/fifo.c => util/fifo8.c | 3 ++- 7 files changed, 8 insertions(+), 5 deletions(-) rename hw/fifo.h => include/qemu/fifo8.h (98%) rename hw/fifo.c => util/fifo8.c (97%)
hw/Makefile.objs +0 -1
@@ -44,7 +44,6 @@ common-obj-$(CONFIG_SMARTCARD_NSS) += ccid-card-emulated.o endif common-obj-$(CONFIG_I8259) += i8259_common.o i8259.o common-obj-$(CONFIG_SDHCI) += sdhci.o -common-obj-y += fifo.o common-obj-y += pam.o # PPC devices
hw/xilinx_spi.c +1 -1
@@ -27,7 +27,7 @@#include "sysbus.h" #include "sysemu/sysemu.h" #include "qemu/log.h" -#include "fifo.h" +#include "qemu/fifo8.h" #include "ssi.h"
hw/xilinx_spips.c +1 -1
@@ -26,7 +26,7 @@#include "sysemu/sysemu.h" #include "ptimer.h" #include "qemu/log.h" -#include "fifo.h" +#include "qemu/fifo8.h" #include "ssi.h" #include "qemu/bitops.h"
include/migration/vmstate.h +2 -0
@@ -26,6 +26,8 @@#ifndef QEMU_VMSTATE_H #define QEMU_VMSTATE_H 1 +#include <migration/qemu-file.h> +typedef void SaveStateHandler (QEMUFile *f,void *opaque);typedef int LoadStateHandler (QEMUFile *f,void *opaque,int version_id);
include/qemu/fifo8.h renamed from hw/fifo.h +1 -1
@@ -1,7 +1,7 @@ #ifndef FIFO_H #define FIFO_H -#include "hw.h" +#include "migration/vmstate.h" typedef struct { /* All fields are private */
util/Makefile.objs +1 -0
@@ -3,6 +3,7 @@ util-obj-$(CONFIG_WIN32) += oslib-win32.o qemu-thread-win32.o event_notifier-win util-obj-$(CONFIG_POSIX) += oslib-posix.o qemu-thread-posix.o event_notifier-posix.o util-obj-y += envlist.o path.o host-utils.o cache-utils.o module.o util-obj-y += bitmap.o bitops.o hbitmap.o +util-obj-y += fifo8.o util-obj-y += acl.o util-obj-y += error.o qemu-error.o util-obj-$(CONFIG_POSIX) += compatfd.o
util/fifo8.c renamed from hw/fifo.c +2 -1
@@ -12,7 +12,8 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "fifo.h" +#include "qemu-common.h" +#include "qemu/fifo8.h" void fifo8_create (Fifo8 *fifo,uint32_t capacity) {
Signature · 1 line
1.8.1.2
PATCH 3/18 hw: move qdev-monitor.o to toplevel directory
In reply to Paolo Bonziniqdev-monitor.c is the only "core qdev" file that is not used in user-mode emulation, and it does not define anything that is used by hardware models. Remove it from the hw/ directory and remove hw/qdev-monitor.h from hw/qdev.h too; this requires some files to have some new explicitly includes.
--- Makefile.objs | 1 + hw/9pfs/virtio-9p-proxy.c | 1 + hw/Makefile.objs | 1 - hw/dataplane/virtio-blk.c | 2 ++ hw/dataplane/vring.c | 1 + hw/pc87312.c | 1 + hw/pc_sysfw.c | 1 + hw/pci/shpc.c | 3 ++- hw/pci/slotid_cap.c | 1 + hw/qdev-addr.c | 1 + hw/qdev.c | 1 + hw/qdev.h | 1 - hw/s390x/sclpconsole.c | 1 + hw/usb/dev-network.c | 1 + hw/virtio-rng.c | 1 + hw/virtio-scsi.c | 1 + hw/xilinx.h | 3 ++- hw/xilinx_axienet.c | 1 + hw/qdev-monitor.h => include/monitor/qdev.h | 3 +-- monitor.c | 2 +- hw/qdev-monitor.c => qdev-monitor.c | 3 ++- util/qemu-config.c | 1 + vl.c | 1 + 23 files changed, 25 insertions(+), 8 deletions(-) rename hw/qdev-monitor.h => include/monitor/qdev.h (80%) rename hw/qdev-monitor.c => qdev-monitor.c (99%)
Makefile.objs +1 -0
@@ -51,6 +51,7 @@ ifeq ($(CONFIG_SOFTMMU),y) common-obj-y = $(block-obj-y) blockdev.o blockdev-nbd.o block/ common-obj-y += net/ common-obj-y += readline.o +common-obj-y += qdev-monitor.o common-obj-$(CONFIG_WIN32) += os-win32.o common-obj-$(CONFIG_POSIX) += os-posix.o
hw/9pfs/virtio-9p-proxy.c +1 -0
@@ -13,6 +13,7 @@#include <sys/un.h> #include "hw/virtio.h" #include "virtio-9p.h" +#include "qemu/error-report.h" #include "fsdev/qemu-fsdev.h" #include "virtio-9p-proxy.h"
hw/Makefile.objs +0 -1
@@ -190,7 +190,6 @@ common-obj-$(CONFIG_SD) += sd.o common-obj-y += bt.o bt-l2cap.o bt-sdp.o bt-hci.o bt-hid.o common-obj-y += bt-hci-csr.o common-obj-y += ps2.o -common-obj-y += qdev-monitor.o common-obj-y += qdev-properties-system.o # xen backend driver support
hw/dataplane/virtio-blk.c +2 -0
@@ -16,9 +16,11 @@#include "qemu/iov.h" #include "event-poll.h" #include "qemu/thread.h" +#include "qemu/error-report.h" #include "vring.h" #include "ioq.h" #include "migration/migration.h" +#include "block/block.h" #include "hw/virtio-blk.h" #include "hw/dataplane/virtio-blk.h"
hw/dataplane/vring.c +1 -0
@@ -16,6 +16,7 @@#include "trace.h" #include "hw/dataplane/vring.h" +#include "qemu/error-report.h" /* Map the guest's vring to host memory */ bool vring_setup (Vring *vring,VirtIODevice *vdev,int n)
hw/pc87312.c +1 -0
@@ -24,6 +24,7 @@*/ #include "pc87312.h" +#include "qemu/error-report.h" #include "sysemu/blockdev.h" #include "sysemu/sysemu.h" #include "char/char.h"
hw/pc_sysfw.c +1 -0
@@ -24,6 +24,7 @@*/ #include "sysemu/blockdev.h" +#include "qemu/error-report.h" #include "sysbus.h" #include "hw.h" #include "pc.h"
hw/pci/shpc.c +2 -1
@@ -1,7 +1,8 @@ +#include "qemu-common.h" #include <strings.h> #include <stdint.h> #include "qemu/range.h" -#include "qemu/range.h" +#include "qemu/error-report.h" #include "hw/pci/shpc.h" #include "hw/pci/pci.h" #include "hw/pci/pci_bus.h"
hw/pci/slotid_cap.c +1 -0
@@ -1,5 +1,6 @@#include "hw/pci/slotid_cap.h" #include "hw/pci/pci.h" +#include "qemu/error-report.h" #define SLOTID_CAP_LENGTH 4#define SLOTID_NSLOTS_SHIFT (ffs(PCI_SID_ESR_NSLOTS) - 1)
hw/qdev-addr.c +1 -0
@@ -1,6 +1,7 @@#include "qdev.h" #include "qdev-addr.h" #include "exec/hwaddr.h" +#include "qapi/qmp/qerror.h" #include "qapi/visitor.h" /* --- target physical address --- */
hw/qdev.c +1 -0
@@ -28,6 +28,7 @@#include "qdev.h" #include "sysemu/sysemu.h" #include "qapi/error.h" +#include "qapi/qmp/qerror.h" #include "qapi/visitor.h" int qdev_hotplug =0 ;
hw/qdev.h +0 -1
@@ -4,6 +4,5 @@#include "hw/hw.h" #include "qdev-core.h" #include "qdev-properties.h" -#include "qdev-monitor.h" #endif
hw/s390x/sclpconsole.c +1 -0
@@ -14,6 +14,7 @@#include <hw/qdev.h> #include "qemu/thread.h" +#include "qemu/error-report.h" #include "sclp.h" #include "event-facility.h"
hw/usb/dev-network.c +1 -0
@@ -27,6 +27,7 @@#include "hw/usb.h" #include "hw/usb/desc.h" #include "net/net.h" +#include "qapi/qmp/qerror.h" #include "qemu/queue.h" #include "qemu/config-file.h" #include "sysemu/sysemu.h"
hw/virtio-rng.c +1 -0
@@ -11,6 +11,7 @@#include "qemu/iov.h" #include "qdev.h" +#include "qapi/qmp/qerror.h" #include "virtio.h" #include "virtio-rng.h" #include "qemu/rng.h"
hw/virtio-scsi.c +1 -0
@@ -14,6 +14,7 @@*/ #include "virtio-scsi.h" +#include "qemu/error-report.h" #include <hw/scsi.h> #include <hw/scsi-defs.h>
hw/xilinx.h +2 -1
@@ -2,8 +2,9 @@#define HW_XILINX_H 1 -#include "stream.h" #include "qemu-common.h" +#include "qapi/qmp/qerror.h" +#include "stream.h" #include "net/net.h" static inline DeviceState *
hw/xilinx_axienet.c +1 -0
@@ -26,6 +26,7 @@#include "qemu/log.h" #include "net/net.h" #include "net/checksum.h" +#include "qapi/qmp/qerror.h" #include "stream.h"
include/monitor/qdev.h renamed from hw/qdev-monitor.h +1 -2
@@ -1,7 +1,7 @@#ifndef QEMU_QDEV_MONITOR_H #define QEMU_QDEV_MONITOR_H -#include "qdev-core.h" +#include "hw/qdev-core.h" #include "monitor/monitor.h" /*** monitor commands ***/
@@ -9,7 +9,6 @@void do_info_qtree (Monitor *mon,const QDict *qdict);void do_info_qdm (Monitor *mon,const QDict *qdict);int do_device_add (Monitor *mon,const QDict *qdict,QObject **ret_data); -int do_device_del (Monitor *mon,const QDict *qdict,QObject **ret_data);int qdev_device_help (QemuOpts *opts);DeviceState *qdev_device_add (QemuOpts *opts);
monitor.c +1 -1
@@ -23,7 +23,7 @@*/ #include <dirent.h> #include "hw/hw.h" -#include "hw/qdev.h" +#include "monitor/qdev.h" #include "hw/usb.h" #include "hw/pcmcia.h" #include "hw/pc.h"
qdev-monitor.c renamed from hw/qdev-monitor.c +2 -1
@@ -17,8 +17,9 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include "qdev.h" +#include "hw/qdev.h" #include "monitor/monitor.h" +#include "monitor/qdev.h" #include "qmp-commands.h" #include "sysemu/arch_init.h" #include "qemu/config-file.h"
util/qemu-config.c +1 -0
@@ -2,6 +2,7 @@#include "qemu/error-report.h" #include "qemu/option.h" #include "qemu/config-file.h" +#include "qapi/qmp/qerror.h" #include "hw/qdev.h" #include "qapi/error.h"
vl.c +1 -0
@@ -126,6 +126,7 @@ int main(int argc, char **argv)#include "hw/xen.h" #include "hw/qdev.h" #include "hw/loader.h" +#include "monitor/qdev.h" #include "bt/bt.h" #include "net/net.h" #include "net/slirp.h"
Signature · 1 line
1.8.1.2
PATCH 4/18 hw: move device-hotplug.o to toplevel, compile it once
In reply to Paolo BonziniThe situation with device-hotplug.c is similar to qdev-monitor.c. Add a stub for pci_drive_hot_add, so that it can be compiled once, and move it out of hw/.
--- Makefile.objs | 2 +- hw/device-hotplug.c => device-hotplug.c | 13 ++----------- hw/Makefile.objs | 1 - stubs/Makefile.objs | 1 + stubs/pci-drive-hot-add.c | 10 ++++++++++ 5 files changed, 14 insertions(+), 13 deletions(-) rename hw/device-hotplug.c => device-hotplug.c (88%) create mode 100644 stubs/pci-drive-hot-add.c
Makefile.objs +1 -1
@@ -51,7 +51,7 @@ ifeq ($(CONFIG_SOFTMMU),y) common-obj-y = $(block-obj-y) blockdev.o blockdev-nbd.o block/ common-obj-y += net/ common-obj-y += readline.o -common-obj-y += qdev-monitor.o +common-obj-y += qdev-monitor.o device-hotplug.o common-obj-$(CONFIG_WIN32) += os-win32.o common-obj-$(CONFIG_POSIX) += os-posix.o
device-hotplug.c renamed from hw/device-hotplug.c +2 -11
@@ -22,8 +22,8 @@* THE SOFTWARE. */ -#include "hw.h" -#include "boards.h" +#include "hw/hw.h" +#include "hw/boards.h" #include "sysemu/blockdev.h" #include "qemu/config-file.h" #include "sysemu/sysemu.h"
@@ -47,15 +47,6 @@ DriveInfo *add_init_drive(const char *optstr)return dinfo; } -#if !defined(TARGET_I386 ) -int pci_drive_hot_add (Monitor *mon,const QDict *qdict,DriveInfo *dinfo) -{ -/* On non-x86 we don't do PCI hotplug */ -monitor_printf (mon,"Can't hot-add drive to type %d\n" , dinfo->type); -return -1 ; -} -#endif -void drive_hot_add (Monitor *mon,const QDict *qdict) {DriveInfo *dinfo =NULL ;
hw/Makefile.objs +0 -1
@@ -206,7 +206,6 @@ obj-$(CONFIG_SOFTMMU) += vhost_net.o obj-$(CONFIG_VHOST_NET) += vhost.o obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/ obj-$(CONFIG_VGA) += vga.o -obj-$(CONFIG_SOFTMMU) += device-hotplug.o obj-$(CONFIG_XEN) += xen_domainbuild.o xen_machine_pv.o # Inter-VM PCI shared memory & VFIO PCI device assignment
stubs/Makefile.objs +1 -0
@@ -15,6 +15,7 @@ stub-obj-y += mon-printf.o stub-obj-y += mon-print-filename.o stub-obj-y += mon-protocol-event.o stub-obj-y += mon-set-error.o +stub-obj-y += pci-drive-hot-add.o stub-obj-y += reset.o stub-obj-y += set-fd-handler.o stub-obj-y += slirp.o
stubs/pci-drive-hot-add.c new file +10 -0
@@ -0,0 +1,10 @@ +#include <monitor/monitor.h> +#include <sysemu/sysemu.h> +#include <sysemu/blockdev.h> + +int pci_drive_hot_add (Monitor *mon,const QDict *qdict,DriveInfo *dinfo) +{ +/* On non-x86 we don't do PCI hotplug */ +monitor_printf (mon,"Can't hot-add drive to type %d\n" , dinfo->type); +return -1 ; +}
Signature · 1 line
1.8.1.2
PATCH 5/18 virtio-9p: use CONFIG_VIRTFS, not CONFIG_LINUX
In reply to Paolo Bonzini--- hw/virtio-pci.h | 2 +- hw/virtio.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
hw/virtio-pci.h +1 -1
@@ -75,7 +75,7 @@ struct VirtIOPCIProxy {VirtIOBlkConf blk;NICConf nic;uint32_t host_features; -#ifdef CONFIG_LINUX +#ifdef CONFIG_VIRTFS V9fsConf fsconf;#endif virtio_serial_conf serial;
hw/virtio.h +2 -2
@@ -19,7 +19,7 @@#include "qdev.h" #include "sysemu/sysemu.h" #include "qemu/event_notifier.h" -#ifdef CONFIG_LINUX +#ifdef CONFIG_VIRTFS #include "9p.h" #endif
@@ -252,7 +252,7 @@ typedef struct VirtIOSCSIConf VirtIOSCSIConf;VirtIODevice *virtio_scsi_init (DeviceState *dev,VirtIOSCSIConf *conf);typedef struct VirtIORNGConf VirtIORNGConf ;VirtIODevice *virtio_rng_init (DeviceState *dev,VirtIORNGConf *conf); -#ifdef CONFIG_LINUX +#ifdef CONFIG_VIRTFS VirtIODevice *virtio_9p_init (DeviceState *dev,V9fsConf *conf);#endif
Signature · 1 line
1.8.1.2
PATCH 6/18 virtio-9p: remove PCI dependencies from hw/9pfs/
In reply to Paolo BonziniAlso move the 9p.h file to 9pfs/virtio-9p-device.h, for consistency with the corresponding .c file.
---
hw/9pfs/virtio-9p-device.c | 53 +-----------------------------------
hw/{9p.h => 9pfs/virtio-9p-device.h} | 4 +--
hw/9pfs/virtio-9p.c | 3 +-
hw/9pfs/virtio-9p.h | 1 -
hw/virtio-pci.c | 50 +++++++++++++++++++++++++++++++++-
hw/virtio-pci.h | 2 +-
hw/virtio.h | 2 +-
7 files changed, 55 insertions(+), 60 deletions(-)
rename hw/{9p.h => 9pfs/virtio-9p-device.h} (85%)hw/9pfs/virtio-9p-device.c +1 -52
@@ -14,9 +14,9 @@#include "hw/virtio.h" #include "hw/pc.h" #include "qemu/sockets.h" -#include "hw/virtio-pci.h" #include "virtio-9p.h" #include "fsdev/qemu-fsdev.h" +#include "virtio-9p-device.h" #include "virtio-9p-xattr.h" #include "virtio-9p-coth.h"
@@ -136,54 +136,3 @@ VirtIODevice *virtio_9p_init(DeviceState *dev, V9fsConf *conf)return &s->vdev; } - -static int virtio_9p_init_pci (PCIDevice *pci_dev) -{ -VirtIOPCIProxy *proxy =DO_UPCAST (VirtIOPCIProxy, pci_dev, pci_dev); -VirtIODevice *vdev; - - vdev =virtio_9p_init (&pci_dev->qdev, &proxy->fsconf); - vdev->nvectors = proxy->nvectors; -virtio_init_pci (proxy, vdev); -/* make the actual value visible */ - proxy->nvectors = vdev->nvectors; -return 0 ; -} - -static Property virtio_9p_properties[] = { -DEFINE_PROP_BIT ("ioeventfd" , VirtIOPCIProxy, flags,VIRTIO_PCI_FLAG_USE_IOEVENTFD_BIT , true), -DEFINE_PROP_UINT32 ("vectors" , VirtIOPCIProxy, nvectors,2 ), -DEFINE_VIRTIO_COMMON_FEATURES (VirtIOPCIProxy, host_features), -DEFINE_PROP_STRING ("mount_tag" , VirtIOPCIProxy, fsconf.tag), -DEFINE_PROP_STRING ("fsdev" , VirtIOPCIProxy, fsconf.fsdev_id), -DEFINE_PROP_END_OF_LIST (), -}; - -static void virtio_9p_class_init (ObjectClass *klass,void *data) -{ -DeviceClass *dc =DEVICE_CLASS (klass); -PCIDeviceClass *k =PCI_DEVICE_CLASS (klass); - - k->init = virtio_9p_init_pci; - k->vendor_id =PCI_VENDOR_ID_REDHAT_QUMRANET ; - k->device_id =PCI_DEVICE_ID_VIRTIO_9P ; - k->revision =VIRTIO_PCI_ABI_VERSION ; - k->class_id =0x2 ; - dc->props = virtio_9p_properties; - dc->reset = virtio_pci_reset; -} - -static const TypeInfo virtio_9p_info = { - .name ="virtio-9p-pci" , - .parent =TYPE_PCI_DEVICE , - .instance_size =sizeof (VirtIOPCIProxy), - .class_init = virtio_9p_class_init, -}; - -static void virtio_9p_register_types (void ) -{ -type_register_static (&virtio_9p_info); -virtio_9p_set_fd_limit (); -} - -type_init (virtio_9p_register_types)
hw/9pfs/virtio-9p-device.h renamed from hw/9p.h +2 -2
@@ -11,8 +11,8 @@* */ -#ifndef QEMU_9P_H -#define QEMU_9P_H +#ifndef QEMU_VIRTIO_9P_DEVICE_H +#define QEMU_VIRTIO_9P_DEVICE_H typedef struct V9fsConf {
hw/9pfs/virtio-9p.c +1 -2
@@ -14,7 +14,6 @@#include "hw/virtio.h" #include "hw/pc.h" #include "qemu/sockets.h" -#include "hw/virtio-pci.h" #include "virtio-9p.h" #include "fsdev/qemu-fsdev.h" #include "virtio-9p-xattr.h"
@@ -3269,7 +3268,7 @@ void handle_9p_output(VirtIODevice *vdev, VirtQueue *vq)free_pdu (s, pdu); } -void virtio_9p_set_fd_limit (void ) +static void __attribute__((__constructor__))virtio_9p_set_fd_limit (void ) {struct rlimit rlim;if (getrlimit (RLIMIT_NOFILE , &rlim) <0 ) {
hw/9pfs/virtio-9p.h +0 -1
@@ -389,7 +389,6 @@ static inline uint8_t v9fs_request_cancelled(V9fsPDU *pdu) }extern void handle_9p_output (VirtIODevice *vdev,VirtQueue *vq); -extern void virtio_9p_set_fd_limit (void );extern void v9fs_reclaim_fd (V9fsPDU *pdu);extern void v9fs_path_init (V9fsPath *path);extern void v9fs_path_free (V9fsPath *path);
hw/virtio-pci.c +49 -1
68 lines not on this page · raw message
hw/virtio-pci.h +1 -1
@@ -22,6 +22,7 @@#include "virtio-serial.h" #include "virtio-scsi.h" #include "virtio-bus.h" +#include "9pfs/virtio-9p-device.h" typedef struct VirtIOPCIProxy VirtIOPCIProxy ;
@@ -90,7 +91,6 @@ struct VirtIOPCIProxy { };void virtio_init_pci (VirtIOPCIProxy *proxy,VirtIODevice *vdev); -void virtio_pci_reset (DeviceState *d);void virtio_pci_bus_new (VirtioBusState *bus,VirtIOPCIProxy *dev);/* Virtio ABI version, if we increment this, we break the guest driver. */
hw/virtio.h +1 -1
@@ -20,7 +20,7 @@#include "sysemu/sysemu.h" #include "qemu/event_notifier.h" #ifdef CONFIG_VIRTFS -#include "9p.h" +#include "9pfs/virtio-9p-device.h" #endif /* from Linux's linux/virtio_config.h */
Signature · 1 line
1.8.1.2
PATCH 7/18 vt82c686: vt82c686 is not a PCI host bridge
In reply to Paolo Bonzini--- hw/vt82c686.c | 2 -- 1 file changed, 2 deletions(-)
hw/vt82c686.c +0 -2
@@ -26,8 +26,6 @@#include "qemu/timer.h" #include "exec/address-spaces.h" -typedef uint32_t pci_addr_t ; -#include "pci/pci_host.h" //#define DEBUG_VT82C686B #ifdef DEBUG_VT82C686B
Signature · 1 line
1.8.1.2
PATCH 8/18 ppc: do not use ../ in include files
In reply to Paolo BonziniThis simplifies the scripted execution of the next patch.
--- hw/ppc/e500-ccsr.h | 2 +- hw/ppc/e500plat.c | 2 +- hw/ppc/mpc8544ds.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
hw/ppc/e500-ccsr.h +1 -1
@@ -1,7 +1,7 @@ #ifndef E500_CCSR_H #define E500_CCSR_H -#include "../sysbus.h" +#include "hw/sysbus.h" typedef struct PPCE500CCSRState { /*< private >*/
hw/ppc/e500plat.c +1 -1
@@ -12,7 +12,7 @@#include "config.h" #include "qemu-common.h" #include "e500.h" -#include "../boards.h" +#include "hw/boards.h" #include "sysemu/device_tree.h" #include "hw/pci/pci.h" #include "hw/openpic.h"
hw/ppc/mpc8544ds.c +1 -1
@@ -12,7 +12,7 @@#include "config.h" #include "qemu-common.h" #include "e500.h" -#include "../boards.h" +#include "hw/boards.h" #include "sysemu/device_tree.h" #include "hw/openpic.h"
Signature · 1 line
1.8.1.2
PATCH 9/18 hw: include hw header files with full paths
In reply to Paolo BonziniDone with this script:
cd hw
for i in find . -name '*.h' | sed 's/^..//'; do
echo '\,^#.*include.*["<]'$i'[">], s,'$i',hw/&,'
done | sed -i -f - find . -type f
This is so that paths remain valid as files are moved.
Instead, files in hw/dataplane are referenced with the relative path. We know they are not going to move to include/, and they are the only include files that are in subdirectories _and_ move.
--- hw/a15mpcore.c | 2 +- hw/a9mpcore.c | 2 +- hw/a9scu.c | 2 +- hw/ac97.c | 6 +++--- hw/acpi.c | 6 +++--- hw/acpi_ich9.c | 10 +++++----- hw/acpi_ich9.h | 2 +- hw/acpi_piix4.c | 14 +++++++------- hw/adb.c | 4 ++-- hw/adb.h | 2 +- hw/adlib.c | 8 ++++---- hw/ads7846.c | 2 +- hw/alpha_dp264.c | 16 ++++++++-------- hw/alpha_pci.c | 2 +- hw/alpha_sys.h | 10 +++++----- hw/alpha_typhoon.c | 6 +++--- hw/an5206.c | 8 ++++---- hw/apb_pci.c | 12 ++++++------ hw/apic.c | 12 ++++++------ hw/apic_common.c | 4 ++-- hw/apic_internal.h | 2 +- hw/apm.c | 6 +++--- hw/apm.h | 2 +- hw/applesmc.c | 4 ++-- hw/arm11mpcore.c | 2 +- hw/arm_boot.c | 8 ++++---- hw/arm_gic.c | 4 ++-- hw/arm_gic_common.c | 2 +- hw/arm_gic_internal.h | 2 +- hw/arm_l2x0.c | 2 +- hw/arm_mptimer.c | 2 +- hw/arm_pic.c | 4 ++-- hw/arm_sysctl.c | 6 +++--- hw/arm_timer.c | 6 +++--- hw/armv7m.c | 6 +++--- hw/armv7m_nvic.c | 6 +++--- hw/axis_dev88.c | 12 ++++++------ hw/bitbang_i2c.c | 6 +++--- hw/bitbang_i2c.h | 2 +- hw/blizzard.c | 14 +++++++------- hw/boards.h | 2 +- hw/bonito.c | 10 +++++----- hw/bt-hci-csr.c | 4 ++-- hw/bt-hci.c | 4 ++-- hw/bt-hid.c | 4 ++-- hw/bt-l2cap.c | 2 +- hw/bt-sdp.c | 2 +- hw/bt.c | 2 +- hw/cadence_gem.c | 2 +- hw/cadence_ttc.c | 2 +- hw/cadence_uart.c | 2 +- hw/cbus.c | 4 ++-- hw/ccid.h | 2 +- hw/cdrom.c | 2 +- hw/cirrus_vga.c | 44 +++++++++++++++++++++---------------------- hw/cirrus_vga_rop.h | 8 ++++---- hw/collie.c | 14 +++++++------- hw/cris-boot.c | 6 +++--- hw/cris_pic_cpu.c | 6 +++--- hw/cs4231.c | 2 +- hw/cs4231a.c | 8 ++++---- hw/cuda.c | 6 +++--- hw/dataplane/event-poll.c | 2 +- hw/dataplane/ioq.c | 2 +- hw/dataplane/virtio-blk.c | 2 +- hw/dataplane/vring.c | 2 +- hw/dataplane/vring.h | 2 +- hw/debugcon.c | 6 +++--- hw/debugexit.c | 4 ++-- hw/dec_pci.c | 12 ++++++------ hw/dma.c | 4 ++-- hw/dp8393x.c | 4 ++-- hw/ds1225y.c | 2 +- hw/ds1338.c | 2 +- hw/dummy_m68k.c | 6 +++--- hw/e1000.c | 8 ++++---- hw/ecc.c | 4 ++-- hw/eccmemctl.c | 2 +- hw/eepro100.c | 6 +++--- hw/eeprom93xx.c | 4 ++-- hw/empty_slot.c | 6 +++--- hw/es1370.c | 6 +++--- hw/escc.c | 6 +++--- hw/esp-pci.c | 6 +++--- hw/esp.c | 4 ++-- hw/esp.h | 2 +- hw/etraxfs.h | 2 +- hw/etraxfs_dma.c | 4 ++-- hw/etraxfs_eth.c | 4 ++-- hw/etraxfs_pic.c | 4 ++-- hw/etraxfs_ser.c | 2 +- hw/etraxfs_timer.c | 4 ++-- hw/exynos4210.c | 12 ++++++------ hw/exynos4210_combiner.c | 4 ++-- hw/exynos4210_fimd.c | 2 +- hw/exynos4210_gic.c | 6 +++--- hw/exynos4210_i2c.c | 4 ++-- hw/exynos4210_mct.c | 6 +++--- hw/exynos4210_pmu.c | 2 +- hw/exynos4210_pwm.c | 6 +++--- hw/exynos4210_rtc.c | 8 ++++---- hw/exynos4210_uart.c | 4 ++-- hw/exynos4_boards.c | 8 ++++---- hw/fdc.c | 10 +++++----- hw/fmopl.c | 2 +- hw/framebuffer.c | 4 ++-- hw/fw_cfg.c | 8 ++++---- hw/g364fb.c | 4 ++-- hw/grackle_pci.c | 6 +++--- hw/grlib.h | 4 ++-- hw/grlib_apbuart.c | 2 +- hw/grlib_gptimer.c | 4 ++-- hw/grlib_irqmp.c | 4 ++-- hw/gt64xxx.c | 10 +++++----- hw/gumstix.c | 10 +++++----- hw/gus.c | 10 +++++----- hw/gusemu_hal.c | 4 ++-- hw/gusemu_mixer.c | 4 ++-- hw/hda-audio.c | 8 ++++---- hw/heathrow_pic.c | 4 ++-- hw/hid.c | 4 ++-- hw/highbank.c | 12 ++++++------ hw/hpet.c | 12 ++++++------ hw/hw.h | 2 +- hw/i2c.c | 2 +- hw/i2c.h | 2 +- hw/i82374.c | 2 +- hw/i82378.c | 8 ++++---- hw/i8254.c | 10 +++++----- hw/i8254.h | 4 ++-- hw/i8254_common.c | 10 +++++----- hw/i8254_internal.h | 6 +++--- hw/i8259.c | 8 ++++---- hw/i8259_common.c | 4 ++-- hw/i8259_internal.h | 6 +++--- hw/i82801b11.c | 4 ++-- hw/ich9.h | 26 ++++++++++++------------- hw/ide.h | 4 ++-- hw/imx_avic.c | 4 ++-- hw/imx_ccm.c | 6 +++--- hw/imx_serial.c | 6 +++--- hw/imx_timer.c | 8 ++++---- hw/integratorcp.c | 8 ++++---- hw/intel-hda.c | 12 ++++++------ hw/intel-hda.h | 2 +- hw/ioapic.c | 10 +++++----- hw/ioapic_common.c | 6 +++--- hw/ioapic_internal.h | 4 ++-- hw/ioh3420.c | 8 ++++---- hw/ioh3420.h | 2 +- hw/ipack.c | 2 +- hw/ipack.h | 2 +- hw/ipoctal232.c | 2 +- hw/irq.c | 2 +- hw/isa-bus.c | 6 +++--- hw/isa.h | 2 +- hw/isa_mmio.c | 4 ++-- hw/ivshmem.c | 8 ++++---- hw/jazz_led.c | 2 +- hw/kvmvapic.c | 2 +- hw/kzm.c | 14 +++++++------- hw/lan9118.c | 6 +++--- hw/lance.c | 6 +++--- hw/leon3.c | 10 +++++----- hw/lm32_boards.c | 16 ++++++++-------- hw/lm32_hwsetup.h | 2 +- hw/lm32_juart.c | 6 +++--- hw/lm32_pic.c | 8 ++++---- hw/lm32_sys.c | 4 ++-- hw/lm32_timer.c | 6 +++--- hw/lm32_uart.c | 4 ++-- hw/lm4549.c | 4 ++-- hw/lm832x.c | 4 ++-- hw/loader.c | 12 ++++++------ hw/lpc_ich9.c | 28 +++++++++++++-------------- hw/lsi53c895a.c | 6 +++--- hw/m25p80.c | 6 +++--- hw/m48t59.c | 8 ++++---- hw/mac_dbdma.c | 6 +++--- hw/mac_nvram.c | 6 +++--- hw/macio.c | 10 +++++----- hw/mainstone.c | 14 +++++++------- hw/marvell_88w8618_audio.c | 8 ++++---- hw/max111x.c | 2 +- hw/max7310.c | 2 +- hw/mc146818rtc.c | 6 +++--- hw/mc146818rtc.h | 4 ++-- hw/mcf5206.c | 6 +++--- hw/mcf5208.c | 10 +++++----- hw/mcf_fec.c | 4 ++-- hw/mcf_intc.c | 4 ++-- hw/mcf_uart.c | 4 ++-- hw/megasas.c | 12 ++++++------ hw/microblaze_boot.c | 4 ++-- hw/microblaze_boot.h | 2 +- hw/microblaze_pic_cpu.c | 4 ++-- hw/milkymist-ac97.c | 4 ++-- hw/milkymist-hpdmc.c | 4 ++-- hw/milkymist-hw.h | 4 ++-- hw/milkymist-memcard.c | 6 +++--- hw/milkymist-minimac2.c | 6 +++--- hw/milkymist-pfpu.c | 4 ++-- hw/milkymist-softusb.c | 6 +++--- hw/milkymist-sysctl.c | 6 +++--- hw/milkymist-tmu2.c | 4 ++-- hw/milkymist-uart.c | 4 ++-- hw/milkymist-vgafb.c | 16 ++++++++-------- hw/milkymist.c | 16 ++++++++-------- hw/mips_addr.c | 4 ++-- hw/mips_fulong2e.c | 32 +++++++++++++++---------------- hw/mips_int.c | 4 ++-- hw/mips_jazz.c | 30 ++++++++++++++--------------- hw/mips_malta.c | 34 ++++++++++++++++----------------- hw/mips_mipssim.c | 18 +++++++++--------- hw/mips_r4k.c | 26 ++++++++++++------------- hw/mips_timer.c | 4 ++-- hw/mipsnet.c | 4 ++-- hw/mpc8544_guts.c | 4 ++-- hw/mst_fpga.c | 4 ++-- hw/multiboot.c | 8 ++++---- hw/musicpal.c | 16 ++++++++-------- hw/nand.c | 6 +++--- hw/ne2000-isa.c | 10 +++++----- hw/ne2000.c | 8 ++++---- hw/nseries.c | 22 +++++++++++----------- hw/omap1.c | 10 +++++----- hw/omap2.c | 12 ++++++------ hw/omap_clk.c | 4 ++-- hw/omap_dma.c | 6 +++--- hw/omap_dss.c | 4 ++-- hw/omap_gpio.c | 6 +++--- hw/omap_gpmc.c | 6 +++--- hw/omap_gptimer.c | 4 ++-- hw/omap_i2c.c | 8 ++++---- hw/omap_intc.c | 6 +++--- hw/omap_l4.c | 4 ++-- hw/omap_lcdc.c | 14 +++++++------- hw/omap_mmc.c | 6 +++--- hw/omap_sdrc.c | 4 ++-- hw/omap_spi.c | 4 ++-- hw/omap_sx1.c | 10 +++++----- hw/omap_synctimer.c | 4 ++-- hw/omap_tap.c | 4 ++-- hw/omap_uart.c | 6 +++--- hw/onenand.c | 8 ++++---- hw/opencores_eth.c | 4 ++-- hw/openpic.c | 14 +++++++------- hw/openrisc_pic.c | 2 +- hw/openrisc_sim.c | 10 +++++----- hw/openrisc_timer.c | 2 +- hw/palm.c | 12 ++++++------ hw/pam.c | 2 +- hw/parallel.c | 6 +++--- hw/pc-testdev.c | 6 +++--- hw/pc.c | 36 +++++++++++++++++------------------ hw/pc.h | 6 +++--- hw/pc87312.c | 2 +- hw/pc87312.h | 2 +- hw/pc_piix.c | 24 +++++++++++------------ hw/pc_q35.c | 16 ++++++++-------- hw/pc_sysfw.c | 10 +++++----- hw/pci_bridge_dev.c | 12 ++++++------ hw/pckbd.c | 8 ++++---- hw/pcnet-pci.c | 6 +++--- hw/pcnet.c | 4 ++-- hw/pcspk.c | 10 +++++----- hw/pcspk.h | 4 ++-- hw/petalogix_ml605_mmu.c | 22 +++++++++++----------- hw/petalogix_s3adsp1800_mmu.c | 16 ++++++++-------- hw/pflash_cfi01.c | 6 +++--- hw/pflash_cfi02.c | 6 +++--- hw/piix4.c | 10 +++++----- hw/piix_pci.c | 16 ++++++++-------- hw/pl011.c | 2 +- hw/pl022.c | 4 ++-- hw/pl031.c | 2 +- hw/pl041.c | 6 +++--- hw/pl050.c | 4 ++-- hw/pl061.c | 2 +- hw/pl080.c | 2 +- hw/pl110.c | 14 +++++++------- hw/pl110_template.h | 12 ++++++------ hw/pl181.c | 4 ++-- hw/pl190.c | 2 +- hw/pm_smbus.c | 8 ++++---- hw/ppc.c | 8 ++++---- hw/ppc405.h | 2 +- hw/ppc405_boards.c | 14 +++++++------- hw/ppc405_uc.c | 8 ++++---- hw/ppc440_bamboo.c | 16 ++++++++-------- hw/ppc4xx.h | 2 +- hw/ppc4xx_devs.c | 6 +++--- hw/ppc4xx_pci.c | 10 +++++----- hw/ppc_booke.c | 8 ++++---- hw/ppce500_pci.c | 8 ++++---- hw/ppce500_spin.c | 4 ++-- hw/prep_pci.c | 10 +++++----- hw/ps2.c | 4 ++-- hw/ptimer.c | 4 ++-- hw/puv3.c | 10 +++++----- hw/puv3_dma.c | 6 +++--- hw/puv3_gpio.c | 6 +++--- hw/puv3_intc.c | 4 ++-- hw/puv3_ost.c | 6 +++--- hw/puv3_pm.c | 6 +++--- hw/pxa2xx.c | 10 +++++----- hw/pxa2xx_dma.c | 6 +++--- hw/pxa2xx_gpio.c | 6 +++--- hw/pxa2xx_keypad.c | 4 ++-- hw/pxa2xx_lcd.c | 16 ++++++++-------- hw/pxa2xx_mmci.c | 8 ++++---- hw/pxa2xx_pcmcia.c | 6 +++--- hw/pxa2xx_pic.c | 6 +++--- hw/pxa2xx_timer.c | 6 +++--- hw/q35.c | 4 ++-- hw/q35.h | 22 +++++++++++----------- hw/qdev-addr.c | 4 ++-- hw/qdev-properties-system.c | 2 +- hw/qdev-properties.c | 2 +- hw/qdev-properties.h | 2 +- hw/qdev.c | 2 +- hw/qdev.h | 4 ++-- hw/qxl-logger.c | 2 +- hw/qxl-render.c | 2 +- hw/qxl.c | 2 +- hw/qxl.h | 6 +++--- hw/r2d.c | 22 +++++++++++----------- hw/rc4030.c | 4 ++-- hw/realview.c | 14 +++++++------- hw/realview_gic.c | 2 +- hw/rtl8139.c | 6 +++--- hw/s390x/event-facility.c | 4 ++-- hw/s390x/s390-virtio-ccw.c | 2 +- hw/s390x/sclp.c | 2 +- hw/s390x/sclpconsole.c | 4 ++-- hw/s390x/sclpquiesce.c | 4 ++-- hw/sb16.c | 8 ++++---- hw/sbi.c | 2 +- hw/scsi-bus.c | 8 ++++---- hw/scsi-disk.c | 4 ++-- hw/scsi-generic.c | 4 ++-- hw/scsi.h | 2 +- hw/sd.c | 4 ++-- hw/sdhci.c | 4 ++-- hw/sdhci.h | 4 ++-- hw/serial-isa.c | 4 ++-- hw/serial-pci.c | 4 ++-- hw/serial.c | 2 +- hw/serial.h | 2 +- hw/sga.c | 6 +++--- hw/sh.h | 2 +- hw/sh7750.c | 10 +++++----- hw/sh7750_regnames.c | 8 ++++---- hw/sh_intc.c | 6 +++--- hw/sh_intc.h | 2 +- hw/sh_pci.c | 8 ++++---- hw/sh_serial.c | 4 ++-- hw/sh_timer.c | 6 +++--- hw/shix.c | 8 ++++---- hw/slavio_intctl.c | 4 ++-- hw/slavio_misc.c | 2 +- hw/slavio_timer.c | 6 +++--- hw/sm501.c | 24 +++++++++++------------ hw/smbios.c | 4 ++-- hw/smbus.c | 6 +++--- hw/smbus.h | 2 +- hw/smbus_eeprom.c | 6 +++--- hw/smbus_ich9.c | 14 +++++++------- hw/smc91c111.c | 4 ++-- hw/soc_dma.c | 2 +- hw/spapr.c | 4 ++-- hw/spapr_iommu.c | 4 ++-- hw/spapr_llan.c | 2 +- hw/spapr_pci.c | 10 +++++----- hw/spapr_vio.c | 6 +++--- hw/spapr_vscsi.c | 8 ++++---- hw/spapr_vty.c | 2 +- hw/sparc32_dma.c | 8 ++++---- hw/spitz.c | 22 +++++++++++----------- hw/ssd0303.c | 2 +- hw/ssd0323.c | 2 +- hw/ssi-sd.c | 4 ++-- hw/ssi.c | 2 +- hw/ssi.h | 2 +- hw/stellaris.c | 12 ++++++------ hw/stellaris_enet.c | 2 +- hw/stellaris_input.c | 4 ++-- hw/stream.c | 2 +- hw/strongarm.c | 8 ++++---- hw/sun4c_intctl.c | 6 +++--- hw/sun4m.c | 30 ++++++++++++++--------------- hw/sun4m.h | 2 +- hw/sun4m_iommu.c | 4 ++-- hw/sun4u.c | 26 ++++++++++++------------- hw/sysbus.c | 2 +- hw/sysbus.h | 2 +- hw/tc58128.c | 6 +++--- hw/tc6393xb.c | 16 ++++++++-------- hw/tcx.c | 4 ++-- hw/tmp105.c | 6 +++--- hw/tmp105.h | 4 ++-- hw/tosa.c | 20 ++++++++++---------- hw/tpci200.c | 4 ++-- hw/tsc2005.c | 4 ++-- hw/tsc210x.c | 6 +++--- hw/tusb6010.c | 10 +++++----- hw/twl92230.c | 4 ++-- hw/unin_pci.c | 8 ++++---- hw/usb.h | 2 +- hw/versatile_i2c.c | 4 ++-- hw/versatile_pci.c | 6 +++--- hw/versatilepb.c | 14 +++++++------- hw/vexpress.c | 12 ++++++------ hw/vfio_pci.c | 6 +++--- hw/vga-isa-mm.c | 6 +++--- hw/vga-isa.c | 8 ++++---- hw/vga-pci.c | 8 ++++---- hw/vga.c | 26 ++++++++++++------------- hw/vhost.c | 2 +- hw/vhost_net.c | 6 +++--- hw/virtex_ml507.c | 22 +++++++++++----------- hw/virtio-balloon.c | 6 +++--- hw/virtio-balloon.h | 4 ++-- hw/virtio-blk.c | 6 +++--- hw/virtio-blk.h | 2 +- hw/virtio-bus.c | 8 ++++---- hw/virtio-bus.h | 4 ++-- hw/virtio-console.c | 2 +- hw/virtio-net.c | 6 +++--- hw/virtio-net.h | 4 ++-- hw/virtio-pci.c | 22 +++++++++++----------- hw/virtio-pci.h | 14 +++++++------- hw/virtio-rng.c | 6 +++--- hw/virtio-scsi.c | 2 +- hw/virtio-scsi.h | 4 ++-- hw/virtio-serial-bus.c | 4 ++-- hw/virtio-serial.h | 4 ++-- hw/virtio.c | 4 ++-- hw/virtio.h | 6 +++--- hw/vmmouse.c | 8 ++++---- hw/vmport.c | 8 ++++---- hw/vmware_vga.c | 8 ++++---- hw/vt82c686.c | 24 +++++++++++------------ hw/wdt_i6300esb.c | 6 +++--- hw/wdt_ib700.c | 8 ++++---- hw/wm8750.c | 4 ++-- hw/xen-host-pci-device.c | 2 +- hw/xen-host-pci-device.h | 2 +- hw/xen_apic.c | 2 +- hw/xen_backend.c | 4 ++-- hw/xen_backend.h | 2 +- hw/xen_common.h | 4 ++-- hw/xen_console.c | 4 ++-- hw/xen_devconfig.c | 2 +- hw/xen_disk.c | 6 +++--- hw/xen_domainbuild.c | 4 ++-- hw/xen_domainbuild.h | 2 +- hw/xen_machine_pv.c | 10 +++++----- hw/xen_nic.c | 4 ++-- hw/xen_platform.c | 12 ++++++------ hw/xen_pt.c | 8 ++++---- hw/xen_pt.h | 6 +++--- hw/xen_pt_config_init.c | 4 ++-- hw/xen_pt_msi.c | 6 +++--- hw/xenfb.c | 4 ++-- hw/xgmac.c | 2 +- hw/xics.c | 2 +- hw/xilinx.h | 2 +- hw/xilinx_axidma.c | 8 ++++---- hw/xilinx_axienet.c | 4 ++-- hw/xilinx_ethlite.c | 4 ++-- hw/xilinx_intc.c | 4 ++-- hw/xilinx_spi.c | 4 ++-- hw/xilinx_spips.c | 6 +++--- hw/xilinx_timer.c | 4 ++-- hw/xilinx_uartlite.c | 2 +- hw/xilinx_zynq.c | 12 ++++++------ hw/xio3130_downstream.c | 8 ++++---- hw/xio3130_downstream.h | 2 +- hw/xio3130_upstream.c | 8 ++++---- hw/xio3130_upstream.h | 2 +- hw/xtensa_lx60.c | 12 ++++++------ hw/xtensa_pic.c | 2 +- hw/xtensa_sim.c | 4 ++-- hw/z2.c | 16 ++++++++-------- hw/zaurus.c | 6 +++--- hw/zynq_slcr.c | 4 ++-- 487 files changed, 1604 insertions(+), 1604 deletions(-)
hw/a15mpcore.c +1 -1
@@ -18,7 +18,7 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "sysbus.h" +#include "hw/sysbus.h" /* A15MP private memory region. */
hw/a9mpcore.c +1 -1
@@ -8,7 +8,7 @@* This code is licensed under the GPL. */ -#include "sysbus.h" +#include "hw/sysbus.h" typedef struct A9MPPrivState { SysBusDevice busdev;
hw/a9scu.c +1 -1
@@ -8,7 +8,7 @@* This code is licensed under the GPL. */ -#include "sysbus.h" +#include "hw/sysbus.h" /* A9MP private memory region. */
hw/ac97.c +3 -3
@@ -17,10 +17,10 @@* GNU GPL, version 2 or (at your option) any later version. */ -#include "hw.h" -#include "audiodev.h" +#include "hw/hw.h" +#include "hw/audiodev.h" #include "audio/audio.h" -#include "pci/pci.h" +#include "hw/pci/pci.h" #include "sysemu/dma.h" enum {
hw/acpi.c +3 -3
@@ -19,9 +19,9 @@* GNU GPL, version 2 or (at your option) any later version. */ #include "sysemu/sysemu.h" -#include "hw.h" -#include "pc.h" -#include "acpi.h" +#include "hw/hw.h" +#include "hw/pc.h" +#include "hw/acpi.h" #include "monitor/monitor.h" struct acpi_table_header {
hw/acpi_ich9.c +5 -5
@@ -23,16 +23,16 @@* Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ -#include "hw.h" -#include "pc.h" -#include "pci/pci.h" +#include "hw/hw.h" +#include "hw/pc.h" +#include "hw/pci/pci.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" -#include "acpi.h" +#include "hw/acpi.h" #include "sysemu/kvm.h" #include "exec/address-spaces.h" -#include "ich9.h" +#include "hw/ich9.h" //#define DEBUG
hw/acpi_ich9.h +1 -1
@@ -21,7 +21,7 @@ #ifndef HW_ACPI_ICH9_H #define HW_ACPI_ICH9_H -#include "acpi.h" +#include "hw/acpi.h" typedef struct ICH9LPCPMRegs { /*
hw/acpi_piix4.c +7 -7
@@ -18,16 +18,16 @@* Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ -#include "hw.h" -#include "pc.h" -#include "apm.h" -#include "pm_smbus.h" -#include "pci/pci.h" -#include "acpi.h" +#include "hw/hw.h" +#include "hw/pc.h" +#include "hw/apm.h" +#include "hw/pm_smbus.h" +#include "hw/pci/pci.h" +#include "hw/acpi.h" #include "sysemu/sysemu.h" #include "qemu/range.h" #include "exec/ioport.h" -#include "fw_cfg.h" +#include "hw/fw_cfg.h" #include "exec/address-spaces.h" //#define DEBUG
hw/adb.c +2 -2
@@ -21,8 +21,8 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "adb.h" +#include "hw/hw.h" +#include "hw/adb.h" #include "ui/console.h" /* debug ADB */
hw/adb.h +1 -1
@@ -26,7 +26,7 @@#if !defined(__ADB_H__)#define __ADB_H__ -#include "qdev.h" +#include "hw/qdev.h" #define MAX_ADB_DEVICES 16
hw/adlib.c +4 -4
@@ -22,10 +22,10 @@* THE SOFTWARE. */ -#include "hw.h" -#include "audiodev.h" +#include "hw/hw.h" +#include "hw/audiodev.h" #include "audio/audio.h" -#include "isa.h" +#include "hw/isa.h" //#define DEBUG
@@ -47,7 +47,7 @@void YMF262UpdateOneQEMU (int which,INT16 *dst,int length);#define SHIFT 2#else -#include "fmopl.h" +#include "hw/fmopl.h" #define SHIFT 1#endif
hw/ads7846.c +1 -1
@@ -10,7 +10,7 @@* GNU GPL, version 2 or (at your option) any later version. */ -#include "ssi.h" +#include "hw/ssi.h" #include "ui/console.h" typedef struct {
hw/alpha_dp264.c +8 -8
@@ -6,16 +6,16 @@* that we need to emulate as well. */ -#include "hw.h" +#include "hw/hw.h" #include "elf.h" -#include "loader.h" -#include "boards.h" -#include "alpha_sys.h" +#include "hw/loader.h" +#include "hw/boards.h" +#include "hw/alpha_sys.h" #include "sysemu/sysemu.h" -#include "mc146818rtc.h" -#include "ide.h" -#include "i8254.h" -#include "serial.h" +#include "hw/mc146818rtc.h" +#include "hw/ide.h" +#include "hw/i8254.h" +#include "hw/serial.h" #define MAX_IDE_BUS 2
hw/alpha_pci.c +1 -1
@@ -7,7 +7,7 @@*/ #include "config.h" -#include "alpha_sys.h" +#include "hw/alpha_sys.h" #include "qemu/log.h" #include "sysemu/sysemu.h"
hw/alpha_sys.h +5 -5
@@ -3,11 +3,11 @@#ifndef HW_ALPHA_H #define HW_ALPHA_H 1 -#include "pci/pci.h" -#include "pci/pci_host.h" -#include "ide.h" -#include "pc.h" -#include "irq.h" +#include "hw/pci/pci.h" +#include "hw/pci/pci_host.h" +#include "hw/ide.h" +#include "hw/pc.h" +#include "hw/irq.h" PCIBus *typhoon_init(ram_addr_t, ISABus **, qemu_irq *, AlphaCPU *[4],
hw/alpha_typhoon.c +3 -3
@@ -8,10 +8,10 @@#include "cpu.h" #include "exec/exec-all.h" -#include "hw.h" -#include "devices.h" +#include "hw/hw.h" +#include "hw/devices.h" #include "sysemu/sysemu.h" -#include "alpha_sys.h" +#include "hw/alpha_sys.h" #include "exec/address-spaces.h"
hw/an5206.c +4 -4
@@ -6,10 +6,10 @@* This code is licensed under the GPL */ -#include "hw.h" -#include "mcf.h" -#include "boards.h" -#include "loader.h" +#include "hw/hw.h" +#include "hw/mcf.h" +#include "hw/boards.h" +#include "hw/loader.h" #include "elf.h" #include "exec/address-spaces.h"
hw/apb_pci.c +6 -6
@@ -26,12 +26,12 @@Ultrasparc PCI host is called the PCI Bus Module (PBM). The APB is the secondary PCI bridge. */ -#include "sysbus.h" -#include "pci/pci.h" -#include "pci/pci_host.h" -#include "pci/pci_bridge.h" -#include "pci/pci_bus.h" -#include "apb_pci.h" +#include "hw/sysbus.h" +#include "hw/pci/pci.h" +#include "hw/pci/pci_host.h" +#include "hw/pci/pci_bridge.h" +#include "hw/pci/pci_bus.h" +#include "hw/apb_pci.h" #include "sysemu/sysemu.h" #include "exec/address-spaces.h"
hw/apic.c +6 -6
@@ -17,14 +17,14 @@* License along with this library; if not, see <http://www.gnu.org/licenses/> */ #include "qemu/thread.h" -#include "apic_internal.h" -#include "apic.h" -#include "ioapic.h" -#include "pci/msi.h" +#include "hw/apic_internal.h" +#include "hw/apic.h" +#include "hw/ioapic.h" +#include "hw/pci/msi.h" #include "qemu/host-utils.h" #include "trace.h" -#include "pc.h" -#include "apic-msidef.h" +#include "hw/pc.h" +#include "hw/apic-msidef.h" #define MAX_APIC_WORDS 8
hw/apic_common.c +2 -2
@@ -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 "apic.h" -#include "apic_internal.h" +#include "hw/apic.h" +#include "hw/apic_internal.h" #include "trace.h" #include "sysemu/kvm.h"
hw/apic_internal.h +1 -1
@@ -21,7 +21,7 @@#define QEMU_APIC_INTERNAL_H #include "exec/memory.h" -#include "sysbus.h" +#include "hw/sysbus.h" #include "qemu/timer.h" /* APIC Local Vector Table */
hw/apm.c +3 -3
@@ -20,9 +20,9 @@* GNU GPL, version 2 or (at your option) any later version. */ -#include "apm.h" -#include "hw.h" -#include "pci/pci.h" +#include "hw/apm.h" +#include "hw/hw.h" +#include "hw/pci/pci.h" //#define DEBUG
hw/apm.h +1 -1
@@ -3,7 +3,7 @@#include <stdint.h> #include "qemu-common.h" -#include "hw.h" +#include "hw/hw.h" #include "exec/memory.h" typedef void (*apm_ctrl_changed_t )(uint32_t val,void *arg);
hw/applesmc.c +2 -2
@@ -30,8 +30,8 @@* */ -#include "hw.h" -#include "isa.h" +#include "hw/hw.h" +#include "hw/isa.h" #include "ui/console.h" #include "qemu/timer.h"
hw/arm11mpcore.c +1 -1
@@ -7,7 +7,7 @@* This code is licensed under the GPL. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "qemu/timer.h" /* MPCore private memory region. */
hw/arm_boot.c +4 -4
@@ -8,11 +8,11 @@*/ #include "config.h" -#include "hw.h" -#include "arm-misc.h" +#include "hw/hw.h" +#include "hw/arm-misc.h" #include "sysemu/sysemu.h" -#include "boards.h" -#include "loader.h" +#include "hw/boards.h" +#include "hw/loader.h" #include "elf.h" #include "sysemu/device_tree.h" #include "qemu/config-file.h"
hw/arm_gic.c +2 -2
@@ -18,8 +18,8 @@* armv7m_nvic device. */ -#include "sysbus.h" -#include "arm_gic_internal.h" +#include "hw/sysbus.h" +#include "hw/arm_gic_internal.h" //#define DEBUG_GIC
hw/arm_gic_common.c +1 -1
@@ -18,7 +18,7 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "arm_gic_internal.h" +#include "hw/arm_gic_internal.h" static void gic_save (QEMUFile *f,void *opaque) {
hw/arm_gic_internal.h +1 -1
@@ -21,7 +21,7 @@#ifndef QEMU_ARM_GIC_INTERNAL_H #define QEMU_ARM_GIC_INTERNAL_H -#include "sysbus.h" +#include "hw/sysbus.h" /* Maximum number of possible interrupts, determined by the GIC architecture */ #define GIC_MAXIRQ 1020
hw/arm_l2x0.c +1 -1
@@ -18,7 +18,7 @@* */ -#include "sysbus.h" +#include "hw/sysbus.h" /* L2C-310 r3p2 */ #define CACHE_ID 0x410000c8
hw/arm_mptimer.c +1 -1
@@ -19,7 +19,7 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "qemu/timer.h" /* This device implements the per-cpu private timer and watchdog block
hw/arm_pic.c +2 -2
@@ -7,8 +7,8 @@* This code is licensed under the LGPL */ -#include "hw.h" -#include "arm-misc.h" +#include "hw/hw.h" +#include "hw/arm-misc.h" /* Input 0 is IRQ and input 1 is FIQ. */ static void arm_pic_cpu_handler (void *opaque,int irq,int level)
hw/arm_sysctl.c +3 -3
@@ -7,10 +7,10 @@* This code is licensed under the GPL. */ -#include "hw.h" +#include "hw/hw.h" #include "qemu/timer.h" -#include "sysbus.h" -#include "primecell.h" +#include "hw/sysbus.h" +#include "hw/primecell.h" #include "sysemu/sysemu.h" #define LOCK_VALUE 0xa05f
hw/arm_timer.c +3 -3
@@ -7,11 +7,11 @@* This code is licensed under the GPL. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "qemu/timer.h" #include "qemu-common.h" -#include "qdev.h" -#include "ptimer.h" +#include "hw/qdev.h" +#include "hw/ptimer.h" /* Common timer implementation. */
hw/armv7m.c +3 -3
@@ -7,9 +7,9 @@* This code is licensed under the GPL. */ -#include "sysbus.h" -#include "arm-misc.h" -#include "loader.h" +#include "hw/sysbus.h" +#include "hw/arm-misc.h" +#include "hw/loader.h" #include "elf.h" /* Bitbanded IO. Each word corresponds to a single bit. */
hw/armv7m_nvic.c +3 -3
@@ -10,11 +10,11 @@* NVIC. Much of that is also implemented here. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "qemu/timer.h" -#include "arm-misc.h" +#include "hw/arm-misc.h" #include "exec/address-spaces.h" -#include "arm_gic_internal.h" +#include "hw/arm_gic_internal.h" typedef struct { GICState gic;
hw/axis_dev88.c +6 -6
@@ -22,14 +22,14 @@* THE SOFTWARE. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "net/net.h" -#include "flash.h" -#include "boards.h" -#include "etraxfs.h" -#include "loader.h" +#include "hw/flash.h" +#include "hw/boards.h" +#include "hw/etraxfs.h" +#include "hw/loader.h" #include "elf.h" -#include "cris-boot.h" +#include "hw/cris-boot.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h"
hw/bitbang_i2c.c +3 -3
@@ -9,9 +9,9 @@* Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ -#include "hw.h" -#include "bitbang_i2c.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/bitbang_i2c.h" +#include "hw/sysbus.h" //#define DEBUG_BITBANG_I2C
hw/bitbang_i2c.h +1 -1
@@ -1,7 +1,7 @@#ifndef BITBANG_I2C_H #define BITBANG_I2C_H -#include "i2c.h" +#include "hw/i2c.h" typedef struct bitbang_i2c_interface bitbang_i2c_interface ;
hw/blizzard.c +7 -7
@@ -20,8 +20,8 @@#include "qemu-common.h" #include "ui/console.h" -#include "devices.h" -#include "vga_int.h" +#include "hw/devices.h" +#include "hw/vga_int.h" #include "ui/pixel_ops.h" typedef void (*blizzard_fn_t )(uint8_t *,const uint8_t *,unsigned int );
@@ -941,15 +941,15 @@ static void blizzard_screen_dump(void *opaque, const char *filename, }#define DEPTH 8 -#include "blizzard_template.h" +#include "hw/blizzard_template.h" #define DEPTH 15 -#include "blizzard_template.h" +#include "hw/blizzard_template.h" #define DEPTH 16 -#include "blizzard_template.h" +#include "hw/blizzard_template.h" #define DEPTH 24 -#include "blizzard_template.h" +#include "hw/blizzard_template.h" #define DEPTH 32 -#include "blizzard_template.h" +#include "hw/blizzard_template.h" void *s1d13745_init (qemu_irq gpio_int) {
hw/boards.h +1 -1
@@ -4,7 +4,7 @@#define HW_BOARDS_H #include "sysemu/blockdev.h" -#include "qdev.h" +#include "hw/qdev.h" #define DEFAULT_MACHINE_OPTIONS \ .boot_order = "cad"
hw/bonito.c +5 -5
@@ -39,11 +39,11 @@#include <assert.h> -#include "hw.h" -#include "pci/pci.h" -#include "pc.h" -#include "mips.h" -#include "pci/pci_host.h" +#include "hw/hw.h" +#include "hw/pci/pci.h" +#include "hw/pc.h" +#include "hw/mips.h" +#include "hw/pci/pci_host.h" #include "sysemu/sysemu.h" #include "exec/address-spaces.h"
hw/bt-hci-csr.c +2 -2
@@ -21,9 +21,9 @@#include "qemu-common.h" #include "char/char.h" #include "qemu/timer.h" -#include "irq.h" +#include "hw/irq.h" #include "bt/bt.h" -#include "bt.h" +#include "hw/bt.h" struct csrhci_s {int enable;
hw/bt-hci.c +2 -2
@@ -20,9 +20,9 @@#include "qemu-common.h" #include "qemu/timer.h" -#include "usb.h" +#include "hw/usb.h" #include "bt/bt.h" -#include "bt.h" +#include "hw/bt.h" struct bt_hci_s {uint8_t *(*evt_packet)(void *opaque);
hw/bt-hid.c +2 -2
@@ -21,8 +21,8 @@#include "qemu-common.h" #include "qemu/timer.h" #include "ui/console.h" -#include "hid.h" -#include "bt.h" +#include "hw/hid.h" +#include "hw/bt.h" enum hid_transaction_req {BT_HANDSHAKE =0x0 ,
hw/bt-l2cap.c +1 -1
@@ -19,7 +19,7 @@#include "qemu-common.h" #include "qemu/timer.h" -#include "bt.h" +#include "hw/bt.h" #define L2CAP_CID_MAX 0x100/* Between 0x40 and 0x10000 */
hw/bt-sdp.c +1 -1
@@ -18,7 +18,7 @@*/ #include "qemu-common.h" -#include "bt.h" +#include "hw/bt.h" struct bt_l2cap_sdp_state_s {struct bt_l2cap_conn_params_s *channel;
hw/bt.c +1 -1
@@ -19,7 +19,7 @@#include "qemu-common.h" #include "bt/bt.h" -#include "bt.h" +#include "hw/bt.h" /* Slave implementations can ignore this */ static void bt_dummy_lmp_mode_change (struct bt_link_s *link)
hw/cadence_gem.c +1 -1
@@ -24,7 +24,7 @@#include <zlib.h> /* For crc32 */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "net/net.h" #include "net/checksum.h"
hw/cadence_ttc.c +1 -1
@@ -16,7 +16,7 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "qemu/timer.h" #ifdef CADENCE_TTC_ERR_DEBUG
hw/cadence_uart.c +1 -1
@@ -16,7 +16,7 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "char/char.h" #include "qemu/timer.h"
hw/cbus.c +2 -2
@@ -21,8 +21,8 @@*/ #include "qemu-common.h" -#include "irq.h" -#include "devices.h" +#include "hw/irq.h" +#include "hw/devices.h" #include "sysemu/sysemu.h" //#define DEBUG
hw/ccid.h +1 -1
@@ -10,7 +10,7 @@#ifndef CCID_H #define CCID_H -#include "qdev.h" +#include "hw/qdev.h" typedef struct CCIDCardState CCIDCardState ;typedef struct CCIDCardInfo CCIDCardInfo ;
hw/cdrom.c +1 -1
@@ -26,7 +26,7 @@here. */ #include "qemu-common.h" -#include "scsi.h" +#include "hw/scsi.h" static void lba_to_msf (uint8_t *buf,int lba) {
hw/cirrus_vga.c +22 -22
109 lines not on this page · raw message
hw/cirrus_vga_rop.h +4 -4
@@ -191,16 +191,16 @@ glue(glue(cirrus_bitblt_rop_bkwd_transp_, ROP_NAME),_16)(CirrusVGAState *s, }#define DEPTH 8 -#include "cirrus_vga_rop2.h" +#include "hw/cirrus_vga_rop2.h" #define DEPTH 16 -#include "cirrus_vga_rop2.h" +#include "hw/cirrus_vga_rop2.h" #define DEPTH 24 -#include "cirrus_vga_rop2.h" +#include "hw/cirrus_vga_rop2.h" #define DEPTH 32 -#include "cirrus_vga_rop2.h" +#include "hw/cirrus_vga_rop2.h" #undef ROP_NAME#undef ROP_OP
hw/collie.c +7 -7
@@ -8,13 +8,13 @@* Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ -#include "hw.h" -#include "sysbus.h" -#include "boards.h" -#include "devices.h" -#include "strongarm.h" -#include "arm-misc.h" -#include "flash.h" +#include "hw/hw.h" +#include "hw/sysbus.h" +#include "hw/boards.h" +#include "hw/devices.h" +#include "hw/strongarm.h" +#include "hw/arm-misc.h" +#include "hw/flash.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h"
hw/cris-boot.c +3 -3
@@ -22,10 +22,10 @@* THE SOFTWARE. */ -#include "hw.h" -#include "loader.h" +#include "hw/hw.h" +#include "hw/loader.h" #include "elf.h" -#include "cris-boot.h" +#include "hw/cris-boot.h" static void main_cpu_reset (void *opaque) {
hw/cris_pic_cpu.c +3 -3
@@ -22,9 +22,9 @@* THE SOFTWARE. */ -#include "sysbus.h" -#include "hw.h" -#include "etraxfs.h" +#include "hw/sysbus.h" +#include "hw/hw.h" +#include "hw/etraxfs.h" #define D (x)
hw/cs4231.c +1 -1
@@ -22,7 +22,7 @@* THE SOFTWARE. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "trace.h" /*
hw/cs4231a.c +4 -4
@@ -21,11 +21,11 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "audiodev.h" +#include "hw/hw.h" +#include "hw/audiodev.h" #include "audio/audio.h" -#include "isa.h" -#include "qdev.h" +#include "hw/isa.h" +#include "hw/qdev.h" #include "qemu/timer.h" /*
hw/cuda.c +3 -3
@@ -22,9 +22,9 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "ppc/mac.h" -#include "adb.h" +#include "hw/hw.h" +#include "hw/ppc/mac.h" +#include "hw/adb.h" #include "qemu/timer.h" #include "sysemu/sysemu.h"
hw/dataplane/event-poll.c +1 -1
@@ -13,7 +13,7 @@*/ #include <sys/epoll.h> -#include "hw/dataplane/event-poll.h" +#include "event-poll.h" /* Add an event notifier and its callback for polling */ void event_poll_add(EventPoll *poll, EventHandler *handler,
hw/dataplane/ioq.c +1 -1
@@ -12,7 +12,7 @@* */ -#include "hw/dataplane/ioq.h" +#include "ioq.h" void ioq_init (IOQueue *ioq,int fd,unsigned int max_reqs) {
hw/dataplane/virtio-blk.c +1 -1
@@ -22,7 +22,7 @@#include "migration/migration.h" #include "block/block.h" #include "hw/virtio-blk.h" -#include "hw/dataplane/virtio-blk.h" +#include "virtio-blk.h" enum {SEG_MAX =126 ,/* maximum number of I/O segments */
hw/dataplane/vring.c +1 -1
@@ -15,7 +15,7 @@*/ #include "trace.h" -#include "hw/dataplane/vring.h" +#include "vring.h" #include "qemu/error-report.h" /* Map the guest's vring to host memory */
hw/dataplane/vring.h +1 -1
@@ -19,7 +19,7 @@#include <linux/virtio_ring.h> #include "qemu-common.h" -#include "hw/dataplane/hostmem.h" +#include "hostmem.h" #include "hw/virtio.h" typedef struct {
hw/debugcon.c +3 -3
@@ -24,10 +24,10 @@* THE SOFTWARE. */ -#include "hw.h" +#include "hw/hw.h" #include "char/char.h" -#include "isa.h" -#include "pc.h" +#include "hw/isa.h" +#include "hw/pc.h" #define TYPE_ISA_DEBUGCON_DEVICE "isa-debugcon"#define ISA_DEBUGCON_DEVICE (obj) \
hw/debugexit.c +2 -2
@@ -7,8 +7,8 @@* (at your option) any later version. */ -#include "hw.h" -#include "isa.h" +#include "hw/hw.h" +#include "hw/isa.h" #define TYPE_ISA_DEBUG_EXIT_DEVICE "isa-debug-exit"#define ISA_DEBUG_EXIT_DEVICE (obj) \
hw/dec_pci.c +6 -6
@@ -23,12 +23,12 @@* THE SOFTWARE. */ -#include "dec_pci.h" -#include "sysbus.h" -#include "pci/pci.h" -#include "pci/pci_host.h" -#include "pci/pci_bridge.h" -#include "pci/pci_bus.h" +#include "hw/dec_pci.h" +#include "hw/sysbus.h" +#include "hw/pci/pci.h" +#include "hw/pci/pci_host.h" +#include "hw/pci/pci_bridge.h" +#include "hw/pci/pci_bus.h" /* debug DEC */ //#define DEBUG_DEC
hw/dma.c +2 -2
@@ -21,8 +21,8 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "isa.h" +#include "hw/hw.h" +#include "hw/isa.h" #include "qemu/main-loop.h" /* #define DEBUG_DMA */
hw/dp8393x.c +2 -2
@@ -17,10 +17,10 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "hw.h" +#include "hw/hw.h" #include "qemu/timer.h" #include "net/net.h" -#include "mips.h" +#include "hw/mips.h" //#define DEBUG_SONIC
hw/ds1225y.c +1 -1
@@ -22,7 +22,7 @@* THE SOFTWARE. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "trace.h" typedef struct {
hw/ds1338.c +1 -1
@@ -10,7 +10,7 @@* GNU GPL, version 2 or (at your option) any later version. */ -#include "i2c.h" +#include "hw/i2c.h" /* Size of NVRAM including both the user-accessible area and the * secondary register area.
hw/dummy_m68k.c +3 -3
@@ -6,9 +6,9 @@* This code is licensed under the GPL */ -#include "hw.h" -#include "boards.h" -#include "loader.h" +#include "hw/hw.h" +#include "hw/boards.h" +#include "hw/loader.h" #include "elf.h" #include "exec/address-spaces.h"
hw/e1000.c +4 -4
@@ -25,15 +25,15 @@*/ -#include "hw.h" -#include "pci/pci.h" +#include "hw/hw.h" +#include "hw/pci/pci.h" #include "net/net.h" #include "net/checksum.h" -#include "loader.h" +#include "hw/loader.h" #include "sysemu/sysemu.h" #include "sysemu/dma.h" -#include "e1000_hw.h" +#include "hw/e1000_hw.h" #define E1000_DEBUG
hw/ecc.c +2 -2
@@ -11,8 +11,8 @@* GNU GPL, version 2 or (at your option) any later version. */ -#include "hw.h" -#include "flash.h" +#include "hw/hw.h" +#include "hw/flash.h" /* * Pre-calculated 256-way 1 byte column parity. Table borrowed from Linux.
hw/eccmemctl.c +1 -1
@@ -22,7 +22,7 @@* THE SOFTWARE. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "trace.h" /* There are 3 versions of this chip used in SMP sun4m systems:
hw/eepro100.c +3 -3
@@ -41,10 +41,10 @@*/ #include <stddef.h> /* offsetof */ -#include "hw.h" -#include "pci/pci.h" +#include "hw/hw.h" +#include "hw/pci/pci.h" #include "net/net.h" -#include "eeprom93xx.h" +#include "hw/eeprom93xx.h" #include "sysemu/sysemu.h" #include "sysemu/dma.h"
hw/eeprom93xx.c +2 -2
@@ -35,8 +35,8 @@* - No emulation of EEPROM timings. */ -#include "hw.h" -#include "eeprom93xx.h" +#include "hw/hw.h" +#include "hw/eeprom93xx.h" /* Debug EEPROM emulation. */ //~ #define DEBUG_EEPROM
hw/empty_slot.c +3 -3
@@ -9,9 +9,9 @@* version. */ -#include "hw.h" -#include "sysbus.h" -#include "empty_slot.h" +#include "hw/hw.h" +#include "hw/sysbus.h" +#include "hw/empty_slot.h" //#define DEBUG_EMPTY_SLOT
hw/es1370.c +3 -3
@@ -26,10 +26,10 @@/* #define VERBOSE_ES1370 */ #define SILENT_ES1370 -#include "hw.h" -#include "audiodev.h" +#include "hw/hw.h" +#include "hw/audiodev.h" #include "audio/audio.h" -#include "pci/pci.h" +#include "hw/pci/pci.h" #include "sysemu/dma.h" /* Missing stuff:
hw/escc.c +3 -3
@@ -22,9 +22,9 @@* THE SOFTWARE. */ -#include "hw.h" -#include "sysbus.h" -#include "escc.h" +#include "hw/hw.h" +#include "hw/sysbus.h" +#include "hw/escc.h" #include "char/char.h" #include "ui/console.h" #include "trace.h"
hw/esp-pci.c +3 -3
@@ -23,9 +23,9 @@* THE SOFTWARE. */ -#include "pci/pci.h" -#include "eeprom93xx.h" -#include "esp.h" +#include "hw/pci/pci.h" +#include "hw/eeprom93xx.h" +#include "hw/esp.h" #include "trace.h" #include "qemu/log.h"
hw/esp.c +2 -2
@@ -23,8 +23,8 @@* THE SOFTWARE. */ -#include "sysbus.h" -#include "esp.h" +#include "hw/sysbus.h" +#include "hw/esp.h" #include "trace.h" #include "qemu/log.h"
hw/esp.h +1 -1
@@ -1,7 +1,7 @@#ifndef QEMU_HW_ESP_H #define QEMU_HW_ESP_H -#include "scsi.h" +#include "hw/scsi.h" /* esp.c */ #define ESP_MAX_DEVS 7
hw/etraxfs.h +1 -1
@@ -26,7 +26,7 @@#define HW_EXTRAXFS_H 1#include "net/net.h" -#include "etraxfs_dma.h" +#include "hw/etraxfs_dma.h" qemu_irq *cris_pic_init_cpu (CPUCRISState *env);
hw/etraxfs_dma.c +2 -2
@@ -23,12 +23,12 @@*/ #include <stdio.h> #include <sys/time.h> -#include "hw.h" +#include "hw/hw.h" #include "exec/address-spaces.h" #include "qemu-common.h" #include "sysemu/sysemu.h" -#include "etraxfs_dma.h" +#include "hw/etraxfs_dma.h" #define D (x)
hw/etraxfs_eth.c +2 -2
@@ -23,9 +23,9 @@*/ #include <stdio.h> -#include "sysbus.h" +#include "hw/sysbus.h" #include "net/net.h" -#include "etraxfs.h" +#include "hw/etraxfs.h" #define D (x)
hw/etraxfs_pic.c +2 -2
@@ -22,8 +22,8 @@* THE SOFTWARE. */ -#include "sysbus.h" -#include "hw.h" +#include "hw/sysbus.h" +#include "hw/hw.h" //#include "pc.h" //#include "etraxfs.h"
hw/etraxfs_ser.c +1 -1
@@ -22,7 +22,7 @@* THE SOFTWARE. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "char/char.h" #include "qemu/log.h"
hw/etraxfs_timer.c +2 -2
@@ -21,10 +21,10 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "sysemu/sysemu.h" #include "qemu/timer.h" -#include "ptimer.h" +#include "hw/ptimer.h" #define D (x)
hw/exynos4210.c +6 -6
@@ -21,13 +21,13 @@* */ -#include "boards.h" +#include "hw/boards.h" #include "sysemu/sysemu.h" -#include "sysbus.h" -#include "arm-misc.h" -#include "loader.h" -#include "exynos4210.h" -#include "usb/hcd-ehci.h" +#include "hw/sysbus.h" +#include "hw/arm-misc.h" +#include "hw/loader.h" +#include "hw/exynos4210.h" +#include "hw/usb/hcd-ehci.h" #define EXYNOS4210_CHIPID_ADDR 0x10000000
hw/exynos4210_combiner.c +2 -2
@@ -27,9 +27,9 @@* IRQs are passed to GIC through Combiner. */ -#include "sysbus.h" +#include "hw/sysbus.h" -#include "exynos4210.h" +#include "hw/exynos4210.h" //#define DEBUG_COMBINER
hw/exynos4210_fimd.c +1 -1
@@ -24,7 +24,7 @@#include "qemu-common.h" #include "exec/cpu-all.h" -#include "sysbus.h" +#include "hw/sysbus.h" #include "ui/console.h" #include "ui/pixel_ops.h" #include "qemu/bswap.h"
hw/exynos4210_gic.c +3 -3
@@ -20,10 +20,10 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "qemu-common.h" -#include "irq.h" -#include "exynos4210.h" +#include "hw/irq.h" +#include "hw/exynos4210.h" enum ExtGicId {EXT_GIC_ID_MDMA_LCD0 =66 ,
hw/exynos4210_i2c.c +2 -2
@@ -21,8 +21,8 @@*/ #include "qemu/timer.h" -#include "sysbus.h" -#include "i2c.h" +#include "hw/sysbus.h" +#include "hw/i2c.h" #ifndef EXYNOS4_I2C_DEBUG #define EXYNOS4_I2C_DEBUG 0
hw/exynos4210_mct.c +3 -3
@@ -52,12 +52,12 @@* there is no way to avoid frequently events). */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "qemu/timer.h" #include "qemu-common.h" -#include "ptimer.h" +#include "hw/ptimer.h" -#include "exynos4210.h" +#include "hw/exynos4210.h" //#define DEBUG_MCT
hw/exynos4210_pmu.c +1 -1
@@ -24,7 +24,7 @@* uses PMU INFORM5 register as a holding pen. */ -#include "sysbus.h" +#include "hw/sysbus.h" #ifndef DEBUG_PMU #define DEBUG_PMU 0
hw/exynos4210_pwm.c +3 -3
@@ -20,12 +20,12 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "qemu/timer.h" #include "qemu-common.h" -#include "ptimer.h" +#include "hw/ptimer.h" -#include "exynos4210.h" +#include "hw/exynos4210.h" //#define DEBUG_PWM
hw/exynos4210_rtc.c +4 -4
@@ -25,16 +25,16 @@* CLKOUTEN Bit[9] not used */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "qemu/timer.h" #include "qemu-common.h" -#include "ptimer.h" +#include "hw/ptimer.h" -#include "hw.h" +#include "hw/hw.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" -#include "exynos4210.h" +#include "hw/exynos4210.h" #define DEBUG_RTC 0
hw/exynos4210_uart.c +2 -2
@@ -19,11 +19,11 @@* */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "sysemu/sysemu.h" #include "char/char.h" -#include "exynos4210.h" +#include "hw/exynos4210.h" #undef DEBUG_UART#undef DEBUG_UART_EXTEND
hw/exynos4_boards.c +4 -4
@@ -22,12 +22,12 @@*/ #include "sysemu/sysemu.h" -#include "sysbus.h" +#include "hw/sysbus.h" #include "net/net.h" -#include "arm-misc.h" +#include "hw/arm-misc.h" #include "exec/address-spaces.h" -#include "exynos4210.h" -#include "boards.h" +#include "hw/exynos4210.h" +#include "hw/boards.h" #undef DEBUG
hw/fdc.c +5 -5
@@ -27,13 +27,13 @@* way. There are changes in DOR register and DMA is not available. */ -#include "hw.h" -#include "fdc.h" +#include "hw/hw.h" +#include "hw/fdc.h" #include "qemu/error-report.h" #include "qemu/timer.h" -#include "isa.h" -#include "sysbus.h" -#include "qdev-addr.h" +#include "hw/isa.h" +#include "hw/sysbus.h" +#include "hw/qdev-addr.h" #include "sysemu/blockdev.h" #include "sysemu/sysemu.h" #include "qemu/log.h"
hw/fmopl.c +1 -1
@@ -39,7 +39,7 @@#include <stdarg.h> #include <math.h> //#include "driver.h" /* use M.A.M.E. */ -#include "fmopl.h" +#include "hw/fmopl.h" #ifndef PI #define PI 3.14159265358979323846
hw/framebuffer.c +2 -2
@@ -17,9 +17,9 @@- Remove all DisplayState knowledge from devices. */ -#include "hw.h" +#include "hw/hw.h" #include "ui/console.h" -#include "framebuffer.h" +#include "hw/framebuffer.h" /* Render an image from a shared memory framebuffer. */
hw/fw_cfg.c +4 -4
@@ -21,11 +21,11 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" +#include "hw/hw.h" #include "sysemu/sysemu.h" -#include "isa.h" -#include "fw_cfg.h" -#include "sysbus.h" +#include "hw/isa.h" +#include "hw/fw_cfg.h" +#include "hw/sysbus.h" #include "trace.h" #include "qemu/error-report.h" #include "qemu/config-file.h"
hw/g364fb.c +2 -2
@@ -17,11 +17,11 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "hw.h" +#include "hw/hw.h" #include "ui/console.h" #include "ui/pixel_ops.h" #include "trace.h" -#include "sysbus.h" +#include "hw/sysbus.h" typedef struct G364State { /* hardware */
hw/grackle_pci.c +3 -3
@@ -23,9 +23,9 @@* THE SOFTWARE. */ -#include "pci/pci_host.h" -#include "ppc/mac.h" -#include "pci/pci.h" +#include "hw/pci/pci_host.h" +#include "hw/ppc/mac.h" +#include "hw/pci/pci.h" /* debug Grackle */ //#define DEBUG_GRACKLE
hw/grlib.h +2 -2
@@ -25,8 +25,8 @@#ifndef _GRLIB_H_#define _GRLIB_H_ -#include "qdev.h" -#include "sysbus.h" +#include "hw/qdev.h" +#include "hw/sysbus.h" /* Emulation of GrLib device is base on the GRLIB IP Core User's Manual: * http://www.gaisler.com/products/grlib/grip.pdf
hw/grlib_apbuart.c +1 -1
@@ -22,7 +22,7 @@* THE SOFTWARE. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "char/char.h" #include "trace.h"
hw/grlib_gptimer.c +2 -2
@@ -22,9 +22,9 @@* THE SOFTWARE. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "qemu/timer.h" -#include "ptimer.h" +#include "hw/ptimer.h" #include "trace.h"
hw/grlib_irqmp.c +2 -2
@@ -24,10 +24,10 @@* THE SOFTWARE. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "cpu.h" -#include "grlib.h" +#include "hw/grlib.h" #include "trace.h"
hw/gt64xxx.c +5 -5
@@ -22,11 +22,11 @@* THE SOFTWARE. */ -#include "hw.h" -#include "mips.h" -#include "pci/pci.h" -#include "pci/pci_host.h" -#include "pc.h" +#include "hw/hw.h" +#include "hw/mips.h" +#include "hw/pci/pci.h" +#include "hw/pci/pci_host.h" +#include "hw/pc.h" #include "exec/address-spaces.h" //#define DEBUG
hw/gumstix.c +5 -5
@@ -34,12 +34,12 @@* # qemu-system-arm -M verdex -pflash flash -monitor null -nographic -m 289 */ -#include "hw.h" -#include "pxa.h" +#include "hw/hw.h" +#include "hw/pxa.h" #include "net/net.h" -#include "flash.h" -#include "devices.h" -#include "boards.h" +#include "hw/flash.h" +#include "hw/devices.h" +#include "hw/boards.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h"
hw/gus.c +5 -5
@@ -21,12 +21,12 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "audiodev.h" +#include "hw/hw.h" +#include "hw/audiodev.h" #include "audio/audio.h" -#include "isa.h" -#include "gusemu.h" -#include "gustate.h" +#include "hw/isa.h" +#include "hw/gusemu.h" +#include "hw/gustate.h" #define dolog (...) AUD_log ("audio", __VA_ARGS__)#ifdef DEBUG
hw/gusemu_hal.c +2 -2
@@ -26,8 +26,8 @@* TODO: check mixer: see 7.20 of sdk for panning pos (applies to all gus models?)? */ -#include "gustate.h" -#include "gusemu.h" +#include "hw/gustate.h" +#include "hw/gusemu.h" #define GUSregb (position) (* (gusptr+(position)))#define GUSregw (position) (*(GUSword *) (gusptr+(position)))
hw/gusemu_mixer.c +2 -2
@@ -22,8 +22,8 @@* THE SOFTWARE. */ -#include "gusemu.h" -#include "gustate.h" +#include "hw/gusemu.h" +#include "hw/gustate.h" #define GUSregb (position) (* (gusptr+(position)))#define GUSregw (position) (*(GUSword *) (gusptr+(position)))
hw/hda-audio.c +4 -4
@@ -17,10 +17,10 @@* along with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "hw.h" -#include "pci/pci.h" -#include "intel-hda.h" -#include "intel-hda-defs.h" +#include "hw/hw.h" +#include "hw/pci/pci.h" +#include "hw/intel-hda.h" +#include "hw/intel-hda-defs.h" #include "audio/audio.h" /* -------------------------------------------------------------------------- */
hw/heathrow_pic.c +2 -2
@@ -22,8 +22,8 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "ppc/mac.h" +#include "hw/hw.h" +#include "hw/ppc/mac.h" /* debug PIC */ //#define DEBUG_PIC
hw/hid.c +2 -2
@@ -22,10 +22,10 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" +#include "hw/hw.h" #include "ui/console.h" #include "qemu/timer.h" -#include "hid.h" +#include "hw/hid.h" #define HID_USAGE_ERROR_ROLLOVER 0x01#define HID_USAGE_POSTFAIL 0x02
hw/highbank.c +6 -6
@@ -17,14 +17,14 @@* */ -#include "sysbus.h" -#include "arm-misc.h" -#include "devices.h" -#include "loader.h" +#include "hw/sysbus.h" +#include "hw/arm-misc.h" +#include "hw/devices.h" +#include "hw/loader.h" #include "net/net.h" #include "sysemu/sysemu.h" -#include "boards.h" -#include "sysbus.h" +#include "hw/boards.h" +#include "hw/sysbus.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h"
hw/hpet.c +6 -6
@@ -24,14 +24,14 @@* This driver attempts to emulate an HPET device in software. */ -#include "hw.h" -#include "pc.h" +#include "hw/hw.h" +#include "hw/pc.h" #include "ui/console.h" #include "qemu/timer.h" -#include "hpet_emul.h" -#include "sysbus.h" -#include "mc146818rtc.h" -#include "i8254.h" +#include "hw/hpet_emul.h" +#include "hw/sysbus.h" +#include "hw/mc146818rtc.h" +#include "hw/i8254.h" //#define HPET_DEBUG #ifdef HPET_DEBUG
hw/hw.h +1 -1
@@ -9,7 +9,7 @@#endif #include "exec/ioport.h" -#include "irq.h" +#include "hw/irq.h" #include "block/aio.h" #include "migration/qemu-file.h" #include "migration/vmstate.h"
hw/i2c.c +1 -1
@@ -7,7 +7,7 @@* This code is licensed under the LGPL. */ -#include "i2c.h" +#include "hw/i2c.h" struct i2c_bus {
hw/i2c.h +1 -1
@@ -1,7 +1,7 @@#ifndef QEMU_I2C_H #define QEMU_I2C_H -#include "qdev.h" +#include "hw/qdev.h" /* The QEMU I2C implementation only supports simple transfers that complete immediately. It does not support slave devices that need to be able to
hw/i82374.c +1 -1
@@ -22,7 +22,7 @@* THE SOFTWARE. */ -#include "isa.h" +#include "hw/isa.h" //#define DEBUG_I82374
hw/i82378.c +4 -4
@@ -17,10 +17,10 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include "pci/pci.h" -#include "pc.h" -#include "i8254.h" -#include "pcspk.h" +#include "hw/pci/pci.h" +#include "hw/pc.h" +#include "hw/i8254.h" +#include "hw/pcspk.h" //#define DEBUG_I82378
hw/i8254.c +5 -5
@@ -21,12 +21,12 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "pc.h" -#include "isa.h" +#include "hw/hw.h" +#include "hw/pc.h" +#include "hw/isa.h" #include "qemu/timer.h" -#include "i8254.h" -#include "i8254_internal.h" +#include "hw/i8254.h" +#include "hw/i8254_internal.h" //#define DEBUG_PIT
hw/i8254.h +2 -2
@@ -25,8 +25,8 @@#ifndef HW_I8254_H #define HW_I8254_H -#include "hw.h" -#include "isa.h" +#include "hw/hw.h" +#include "hw/isa.h" #define PIT_FREQ 1193182
hw/i8254_common.c +5 -5
@@ -22,12 +22,12 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "pc.h" -#include "isa.h" +#include "hw/hw.h" +#include "hw/pc.h" +#include "hw/isa.h" #include "qemu/timer.h" -#include "i8254.h" -#include "i8254_internal.h" +#include "hw/i8254.h" +#include "hw/i8254_internal.h" /* val must be 0 or 1 */ void pit_set_gate (ISADevice *dev,int channel,int val)
hw/i8254_internal.h +3 -3
@@ -25,9 +25,9 @@ #ifndef QEMU_I8254_INTERNAL_H #define QEMU_I8254_INTERNAL_H -#include "hw.h" -#include "pc.h" -#include "isa.h" +#include "hw/hw.h" +#include "hw/pc.h" +#include "hw/isa.h" typedef struct PITChannelState { int count; /* can be 65536 */
hw/i8259.c +4 -4
@@ -21,12 +21,12 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "pc.h" -#include "isa.h" +#include "hw/hw.h" +#include "hw/pc.h" +#include "hw/isa.h" #include "monitor/monitor.h" #include "qemu/timer.h" -#include "i8259_internal.h" +#include "hw/i8259_internal.h" /* debug PIC */ //#define DEBUG_PIC
hw/i8259_common.c +2 -2
@@ -22,8 +22,8 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "pc.h" -#include "i8259_internal.h" +#include "hw/pc.h" +#include "hw/i8259_internal.h" void pic_reset_common (PICCommonState *s) {
hw/i8259_internal.h +3 -3
@@ -25,9 +25,9 @@#ifndef QEMU_I8259_INTERNAL_H #define QEMU_I8259_INTERNAL_H -#include "hw.h" -#include "pc.h" -#include "isa.h" +#include "hw/hw.h" +#include "hw/pc.h" +#include "hw/isa.h" typedef struct PICCommonState PICCommonState ;
hw/i82801b11.c +2 -2
@@ -41,8 +41,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/> */ -#include "pci/pci.h" -#include "ich9.h" +#include "hw/pci/pci.h" +#include "hw/ich9.h" /*****************************************************************************/
hw/ich9.h +13 -13
@@ -1,20 +1,20 @@#ifndef HW_ICH9_H #define HW_ICH9_H -#include "hw.h" +#include "hw/hw.h" #include "qemu/range.h" -#include "isa.h" -#include "sysbus.h" -#include "pc.h" -#include "apm.h" -#include "ioapic.h" -#include "pci/pci.h" -#include "pci/pcie_host.h" -#include "pci/pci_bridge.h" -#include "acpi.h" -#include "acpi_ich9.h" -#include "pam.h" -#include "pci/pci_bus.h" +#include "hw/isa.h" +#include "hw/sysbus.h" +#include "hw/pc.h" +#include "hw/apm.h" +#include "hw/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/pci/pci_bus.h" void ich9_lpc_set_irq (void *opaque,int irq_num,int level);int ich9_lpc_map_irq (PCIDevice *pci_dev,int intx);
hw/ide.h +2 -2
@@ -1,8 +1,8 @@#ifndef HW_IDE_H #define HW_IDE_H -#include "isa.h" -#include "pci/pci.h" +#include "hw/isa.h" +#include "hw/pci/pci.h" #include "exec/memory.h" #define MAX_IDE_DEVS 2
hw/imx_avic.c +2 -2
@@ -14,8 +14,8 @@* TODO: implement vectors. */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "qemu/host-utils.h" #define DEBUG_INT 1
hw/imx_ccm.c +3 -3
@@ -10,10 +10,10 @@* the CCM. */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "sysemu/sysemu.h" -#include "imx.h" +#include "hw/imx.h" #define CKIH_FREQ 26000000/* 26MHz crystal input */ #define CKIL_FREQ 32768/* nominal 32khz clock */
hw/imx_serial.c +3 -3
@@ -17,11 +17,11 @@* is a real serial device. */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "sysemu/sysemu.h" #include "char/char.h" -#include "imx.h" +#include "hw/imx.h" //#define DEBUG_SERIAL 1 #ifdef DEBUG_SERIAL
hw/imx_timer.c +4 -4
@@ -11,11 +11,11 @@* */ -#include "hw.h" +#include "hw/hw.h" #include "qemu/timer.h" -#include "ptimer.h" -#include "sysbus.h" -#include "imx.h" +#include "hw/ptimer.h" +#include "hw/sysbus.h" +#include "hw/imx.h" //#define DEBUG_TIMER 1 #ifdef DEBUG_TIMER
hw/integratorcp.c +4 -4
@@ -7,10 +7,10 @@* This code is licensed under the GPL */ -#include "sysbus.h" -#include "devices.h" -#include "boards.h" -#include "arm-misc.h" +#include "hw/sysbus.h" +#include "hw/devices.h" +#include "hw/boards.h" +#include "hw/arm-misc.h" #include "net/net.h" #include "exec/address-spaces.h" #include "sysemu/sysemu.h"
hw/intel-hda.c +6 -6
@@ -17,13 +17,13 @@* along with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "hw.h" -#include "pci/pci.h" -#include "pci/msi.h" +#include "hw/hw.h" +#include "hw/pci/pci.h" +#include "hw/pci/msi.h" #include "qemu/timer.h" -#include "audiodev.h" -#include "intel-hda.h" -#include "intel-hda-defs.h" +#include "hw/audiodev.h" +#include "hw/intel-hda.h" +#include "hw/intel-hda-defs.h" #include "sysemu/dma.h" /* --------------------------------------------------------------------- */
hw/intel-hda.h +1 -1
@@ -1,7 +1,7 @@#ifndef HW_INTEL_HDA_H #define HW_INTEL_HDA_H -#include "qdev.h" +#include "hw/qdev.h" /* --------------------------------------------------------------------- */ /* hda bus */
hw/ioapic.c +5 -5
@@ -20,11 +20,11 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include "hw.h" -#include "pc.h" -#include "apic.h" -#include "ioapic.h" -#include "ioapic_internal.h" +#include "hw/hw.h" +#include "hw/pc.h" +#include "hw/apic.h" +#include "hw/ioapic.h" +#include "hw/ioapic_internal.h" //#define DEBUG_IOAPIC
hw/ioapic_common.c +3 -3
@@ -19,9 +19,9 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include "ioapic.h" -#include "ioapic_internal.h" -#include "sysbus.h" +#include "hw/ioapic.h" +#include "hw/ioapic_internal.h" +#include "hw/sysbus.h" void ioapic_reset_common (DeviceState *dev) {
hw/ioapic_internal.h +2 -2
@@ -22,9 +22,9 @@#ifndef QEMU_IOAPIC_INTERNAL_H #define QEMU_IOAPIC_INTERNAL_H -#include "hw.h" +#include "hw/hw.h" #include "exec/memory.h" -#include "sysbus.h" +#include "hw/sysbus.h" #define MAX_IOAPICS 1
hw/ioh3420.c +4 -4
@@ -20,10 +20,10 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "pci/pci_ids.h" -#include "pci/msi.h" -#include "pci/pcie.h" -#include "ioh3420.h" +#include "hw/pci/pci_ids.h" +#include "hw/pci/msi.h" +#include "hw/pci/pcie.h" +#include "hw/ioh3420.h" #define PCI_DEVICE_ID_IOH_EPORT 0x3420/* D0:F0 express mode */ #define PCI_DEVICE_ID_IOH_REV 0x2
hw/ioh3420.h +1 -1
@@ -1,7 +1,7 @@#ifndef QEMU_IOH3420_H #define QEMU_IOH3420_H -#include "pci/pcie_port.h" +#include "hw/pci/pcie_port.h" PCIESlot *ioh3420_init(PCIBus *bus, int devfn, bool multifunction, const char *bus_name, pci_map_irq_fn map_irq,
hw/ipack.c +1 -1
@@ -8,7 +8,7 @@* later version. */ -#include "ipack.h" +#include "hw/ipack.h" IPackDevice *ipack_device_find (IPackBus *bus,int32_t slot) {
hw/ipack.h +1 -1
@@ -11,7 +11,7 @@#ifndef QEMU_IPACK_H #define QEMU_IPACK_H -#include "qdev.h" +#include "hw/qdev.h" typedef struct IPackBus IPackBus ;
hw/ipoctal232.c +1 -1
@@ -8,7 +8,7 @@* later version. */ -#include "ipack.h" +#include "hw/ipack.h" #include "qemu/bitops.h" #include "char/char.h"
hw/irq.c +1 -1
@@ -22,7 +22,7 @@* THE SOFTWARE. */ #include "qemu-common.h" -#include "irq.h" +#include "hw/irq.h" struct IRQState {qemu_irq_handler handler;
hw/isa-bus.c +3 -3
@@ -16,11 +16,11 @@* 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.h" +#include "hw/hw.h" #include "monitor/monitor.h" -#include "sysbus.h" +#include "hw/sysbus.h" #include "sysemu/sysemu.h" -#include "isa.h" +#include "hw/isa.h" #include "exec/address-spaces.h" static ISABus *isabus;
hw/isa.h +1 -1
@@ -5,7 +5,7 @@#include "exec/ioport.h" #include "exec/memory.h" -#include "qdev.h" +#include "hw/qdev.h" #define ISA_NUM_IRQS 16
hw/isa_mmio.c +2 -2
@@ -22,8 +22,8 @@* THE SOFTWARE. */ -#include "hw.h" -#include "isa.h" +#include "hw/hw.h" +#include "hw/isa.h" #include "exec/address-spaces.h" static void isa_mmio_writeb (void *opaque, hwaddr addr,
hw/ivshmem.c +4 -4
@@ -16,10 +16,10 @@* Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ -#include "hw.h" -#include "pc.h" -#include "pci/pci.h" -#include "pci/msix.h" +#include "hw/hw.h" +#include "hw/pc.h" +#include "hw/pci/pci.h" +#include "hw/pci/msix.h" #include "sysemu/kvm.h" #include "migration/migration.h" #include "qapi/qmp/qerror.h"
hw/jazz_led.c +1 -1
@@ -26,7 +26,7 @@#include "ui/console.h" #include "ui/pixel_ops.h" #include "trace.h" -#include "sysbus.h" +#include "hw/sysbus.h" typedef enum { REDRAW_NONE = 0, REDRAW_SEGMENTS = 1, REDRAW_BACKGROUND = 2,
hw/kvmvapic.c +1 -1
@@ -11,7 +11,7 @@#include "sysemu/sysemu.h" #include "sysemu/cpus.h" #include "sysemu/kvm.h" -#include "apic_internal.h" +#include "hw/apic_internal.h" #define APIC_DEFAULT_ADDRESS 0xfee00000
hw/kzm.c +7 -7
@@ -13,16 +13,16 @@* i.MX31 SoC */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "exec/address-spaces.h" -#include "hw.h" -#include "arm-misc.h" -#include "devices.h" +#include "hw/hw.h" +#include "hw/arm-misc.h" +#include "hw/devices.h" #include "net/net.h" #include "sysemu/sysemu.h" -#include "boards.h" -#include "serial.h" -#include "imx.h" +#include "hw/boards.h" +#include "hw/serial.h" +#include "hw/imx.h" /* Memory map for Kzm Emulation Baseboard: * 0x00000000-0x00003fff 16k secure ROM IGNORED
hw/lan9118.c +3 -3
@@ -10,11 +10,11 @@* GNU GPL, version 2 or (at your option) any later version. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "net/net.h" -#include "devices.h" +#include "hw/devices.h" #include "sysemu/sysemu.h" -#include "ptimer.h" +#include "hw/ptimer.h" /* For crc32 */ #include <zlib.h>
hw/lance.c +3 -3
@@ -35,12 +35,12 @@* http://www.ibiblio.org/pub/historic-linux/early-ports/Sparc/NCR/NCR92C990.txt */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "net/net.h" #include "qemu/timer.h" #include "qemu/sockets.h" -#include "sun4m.h" -#include "pcnet.h" +#include "hw/sun4m.h" +#include "hw/pcnet.h" #include "trace.h" typedef struct {
hw/leon3.c +5 -5
@@ -21,18 +21,18 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" +#include "hw/hw.h" #include "qemu/timer.h" -#include "ptimer.h" +#include "hw/ptimer.h" #include "char/char.h" #include "sysemu/sysemu.h" -#include "boards.h" -#include "loader.h" +#include "hw/boards.h" +#include "hw/loader.h" #include "elf.h" #include "trace.h" #include "exec/address-spaces.h" -#include "grlib.h" +#include "hw/grlib.h" /* Default system clock. */ #define CPU_CLK (40 * 1000 * 1000)
hw/lm32_boards.c +8 -8
@@ -17,16 +17,16 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include "sysbus.h" -#include "hw.h" -#include "flash.h" -#include "devices.h" -#include "boards.h" -#include "loader.h" +#include "hw/sysbus.h" +#include "hw/hw.h" +#include "hw/flash.h" +#include "hw/devices.h" +#include "hw/boards.h" +#include "hw/loader.h" #include "sysemu/blockdev.h" #include "elf.h" -#include "lm32_hwsetup.h" -#include "lm32.h" +#include "hw/lm32_hwsetup.h" +#include "hw/lm32.h" #include "exec/address-spaces.h" typedef struct {
hw/lm32_hwsetup.h +1 -1
@@ -26,7 +26,7 @@#define QEMU_HW_LM32_HWSETUP_H #include "qemu-common.h" -#include "loader.h" +#include "hw/loader.h" typedef struct { void *data;
hw/lm32_juart.c +3 -3
@@ -17,12 +17,12 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "trace.h" #include "char/char.h" -#include "lm32_juart.h" +#include "hw/lm32_juart.h" enum {LM32_JUART_MIN_SAVE_VERSION =0 ,
hw/lm32_pic.c +4 -4
@@ -19,12 +19,12 @@#include <assert.h> -#include "hw.h" -#include "pc.h" +#include "hw/hw.h" +#include "hw/pc.h" #include "monitor/monitor.h" -#include "sysbus.h" +#include "hw/sysbus.h" #include "trace.h" -#include "lm32_pic.h" +#include "hw/lm32_pic.h" struct LM32PicState {SysBusDevice busdev;
hw/lm32_sys.c +2 -2
@@ -28,8 +28,8 @@* the test is passed or any non-zero value to it if the test is failed. */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "trace.h" #include "qemu/log.h" #include "qemu/error-report.h"
hw/lm32_timer.c +3 -3
@@ -21,11 +21,11 @@* http://www.latticesemi.com/documents/mico32timer.pdf */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "trace.h" #include "qemu/timer.h" -#include "ptimer.h" +#include "hw/ptimer.h" #include "qemu/error-report.h" #define DEFAULT_FREQUENCY (50*1000000)
hw/lm32_uart.c +2 -2
@@ -22,8 +22,8 @@*/ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "trace.h" #include "char/char.h" #include "qemu/error-report.h"
hw/lm4549.c +2 -2
@@ -13,9 +13,9 @@* It supports only one playback voice and no record voice. */ -#include "hw.h" +#include "hw/hw.h" #include "audio/audio.h" -#include "lm4549.h" +#include "hw/lm4549.h" #if 0 #define LM4549_DEBUG 1
hw/lm832x.c +2 -2
@@ -18,8 +18,8 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "hw.h" -#include "i2c.h" +#include "hw/hw.h" +#include "hw/i2c.h" #include "qemu/timer.h" #include "ui/console.h"
hw/loader.c +6 -6
@@ -42,13 +42,13 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "hw.h" +#include "hw/hw.h" #include "disas/disas.h" #include "monitor/monitor.h" #include "sysemu/sysemu.h" -#include "uboot_image.h" -#include "loader.h" -#include "fw_cfg.h" +#include "hw/uboot_image.h" +#include "hw/loader.h" +#include "hw/fw_cfg.h" #include "exec/memory.h" #include "exec/address-spaces.h"
@@ -260,7 +260,7 @@ static void *load_at(int fd, int offset, int size)#define elf_word uint32_t#define elf_sword int32_t#define bswapSZs bswap32s -#include "elf_ops.h" +#include "hw/elf_ops.h" #undef elfhdr#undef elf_phdr
@@ -280,7 +280,7 @@ static void *load_at(int fd, int offset, int size)#define elf_sword int64_t#define bswapSZs bswap64s#define SZ 64 -#include "elf_ops.h" +#include "hw/elf_ops.h" /* return < 0 if error, otherwise the number of bytes loaded in memory */ int load_elf(const char *filename, uint64_t (*translate_fn)(void *, uint64_t),
hw/lpc_ich9.c +14 -14
@@ -28,21 +28,21 @@* THE SOFTWARE. */ #include "qemu-common.h" -#include "hw.h" +#include "hw/hw.h" #include "qemu/range.h" -#include "isa.h" -#include "sysbus.h" -#include "pc.h" -#include "apm.h" -#include "ioapic.h" -#include "pci/pci.h" -#include "pci/pcie_host.h" -#include "pci/pci_bridge.h" -#include "ich9.h" -#include "acpi.h" -#include "acpi_ich9.h" -#include "pam.h" -#include "pci/pci_bus.h" +#include "hw/isa.h" +#include "hw/sysbus.h" +#include "hw/pc.h" +#include "hw/apm.h" +#include "hw/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/pci/pci_bus.h" #include "exec/address-spaces.h" #include "sysemu/sysemu.h"
hw/lsi53c895a.c +3 -3
@@ -12,9 +12,9 @@#include <assert.h> -#include "hw.h" -#include "pci/pci.h" -#include "scsi.h" +#include "hw/hw.h" +#include "hw/pci/pci.h" +#include "hw/scsi.h" #include "sysemu/dma.h" //#define DEBUG_LSI
hw/m25p80.c +3 -3
@@ -21,10 +21,10 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "hw.h" +#include "hw/hw.h" #include "sysemu/blockdev.h" -#include "ssi.h" -#include "devices.h" +#include "hw/ssi.h" +#include "hw/devices.h" #ifdef M25P80_ERR_DEBUG #define DB_PRINT (...) do { \
hw/m48t59.c +4 -4
@@ -21,12 +21,12 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "nvram.h" +#include "hw/hw.h" +#include "hw/nvram.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" -#include "sysbus.h" -#include "isa.h" +#include "hw/sysbus.h" +#include "hw/isa.h" #include "exec/address-spaces.h" //#define DEBUG_NVRAM
hw/mac_dbdma.c +3 -3
@@ -36,9 +36,9 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "isa.h" -#include "mac_dbdma.h" +#include "hw/hw.h" +#include "hw/isa.h" +#include "hw/mac_dbdma.h" #include "qemu/main-loop.h" /* debug DBDMA */
hw/mac_nvram.c +3 -3
@@ -22,10 +22,10 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "firmware_abi.h" +#include "hw/hw.h" +#include "hw/firmware_abi.h" #include "sysemu/sysemu.h" -#include "ppc/mac.h" +#include "hw/ppc/mac.h" /* debug NVR */ //#define DEBUG_NVR
hw/macio.c +5 -5
@@ -22,11 +22,11 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "ppc/mac.h" -#include "pci/pci.h" -#include "mac_dbdma.h" -#include "escc.h" +#include "hw/hw.h" +#include "hw/ppc/mac.h" +#include "hw/pci/pci.h" +#include "hw/mac_dbdma.h" +#include "hw/escc.h" #define TYPE_MACIO "macio"#define MACIO (obj) OBJECT_CHECK(MacIOState, (obj), TYPE_MACIO)
hw/mainstone.c +7 -7
@@ -11,15 +11,15 @@* Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ -#include "hw.h" -#include "pxa.h" -#include "arm-misc.h" +#include "hw/hw.h" +#include "hw/pxa.h" +#include "hw/arm-misc.h" #include "net/net.h" -#include "devices.h" -#include "boards.h" -#include "flash.h" +#include "hw/devices.h" +#include "hw/boards.h" +#include "hw/flash.h" #include "sysemu/blockdev.h" -#include "sysbus.h" +#include "hw/sysbus.h" #include "exec/address-spaces.h" /* Device addresses */
hw/marvell_88w8618_audio.c +4 -4
@@ -9,10 +9,10 @@* Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ -#include "sysbus.h" -#include "hw.h" -#include "i2c.h" -#include "sysbus.h" +#include "hw/sysbus.h" +#include "hw/hw.h" +#include "hw/i2c.h" +#include "hw/sysbus.h" #include "audio/audio.h" #define MP_AUDIO_SIZE 0x00001000
hw/max111x.c +1 -1
@@ -10,7 +10,7 @@* GNU GPL, version 2 or (at your option) any later version. */ -#include "ssi.h" +#include "hw/ssi.h" typedef struct { SSISlave ssidev;
hw/max7310.c +1 -1
@@ -7,7 +7,7 @@* This file is licensed under GNU GPL. */ -#include "i2c.h" +#include "hw/i2c.h" typedef struct { I2CSlave i2c;
hw/mc146818rtc.c +3 -3
@@ -21,14 +21,14 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" +#include "hw/hw.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" -#include "mc146818rtc.h" +#include "hw/mc146818rtc.h" #include "qapi/visitor.h" #ifdef TARGET_I386 -#include "apic.h" +#include "hw/apic.h" #endif //#define DEBUG_CMOS
hw/mc146818rtc.h +2 -2
@@ -1,8 +1,8 @@#ifndef MC146818RTC_H #define MC146818RTC_H -#include "isa.h" -#include "mc146818rtc_regs.h" +#include "hw/isa.h" +#include "hw/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);
hw/mcf5206.c +3 -3
@@ -5,10 +5,10 @@* * This code is licensed under the GPL */ -#include "hw.h" -#include "mcf.h" +#include "hw/hw.h" +#include "hw/mcf.h" #include "qemu/timer.h" -#include "ptimer.h" +#include "hw/ptimer.h" #include "sysemu/sysemu.h" #include "exec/address-spaces.h"
hw/mcf5208.c +5 -5
@@ -5,14 +5,14 @@* * This code is licensed under the GPL */ -#include "hw.h" -#include "mcf.h" +#include "hw/hw.h" +#include "hw/mcf.h" #include "qemu/timer.h" -#include "ptimer.h" +#include "hw/ptimer.h" #include "sysemu/sysemu.h" #include "net/net.h" -#include "boards.h" -#include "loader.h" +#include "hw/boards.h" +#include "hw/loader.h" #include "elf.h" #include "exec/address-spaces.h"
hw/mcf_fec.c +2 -2
@@ -5,9 +5,9 @@* * This code is licensed under the GPL */ -#include "hw.h" +#include "hw/hw.h" #include "net/net.h" -#include "mcf.h" +#include "hw/mcf.h" /* For crc32 */ #include <zlib.h> #include "exec/address-spaces.h"
hw/mcf_intc.c +2 -2
@@ -5,8 +5,8 @@* * This code is licensed under the GPL */ -#include "hw.h" -#include "mcf.h" +#include "hw/hw.h" +#include "hw/mcf.h" #include "exec/address-spaces.h" typedef struct {
hw/mcf_uart.c +2 -2
@@ -5,8 +5,8 @@* * This code is licensed under the GPL */ -#include "hw.h" -#include "mcf.h" +#include "hw/hw.h" +#include "hw/mcf.h" #include "char/char.h" #include "exec/address-spaces.h"
hw/megasas.c +6 -6
@@ -18,16 +18,16 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include "hw.h" -#include "pci/pci.h" +#include "hw/hw.h" +#include "hw/pci/pci.h" #include "sysemu/dma.h" -#include "pci/msix.h" +#include "hw/pci/msix.h" #include "qemu/iov.h" -#include "scsi.h" -#include "scsi-defs.h" +#include "hw/scsi.h" +#include "hw/scsi-defs.h" #include "trace.h" -#include "mfi.h" +#include "hw/mfi.h" #define MEGASAS_VERSION "1.70"#define MEGASAS_MAX_FRAMES 2048/* Firmware limit at 65535 */
hw/microblaze_boot.c +2 -2
@@ -28,10 +28,10 @@#include "qemu/config-file.h" #include "qemu-common.h" #include "sysemu/device_tree.h" -#include "loader.h" +#include "hw/loader.h" #include "elf.h" -#include "microblaze_boot.h" +#include "hw/microblaze_boot.h" static struct {
hw/microblaze_boot.h +1 -1
@@ -1,7 +1,7 @@#ifndef __MICROBLAZE_BOOT__#define __MICROBLAZE_BOOT__ -#include "hw.h" +#include "hw/hw.h" void microblaze_load_kernel(MicroBlazeCPU *cpu, hwaddr ddr_base, uint32_t ramsize, const char *dtb_filename,
hw/microblaze_pic_cpu.c +2 -2
@@ -22,8 +22,8 @@* THE SOFTWARE. */ -#include "hw.h" -#include "microblaze_pic_cpu.h" +#include "hw/hw.h" +#include "hw/microblaze_pic_cpu.h" #define D (x)
hw/milkymist-ac97.c +2 -2
@@ -21,8 +21,8 @@* http://www.milkymist.org/socdoc/ac97.pdf */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "trace.h" #include "audio/audio.h" #include "qemu/error-report.h"
hw/milkymist-hpdmc.c +2 -2
@@ -21,8 +21,8 @@* http://www.milkymist.org/socdoc/hpdmc.pdf */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "trace.h" #include "qemu/error-report.h"
hw/milkymist-hw.h +2 -2
@@ -1,8 +1,8 @@#ifndef QEMU_HW_MILKYMIST_H #define QEMU_HW_MILKYMIST_H -#include "qdev.h" -#include "qdev-addr.h" +#include "hw/qdev.h" +#include "hw/qdev-addr.h" #include "net/net.h" static inline DeviceState *milkymist_uart_create(hwaddr base,
hw/milkymist-memcard.c +3 -3
@@ -21,13 +21,13 @@* http://www.milkymist.org/socdoc/memcard.pdf */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "sysemu/sysemu.h" #include "trace.h" #include "qemu/error-report.h" #include "sysemu/blockdev.h" -#include "sd.h" +#include "hw/sd.h" enum {ENABLE_CMD_TX = (1 <<0 ),
hw/milkymist-minimac2.c +3 -3
@@ -22,12 +22,12 @@* */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "trace.h" #include "net/net.h" #include "qemu/error-report.h" -#include "qdev-addr.h" +#include "hw/qdev-addr.h" #include <zlib.h>
hw/milkymist-pfpu.c +2 -2
@@ -22,8 +22,8 @@* */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "trace.h" #include "qemu/log.h" #include "qemu/error-report.h"
hw/milkymist-softusb.c +3 -3
@@ -21,11 +21,11 @@* not available yet */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "trace.h" #include "ui/console.h" -#include "hid.h" +#include "hw/hid.h" #include "qemu/error-report.h" enum {
hw/milkymist-sysctl.c +3 -3
@@ -21,12 +21,12 @@* http://www.milkymist.org/socdoc/sysctl.pdf */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "sysemu/sysemu.h" #include "trace.h" #include "qemu/timer.h" -#include "ptimer.h" +#include "hw/ptimer.h" #include "qemu/error-report.h" enum {
hw/milkymist-tmu2.c +2 -2
@@ -24,8 +24,8 @@* */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "trace.h" #include "qemu/error-report.h"
hw/milkymist-uart.c +2 -2
@@ -21,8 +21,8 @@* http://www.milkymist.org/socdoc/uart.pdf */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "trace.h" #include "char/char.h" #include "qemu/error-report.h"
hw/milkymist-vgafb.c +8 -8
@@ -22,24 +22,24 @@* http://www.milkymist.org/socdoc/vgafb.pdf */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" #include "trace.h" #include "ui/console.h" -#include "framebuffer.h" +#include "hw/framebuffer.h" #include "ui/pixel_ops.h" #include "qemu/error-report.h" #define BITS 8 -#include "milkymist-vgafb_template.h" +#include "hw/milkymist-vgafb_template.h" #define BITS 15 -#include "milkymist-vgafb_template.h" +#include "hw/milkymist-vgafb_template.h" #define BITS 16 -#include "milkymist-vgafb_template.h" +#include "hw/milkymist-vgafb_template.h" #define BITS 24 -#include "milkymist-vgafb_template.h" +#include "hw/milkymist-vgafb_template.h" #define BITS 32 -#include "milkymist-vgafb_template.h" +#include "hw/milkymist-vgafb_template.h" enum {R_CTRL =0 ,
hw/milkymist.c +8 -8
@@ -17,17 +17,17 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include "sysbus.h" -#include "hw.h" -#include "flash.h" +#include "hw/sysbus.h" +#include "hw/hw.h" +#include "hw/flash.h" #include "sysemu/sysemu.h" -#include "devices.h" -#include "boards.h" -#include "loader.h" +#include "hw/devices.h" +#include "hw/boards.h" +#include "hw/loader.h" #include "elf.h" #include "sysemu/blockdev.h" -#include "milkymist-hw.h" -#include "lm32.h" +#include "hw/milkymist-hw.h" +#include "hw/lm32.h" #include "exec/address-spaces.h" #define BIOS_FILENAME "mmone-bios.bin"
hw/mips_addr.c +2 -2
@@ -20,8 +20,8 @@* THE SOFTWARE. */ -#include "hw.h" -#include "mips_cpudevs.h" +#include "hw/hw.h" +#include "hw/mips_cpudevs.h" uint64_t cpu_mips_kseg0_to_phys (void *opaque,uint64_t addr) {
hw/mips_fulong2e.c +16 -16
@@ -18,29 +18,29 @@* http://www.loongsondeveloper.com/doc/Loongson2EUserGuide.pdf */ -#include "hw.h" -#include "pc.h" -#include "serial.h" -#include "fdc.h" +#include "hw/hw.h" +#include "hw/pc.h" +#include "hw/serial.h" +#include "hw/fdc.h" #include "net/net.h" -#include "boards.h" -#include "smbus.h" +#include "hw/boards.h" +#include "hw/smbus.h" #include "block/block.h" -#include "flash.h" -#include "mips.h" -#include "mips_cpudevs.h" -#include "pci/pci.h" +#include "hw/flash.h" +#include "hw/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 "loader.h" -#include "mips-bios.h" -#include "ide.h" +#include "hw/loader.h" +#include "hw/mips-bios.h" +#include "hw/ide.h" #include "elf.h" -#include "vt82c686.h" -#include "mc146818rtc.h" -#include "i8254.h" +#include "hw/vt82c686.h" +#include "hw/mc146818rtc.h" +#include "hw/i8254.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h"
hw/mips_int.c +2 -2
@@ -20,8 +20,8 @@* THE SOFTWARE. */ -#include "hw.h" -#include "mips_cpudevs.h" +#include "hw/hw.h" +#include "hw/mips_cpudevs.h" #include "cpu.h" static void cpu_mips_irq_request (void *opaque,int irq,int level)
hw/mips_jazz.c +15 -15
@@ -22,25 +22,25 @@* THE SOFTWARE. */ -#include "hw.h" -#include "mips.h" -#include "mips_cpudevs.h" -#include "pc.h" -#include "serial.h" -#include "isa.h" -#include "fdc.h" +#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 "sysemu/sysemu.h" #include "sysemu/arch_init.h" -#include "boards.h" +#include "hw/boards.h" #include "net/net.h" -#include "esp.h" -#include "mips-bios.h" -#include "loader.h" -#include "mc146818rtc.h" -#include "i8254.h" -#include "pcspk.h" +#include "hw/esp.h" +#include "hw/mips-bios.h" +#include "hw/loader.h" +#include "hw/mc146818rtc.h" +#include "hw/i8254.h" +#include "hw/pcspk.h" #include "sysemu/blockdev.h" -#include "sysbus.h" +#include "hw/sysbus.h" #include "exec/address-spaces.h" enum jazz_model_e
hw/mips_malta.c +17 -17
@@ -22,32 +22,32 @@* THE SOFTWARE. */ -#include "hw.h" -#include "pc.h" -#include "serial.h" -#include "fdc.h" +#include "hw/hw.h" +#include "hw/pc.h" +#include "hw/serial.h" +#include "hw/fdc.h" #include "net/net.h" -#include "boards.h" -#include "smbus.h" +#include "hw/boards.h" +#include "hw/smbus.h" #include "block/block.h" -#include "flash.h" -#include "mips.h" -#include "mips_cpudevs.h" -#include "pci/pci.h" +#include "hw/flash.h" +#include "hw/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 "boards.h" +#include "hw/boards.h" #include "qemu/log.h" -#include "mips-bios.h" -#include "ide.h" -#include "loader.h" +#include "hw/mips-bios.h" +#include "hw/ide.h" +#include "hw/loader.h" #include "elf.h" -#include "mc146818rtc.h" -#include "i8254.h" +#include "hw/mc146818rtc.h" +#include "hw/i8254.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h" -#include "sysbus.h" /* SysBusDevice */ +#include "hw/sysbus.h" /* SysBusDevice */ //#define DEBUG_BOARD_INIT
hw/mips_mipssim.c +9 -9
@@ -24,18 +24,18 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "hw.h" -#include "mips.h" -#include "mips_cpudevs.h" -#include "serial.h" -#include "isa.h" +#include "hw/hw.h" +#include "hw/mips.h" +#include "hw/mips_cpudevs.h" +#include "hw/serial.h" +#include "hw/isa.h" #include "net/net.h" #include "sysemu/sysemu.h" -#include "boards.h" -#include "mips-bios.h" -#include "loader.h" +#include "hw/boards.h" +#include "hw/mips-bios.h" +#include "hw/loader.h" #include "elf.h" -#include "sysbus.h" +#include "hw/sysbus.h" #include "exec/address-spaces.h" static struct _loaderparams {
hw/mips_r4k.c +13 -13
@@ -7,23 +7,23 @@* All peripherial devices are attached to this "bus" with * the standard PC ISA addresses. */ -#include "hw.h" -#include "mips.h" -#include "mips_cpudevs.h" -#include "pc.h" -#include "serial.h" -#include "isa.h" +#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 "net/net.h" #include "sysemu/sysemu.h" -#include "boards.h" -#include "flash.h" +#include "hw/boards.h" +#include "hw/flash.h" #include "qemu/log.h" -#include "mips-bios.h" -#include "ide.h" -#include "loader.h" +#include "hw/mips-bios.h" +#include "hw/ide.h" +#include "hw/loader.h" #include "elf.h" -#include "mc146818rtc.h" -#include "i8254.h" +#include "hw/mc146818rtc.h" +#include "hw/i8254.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h"
hw/mips_timer.c +2 -2
@@ -20,8 +20,8 @@* THE SOFTWARE. */ -#include "hw.h" -#include "mips_cpudevs.h" +#include "hw/hw.h" +#include "hw/mips_cpudevs.h" #include "qemu/timer.h" #define TIMER_FREQ 100 * 1000 * 1000
hw/mipsnet.c +2 -2
@@ -1,7 +1,7 @@ -#include "hw.h" +#include "hw/hw.h" #include "net/net.h" #include "trace.h" -#include "sysbus.h" +#include "hw/sysbus.h" /* MIPSnet register offsets */
hw/mpc8544_guts.c +2 -2
@@ -17,9 +17,9 @@* */ -#include "hw.h" +#include "hw/hw.h" #include "sysemu/sysemu.h" -#include "sysbus.h" +#include "hw/sysbus.h" #define MPC8544_GUTS_MMIO_SIZE 0x1000#define MPC8544_GUTS_RSTCR_RESET 0x02
hw/mst_fpga.c +2 -2
@@ -10,8 +10,8 @@* Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ -#include "hw.h" -#include "sysbus.h" +#include "hw/hw.h" +#include "hw/sysbus.h" /* Mainstone FPGA for extern irqs */ #define FPGA_GPIO_PIN 0
hw/multiboot.c +4 -4
@@ -22,10 +22,10 @@* THE SOFTWARE. */ -#include "hw.h" -#include "fw_cfg.h" -#include "multiboot.h" -#include "loader.h" +#include "hw/hw.h" +#include "hw/fw_cfg.h"
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.8.1.2
Part of the diff is not shown here. View the raw message.
PATCH 10/18 build: always link device_tree.o into emulators if libfdt available
In reply to Paolo Bonzini--- Makefile.target | 1 + configure | 7 +------ hw/arm/Makefile.objs | 1 - hw/microblaze/Makefile.objs | 1 - hw/ppc/Makefile.objs | 1 - 5 files changed, 2 insertions(+), 9 deletions(-)
Makefile.target +1 -0
@@ -111,6 +111,7 @@ CONFIG_NO_CORE_DUMP = $(if $(subst n,,$(CONFIG_HAVE_CORE_DUMP)),n,y) obj-y += arch_init.o cpus.o monitor.o gdbstub.o balloon.o ioport.o obj-y += qtest.o obj-y += hw/ +obj-$(CONFIG_FDT) += device_tree.o obj-$(CONFIG_KVM) += kvm-all.o obj-$(CONFIG_NO_KVM) += kvm-stub.o obj-y += memory.o savevm.o cputlb.o
configure +1 -6
@@ -2416,6 +2416,7 @@ int main(void) { return 0; } EOF if compile_prog "" "$fdt_libs" ; then fdt=yes + libs_softmmu="$libs_softmmu $fdt_libs" else if test "$fdt" = "yes" ; then feature_not_found "fdt"
@@ -3981,7 +3982,6 @@ case "$target_arch2" in target_nptl="yes" gdb_xml_files="arm-core.xml arm-vfp.xml arm-vfp3.xml arm-neon.xml" target_llong_alignment=4 - target_libs_softmmu="$fdt_libs" ;; cris) target_nptl="yes"
@@ -4000,7 +4000,6 @@ case "$target_arch2" in TARGET_ARCH=microblaze bflt="yes" target_nptl="yes" - target_libs_softmmu="$fdt_libs" ;; mips|mipsel) TARGET_ARCH=mips
@@ -4025,21 +4024,18 @@ case "$target_arch2" in ppc) gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml power-spe.xml" target_nptl="yes" - target_libs_softmmu="$fdt_libs" ;; ppcemb) TARGET_BASE_ARCH=ppc TARGET_ABI_DIR=ppc gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml power-spe.xml" target_nptl="yes" - target_libs_softmmu="$fdt_libs" ;; ppc64) TARGET_BASE_ARCH=ppc TARGET_ABI_DIR=ppc gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml" target_long_alignment=8 - target_libs_softmmu="$fdt_libs" ;; ppc64abi32) TARGET_ARCH=ppc64
@@ -4047,7 +4043,6 @@ case "$target_arch2" in TARGET_ABI_DIR=ppc echo "TARGET_ABI32=y" >> $config_target_mak gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml" - target_libs_softmmu="$fdt_libs" ;; sh4|sh4eb) TARGET_ARCH=sh4
hw/arm/Makefile.objs +0 -1
@@ -31,6 +31,5 @@ obj-y += strongarm.o obj-y += collie.o obj-y += imx_serial.o imx_ccm.o imx_timer.o imx_avic.o obj-y += kzm.o -obj-$(CONFIG_FDT) += ../device_tree.o obj-y := $(addprefix ../,$(obj-y))
hw/microblaze/Makefile.objs +0 -1
@@ -5,6 +5,5 @@ obj-y += xilinx_spi.o obj-y += microblaze_pic_cpu.o obj-y += xilinx_ethlite.o -obj-$(CONFIG_FDT) += ../device_tree.o obj-y := $(addprefix ../,$(obj-y))
hw/ppc/Makefile.objs +0 -1
@@ -16,7 +16,6 @@ obj-$(CONFIG_FDT) += mpc8544_guts.o ppce500_spin.o obj-y += virtex_ml507.o # PowerPC OpenPIC obj-y += openpic.o -obj-$(CONFIG_FDT) += ../device_tree.o # Xilinx PPC peripherals obj-y += xilinx_ethlite.o
Signature · 1 line
1.8.1.2
PATCH 11/18 ppc: express FDT dependency of pSeries and e500 boards via default-configs/
In reply to Paolo Bonzini--- configure | 3 --- default-configs/ppc-softmmu.mak | 1 + default-configs/ppc64-softmmu.mak | 2 ++ default-configs/ppcemb-softmmu.mak | 1 + hw/ppc/Makefile.objs | 4 ++-- 5 files changed, 6 insertions(+), 5 deletions(-)
configure +0 -3
@@ -4144,9 +4144,6 @@ case "$target_arch2" in i386|x86_64) echo "CONFIG_HAVE_GET_MEMORY_MAPPING=y" >> $config_target_mak esac -if test "$target_arch2" = "ppc64" -a "$fdt" = "yes"; then - echo "CONFIG_PSERIES=y" >> $config_target_mak -fi if test "$target_bigendian" = "yes" ; then echo "TARGET_WORDS_BIGENDIAN=y" >> $config_target_mak fi
default-configs/ppc-softmmu.mak +1 -0
@@ -40,3 +40,4 @@ CONFIG_PFLASH_CFI02=y CONFIG_PTIMER=y CONFIG_I8259=y CONFIG_XILINX=y +CONFIG_E500=$(CONFIG_FDT)
default-configs/ppc64-softmmu.mak +2 -0
@@ -40,3 +40,5 @@ CONFIG_PFLASH_CFI02=y CONFIG_PTIMER=y CONFIG_I8259=y CONFIG_XILINX=y +CONFIG_PSERIES=$(CONFIG_FDT) +CONFIG_E500=$(CONFIG_FDT)
default-configs/ppcemb-softmmu.mak +1 -0
@@ -35,3 +35,4 @@ CONFIG_PFLASH_CFI02=y CONFIG_PTIMER=y CONFIG_I8259=y CONFIG_XILINX=y +CONFIG_E500=$(CONFIG_FDT)
hw/ppc/Makefile.objs +2 -2
@@ -11,7 +11,7 @@ obj-$(CONFIG_PSERIES) += spapr_events.o spapr_nvram.o obj-y += ppc4xx_devs.o ppc4xx_pci.o ppc405_uc.o ppc405_boards.o obj-y += ppc440_bamboo.o # PowerPC E500 boards -obj-$(CONFIG_FDT) += mpc8544_guts.o ppce500_spin.o +obj-$(CONFIG_E500) += mpc8544_guts.o ppce500_spin.o # PowerPC 440 Xilinx ML507 reference board. obj-y += virtex_ml507.o # PowerPC OpenPIC
@@ -29,4 +29,4 @@ obj-y += mac_oldworld.o # NewWorld PowerMac obj-y += mac_newworld.o # e500 -obj-$(CONFIG_FDT) += e500.o mpc8544ds.o e500plat.o +obj-$(CONFIG_E500) += e500.o mpc8544ds.o e500plat.o
Signature · 1 line
1.8.1.2
PATCH 12/18 hw: move boards and other isolated files to hw/ARCH
In reply to Paolo Bonzini---
hw/Makefile.objs | 1 -
hw/alpha/Makefile.objs | 4 ++-
hw/{alpha_dp264.c => alpha/dp264.c} | 0
hw/{alpha_pci.c => alpha/pci.c} | 0
hw/arm/Makefile.objs | 31 ++++++++++-------------
hw/{arm_boot.c => arm/boot.c} | 0
hw/{ => arm}/collie.c | 0
hw/{ => arm}/exynos4_boards.c | 0
hw/{ => arm}/gumstix.c | 0
hw/{ => arm}/highbank.c | 0
hw/{ => arm}/integratorcp.c | 0
hw/{ => arm}/kzm.c | 0
hw/{ => arm}/mainstone.c | 0
hw/{ => arm}/musicpal.c | 0
hw/{ => arm}/nseries.c | 0
hw/{ => arm}/omap_sx1.c | 0
hw/{ => arm}/palm.c | 0
hw/{arm_pic.c => arm/pic_cpu.c} | 0
hw/{ => arm}/realview.c | 0
hw/{ => arm}/spitz.c | 0
hw/{ => arm}/stellaris.c | 0
hw/{ => arm}/tosa.c | 0
hw/{ => arm}/versatilepb.c | 0
hw/{ => arm}/vexpress.c | 0
hw/{ => arm}/xilinx_zynq.c | 0
hw/{ => arm}/z2.c | 0
hw/cris/Makefile.objs | 10 ++++----
hw/{ => cris}/axis_dev88.c | 0
hw/{cris-boot.c => cris/boot.c} | 0
hw/{cris_pic_cpu.c => cris/pic_cpu.c} | 0
hw/i386/Makefile.objs | 13 ++++++----
hw/{ => i386}/multiboot.c | 0
hw/{ => i386}/pc.c | 0
hw/{ => i386}/pc_piix.c | 0
hw/{ => i386}/pc_q35.c | 0
hw/{ => i386}/smbios.c | 0
hw/{ => i386}/xen_domainbuild.c | 0
hw/{ => i386}/xen_machine_pv.c | 0
hw/lm32/Makefile.objs | 8 +++---
hw/{ => lm32}/lm32_boards.c | 0
hw/{ => lm32}/milkymist.c | 0
hw/m68k/Makefile.objs | 7 +++--
hw/{ => m68k}/an5206.c | 0
hw/{ => m68k}/dummy_m68k.c | 0
hw/{ => m68k}/mcf5208.c | 0
hw/microblaze/Makefile.objs | 10 ++++----
hw/{microblaze_boot.c => microblaze/boot.c} | 0
hw/{ => microblaze}/petalogix_ml605_mmu.c | 0
hw/{ => microblaze}/petalogix_s3adsp1800_mmu.c | 0
hw/{microblaze_pic_cpu.c => microblaze/pic_cpu.c} | 0
hw/mips/Makefile.objs | 8 +++---
hw/{mips_addr.c => mips/addr.c} | 0
hw/{mips_timer.c => mips/cputimer.c} | 0
hw/{ => mips}/mips_fulong2e.c | 0
hw/{ => mips}/mips_int.c | 0
hw/{ => mips}/mips_jazz.c | 0
hw/{ => mips}/mips_malta.c | 0
hw/{ => mips}/mips_mipssim.c | 0
hw/{ => mips}/mips_r4k.c | 0
hw/openrisc/Makefile.objs | 5 ++--
hw/{openrisc_timer.c => openrisc/cputimer.c} | 0
hw/{ => openrisc}/openrisc_sim.c | 0
hw/{openrisc_pic.c => openrisc/pic_cpu.c} | 0
hw/ppc/Makefile.objs | 17 ++++++++-----
hw/{ => ppc}/ppc.c | 0
hw/{ => ppc}/ppc405_boards.c | 0
hw/{ => ppc}/ppc405_uc.c | 0
hw/{ => ppc}/ppc440_bamboo.c | 0
hw/{ => ppc}/ppc_booke.c | 0
hw/{ => ppc}/spapr.c | 0
hw/{ => ppc}/virtex_ml507.c | 0
hw/sh4/Makefile.objs | 4 ++-
hw/{ => sh4}/r2d.c | 0
hw/{ => sh4}/shix.c | 0
hw/sparc/Makefile.objs | 6 +++--
hw/{ => sparc}/leon3.c | 0
hw/{ => sparc}/sun4m.c | 0
hw/sparc64/Makefile.objs | 4 ++-
hw/{ => sparc64}/sun4u.c | 0
hw/unicore32/Makefile.objs | 2 --
hw/{ => unicore32}/puv3.c | 0
hw/xtensa/Makefile.objs | 4 +--
hw/{xtensa_pic.c => xtensa/pic_cpu.c} | 0
hw/{ => xtensa}/xtensa_lx60.c | 0
hw/{ => xtensa}/xtensa_sim.c | 0
85 files changed, 72 insertions(+), 62 deletions(-)
rename hw/{alpha_dp264.c => alpha/dp264.c} (100%)
rename hw/{alpha_pci.c => alpha/pci.c} (100%)
rename hw/{arm_boot.c => arm/boot.c} (100%)
rename hw/{ => arm}/collie.c (100%)
rename hw/{ => arm}/exynos4_boards.c (100%)
rename hw/{ => arm}/gumstix.c (100%)
rename hw/{ => arm}/highbank.c (100%)
rename hw/{ => arm}/integratorcp.c (100%)
rename hw/{ => arm}/kzm.c (100%)
rename hw/{ => arm}/mainstone.c (100%)
rename hw/{ => arm}/musicpal.c (100%)
rename hw/{ => arm}/nseries.c (100%)
rename hw/{ => arm}/omap_sx1.c (100%)
rename hw/{ => arm}/palm.c (100%)
rename hw/{arm_pic.c => arm/pic_cpu.c} (100%)
rename hw/{ => arm}/realview.c (100%)
rename hw/{ => arm}/spitz.c (100%)
rename hw/{ => arm}/stellaris.c (100%)
rename hw/{ => arm}/tosa.c (100%)
rename hw/{ => arm}/versatilepb.c (100%)
rename hw/{ => arm}/vexpress.c (100%)
rename hw/{ => arm}/xilinx_zynq.c (100%)
rename hw/{ => arm}/z2.c (100%)
rename hw/{ => cris}/axis_dev88.c (100%)
rename hw/{cris-boot.c => cris/boot.c} (100%)
rename hw/{cris_pic_cpu.c => cris/pic_cpu.c} (100%)
rename hw/{ => i386}/multiboot.c (100%)
rename hw/{ => i386}/pc.c (100%)
rename hw/{ => i386}/pc_piix.c (100%)
rename hw/{ => i386}/pc_q35.c (100%)
rename hw/{ => i386}/smbios.c (100%)
rename hw/{ => i386}/xen_domainbuild.c (100%)
rename hw/{ => i386}/xen_machine_pv.c (100%)
rename hw/{ => lm32}/lm32_boards.c (100%)
rename hw/{ => lm32}/milkymist.c (100%)
rename hw/{ => m68k}/an5206.c (100%)
rename hw/{ => m68k}/dummy_m68k.c (100%)
rename hw/{ => m68k}/mcf5208.c (100%)
rename hw/{microblaze_boot.c => microblaze/boot.c} (100%)
rename hw/{ => microblaze}/petalogix_ml605_mmu.c (100%)
rename hw/{ => microblaze}/petalogix_s3adsp1800_mmu.c (100%)
rename hw/{microblaze_pic_cpu.c => microblaze/pic_cpu.c} (100%)
rename hw/{mips_addr.c => mips/addr.c} (100%)
rename hw/{mips_timer.c => mips/cputimer.c} (100%)
rename hw/{ => mips}/mips_fulong2e.c (100%)
rename hw/{ => mips}/mips_int.c (100%)
rename hw/{ => mips}/mips_jazz.c (100%)
rename hw/{ => mips}/mips_malta.c (100%)
rename hw/{ => mips}/mips_mipssim.c (100%)
rename hw/{ => mips}/mips_r4k.c (100%)
rename hw/{openrisc_timer.c => openrisc/cputimer.c} (100%)
rename hw/{ => openrisc}/openrisc_sim.c (100%)
rename hw/{openrisc_pic.c => openrisc/pic_cpu.c} (100%)
rename hw/{ => ppc}/ppc.c (100%)
rename hw/{ => ppc}/ppc405_boards.c (100%)
rename hw/{ => ppc}/ppc405_uc.c (100%)
rename hw/{ => ppc}/ppc440_bamboo.c (100%)
rename hw/{ => ppc}/ppc_booke.c (100%)
rename hw/{ => ppc}/spapr.c (100%)
rename hw/{ => ppc}/virtex_ml507.c (100%)
rename hw/{ => sh4}/r2d.c (100%)
rename hw/{ => sh4}/shix.c (100%)
rename hw/{ => sparc}/leon3.c (100%)
rename hw/{ => sparc}/sun4m.c (100%)
rename hw/{ => sparc64}/sun4u.c (100%)
rename hw/{ => unicore32}/puv3.c (100%)
rename hw/{xtensa_pic.c => xtensa/pic_cpu.c} (100%)
rename hw/{ => xtensa}/xtensa_lx60.c (100%)
rename hw/{ => xtensa}/xtensa_sim.c (100%)hw/Makefile.objs +0 -1
@@ -206,7 +206,6 @@ obj-$(CONFIG_SOFTMMU) += vhost_net.o obj-$(CONFIG_VHOST_NET) += vhost.o obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/ obj-$(CONFIG_VGA) += vga.o -obj-$(CONFIG_XEN) += xen_domainbuild.o xen_machine_pv.o # Inter-VM PCI shared memory & VFIO PCI device assignment ifeq ($(CONFIG_PCI), y)
hw/alpha/Makefile.objs +3 -1
@@ -1,4 +1,6 @@ obj-y = mc146818rtc.o -obj-y += alpha_pci.o alpha_dp264.o alpha_typhoon.o +obj-y += alpha_typhoon.o obj-y := $(addprefix ../,$(obj-y)) + +obj-y += dp264.o pci.o
hw/alpha/dp264.c renamed from hw/alpha_dp264.c +0 -0
hw/alpha/pci.c renamed from hw/alpha_pci.c +0 -0
hw/arm/Makefile.objs +14 -17
@@ -1,35 +1,32 @@ -obj-y = integratorcp.o versatilepb.o arm_pic.o -obj-y += arm_boot.o -obj-y += xilinx_zynq.o zynq_slcr.o +obj-y += zynq_slcr.o obj-y += xilinx_spips.o obj-y += arm_gic.o arm_gic_common.o obj-y += a9scu.o -obj-y += realview_gic.o realview.o arm_sysctl.o arm11mpcore.o a9mpcore.o +obj-y += realview_gic.o arm_sysctl.o arm11mpcore.o a9mpcore.o obj-y += exynos4210_gic.o exynos4210_combiner.o exynos4210.o -obj-y += exynos4_boards.o exynos4210_uart.o exynos4210_pwm.o +obj-y += exynos4210_uart.o exynos4210_pwm.o obj-y += exynos4210_pmu.o exynos4210_mct.o exynos4210_fimd.o obj-y += exynos4210_rtc.o exynos4210_i2c.o obj-y += arm_mptimer.o a15mpcore.o -obj-y += armv7m.o armv7m_nvic.o stellaris.o stellaris_enet.o -obj-y += highbank.o +obj-y += armv7m.o armv7m_nvic.o stellaris_enet.o obj-y += pxa2xx.o pxa2xx_pic.o pxa2xx_gpio.o pxa2xx_timer.o pxa2xx_dma.o obj-y += pxa2xx_lcd.o pxa2xx_mmci.o pxa2xx_pcmcia.o pxa2xx_keypad.o -obj-y += gumstix.o -obj-y += zaurus.o ide/microdrive.o spitz.o tosa.o tc6393xb.o +obj-y += zaurus.o ide/microdrive.o tc6393xb.o obj-y += omap1.o omap_lcdc.o omap_dma.o omap_clk.o omap_mmc.o omap_i2c.o \ omap_gpio.o omap_intc.o omap_uart.o obj-y += omap2.o omap_dss.o soc_dma.o omap_gptimer.o omap_synctimer.o \ omap_gpmc.o omap_sdrc.o omap_spi.o omap_tap.o omap_l4.o -obj-y += omap_sx1.o palm.o tsc210x.o -obj-y += nseries.o blizzard.o onenand.o cbus.o tusb6010.o usb/hcd-musb.o -obj-y += mst_fpga.o mainstone.o -obj-y += z2.o -obj-y += musicpal.o bitbang_i2c.o marvell_88w8618_audio.o +obj-y += tsc210x.o +obj-y += blizzard.o onenand.o cbus.o tusb6010.o usb/hcd-musb.o +obj-y += mst_fpga.o +obj-y += bitbang_i2c.o marvell_88w8618_audio.o obj-y += framebuffer.o -obj-y += vexpress.o obj-y += strongarm.o -obj-y += collie.o obj-y += imx_serial.o imx_ccm.o imx_timer.o imx_avic.o -obj-y += kzm.o obj-y := $(addprefix ../,$(obj-y)) + +obj-y += boot.o collie.o exynos4_boards.o gumstix.o highbank.o +obj-y += integratorcp.o kzm.o mainstone.o musicpal.o nseries.o +obj-y += omap_sx1.o palm.o pic_cpu.o realview.o spitz.o stellaris.o +obj-y += tosa.o versatilepb.o vexpress.o xilinx_zynq.o z2.o
hw/arm/boot.c renamed from hw/arm_boot.c +0 -0
hw/arm/collie.c renamed from hw/collie.c +0 -0
hw/arm/exynos4_boards.c renamed from hw/exynos4_boards.c +0 -0
hw/arm/gumstix.c renamed from hw/gumstix.c +0 -0
hw/arm/highbank.c renamed from hw/highbank.c +0 -0
hw/arm/integratorcp.c renamed from hw/integratorcp.c +0 -0
hw/arm/kzm.c renamed from hw/kzm.c +0 -0
hw/arm/mainstone.c renamed from hw/mainstone.c +0 -0
hw/arm/musicpal.c renamed from hw/musicpal.c +0 -0
hw/arm/nseries.c renamed from hw/nseries.c +0 -0
hw/arm/omap_sx1.c renamed from hw/omap_sx1.c +0 -0
hw/arm/palm.c renamed from hw/palm.c +0 -0
hw/arm/pic_cpu.c renamed from hw/arm_pic.c +0 -0
hw/arm/realview.c renamed from hw/realview.c +0 -0
hw/arm/spitz.c renamed from hw/spitz.c +0 -0
hw/arm/stellaris.c renamed from hw/stellaris.c +0 -0
hw/arm/tosa.c renamed from hw/tosa.c +0 -0
hw/arm/versatilepb.c renamed from hw/versatilepb.c +0 -0
hw/arm/vexpress.c renamed from hw/vexpress.c +0 -0
hw/arm/xilinx_zynq.c renamed from hw/xilinx_zynq.c +0 -0
hw/arm/z2.c renamed from hw/z2.c +0 -0
hw/cris/Makefile.objs +5 -5
@@ -1,8 +1,3 @@ -# Boards -obj-y = cris_pic_cpu.o -obj-y += cris-boot.o -obj-y += axis_dev88.o - # IO blocks obj-y += etraxfs_dma.o obj-y += etraxfs_pic.o
@@ -11,3 +6,8 @@ obj-y += etraxfs_timer.o obj-y += etraxfs_ser.o obj-y := $(addprefix ../,$(obj-y)) + +# Boards +obj-y += pic_cpu.o +obj-y += boot.o +obj-y += axis_dev88.o
hw/cris/axis_dev88.c renamed from hw/axis_dev88.c +0 -0
hw/cris/boot.c renamed from hw/cris-boot.c +0 -0
hw/cris/pic_cpu.c renamed from hw/cris_pic_cpu.c +0 -0
hw/i386/Makefile.objs +8 -5
@@ -1,12 +1,11 @@ -obj-y += mc146818rtc.o pc.o +obj-y += mc146818rtc.o obj-y += apic_common.o apic.o kvmvapic.o obj-y += sga.o ioapic_common.o ioapic.o piix_pci.o obj-y += vmport.o -obj-y += pci/pci-hotplug.o smbios.o wdt_ib700.o -obj-y += debugcon.o debugexit.o multiboot.o -obj-y += pc_piix.o +obj-y += pci/pci-hotplug.o wdt_ib700.o +obj-y += debugcon.o debugexit.o obj-y += pc_sysfw.o -obj-y += lpc_ich9.o q35.o pc_q35.o +obj-y += lpc_ich9.o q35.o obj-$(CONFIG_XEN) += xen_platform.o xen_apic.o obj-$(CONFIG_XEN_PCI_PASSTHROUGH) += xen-host-pci-device.o obj-$(CONFIG_XEN_PCI_PASSTHROUGH) += xen_pt.o xen_pt_config_init.o xen_pt_msi.o
@@ -15,3 +14,7 @@ obj-$(CONFIG_SPICE) += qxl.o qxl-logger.o qxl-render.o obj-y += pc-testdev.o obj-y := $(addprefix ../,$(obj-y)) + +obj-y += multiboot.o smbios.o +obj-y += pc.o pc_piix.o pc_q35.o +obj-$(CONFIG_XEN) += xen_domainbuild.o xen_machine_pv.o
hw/i386/multiboot.c renamed from hw/multiboot.c +0 -0
hw/i386/pc.c renamed from hw/pc.c +0 -0
hw/i386/pc_piix.c renamed from hw/pc_piix.c +0 -0
hw/i386/pc_q35.c renamed from hw/pc_q35.c +0 -0
hw/i386/smbios.c renamed from hw/smbios.c +0 -0
hw/i386/xen_domainbuild.c renamed from hw/xen_domainbuild.c +0 -0
hw/i386/xen_machine_pv.c renamed from hw/xen_machine_pv.c +0 -0
hw/lm32/Makefile.objs +4 -4
@@ -1,7 +1,3 @@ -# LM32 boards -obj-y += lm32_boards.o -obj-y += milkymist.o - # LM32 peripherals obj-y += lm32_pic.o obj-y += lm32_juart.o
@@ -21,3 +17,7 @@ obj-y += milkymist-vgafb.o obj-y += framebuffer.o obj-y := $(addprefix ../,$(obj-y)) + +# LM32 boards +obj-y += lm32_boards.o +obj-y += milkymist.o
hw/lm32/lm32_boards.c renamed from hw/lm32_boards.c +0 -0
hw/lm32/milkymist.c renamed from hw/milkymist.c +0 -0
hw/m68k/Makefile.objs +5 -2
@@ -1,4 +1,7 @@ -obj-y = an5206.o mcf5206.o mcf_uart.o mcf_intc.o mcf5208.o mcf_fec.o -obj-y += dummy_m68k.o +obj-y = mcf5206.o mcf_uart.o mcf_intc.o mcf_fec.o obj-y := $(addprefix ../,$(obj-y)) + +obj-y += an5206.o mcf5208.o +obj-y += dummy_m68k.o +
hw/m68k/an5206.c renamed from hw/an5206.c +0 -0
hw/m68k/dummy_m68k.c renamed from hw/dummy_m68k.c +0 -0
hw/m68k/mcf5208.c renamed from hw/mcf5208.c +0 -0
hw/microblaze/Makefile.objs +5 -5
@@ -1,9 +1,9 @@ -obj-y = petalogix_s3adsp1800_mmu.o -obj-y += petalogix_ml605_mmu.o -obj-y += microblaze_boot.o obj-y += xilinx_spi.o - -obj-y += microblaze_pic_cpu.o obj-y += xilinx_ethlite.o obj-y := $(addprefix ../,$(obj-y)) + +obj-y += petalogix_s3adsp1800_mmu.o +obj-y += petalogix_ml605_mmu.o +obj-y += boot.o +obj-y += pic_cpu.o
hw/microblaze/boot.c renamed from hw/microblaze_boot.c +0 -0
hw/microblaze/petalogix_ml605_mmu.c renamed from hw/petalogix_ml605_mmu.c +0 -0
hw/microblaze/petalogix_s3adsp1800_mmu.c renamed from hw/petalogix_s3adsp1800_mmu.c +0 -0
hw/microblaze/pic_cpu.c renamed from hw/microblaze_pic_cpu.c +0 -0
hw/mips/Makefile.objs +5 -3
@@ -1,6 +1,8 @@ -obj-y = mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o -obj-y += mips_addr.o mips_timer.o mips_int.o obj-y += gt64xxx.o mc146818rtc.o -obj-$(CONFIG_FULONG) += bonito.o vt82c686.o mips_fulong2e.o +obj-$(CONFIG_FULONG) += bonito.o vt82c686.o obj-y := $(addprefix ../,$(obj-y)) + +obj-y += mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o +obj-y += addr.o cputimer.o mips_int.o +obj-$(CONFIG_FULONG) += mips_fulong2e.o
hw/mips/addr.c renamed from hw/mips_addr.c +0 -0
hw/mips/cputimer.c renamed from hw/mips_timer.c +0 -0
hw/mips/mips_fulong2e.c renamed from hw/mips_fulong2e.c +0 -0
hw/mips/mips_int.c renamed from hw/mips_int.c +0 -0
hw/mips/mips_jazz.c renamed from hw/mips_jazz.c +0 -0
hw/mips/mips_malta.c renamed from hw/mips_malta.c +0 -0
hw/mips/mips_mipssim.c renamed from hw/mips_mipssim.c +0 -0
hw/mips/mips_r4k.c renamed from hw/mips_r4k.c +0 -0
hw/openrisc/Makefile.objs +2 -3
@@ -1,3 +1,2 @@ -obj-y = openrisc_pic.o openrisc_sim.o openrisc_timer.o - -obj-y := $(addprefix ../,$(obj-y)) +obj-y = pic_cpu.o cputimer.o +obj-y += openrisc_sim.o
hw/openrisc/cputimer.c renamed from hw/openrisc_timer.c +0 -0
hw/openrisc/openrisc_sim.c renamed from hw/openrisc_sim.c +0 -0
hw/openrisc/pic_cpu.c renamed from hw/openrisc_pic.c +0 -0
hw/ppc/Makefile.objs +10 -7
@@ -1,19 +1,14 @@ -# shared objects -obj-y = ppc.o ppc_booke.o # PREP target obj-y += mc146818rtc.o # IBM pSeries (sPAPR) -obj-$(CONFIG_PSERIES) += spapr.o spapr_hcall.o spapr_rtas.o spapr_vio.o +obj-$(CONFIG_PSERIES) += spapr_hcall.o spapr_rtas.o spapr_vio.o obj-$(CONFIG_PSERIES) += xics.o spapr_vty.o spapr_llan.o spapr_vscsi.o obj-$(CONFIG_PSERIES) += spapr_pci.o pci/pci-hotplug.o spapr_iommu.o obj-$(CONFIG_PSERIES) += spapr_events.o spapr_nvram.o # PowerPC 4xx boards -obj-y += ppc4xx_devs.o ppc4xx_pci.o ppc405_uc.o ppc405_boards.o -obj-y += ppc440_bamboo.o +obj-y += ppc4xx_devs.o ppc4xx_pci.o # PowerPC E500 boards obj-$(CONFIG_E500) += mpc8544_guts.o ppce500_spin.o -# PowerPC 440 Xilinx ML507 reference board. -obj-y += virtex_ml507.o # PowerPC OpenPIC obj-y += openpic.o
@@ -22,6 +17,12 @@ obj-y += xilinx_ethlite.o obj-y := $(addprefix ../,$(obj-y)) +# shared objects +obj-y += ppc.o ppc_booke.o +# IBM pSeries (sPAPR) +obj-$(CONFIG_PSERIES) += spapr.o +# PowerPC 4xx boards +obj-y += ppc405_boards.o ppc405_uc.o ppc440_bamboo.o # PReP obj-y += prep.o # OldWorld PowerMac
@@ -30,3 +31,5 @@ obj-y += mac_oldworld.o obj-y += mac_newworld.o # e500 obj-$(CONFIG_E500) += e500.o mpc8544ds.o e500plat.o +# PowerPC 440 Xilinx ML507 reference board. +obj-y += virtex_ml507.o
hw/ppc/ppc.c renamed from hw/ppc.c +0 -0
hw/ppc/ppc405_boards.c renamed from hw/ppc405_boards.c +0 -0
hw/ppc/ppc405_uc.c renamed from hw/ppc405_uc.c +0 -0
hw/ppc/ppc440_bamboo.c renamed from hw/ppc440_bamboo.c +0 -0
hw/ppc/ppc_booke.c renamed from hw/ppc_booke.c +0 -0
hw/ppc/spapr.c renamed from hw/spapr.c +0 -0
hw/ppc/virtex_ml507.c renamed from hw/virtex_ml507.c +0 -0
hw/sh4/Makefile.objs +3 -1
@@ -1,5 +1,7 @@ -obj-y = shix.o r2d.o sh7750.o sh7750_regnames.o tc58128.o +obj-y = sh7750.o sh7750_regnames.o tc58128.o obj-y += sh_timer.o sh_serial.o sh_intc.o sh_pci.o sm501.o obj-y += ide/mmio.o obj-y := $(addprefix ../,$(obj-y)) + +obj-y += shix.o r2d.o
hw/sh4/r2d.c renamed from hw/r2d.c +0 -0
hw/sh4/shix.c renamed from hw/shix.c +0 -0
hw/sparc/Makefile.objs +4 -2
@@ -1,8 +1,10 @@ -obj-y = sun4m.o lance.o tcx.o sun4m_iommu.o slavio_intctl.o +obj-y = lance.o tcx.o sun4m_iommu.o slavio_intctl.o obj-y += slavio_timer.o slavio_misc.o sparc32_dma.o -obj-y += cs4231.o eccmemctl.o sbi.o sun4c_intctl.o leon3.o +obj-y += cs4231.o eccmemctl.o sbi.o sun4c_intctl.o # GRLIB obj-y += grlib_gptimer.o grlib_irqmp.o grlib_apbuart.o obj-y := $(addprefix ../,$(obj-y)) + +obj-y += sun4m.o leon3.o
hw/sparc/leon3.c renamed from hw/leon3.c +0 -0
hw/sparc/sun4m.c renamed from hw/sun4m.c +0 -0
hw/sparc64/Makefile.objs +3 -1
@@ -1,4 +1,6 @@ -obj-y = sun4u.o apb_pci.o +obj-y = apb_pci.o obj-y += mc146818rtc.o obj-y := $(addprefix ../,$(obj-y)) + +obj-y += sun4u.o
hw/sparc64/sun4u.c renamed from hw/sun4u.c +0 -0
hw/unicore32/Makefile.objs +0 -2
@@ -2,5 +2,3 @@ # PKUnity-v3 SoC and board information obj-${CONFIG_PUV3} += puv3.o - -obj-y := $(addprefix ../,$(obj-y))
hw/unicore32/puv3.c renamed from hw/puv3.c +0 -0
hw/xtensa/Makefile.objs +1 -3
@@ -1,5 +1,3 @@ -obj-y += xtensa_pic.o +obj-y += pic_cpu.o obj-y += xtensa_sim.o obj-y += xtensa_lx60.o - -obj-y := $(addprefix ../,$(obj-y))
hw/xtensa/pic_cpu.c renamed from hw/xtensa_pic.c +0 -0
hw/xtensa/xtensa_lx60.c renamed from hw/xtensa_lx60.c +0 -0
hw/xtensa/xtensa_sim.c renamed from hw/xtensa_sim.c +0 -0
Signature · 1 line
1.8.1.2
PATCH 13/18 arm: move files referencing CPU to hw/arm/
In reply to Paolo Bonzini---
hw/arm/Makefile.objs | 13 ++++++++-----
hw/{ => arm}/armv7m.c | 0
hw/{ => arm}/exynos4210.c | 0
hw/{ => arm}/omap1.c | 0
hw/{ => arm}/omap2.c | 0
hw/{ => arm}/pxa2xx.c | 0
hw/{ => arm}/pxa2xx_gpio.c | 0
hw/{ => arm}/pxa2xx_pic.c | 0
8 files changed, 8 insertions(+), 5 deletions(-)
rename hw/{ => arm}/armv7m.c (100%)
rename hw/{ => arm}/exynos4210.c (100%)
rename hw/{ => arm}/omap1.c (100%)
rename hw/{ => arm}/omap2.c (100%)
rename hw/{ => arm}/pxa2xx.c (100%)
rename hw/{ => arm}/pxa2xx_gpio.c (100%)
rename hw/{ => arm}/pxa2xx_pic.c (100%)hw/arm/Makefile.objs +8 -5
@@ -3,18 +3,18 @@ obj-y += xilinx_spips.o obj-y += arm_gic.o arm_gic_common.o obj-y += a9scu.o obj-y += realview_gic.o arm_sysctl.o arm11mpcore.o a9mpcore.o -obj-y += exynos4210_gic.o exynos4210_combiner.o exynos4210.o +obj-y += exynos4210_gic.o exynos4210_combiner.o obj-y += exynos4210_uart.o exynos4210_pwm.o obj-y += exynos4210_pmu.o exynos4210_mct.o exynos4210_fimd.o obj-y += exynos4210_rtc.o exynos4210_i2c.o obj-y += arm_mptimer.o a15mpcore.o -obj-y += armv7m.o armv7m_nvic.o stellaris_enet.o -obj-y += pxa2xx.o pxa2xx_pic.o pxa2xx_gpio.o pxa2xx_timer.o pxa2xx_dma.o +obj-y += armv7m_nvic.o stellaris_enet.o +obj-y += pxa2xx_timer.o pxa2xx_dma.o obj-y += pxa2xx_lcd.o pxa2xx_mmci.o pxa2xx_pcmcia.o pxa2xx_keypad.o obj-y += zaurus.o ide/microdrive.o tc6393xb.o -obj-y += omap1.o omap_lcdc.o omap_dma.o omap_clk.o omap_mmc.o omap_i2c.o \ +obj-y += omap_lcdc.o omap_dma.o omap_clk.o omap_mmc.o omap_i2c.o \ omap_gpio.o omap_intc.o omap_uart.o -obj-y += omap2.o omap_dss.o soc_dma.o omap_gptimer.o omap_synctimer.o \ +obj-y += omap_dss.o soc_dma.o omap_gptimer.o omap_synctimer.o \ omap_gpmc.o omap_sdrc.o omap_spi.o omap_tap.o omap_l4.o obj-y += tsc210x.o obj-y += blizzard.o onenand.o cbus.o tusb6010.o usb/hcd-musb.o
@@ -30,3 +30,6 @@ obj-y += boot.o collie.o exynos4_boards.o gumstix.o highbank.o obj-y += integratorcp.o kzm.o mainstone.o musicpal.o nseries.o obj-y += omap_sx1.o palm.o pic_cpu.o realview.o spitz.o stellaris.o obj-y += tosa.o versatilepb.o vexpress.o xilinx_zynq.o z2.o + +obj-y += armv7m.o exynos4210.o pxa2xx.o pxa2xx_gpio.o pxa2xx_pic.o +obj-y += omap1.o omap2.o
hw/arm/armv7m.c renamed from hw/armv7m.c +0 -0
hw/arm/exynos4210.c renamed from hw/exynos4210.c +0 -0
hw/arm/omap1.c renamed from hw/omap1.c +0 -0
hw/arm/omap2.c renamed from hw/omap2.c +0 -0
hw/arm/pxa2xx.c renamed from hw/pxa2xx.c +0 -0
hw/arm/pxa2xx_gpio.c renamed from hw/pxa2xx_gpio.c +0 -0
hw/arm/pxa2xx_pic.c renamed from hw/pxa2xx_pic.c +0 -0
Signature · 1 line
1.8.1.2
PATCH 14/18 i386: move files referencing CPU to hw/i386/
In reply to Paolo Bonzini---
hw/i386/Makefile.objs | 4 +++-
hw/{ => i386}/kvmvapic.c | 0
2 files changed, 3 insertions(+), 1 deletion(-)
rename hw/{ => i386}/kvmvapic.c (100%)hw/i386/Makefile.objs +3 -1
@@ -1,5 +1,5 @@ obj-y += mc146818rtc.o -obj-y += apic_common.o apic.o kvmvapic.o +obj-y += apic_common.o apic.o obj-y += sga.o ioapic_common.o ioapic.o piix_pci.o obj-y += vmport.o obj-y += pci/pci-hotplug.o wdt_ib700.o
@@ -18,3 +18,5 @@ obj-y := $(addprefix ../,$(obj-y)) obj-y += multiboot.o smbios.o obj-y += pc.o pc_piix.o pc_q35.o obj-$(CONFIG_XEN) += xen_domainbuild.o xen_machine_pv.o + +obj-y += kvmvapic.o
hw/i386/kvmvapic.c renamed from hw/kvmvapic.c +0 -0
Signature · 1 line
1.8.1.2
PATCH 15/18 m68k: move files referencing CPU to hw/m68k/
In reply to Paolo Bonzini---
hw/m68k/Makefile.objs | 3 ++-
hw/{ => m68k}/mcf5206.c | 0
hw/{ => m68k}/mcf_intc.c | 0
3 files changed, 2 insertions(+), 1 deletion(-)
rename hw/{ => m68k}/mcf5206.c (100%)
rename hw/{ => m68k}/mcf_intc.c (100%)hw/m68k/Makefile.objs +2 -1
@@ -1,7 +1,8 @@ -obj-y = mcf5206.o mcf_uart.o mcf_intc.o mcf_fec.o +obj-y = mcf_uart.o mcf_fec.o obj-y := $(addprefix ../,$(obj-y)) obj-y += an5206.o mcf5208.o obj-y += dummy_m68k.o +obj-y += mcf5206.o mcf_intc.o
hw/m68k/mcf5206.c renamed from hw/mcf5206.c +0 -0
hw/m68k/mcf_intc.c renamed from hw/mcf_intc.c +0 -0
Signature · 1 line
1.8.1.2
PATCH 16/18 ppc: move files referencing CPU to hw/ppc/
In reply to Paolo Bonzini---
hw/ppc/Makefile.objs | 13 ++++++-------
hw/{ => ppc}/mpc8544_guts.c | 0
hw/{ => ppc}/ppc4xx_devs.c | 0
hw/{ => ppc}/ppce500_spin.c | 0
hw/{ => ppc}/spapr_vio.c | 0
hw/{ => ppc}/xics.c | 0
6 files changed, 6 insertions(+), 7 deletions(-)
rename hw/{ => ppc}/mpc8544_guts.c (100%)
rename hw/{ => ppc}/ppc4xx_devs.c (100%)
rename hw/{ => ppc}/ppce500_spin.c (100%)
rename hw/{ => ppc}/spapr_vio.c (100%)
rename hw/{ => ppc}/xics.c (100%)hw/ppc/Makefile.objs +6 -7
@@ -1,14 +1,12 @@ # PREP target obj-y += mc146818rtc.o # IBM pSeries (sPAPR) -obj-$(CONFIG_PSERIES) += spapr_hcall.o spapr_rtas.o spapr_vio.o -obj-$(CONFIG_PSERIES) += xics.o spapr_vty.o spapr_llan.o spapr_vscsi.o +obj-$(CONFIG_PSERIES) += spapr_hcall.o spapr_rtas.o +obj-$(CONFIG_PSERIES) += spapr_vty.o spapr_llan.o spapr_vscsi.o obj-$(CONFIG_PSERIES) += spapr_pci.o pci/pci-hotplug.o spapr_iommu.o obj-$(CONFIG_PSERIES) += spapr_events.o spapr_nvram.o # PowerPC 4xx boards -obj-y += ppc4xx_devs.o ppc4xx_pci.o -# PowerPC E500 boards -obj-$(CONFIG_E500) += mpc8544_guts.o ppce500_spin.o +obj-y += ppc4xx_pci.o # PowerPC OpenPIC obj-y += openpic.o
@@ -20,9 +18,9 @@ obj-y := $(addprefix ../,$(obj-y)) # shared objects obj-y += ppc.o ppc_booke.o # IBM pSeries (sPAPR) -obj-$(CONFIG_PSERIES) += spapr.o +obj-$(CONFIG_PSERIES) += spapr.o xics.o spapr_vio.o # PowerPC 4xx boards -obj-y += ppc405_boards.o ppc405_uc.o ppc440_bamboo.o +obj-y += ppc405_boards.o ppc4xx_devs.o ppc405_uc.o ppc440_bamboo.o # PReP obj-y += prep.o # OldWorld PowerMac
@@ -31,5 +29,6 @@ obj-y += mac_oldworld.o obj-y += mac_newworld.o # e500 obj-$(CONFIG_E500) += e500.o mpc8544ds.o e500plat.o +obj-$(CONFIG_E500) += mpc8544_guts.o ppce500_spin.o # PowerPC 440 Xilinx ML507 reference board. obj-y += virtex_ml507.o
hw/ppc/mpc8544_guts.c renamed from hw/mpc8544_guts.c +0 -0
hw/ppc/ppc4xx_devs.c renamed from hw/ppc4xx_devs.c +0 -0
hw/ppc/ppce500_spin.c renamed from hw/ppce500_spin.c +0 -0
hw/ppc/spapr_vio.c renamed from hw/spapr_vio.c +0 -0
hw/ppc/xics.c renamed from hw/xics.c +0 -0
Signature · 1 line
1.8.1.2
PATCH 17/18 ppc: move more files to hw/ppc
In reply to Paolo BonziniThese sPAPR files do not implement devices, move them over.
---
hw/ppc/Makefile.objs | 8 ++++----
hw/{ => ppc}/spapr_events.c | 0
hw/{ => ppc}/spapr_hcall.c | 0
hw/{ => ppc}/spapr_iommu.c | 0
hw/{ => ppc}/spapr_rtas.c | 0
5 files changed, 4 insertions(+), 4 deletions(-)
rename hw/{ => ppc}/spapr_events.c (100%)
rename hw/{ => ppc}/spapr_hcall.c (100%)
rename hw/{ => ppc}/spapr_iommu.c (100%)
rename hw/{ => ppc}/spapr_rtas.c (100%)hw/ppc/Makefile.objs +4 -4
@@ -1,10 +1,9 @@ # PREP target obj-y += mc146818rtc.o # IBM pSeries (sPAPR) -obj-$(CONFIG_PSERIES) += spapr_hcall.o spapr_rtas.o obj-$(CONFIG_PSERIES) += spapr_vty.o spapr_llan.o spapr_vscsi.o -obj-$(CONFIG_PSERIES) += spapr_pci.o pci/pci-hotplug.o spapr_iommu.o -obj-$(CONFIG_PSERIES) += spapr_events.o spapr_nvram.o +obj-$(CONFIG_PSERIES) += spapr_pci.o pci/pci-hotplug.o +obj-$(CONFIG_PSERIES) += spapr_nvram.o # PowerPC 4xx boards obj-y += ppc4xx_pci.o # PowerPC OpenPIC
@@ -18,7 +17,8 @@ obj-y := $(addprefix ../,$(obj-y)) # shared objects obj-y += ppc.o ppc_booke.o # IBM pSeries (sPAPR) -obj-$(CONFIG_PSERIES) += spapr.o xics.o spapr_vio.o +obj-$(CONFIG_PSERIES) += spapr.o xics.o spapr_vio.o spapr_events.o +obj-$(CONFIG_PSERIES) += spapr_hcall.o spapr_iommu.o spapr_rtas.o # PowerPC 4xx boards obj-y += ppc405_boards.o ppc4xx_devs.o ppc405_uc.o ppc440_bamboo.o # PReP
hw/ppc/spapr_events.c renamed from hw/spapr_events.c +0 -0
hw/ppc/spapr_hcall.c renamed from hw/spapr_hcall.c +0 -0
hw/ppc/spapr_iommu.c renamed from hw/spapr_iommu.c +0 -0
hw/ppc/spapr_rtas.c renamed from hw/spapr_rtas.c +0 -0
Signature · 1 line
1.8.1.2
PATCH 18/18 sh: move files referencing CPU to hw/sh4/
In reply to Paolo Bonzini---
hw/sh4/Makefile.objs | 4 +++-
hw/{ => sh4}/sh7750.c | 0
hw/{ => sh4}/sh7750_regnames.c | 0
3 files changed, 3 insertions(+), 1 deletion(-)
rename hw/{ => sh4}/sh7750.c (100%)
rename hw/{ => sh4}/sh7750_regnames.c (100%)hw/sh4/Makefile.objs +3 -1
@@ -1,7 +1,9 @@ -obj-y = sh7750.o sh7750_regnames.o tc58128.o +obj-y = tc58128.o obj-y += sh_timer.o sh_serial.o sh_intc.o sh_pci.o sm501.o obj-y += ide/mmio.o obj-y := $(addprefix ../,$(obj-y)) obj-y += shix.o r2d.o + +obj-y += sh7750.o sh7750_regnames.o
hw/sh4/sh7750.c renamed from hw/sh7750.c +0 -0
hw/sh4/sh7750_regnames.c renamed from hw/sh7750_regnames.c +0 -0
Signature · 1 line
1.8.1.2
Il 05/03/2013 18:17, Paolo Bonzini ha scritto:
Quoted 9 lines
This includes the mechanical changes, as well as moving stuff out of hw/. Boards and devices referencing CPU are moved to per-arch subdirectories. This part was uncontroversial, and I have already posted it separately in this exact shape.
The following changes since commit
288f1e3f87ec24abeac38399f175fe74243f7bc5:
cadence_gem: Add debug msgs for rx desc movement (2013-02-28 18:49:24 +0000)
Quoted 7 lines
are available in the git repository at:
git://github.com/bonzini/qemu.githw-dirsfor you to fetch changes up to
7a2771d1541ec9a0c585e9b853e5f4dc036919ad:sh: move files referencing CPU to hw/sh4/ (2013-03-01 15:01:20 +0100)
Rebased and repushed to the same location, new top commit is 15e87f983a73f512ac73ae5fc6759157f0a9e0e1.
Changes that conflicted included:
- the ARM KVM merge
- the removal of baum.h and msmouse.h
- the conversion of dataplane to AioContext
Paolo
Quoted 665 lines
----------------------------------------------------------------
Paolo Bonzini (18):
hw: move char backends to backends/
hw: move fifo.[ch] to libqemuutil
hw: move qdev-monitor.o to toplevel directory
hw: move device-hotplug.o to toplevel, compile it once
virtio-9p: useCONFIG_VIRTFS, notCONFIG_LINUX
virtio-9p: remove PCI dependencies from hw/9pfs/
vt82c686: vt82c686 is not a PCI host bridge
ppc: do not use ../ in include files
hw: include hw header files with full paths
build: always link device_tree.o into emulators if libfdt available
ppc: express FDT dependency of pSeries and e500 boards via default-configs/
hw: move boards and other isolated files to hw/ARCH
arm: move files referencing CPU to hw/arm/
i386: move files referencing CPU to hw/i386/
m68k: move files referencing CPU to hw/m68k/
ppc: move files referencing CPU to hw/ppc/
ppc: move more files to hw/ppc
sh: move files referencing CPU to hw/sh4/Makefile.objs | 1 + Makefile.target | 1 + backends/Makefile.objs | 4 ++ {hw => backends}/baum.c | 4 +- {hw => backends}/msmouse.c | 2 +- configure | 10 +--- default-configs/ppc-softmmu.mak | 1 + default-configs/ppc64-softmmu.mak | 2 + default-configs/ppcemb-softmmu.mak | 1 + hw/device-hotplug.c => device-hotplug.c | 13 +--- hw/9pfs/virtio-9p-device.c | 53 +---------------- hw/{9p.h => 9pfs/virtio-9p-device.h} | 4 +- hw/9pfs/virtio-9p-proxy.c | 1 + hw/9pfs/virtio-9p.c | 3 +- hw/9pfs/virtio-9p.h | 1 - hw/Makefile.objs | 8 +-- hw/a15mpcore.c | 2 +- hw/a9mpcore.c | 2 +- hw/a9scu.c | 2 +- hw/ac97.c | 6 +- hw/acpi.c | 6 +- hw/acpi_ich9.c | 10 ++-- hw/acpi_ich9.h | 2 +- hw/acpi_piix4.c | 14 ++--- hw/adb.c | 4 +- hw/adb.h | 2 +- hw/adlib.c | 8 +-- hw/ads7846.c | 2 +- hw/alpha/Makefile.objs | 4 +- hw/{alpha_dp264.c => alpha/dp264.c} | 16 ++--- hw/{alpha_pci.c => alpha/pci.c} | 2 +- hw/alpha_sys.h | 10 ++-- hw/alpha_typhoon.c | 6 +- hw/apb_pci.c | 12 ++-- hw/apic.c | 12 ++-- hw/apic_common.c | 4 +- hw/apic_internal.h | 2 +- hw/apm.c | 6 +- hw/apm.h | 2 +- hw/applesmc.c | 4 +- hw/arm/Makefile.objs | 43 +++++++------- hw/{ => arm}/armv7m.c | 6 +- hw/{arm_boot.c => arm/boot.c} | 8 +-- hw/{ => arm}/collie.c | 14 ++--- hw/{ => arm}/exynos4210.c | 12 ++-- hw/{ => arm}/exynos4_boards.c | 8 +-- hw/{ => arm}/gumstix.c | 10 ++-- hw/{ => arm}/highbank.c | 12 ++-- hw/{ => arm}/integratorcp.c | 8 +-- hw/{ => arm}/kzm.c | 14 ++--- hw/{ => arm}/mainstone.c | 14 ++--- hw/{ => arm}/musicpal.c | 16 ++--- hw/{ => arm}/nseries.c | 22 +++---- hw/{ => arm}/omap1.c | 10 ++-- hw/{ => arm}/omap2.c | 12 ++-- hw/{ => arm}/omap_sx1.c | 10 ++-- hw/{ => arm}/palm.c | 12 ++-- hw/{arm_pic.c => arm/pic_cpu.c} | 4 +- hw/{ => arm}/pxa2xx.c | 10 ++-- hw/{ => arm}/pxa2xx_gpio.c | 6 +- hw/{ => arm}/pxa2xx_pic.c | 6 +- hw/{ => arm}/realview.c | 14 ++--- hw/{ => arm}/spitz.c | 22 +++---- hw/{ => arm}/stellaris.c | 12 ++-- hw/{ => arm}/tosa.c | 20 +++---- hw/{ => arm}/versatilepb.c | 14 ++--- hw/{ => arm}/vexpress.c | 12 ++-- hw/{ => arm}/xilinx_zynq.c | 12 ++-- hw/{ => arm}/z2.c | 16 ++--- hw/arm11mpcore.c | 2 +- hw/arm_gic.c | 4 +- hw/arm_gic_common.c | 2 +- hw/arm_gic_internal.h | 2 +- hw/arm_l2x0.c | 2 +- hw/arm_mptimer.c | 2 +- hw/arm_sysctl.c | 6 +- hw/arm_timer.c | 6 +- hw/armv7m_nvic.c | 6 +- hw/bitbang_i2c.c | 6 +- hw/bitbang_i2c.h | 2 +- hw/blizzard.c | 14 ++--- hw/boards.h | 2 +- hw/bonito.c | 10 ++-- hw/bt-hci-csr.c | 4 +- hw/bt-hci.c | 4 +- hw/bt-hid.c | 4 +- hw/bt-l2cap.c | 2 +- hw/bt-sdp.c | 2 +- hw/bt.c | 2 +- hw/cadence_gem.c | 2 +- hw/cadence_ttc.c | 2 +- hw/cadence_uart.c | 2 +- hw/cbus.c | 4 +- hw/ccid.h | 2 +- hw/cdrom.c | 2 +- hw/cirrus_vga.c | 44 +++++++------- hw/cirrus_vga_rop.h | 8 +-- hw/cris/Makefile.objs | 10 ++-- hw/{ => cris}/axis_dev88.c | 12 ++-- hw/{cris-boot.c => cris/boot.c} | 6 +- hw/{cris_pic_cpu.c => cris/pic_cpu.c} | 6 +- hw/cs4231.c | 2 +- hw/cs4231a.c | 8 +-- hw/cuda.c | 6 +- hw/dataplane/event-poll.c | 2 +- hw/dataplane/ioq.c | 2 +- hw/dataplane/virtio-blk.c | 4 +- hw/dataplane/vring.c | 3 +- hw/dataplane/vring.h | 2 +- hw/debugcon.c | 6 +- hw/debugexit.c | 4 +- hw/dec_pci.c | 12 ++-- hw/dma.c | 4 +- hw/dp8393x.c | 4 +- hw/ds1225y.c | 2 +- hw/ds1338.c | 2 +- hw/e1000.c | 8 +-- hw/ecc.c | 4 +- hw/eccmemctl.c | 2 +- hw/eepro100.c | 6 +- hw/eeprom93xx.c | 4 +- hw/empty_slot.c | 6 +- hw/es1370.c | 6 +- hw/escc.c | 6 +- hw/esp-pci.c | 6 +- hw/esp.c | 4 +- hw/esp.h | 2 +- hw/etraxfs.h | 2 +- hw/etraxfs_dma.c | 4 +- hw/etraxfs_eth.c | 4 +- hw/etraxfs_pic.c | 4 +- hw/etraxfs_ser.c | 2 +- hw/etraxfs_timer.c | 4 +- hw/exynos4210_combiner.c | 4 +- hw/exynos4210_fimd.c | 2 +- hw/exynos4210_gic.c | 6 +- hw/exynos4210_i2c.c | 4 +- hw/exynos4210_mct.c | 6 +- hw/exynos4210_pmu.c | 2 +- hw/exynos4210_pwm.c | 6 +- hw/exynos4210_rtc.c | 8 +-- hw/exynos4210_uart.c | 4 +- hw/fdc.c | 10 ++-- hw/fmopl.c | 2 +- hw/framebuffer.c | 4 +- hw/fw_cfg.c | 8 +-- hw/g364fb.c | 4 +- hw/grackle_pci.c | 6 +- hw/grlib.h | 4 +- hw/grlib_apbuart.c | 2 +- hw/grlib_gptimer.c | 4 +- hw/grlib_irqmp.c | 4 +- hw/gt64xxx.c | 10 ++-- hw/gus.c | 10 ++-- hw/gusemu_hal.c | 4 +- hw/gusemu_mixer.c | 4 +- hw/hda-audio.c | 8 +-- hw/heathrow_pic.c | 4 +- hw/hid.c | 4 +- hw/hpet.c | 12 ++-- hw/hw.h | 2 +- hw/i2c.c | 2 +- hw/i2c.h | 2 +- hw/i386/Makefile.objs | 17 ++++-- hw/{ => i386}/kvmvapic.c | 2 +- hw/{ => i386}/multiboot.c | 8 +-- hw/{ => i386}/pc.c | 36 ++++++------ hw/{ => i386}/pc_piix.c | 24 ++++---- hw/{ => i386}/pc_q35.c | 16 ++--- hw/{ => i386}/smbios.c | 4 +- hw/{ => i386}/xen_domainbuild.c | 4 +- hw/{ => i386}/xen_machine_pv.c | 10 ++-- hw/i82374.c | 2 +- hw/i82378.c | 8 +-- hw/i8254.c | 10 ++-- hw/i8254.h | 4 +- hw/i8254_common.c | 10 ++-- hw/i8254_internal.h | 6 +- hw/i8259.c | 8 +-- hw/i8259_common.c | 4 +- hw/i8259_internal.h | 6 +- hw/i82801b11.c | 4 +- hw/ich9.h | 26 ++++---- hw/ide.h | 4 +- hw/imx_avic.c | 4 +- hw/imx_ccm.c | 6 +- hw/imx_serial.c | 6 +- hw/imx_timer.c | 8 +-- hw/intel-hda.c | 12 ++-- hw/intel-hda.h | 2 +- hw/ioapic.c | 10 ++-- hw/ioapic_common.c | 6 +- hw/ioapic_internal.h | 4 +- hw/ioh3420.c | 8 +-- hw/ioh3420.h | 2 +- hw/ipack.c | 2 +- hw/ipack.h | 2 +- hw/ipoctal232.c | 2 +- hw/irq.c | 2 +- hw/isa-bus.c | 6 +- hw/isa.h | 2 +- hw/isa_mmio.c | 4 +- hw/ivshmem.c | 8 +-- hw/jazz_led.c | 2 +- hw/lan9118.c | 6 +- hw/lance.c | 6 +- hw/lm32/Makefile.objs | 8 +-- hw/{ => lm32}/lm32_boards.c | 16 ++--- hw/{ => lm32}/milkymist.c | 16 ++--- hw/lm32_hwsetup.h | 2 +- hw/lm32_juart.c | 6 +- hw/lm32_pic.c | 8 +-- hw/lm32_sys.c | 4 +- hw/lm32_timer.c | 6 +- hw/lm32_uart.c | 4 +- hw/lm4549.c | 4 +- hw/lm832x.c | 4 +- hw/loader.c | 12 ++-- hw/lpc_ich9.c | 28 ++++----- hw/lsi53c895a.c | 6 +- hw/m25p80.c | 6 +- hw/m48t59.c | 8 +-- hw/m68k/Makefile.objs | 8 ++- hw/{ => m68k}/an5206.c | 8 +-- hw/{ => m68k}/dummy_m68k.c | 6 +- hw/{ => m68k}/mcf5206.c | 6 +- hw/{ => m68k}/mcf5208.c | 10 ++-- hw/{ => m68k}/mcf_intc.c | 4 +- hw/mac_dbdma.c | 6 +- hw/mac_nvram.c | 6 +- hw/macio.c | 10 ++-- hw/marvell_88w8618_audio.c | 8 +-- hw/max111x.c | 2 +- hw/max7310.c | 2 +- hw/mc146818rtc.c | 6 +- hw/mc146818rtc.h | 4 +- hw/mcf_fec.c | 4 +- hw/mcf_uart.c | 4 +- hw/megasas.c | 12 ++-- hw/microblaze/Makefile.objs | 11 ++-- hw/{microblaze_boot.c => microblaze/boot.c} | 4 +- hw/{ => microblaze}/petalogix_ml605_mmu.c | 22 +++---- hw/{ => microblaze}/petalogix_s3adsp1800_mmu.c | 16 ++--- hw/{microblaze_pic_cpu.c => microblaze/pic_cpu.c} | 4 +- hw/microblaze_boot.h | 2 +- hw/milkymist-ac97.c | 4 +- hw/milkymist-hpdmc.c | 4 +- hw/milkymist-hw.h | 4 +- hw/milkymist-memcard.c | 6 +- hw/milkymist-minimac2.c | 6 +- hw/milkymist-pfpu.c | 4 +- hw/milkymist-softusb.c | 6 +- hw/milkymist-sysctl.c | 6 +- hw/milkymist-tmu2.c | 4 +- hw/milkymist-uart.c | 4 +- hw/milkymist-vgafb.c | 16 ++--- hw/mips/Makefile.objs | 8 ++- hw/{mips_addr.c => mips/addr.c} | 4 +- hw/{mips_timer.c => mips/cputimer.c} | 4 +- hw/{ => mips}/mips_fulong2e.c | 32 +++++----- hw/{ => mips}/mips_int.c | 4 +- hw/{ => mips}/mips_jazz.c | 30 +++++----- hw/{ => mips}/mips_malta.c | 34 +++++------ hw/{ => mips}/mips_mipssim.c | 18 +++--- hw/{ => mips}/mips_r4k.c | 26 ++++---- hw/mipsnet.c | 4 +- hw/mst_fpga.c | 4 +- hw/nand.c | 6 +- hw/ne2000-isa.c | 10 ++-- hw/ne2000.c | 8 +-- hw/omap_clk.c | 4 +- hw/omap_dma.c | 6 +- hw/omap_dss.c | 4 +- hw/omap_gpio.c | 6 +- hw/omap_gpmc.c | 6 +- hw/omap_gptimer.c | 4 +- hw/omap_i2c.c | 8 +-- hw/omap_intc.c | 6 +- hw/omap_l4.c | 4 +- hw/omap_lcdc.c | 14 ++--- hw/omap_mmc.c | 6 +- hw/omap_sdrc.c | 4 +- hw/omap_spi.c | 4 +- hw/omap_synctimer.c | 4 +- hw/omap_tap.c | 4 +- hw/omap_uart.c | 6 +- hw/onenand.c | 8 +-- hw/opencores_eth.c | 4 +- hw/openpic.c | 14 ++--- hw/openrisc/Makefile.objs | 5 +- hw/{openrisc_timer.c => openrisc/cputimer.c} | 2 +- hw/{ => openrisc}/openrisc_sim.c | 10 ++-- hw/{openrisc_pic.c => openrisc/pic_cpu.c} | 2 +- hw/pam.c | 2 +- hw/parallel.c | 6 +- hw/pc-testdev.c | 6 +- hw/pc.h | 6 +- hw/pc87312.c | 3 +- hw/pc87312.h | 2 +- hw/pc_sysfw.c | 11 ++-- hw/pci/shpc.c | 3 +- hw/pci/slotid_cap.c | 1 + hw/pci_bridge_dev.c | 12 ++-- hw/pckbd.c | 8 +-- hw/pcnet-pci.c | 6 +- hw/pcnet.c | 4 +- hw/pcspk.c | 10 ++-- hw/pcspk.h | 4 +- hw/pflash_cfi01.c | 6 +- hw/pflash_cfi02.c | 6 +- hw/piix4.c | 10 ++-- hw/piix_pci.c | 16 ++--- hw/pl011.c | 2 +- hw/pl022.c | 4 +- hw/pl031.c | 2 +- hw/pl041.c | 6 +- hw/pl050.c | 4 +- hw/pl061.c | 2 +- hw/pl080.c | 2 +- hw/pl110.c | 14 ++--- hw/pl110_template.h | 12 ++-- hw/pl181.c | 4 +- hw/pl190.c | 2 +- hw/pm_smbus.c | 8 +-- hw/ppc/Makefile.objs | 29 ++++----- hw/ppc/e500-ccsr.h | 2 +- hw/ppc/e500plat.c | 2 +- hw/{ => ppc}/mpc8544_guts.c | 4 +- hw/ppc/mpc8544ds.c | 2 +- hw/{ => ppc}/ppc.c | 8 +-- hw/{ => ppc}/ppc405_boards.c | 14 ++--- hw/{ => ppc}/ppc405_uc.c | 8 +-- hw/{ => ppc}/ppc440_bamboo.c | 16 ++--- hw/{ => ppc}/ppc4xx_devs.c | 6 +- hw/{ => ppc}/ppc_booke.c | 8 +-- hw/{ => ppc}/ppce500_spin.c | 4 +- hw/{ => ppc}/spapr.c | 4 +- hw/{ => ppc}/spapr_events.c | 0 hw/{ => ppc}/spapr_hcall.c | 0 hw/{ => ppc}/spapr_iommu.c | 4 +- hw/{ => ppc}/spapr_rtas.c | 0 hw/{ => ppc}/spapr_vio.c | 6 +- hw/{ => ppc}/virtex_ml507.c | 22 +++---- hw/{ => ppc}/xics.c | 2 +- hw/ppc405.h | 2 +- hw/ppc4xx.h | 2 +- hw/ppc4xx_pci.c | 10 ++-- hw/ppce500_pci.c | 8 +-- hw/prep_pci.c | 10 ++-- hw/ps2.c | 4 +- hw/ptimer.c | 4 +- hw/puv3_dma.c | 6 +- hw/puv3_gpio.c | 6 +- hw/puv3_intc.c | 4 +- hw/puv3_ost.c | 6 +- hw/puv3_pm.c | 6 +- hw/pxa2xx_dma.c | 6 +- hw/pxa2xx_keypad.c | 4 +- hw/pxa2xx_lcd.c | 16 ++--- hw/pxa2xx_mmci.c | 8 +-- hw/pxa2xx_pcmcia.c | 6 +- hw/pxa2xx_timer.c | 6 +- hw/q35.c | 4 +- hw/q35.h | 22 +++---- hw/qdev-addr.c | 5 +- hw/qdev-properties-system.c | 2 +- hw/qdev-properties.c | 2 +- hw/qdev-properties.h | 2 +- hw/qdev.c | 3 +- hw/qdev.h | 5 +- hw/qxl-logger.c | 2 +- hw/qxl-render.c | 2 +- hw/qxl.c | 2 +- hw/qxl.h | 6 +- hw/rc4030.c | 4 +- hw/realview_gic.c | 2 +- hw/rtl8139.c | 6 +- hw/s390x/event-facility.c | 4 +- hw/s390x/s390-virtio-ccw.c | 2 +- hw/s390x/sclp.c | 2 +- hw/s390x/sclpconsole.c | 5 +- hw/s390x/sclpquiesce.c | 4 +- hw/sb16.c | 8 +-- hw/sbi.c | 2 +- hw/scsi-bus.c | 8 +-- hw/scsi-disk.c | 4 +- hw/scsi-generic.c | 4 +- hw/scsi.h | 2 +- hw/sd.c | 4 +- hw/sdhci.c | 4 +- hw/sdhci.h | 4 +- hw/serial-isa.c | 4 +- hw/serial-pci.c | 4 +- hw/serial.c | 2 +- hw/serial.h | 2 +- hw/sga.c | 6 +- hw/sh.h | 2 +- hw/sh4/Makefile.objs | 6 +- hw/{ => sh4}/r2d.c | 22 +++---- hw/{ => sh4}/sh7750.c | 10 ++-- hw/{ => sh4}/sh7750_regnames.c | 8 +-- hw/{ => sh4}/shix.c | 8 +-- hw/sh_intc.c | 6 +- hw/sh_intc.h | 2 +- hw/sh_pci.c | 8 +-- hw/sh_serial.c | 4 +- hw/sh_timer.c | 6 +- hw/slavio_intctl.c | 4 +- hw/slavio_misc.c | 2 +- hw/slavio_timer.c | 6 +- hw/sm501.c | 24 ++++---- hw/smbus.c | 6 +- hw/smbus.h | 2 +- hw/smbus_eeprom.c | 6 +- hw/smbus_ich9.c | 14 ++--- hw/smc91c111.c | 4 +- hw/soc_dma.c | 2 +- hw/spapr_llan.c | 2 +- hw/spapr_pci.c | 10 ++-- hw/spapr_vscsi.c | 8 +-- hw/spapr_vty.c | 2 +- hw/sparc/Makefile.objs | 6 +- hw/{ => sparc}/leon3.c | 10 ++-- hw/{ => sparc}/sun4m.c | 30 +++++----- hw/sparc32_dma.c | 8 +-- hw/sparc64/Makefile.objs | 4 +- hw/{ => sparc64}/sun4u.c | 26 ++++---- hw/ssd0303.c | 2 +- hw/ssd0323.c | 2 +- hw/ssi-sd.c | 4 +- hw/ssi.c | 2 +- hw/ssi.h | 2 +- hw/stellaris_enet.c | 2 +- hw/stellaris_input.c | 4 +- hw/stream.c | 2 +- hw/strongarm.c | 8 +-- hw/sun4c_intctl.c | 6 +- hw/sun4m.h | 2 +- hw/sun4m_iommu.c | 4 +- hw/sysbus.c | 2 +- hw/sysbus.h | 2 +- hw/tc58128.c | 6 +- hw/tc6393xb.c | 16 ++--- hw/tcx.c | 4 +- hw/tmp105.c | 6 +- hw/tmp105.h | 4 +- hw/tpci200.c | 4 +- hw/tsc2005.c | 4 +- hw/tsc210x.c | 6 +- hw/tusb6010.c | 10 ++-- hw/twl92230.c | 4 +- hw/unicore32/Makefile.objs | 2 - hw/{ => unicore32}/puv3.c | 10 ++-- hw/unin_pci.c | 8 +-- hw/usb.h | 2 +- hw/usb/dev-network.c | 1 + hw/versatile_i2c.c | 4 +- hw/versatile_pci.c | 6 +- hw/vfio_pci.c | 6 +- hw/vga-isa-mm.c | 6 +- hw/vga-isa.c | 8 +-- hw/vga-pci.c | 8 +-- hw/vga.c | 26 ++++---- hw/vhost.c | 2 +- hw/vhost_net.c | 6 +- hw/virtio-balloon.c | 6 +- hw/virtio-balloon.h | 4 +- hw/virtio-blk.c | 6 +- hw/virtio-blk.h | 2 +- hw/virtio-bus.c | 8 +-- hw/virtio-bus.h | 4 +- hw/virtio-console.c | 2 +- hw/virtio-net.c | 6 +- hw/virtio-net.h | 4 +- hw/virtio-pci.c | 72 +++++++++++++++++++---- hw/virtio-pci.h | 16 ++--- hw/virtio-rng.c | 7 ++- hw/virtio-scsi.c | 3 +- hw/virtio-scsi.h | 4 +- hw/virtio-serial-bus.c | 4 +- hw/virtio-serial.h | 4 +- hw/virtio.c | 4 +- hw/virtio.h | 10 ++-- hw/vmmouse.c | 8 +-- hw/vmport.c | 8 +-- hw/vmware_vga.c | 8 +-- hw/vt82c686.c | 26 ++++---- hw/wdt_i6300esb.c | 6 +- hw/wdt_ib700.c | 8 +-- hw/wm8750.c | 4 +- hw/xen-host-pci-device.c | 2 +- hw/xen-host-pci-device.h | 2 +- hw/xen_apic.c | 2 +- hw/xen_backend.c | 4 +- hw/xen_backend.h | 2 +- hw/xen_common.h | 4 +- hw/xen_console.c | 4 +- hw/xen_devconfig.c | 2 +- hw/xen_disk.c | 6 +- hw/xen_domainbuild.h | 2 +- hw/xen_nic.c | 4 +- hw/xen_platform.c | 12 ++-- hw/xen_pt.c | 8 +-- hw/xen_pt.h | 6 +- hw/xen_pt_config_init.c | 4 +- hw/xen_pt_msi.c | 6 +- hw/xenfb.c | 4 +- hw/xgmac.c | 2 +- hw/xilinx.h | 3 +- hw/xilinx_axidma.c | 8 +-- hw/xilinx_axienet.c | 5 +- hw/xilinx_ethlite.c | 4 +- hw/xilinx_intc.c | 4 +- hw/xilinx_spi.c | 6 +- hw/xilinx_spips.c | 8 +-- hw/xilinx_timer.c | 4 +- hw/xilinx_uartlite.c | 2 +- hw/xio3130_downstream.c | 8 +-- hw/xio3130_downstream.h | 2 +- hw/xio3130_upstream.c | 8 +-- hw/xio3130_upstream.h | 2 +- hw/xtensa/Makefile.objs | 4 +- hw/{xtensa_pic.c => xtensa/pic_cpu.c} | 2 +- hw/{ => xtensa}/xtensa_lx60.c | 12 ++-- hw/{ => xtensa}/xtensa_sim.c | 4 +- hw/zaurus.c | 6 +- hw/zynq_slcr.c | 4 +- {hw => include/char}/baum.h | 0 {hw => include/char}/msmouse.h | 0 include/migration/vmstate.h | 2 + hw/qdev-monitor.h => include/monitor/qdev.h | 3 +- hw/fifo.h => include/qemu/fifo8.h | 2 +- monitor.c | 2 +- hw/qdev-monitor.c => qdev-monitor.c | 3 +- qemu-char.c | 4 +- stubs/Makefile.objs | 1 + stubs/pci-drive-hot-add.c | 10 ++++ util/Makefile.objs | 1 + hw/fifo.c => util/fifo8.c | 3 +- util/qemu-config.c | 1 + vl.c | 3 +- 541 files changed, 1815 insertions(+), 1788 deletions(-) rename {hw => backends}/baum.c (99%) rename {hw => backends}/msmouse.c (99%) rename hw/device-hotplug.c => device-hotplug.c (88%) rename hw/{9p.h => 9pfs/virtio-9p-device.h} (85%) rename hw/{alpha_dp264.c => alpha/dp264.c} (96%) rename hw/{alpha_pci.c => alpha/pci.c} (98%) rename hw/{ => arm}/armv7m.c (99%) rename hw/{arm_boot.c => arm/boot.c} (99%) rename hw/{ => arm}/collie.c (92%) rename hw/{ => arm}/exynos4210.c (98%) rename hw/{ => arm}/exynos4_boards.c (98%) rename hw/{ => arm}/gumstix.c (97%) rename hw/{ => arm}/highbank.c (98%) rename hw/{ => arm}/integratorcp.c (99%) rename hw/{ => arm}/kzm.c (97%) rename hw/{ => arm}/mainstone.c (97%) rename hw/{ => arm}/musicpal.c (99%) rename hw/{ => arm}/nseries.c (99%) rename hw/{ => arm}/omap1.c (99%) rename hw/{ => arm}/omap2.c (99%) rename hw/{ => arm}/omap_sx1.c (98%) rename hw/{ => arm}/palm.c (98%) rename hw/{arm_pic.c => arm/pic_cpu.c} (95%) rename hw/{ => arm}/pxa2xx.c (99%) rename hw/{ => arm}/pxa2xx_gpio.c (99%) rename hw/{ => arm}/pxa2xx_pic.c (99%) rename hw/{ => arm}/realview.c (98%) rename hw/{ => arm}/spitz.c (99%) rename hw/{ => arm}/stellaris.c (99%) rename hw/{ => arm}/tosa.c (97%) rename hw/{ => arm}/versatilepb.c (98%) rename hw/{ => arm}/vexpress.c (99%) rename hw/{ => arm}/xilinx_zynq.c (98%) rename hw/{ => arm}/z2.c (98%) rename hw/{ => cris}/axis_dev88.c (98%) rename hw/{cris-boot.c => cris/boot.c} (97%) rename hw/{cris_pic_cpu.c => cris/pic_cpu.c} (96%) rename hw/{ => i386}/kvmvapic.c (99%) rename hw/{ => i386}/multiboot.c (99%) rename hw/{ => i386}/pc.c (98%) rename hw/{ => i386}/pc_piix.c (98%) rename hw/{ => i386}/pc_q35.c (97%) rename hw/{ => i386}/smbios.c (99%) rename hw/{ => i386}/xen_domainbuild.c (99%) rename hw/{ => i386}/xen_machine_pv.c (96%) rename hw/{ => lm32}/lm32_boards.c (98%) rename hw/{ => lm32}/milkymist.c (97%) rename hw/{ => m68k}/an5206.c (96%) rename hw/{ => m68k}/dummy_m68k.c (97%) rename hw/{ => m68k}/mcf5206.c (99%) rename hw/{ => m68k}/mcf5208.c (98%) rename hw/{ => m68k}/mcf_intc.c (98%) rename hw/{microblaze_boot.c => microblaze/boot.c} (99%) rename hw/{ => microblaze}/petalogix_ml605_mmu.c (95%) rename hw/{ => microblaze}/petalogix_s3adsp1800_mmu.c (95%) rename hw/{microblaze_pic_cpu.c => microblaze/pic_cpu.c} (96%) rename hw/{mips_addr.c => mips/addr.c} (96%) rename hw/{mips_timer.c => mips/cputimer.c} (98%) rename hw/{ => mips}/mips_fulong2e.c (97%) rename hw/{ => mips}/mips_int.c (97%) rename hw/{ => mips}/mips_jazz.c (96%) rename hw/{ => mips}/mips_malta.c (98%) rename hw/{ => mips}/mips_mipssim.c (97%) rename hw/{ => mips}/mips_r4k.c (96%) rename hw/{openrisc_timer.c => openrisc/cputimer.c} (99%) rename hw/{ => openrisc}/openrisc_sim.c (97%) rename hw/{openrisc_pic.c => openrisc/pic_cpu.c} (98%) rename hw/{ => ppc}/mpc8544_guts.c (98%) rename hw/{ => ppc}/ppc.c (99%) rename hw/{ => ppc}/ppc405_boards.c (99%) rename hw/{ => ppc}/ppc405_uc.c (99%) rename hw/{ => ppc}/ppc440_bamboo.c (98%) rename hw/{ => ppc}/ppc4xx_devs.c (99%) rename hw/{ => ppc}/ppc_booke.c (99%) rename hw/{ => ppc}/ppce500_spin.c (99%) rename hw/{ => ppc}/spapr.c (99%) rename hw/{ => ppc}/spapr_events.c (100%) rename hw/{ => ppc}/spapr_hcall.c (100%) rename hw/{ => ppc}/spapr_iommu.c (99%) rename hw/{ => ppc}/spapr_rtas.c (100%) rename hw/{ => ppc}/spapr_vio.c (99%) rename hw/{ => ppc}/virtex_ml507.c (97%) rename hw/{ => ppc}/xics.c (99%) rename hw/{ => sh4}/r2d.c (97%) rename hw/{ => sh4}/sh7750.c (99%) rename hw/{ => sh4}/sh7750_regnames.c (95%) rename hw/{ => sh4}/shix.c (97%) rename hw/{ => sparc}/leon3.c (98%) rename hw/{ => sparc}/sun4m.c (99%) rename hw/{ => sparc64}/sun4u.c (99%) rename hw/{ => unicore32}/puv3.c (97%) rename hw/{xtensa_pic.c => xtensa/pic_cpu.c} (99%) rename hw/{ => xtensa}/xtensa_lx60.c (98%) rename hw/{ => xtensa}/xtensa_sim.c (98%) rename {hw => include/char}/baum.h (100%) rename {hw => include/char}/msmouse.h (100%) rename hw/qdev-monitor.h => include/monitor/qdev.h (80%) rename hw/fifo.h => include/qemu/fifo8.h (98%) rename hw/qdev-monitor.c => qdev-monitor.c (99%) create mode 100644 stubs/pci-drive-hot-add.c rename hw/fifo.c => util/fifo8.c (97%)
Quoted 12 lines · Paolo Bonzini
Il 05/03/2013 18:17, Paolo Bonzini ha scritto:
Quoted 11 lines
This includes the mechanical changes, as well as moving stuff out of hw/. Boards and devices referencing CPU are moved to per-arch subdirectories. This part was uncontroversial, and I have already posted it separately in this exact shape.
The following changes since commit
288f1e3f87ec24abeac38399f175fe74243f7bc5:
cadence_gem: Add debug msgs for rx desc movement (2013-02-28 18:49:24 +0000)are available in the git repository at:
Quoted 7 lines
Quoted 5 lines
git://github.com/bonzini/qemu.githw-dirsfor you to fetch changes up to
7a2771d1541ec9a0c585e9b853e5f4dc036919ad:sh: move files referencing CPU to hw/sh4/ (2013-03-01 15:01:20 +0100)
Rebased and repushed to the same location, new top commit is
Sorry for not processing this sooner...
Quoted 1 line
15e87f983a73f512ac73ae5fc6759157f0a9e0e1.
Doesn't look like you pushed this. However, I've already resolved the conflicts. They were trivially. Am testing now. Unless I run into a problem, I'll push that.
Regards,
Anthony Liguori
Quoted 676 lines
Changes that conflicted included:
- the ARM KVM merge
- the removal of
baum.handmsmouse.h- the conversion of dataplane to AioContext
Paolo
Quoted 665 lines
----------------------------------------------------------------
Paolo Bonzini (18):
hw: move char backends to backends/
hw: move fifo.[ch] to libqemuutil
hw: move qdev-monitor.o to toplevel directory
hw: move device-hotplug.o to toplevel, compile it once
virtio-9p: useCONFIG_VIRTFS, notCONFIG_LINUX
virtio-9p: remove PCI dependencies from hw/9pfs/
vt82c686: vt82c686 is not a PCI host bridge
ppc: do not use ../ in include files
hw: include hw header files with full paths
build: always link device_tree.o into emulators if libfdt available
ppc: express FDT dependency of pSeries and e500 boards via default-configs/
hw: move boards and other isolated files to hw/ARCH
arm: move files referencing CPU to hw/arm/
i386: move files referencing CPU to hw/i386/
m68k: move files referencing CPU to hw/m68k/
ppc: move files referencing CPU to hw/ppc/
ppc: move more files to hw/ppc
sh: move files referencing CPU to hw/sh4/Makefile.objs | 1 + Makefile.target | 1 + backends/Makefile.objs | 4 ++ {hw => backends}/baum.c | 4 +- {hw => backends}/msmouse.c | 2 +- configure | 10 +--- default-configs/ppc-softmmu.mak | 1 + default-configs/ppc64-softmmu.mak | 2 + default-configs/ppcemb-softmmu.mak | 1 + hw/device-hotplug.c => device-hotplug.c | 13 +--- hw/9pfs/virtio-9p-device.c | 53 +---------------- hw/{9p.h => 9pfs/virtio-9p-device.h} | 4 +- hw/9pfs/virtio-9p-proxy.c | 1 + hw/9pfs/virtio-9p.c | 3 +- hw/9pfs/virtio-9p.h | 1 - hw/Makefile.objs | 8 +-- hw/a15mpcore.c | 2 +- hw/a9mpcore.c | 2 +- hw/a9scu.c | 2 +- hw/ac97.c | 6 +- hw/acpi.c | 6 +- hw/acpi_ich9.c | 10 ++-- hw/acpi_ich9.h | 2 +- hw/acpi_piix4.c | 14 ++--- hw/adb.c | 4 +- hw/adb.h | 2 +- hw/adlib.c | 8 +-- hw/ads7846.c | 2 +- hw/alpha/Makefile.objs | 4 +- hw/{alpha_dp264.c => alpha/dp264.c} | 16 ++--- hw/{alpha_pci.c => alpha/pci.c} | 2 +- hw/alpha_sys.h | 10 ++-- hw/alpha_typhoon.c | 6 +- hw/apb_pci.c | 12 ++-- hw/apic.c | 12 ++-- hw/apic_common.c | 4 +- hw/apic_internal.h | 2 +- hw/apm.c | 6 +- hw/apm.h | 2 +- hw/applesmc.c | 4 +- hw/arm/Makefile.objs | 43 +++++++------- hw/{ => arm}/armv7m.c | 6 +- hw/{arm_boot.c => arm/boot.c} | 8 +-- hw/{ => arm}/collie.c | 14 ++--- hw/{ => arm}/exynos4210.c | 12 ++-- hw/{ => arm}/exynos4_boards.c | 8 +-- hw/{ => arm}/gumstix.c | 10 ++-- hw/{ => arm}/highbank.c | 12 ++-- hw/{ => arm}/integratorcp.c | 8 +-- hw/{ => arm}/kzm.c | 14 ++--- hw/{ => arm}/mainstone.c | 14 ++--- hw/{ => arm}/musicpal.c | 16 ++--- hw/{ => arm}/nseries.c | 22 +++---- hw/{ => arm}/omap1.c | 10 ++-- hw/{ => arm}/omap2.c | 12 ++-- hw/{ => arm}/omap_sx1.c | 10 ++-- hw/{ => arm}/palm.c | 12 ++-- hw/{arm_pic.c => arm/pic_cpu.c} | 4 +- hw/{ => arm}/pxa2xx.c | 10 ++-- hw/{ => arm}/pxa2xx_gpio.c | 6 +- hw/{ => arm}/pxa2xx_pic.c | 6 +- hw/{ => arm}/realview.c | 14 ++--- hw/{ => arm}/spitz.c | 22 +++---- hw/{ => arm}/stellaris.c | 12 ++-- hw/{ => arm}/tosa.c | 20 +++---- hw/{ => arm}/versatilepb.c | 14 ++--- hw/{ => arm}/vexpress.c | 12 ++-- hw/{ => arm}/xilinx_zynq.c | 12 ++-- hw/{ => arm}/z2.c | 16 ++--- hw/arm11mpcore.c | 2 +- hw/arm_gic.c | 4 +- hw/arm_gic_common.c | 2 +- hw/arm_gic_internal.h | 2 +- hw/arm_l2x0.c | 2 +- hw/arm_mptimer.c | 2 +- hw/arm_sysctl.c | 6 +- hw/arm_timer.c | 6 +- hw/armv7m_nvic.c | 6 +- hw/bitbang_i2c.c | 6 +- hw/bitbang_i2c.h | 2 +- hw/blizzard.c | 14 ++--- hw/boards.h | 2 +- hw/bonito.c | 10 ++-- hw/bt-hci-csr.c | 4 +- hw/bt-hci.c | 4 +- hw/bt-hid.c | 4 +- hw/bt-l2cap.c | 2 +- hw/bt-sdp.c | 2 +- hw/bt.c | 2 +- hw/cadence_gem.c | 2 +- hw/cadence_ttc.c | 2 +- hw/cadence_uart.c | 2 +- hw/cbus.c | 4 +- hw/ccid.h | 2 +- hw/cdrom.c | 2 +- hw/cirrus_vga.c | 44 +++++++------- hw/cirrus_vga_rop.h | 8 +-- hw/cris/Makefile.objs | 10 ++-- hw/{ => cris}/axis_dev88.c | 12 ++-- hw/{cris-boot.c => cris/boot.c} | 6 +- hw/{cris_pic_cpu.c => cris/pic_cpu.c} | 6 +- hw/cs4231.c | 2 +- hw/cs4231a.c | 8 +-- hw/cuda.c | 6 +- hw/dataplane/event-poll.c | 2 +- hw/dataplane/ioq.c | 2 +- hw/dataplane/virtio-blk.c | 4 +- hw/dataplane/vring.c | 3 +- hw/dataplane/vring.h | 2 +- hw/debugcon.c | 6 +- hw/debugexit.c | 4 +- hw/dec_pci.c | 12 ++-- hw/dma.c | 4 +- hw/dp8393x.c | 4 +- hw/ds1225y.c | 2 +- hw/ds1338.c | 2 +- hw/e1000.c | 8 +-- hw/ecc.c | 4 +- hw/eccmemctl.c | 2 +- hw/eepro100.c | 6 +- hw/eeprom93xx.c | 4 +- hw/empty_slot.c | 6 +- hw/es1370.c | 6 +- hw/escc.c | 6 +- hw/esp-pci.c | 6 +- hw/esp.c | 4 +- hw/esp.h | 2 +- hw/etraxfs.h | 2 +- hw/etraxfs_dma.c | 4 +- hw/etraxfs_eth.c | 4 +- hw/etraxfs_pic.c | 4 +- hw/etraxfs_ser.c | 2 +- hw/etraxfs_timer.c | 4 +- hw/exynos4210_combiner.c | 4 +- hw/exynos4210_fimd.c | 2 +- hw/exynos4210_gic.c | 6 +- hw/exynos4210_i2c.c | 4 +- hw/exynos4210_mct.c | 6 +- hw/exynos4210_pmu.c | 2 +- hw/exynos4210_pwm.c | 6 +- hw/exynos4210_rtc.c | 8 +-- hw/exynos4210_uart.c | 4 +- hw/fdc.c | 10 ++-- hw/fmopl.c | 2 +- hw/framebuffer.c | 4 +- hw/fw_cfg.c | 8 +-- hw/g364fb.c | 4 +- hw/grackle_pci.c | 6 +- hw/grlib.h | 4 +- hw/grlib_apbuart.c | 2 +- hw/grlib_gptimer.c | 4 +- hw/grlib_irqmp.c | 4 +- hw/gt64xxx.c | 10 ++-- hw/gus.c | 10 ++-- hw/gusemu_hal.c | 4 +- hw/gusemu_mixer.c | 4 +- hw/hda-audio.c | 8 +-- hw/heathrow_pic.c | 4 +- hw/hid.c | 4 +- hw/hpet.c | 12 ++-- hw/hw.h | 2 +- hw/i2c.c | 2 +- hw/i2c.h | 2 +- hw/i386/Makefile.objs | 17 ++++-- hw/{ => i386}/kvmvapic.c | 2 +- hw/{ => i386}/multiboot.c | 8 +-- hw/{ => i386}/pc.c | 36 ++++++------ hw/{ => i386}/pc_piix.c | 24 ++++---- hw/{ => i386}/pc_q35.c | 16 ++--- hw/{ => i386}/smbios.c | 4 +- hw/{ => i386}/xen_domainbuild.c | 4 +- hw/{ => i386}/xen_machine_pv.c | 10 ++-- hw/i82374.c | 2 +- hw/i82378.c | 8 +-- hw/i8254.c | 10 ++-- hw/i8254.h | 4 +- hw/i8254_common.c | 10 ++-- hw/i8254_internal.h | 6 +- hw/i8259.c | 8 +-- hw/i8259_common.c | 4 +- hw/i8259_internal.h | 6 +- hw/i82801b11.c | 4 +- hw/ich9.h | 26 ++++---- hw/ide.h | 4 +- hw/imx_avic.c | 4 +- hw/imx_ccm.c | 6 +- hw/imx_serial.c | 6 +- hw/imx_timer.c | 8 +-- hw/intel-hda.c | 12 ++-- hw/intel-hda.h | 2 +- hw/ioapic.c | 10 ++-- hw/ioapic_common.c | 6 +- hw/ioapic_internal.h | 4 +- hw/ioh3420.c | 8 +-- hw/ioh3420.h | 2 +- hw/ipack.c | 2 +- hw/ipack.h | 2 +- hw/ipoctal232.c | 2 +- hw/irq.c | 2 +- hw/isa-bus.c | 6 +- hw/isa.h | 2 +- hw/isa_mmio.c | 4 +- hw/ivshmem.c | 8 +-- hw/jazz_led.c | 2 +- hw/lan9118.c | 6 +- hw/lance.c | 6 +- hw/lm32/Makefile.objs | 8 +-- hw/{ => lm32}/lm32_boards.c | 16 ++--- hw/{ => lm32}/milkymist.c | 16 ++--- hw/lm32_hwsetup.h | 2 +- hw/lm32_juart.c | 6 +- hw/lm32_pic.c | 8 +-- hw/lm32_sys.c | 4 +- hw/lm32_timer.c | 6 +- hw/lm32_uart.c | 4 +- hw/lm4549.c | 4 +- hw/lm832x.c | 4 +- hw/loader.c | 12 ++-- hw/lpc_ich9.c | 28 ++++----- hw/lsi53c895a.c | 6 +- hw/m25p80.c | 6 +- hw/m48t59.c | 8 +-- hw/m68k/Makefile.objs | 8 ++- hw/{ => m68k}/an5206.c | 8 +-- hw/{ => m68k}/dummy_m68k.c | 6 +- hw/{ => m68k}/mcf5206.c | 6 +- hw/{ => m68k}/mcf5208.c | 10 ++-- hw/{ => m68k}/mcf_intc.c | 4 +- hw/mac_dbdma.c | 6 +- hw/mac_nvram.c | 6 +- hw/macio.c | 10 ++-- hw/marvell_88w8618_audio.c | 8 +-- hw/max111x.c | 2 +- hw/max7310.c | 2 +- hw/mc146818rtc.c | 6 +- hw/mc146818rtc.h | 4 +- hw/mcf_fec.c | 4 +- hw/mcf_uart.c | 4 +- hw/megasas.c | 12 ++-- hw/microblaze/Makefile.objs | 11 ++-- hw/{microblaze_boot.c => microblaze/boot.c} | 4 +- hw/{ => microblaze}/petalogix_ml605_mmu.c | 22 +++---- hw/{ => microblaze}/petalogix_s3adsp1800_mmu.c | 16 ++--- hw/{microblaze_pic_cpu.c => microblaze/pic_cpu.c} | 4 +- hw/microblaze_boot.h | 2 +- hw/milkymist-ac97.c | 4 +- hw/milkymist-hpdmc.c | 4 +- hw/milkymist-hw.h | 4 +- hw/milkymist-memcard.c | 6 +- hw/milkymist-minimac2.c | 6 +- hw/milkymist-pfpu.c | 4 +- hw/milkymist-softusb.c | 6 +- hw/milkymist-sysctl.c | 6 +- hw/milkymist-tmu2.c | 4 +- hw/milkymist-uart.c | 4 +- hw/milkymist-vgafb.c | 16 ++--- hw/mips/Makefile.objs | 8 ++- hw/{mips_addr.c => mips/addr.c} | 4 +- hw/{mips_timer.c => mips/cputimer.c} | 4 +- hw/{ => mips}/mips_fulong2e.c | 32 +++++----- hw/{ => mips}/mips_int.c | 4 +- hw/{ => mips}/mips_jazz.c | 30 +++++----- hw/{ => mips}/mips_malta.c | 34 +++++------ hw/{ => mips}/mips_mipssim.c | 18 +++--- hw/{ => mips}/mips_r4k.c | 26 ++++---- hw/mipsnet.c | 4 +- hw/mst_fpga.c | 4 +- hw/nand.c | 6 +- hw/ne2000-isa.c | 10 ++-- hw/ne2000.c | 8 +-- hw/omap_clk.c | 4 +- hw/omap_dma.c | 6 +- hw/omap_dss.c | 4 +- hw/omap_gpio.c | 6 +- hw/omap_gpmc.c | 6 +- hw/omap_gptimer.c | 4 +- hw/omap_i2c.c | 8 +-- hw/omap_intc.c | 6 +- hw/omap_l4.c | 4 +- hw/omap_lcdc.c | 14 ++--- hw/omap_mmc.c | 6 +- hw/omap_sdrc.c | 4 +- hw/omap_spi.c | 4 +- hw/omap_synctimer.c | 4 +- hw/omap_tap.c | 4 +- hw/omap_uart.c | 6 +- hw/onenand.c | 8 +-- hw/opencores_eth.c | 4 +- hw/openpic.c | 14 ++--- hw/openrisc/Makefile.objs | 5 +- hw/{openrisc_timer.c => openrisc/cputimer.c} | 2 +- hw/{ => openrisc}/openrisc_sim.c | 10 ++-- hw/{openrisc_pic.c => openrisc/pic_cpu.c} | 2 +- hw/pam.c | 2 +- hw/parallel.c | 6 +- hw/pc-testdev.c | 6 +- hw/pc.h | 6 +- hw/pc87312.c | 3 +- hw/pc87312.h | 2 +- hw/pc_sysfw.c | 11 ++-- hw/pci/shpc.c | 3 +- hw/pci/slotid_cap.c | 1 + hw/pci_bridge_dev.c | 12 ++-- hw/pckbd.c | 8 +-- hw/pcnet-pci.c | 6 +- hw/pcnet.c | 4 +- hw/pcspk.c | 10 ++-- hw/pcspk.h | 4 +- hw/pflash_cfi01.c | 6 +- hw/pflash_cfi02.c | 6 +- hw/piix4.c | 10 ++-- hw/piix_pci.c | 16 ++--- hw/pl011.c | 2 +- hw/pl022.c | 4 +- hw/pl031.c | 2 +- hw/pl041.c | 6 +- hw/pl050.c | 4 +- hw/pl061.c | 2 +- hw/pl080.c | 2 +- hw/pl110.c | 14 ++--- hw/pl110_template.h | 12 ++-- hw/pl181.c | 4 +- hw/pl190.c | 2 +- hw/pm_smbus.c | 8 +-- hw/ppc/Makefile.objs | 29 ++++----- hw/ppc/e500-ccsr.h | 2 +- hw/ppc/e500plat.c | 2 +- hw/{ => ppc}/mpc8544_guts.c | 4 +- hw/ppc/mpc8544ds.c | 2 +- hw/{ => ppc}/ppc.c | 8 +-- hw/{ => ppc}/ppc405_boards.c | 14 ++--- hw/{ => ppc}/ppc405_uc.c | 8 +-- hw/{ => ppc}/ppc440_bamboo.c | 16 ++--- hw/{ => ppc}/ppc4xx_devs.c | 6 +- hw/{ => ppc}/ppc_booke.c | 8 +-- hw/{ => ppc}/ppce500_spin.c | 4 +- hw/{ => ppc}/spapr.c | 4 +- hw/{ => ppc}/spapr_events.c | 0 hw/{ => ppc}/spapr_hcall.c | 0 hw/{ => ppc}/spapr_iommu.c | 4 +- hw/{ => ppc}/spapr_rtas.c | 0 hw/{ => ppc}/spapr_vio.c | 6 +- hw/{ => ppc}/virtex_ml507.c | 22 +++---- hw/{ => ppc}/xics.c | 2 +- hw/ppc405.h | 2 +- hw/ppc4xx.h | 2 +- hw/ppc4xx_pci.c | 10 ++-- hw/ppce500_pci.c | 8 +-- hw/prep_pci.c | 10 ++-- hw/ps2.c | 4 +- hw/ptimer.c | 4 +- hw/puv3_dma.c | 6 +- hw/puv3_gpio.c | 6 +- hw/puv3_intc.c | 4 +- hw/puv3_ost.c | 6 +- hw/puv3_pm.c | 6 +- hw/pxa2xx_dma.c | 6 +- hw/pxa2xx_keypad.c | 4 +- hw/pxa2xx_lcd.c | 16 ++--- hw/pxa2xx_mmci.c | 8 +-- hw/pxa2xx_pcmcia.c | 6 +- hw/pxa2xx_timer.c | 6 +- hw/q35.c | 4 +- hw/q35.h | 22 +++---- hw/qdev-addr.c | 5 +- hw/qdev-properties-system.c | 2 +- hw/qdev-properties.c | 2 +- hw/qdev-properties.h | 2 +- hw/qdev.c | 3 +- hw/qdev.h | 5 +- hw/qxl-logger.c | 2 +- hw/qxl-render.c | 2 +- hw/qxl.c | 2 +- hw/qxl.h | 6 +- hw/rc4030.c | 4 +- hw/realview_gic.c | 2 +- hw/rtl8139.c | 6 +- hw/s390x/event-facility.c | 4 +- hw/s390x/s390-virtio-ccw.c | 2 +- hw/s390x/sclp.c | 2 +- hw/s390x/sclpconsole.c | 5 +- hw/s390x/sclpquiesce.c | 4 +- hw/sb16.c | 8 +-- hw/sbi.c | 2 +- hw/scsi-bus.c | 8 +-- hw/scsi-disk.c | 4 +- hw/scsi-generic.c | 4 +- hw/scsi.h | 2 +- hw/sd.c | 4 +- hw/sdhci.c | 4 +- hw/sdhci.h | 4 +- hw/serial-isa.c | 4 +- hw/serial-pci.c | 4 +- hw/serial.c | 2 +- hw/serial.h | 2 +- hw/sga.c | 6 +- hw/sh.h | 2 +- hw/sh4/Makefile.objs | 6 +- hw/{ => sh4}/r2d.c | 22 +++---- hw/{ => sh4}/sh7750.c | 10 ++-- hw/{ => sh4}/sh7750_regnames.c | 8 +-- hw/{ => sh4}/shix.c | 8 +-- hw/sh_intc.c | 6 +- hw/sh_intc.h | 2 +- hw/sh_pci.c | 8 +-- hw/sh_serial.c | 4 +- hw/sh_timer.c | 6 +- hw/slavio_intctl.c | 4 +- hw/slavio_misc.c | 2 +- hw/slavio_timer.c | 6 +- hw/sm501.c | 24 ++++---- hw/smbus.c | 6 +- hw/smbus.h | 2 +- hw/smbus_eeprom.c | 6 +- hw/smbus_ich9.c | 14 ++--- hw/smc91c111.c | 4 +- hw/soc_dma.c | 2 +- hw/spapr_llan.c | 2 +- hw/spapr_pci.c | 10 ++-- hw/spapr_vscsi.c | 8 +-- hw/spapr_vty.c | 2 +- hw/sparc/Makefile.objs | 6 +- hw/{ => sparc}/leon3.c | 10 ++-- hw/{ => sparc}/sun4m.c | 30 +++++----- hw/sparc32_dma.c | 8 +-- hw/sparc64/Makefile.objs | 4 +- hw/{ => sparc64}/sun4u.c | 26 ++++---- hw/ssd0303.c | 2 +- hw/ssd0323.c | 2 +- hw/ssi-sd.c | 4 +- hw/ssi.c | 2 +- hw/ssi.h | 2 +- hw/stellaris_enet.c | 2 +- hw/stellaris_input.c | 4 +- hw/stream.c | 2 +- hw/strongarm.c | 8 +-- hw/sun4c_intctl.c | 6 +- hw/sun4m.h | 2 +- hw/sun4m_iommu.c | 4 +- hw/sysbus.c | 2 +- hw/sysbus.h | 2 +- hw/tc58128.c | 6 +- hw/tc6393xb.c | 16 ++--- hw/tcx.c | 4 +- hw/tmp105.c | 6 +- hw/tmp105.h | 4 +- hw/tpci200.c | 4 +- hw/tsc2005.c | 4 +- hw/tsc210x.c | 6 +- hw/tusb6010.c | 10 ++-- hw/twl92230.c | 4 +- hw/unicore32/Makefile.objs | 2 - hw/{ => unicore32}/puv3.c | 10 ++-- hw/unin_pci.c | 8 +-- hw/usb.h | 2 +- hw/usb/dev-network.c | 1 + hw/versatile_i2c.c | 4 +- hw/versatile_pci.c | 6 +- hw/vfio_pci.c | 6 +- hw/vga-isa-mm.c | 6 +- hw/vga-isa.c | 8 +-- hw/vga-pci.c | 8 +-- hw/vga.c | 26 ++++---- hw/vhost.c | 2 +- hw/vhost_net.c | 6 +- hw/virtio-balloon.c | 6 +- hw/virtio-balloon.h | 4 +- hw/virtio-blk.c | 6 +- hw/virtio-blk.h | 2 +- hw/virtio-bus.c | 8 +-- hw/virtio-bus.h | 4 +- hw/virtio-console.c | 2 +- hw/virtio-net.c | 6 +- hw/virtio-net.h | 4 +- hw/virtio-pci.c | 72 +++++++++++++++++++---- hw/virtio-pci.h | 16 ++--- hw/virtio-rng.c | 7 ++- hw/virtio-scsi.c | 3 +- hw/virtio-scsi.h | 4 +- hw/virtio-serial-bus.c | 4 +- hw/virtio-serial.h | 4 +- hw/virtio.c | 4 +- hw/virtio.h | 10 ++-- hw/vmmouse.c | 8 +-- hw/vmport.c | 8 +-- hw/vmware_vga.c | 8 +-- hw/vt82c686.c | 26 ++++---- hw/wdt_i6300esb.c | 6 +- hw/wdt_ib700.c | 8 +-- hw/wm8750.c | 4 +- hw/xen-host-pci-device.c | 2 +- hw/xen-host-pci-device.h | 2 +- hw/xen_apic.c | 2 +- hw/xen_backend.c | 4 +- hw/xen_backend.h | 2 +- hw/xen_common.h | 4 +- hw/xen_console.c | 4 +- hw/xen_devconfig.c | 2 +- hw/xen_disk.c | 6 +- hw/xen_domainbuild.h | 2 +- hw/xen_nic.c | 4 +- hw/xen_platform.c | 12 ++-- hw/xen_pt.c | 8 +-- hw/xen_pt.h | 6 +- hw/xen_pt_config_init.c | 4 +- hw/xen_pt_msi.c | 6 +- hw/xenfb.c | 4 +- hw/xgmac.c | 2 +- hw/xilinx.h | 3 +- hw/xilinx_axidma.c | 8 +-- hw/xilinx_axienet.c | 5 +- hw/xilinx_ethlite.c | 4 +- hw/xilinx_intc.c | 4 +- hw/xilinx_spi.c | 6 +- hw/xilinx_spips.c | 8 +-- hw/xilinx_timer.c | 4 +- hw/xilinx_uartlite.c | 2 +- hw/xio3130_downstream.c | 8 +-- hw/xio3130_downstream.h | 2 +- hw/xio3130_upstream.c | 8 +-- hw/xio3130_upstream.h | 2 +- hw/xtensa/Makefile.objs | 4 +- hw/{xtensa_pic.c => xtensa/pic_cpu.c} | 2 +- hw/{ => xtensa}/xtensa_lx60.c | 12 ++-- hw/{ => xtensa}/xtensa_sim.c | 4 +- hw/zaurus.c | 6 +- hw/zynq_slcr.c | 4 +- {hw => include/char}/baum.h | 0 {hw => include/char}/msmouse.h | 0 include/migration/vmstate.h | 2 + hw/qdev-monitor.h => include/monitor/qdev.h | 3 +- hw/fifo.h => include/qemu/fifo8.h | 2 +- monitor.c | 2 +- hw/qdev-monitor.c => qdev-monitor.c | 3 +- qemu-char.c | 4 +- stubs/Makefile.objs | 1 + stubs/pci-drive-hot-add.c | 10 ++++ util/Makefile.objs | 1 + hw/fifo.c => util/fifo8.c | 3 +- util/qemu-config.c | 1 + vl.c | 3 +- 541 files changed, 1815 insertions(+), 1788 deletions(-) rename {hw => backends}/baum.c (99%) rename {hw => backends}/msmouse.c (99%) rename hw/device-hotplug.c => device-hotplug.c (88%) rename hw/{9p.h => 9pfs/virtio-9p-device.h} (85%) rename hw/{alpha_dp264.c => alpha/dp264.c} (96%) rename hw/{alpha_pci.c => alpha/pci.c} (98%) rename hw/{ => arm}/armv7m.c (99%) rename hw/{arm_boot.c => arm/boot.c} (99%) rename hw/{ => arm}/collie.c (92%) rename hw/{ => arm}/exynos4210.c (98%) rename hw/{ => arm}/exynos4_boards.c (98%) rename hw/{ => arm}/gumstix.c (97%) rename hw/{ => arm}/highbank.c (98%) rename hw/{ => arm}/integratorcp.c (99%) rename hw/{ => arm}/kzm.c (97%) rename hw/{ => arm}/mainstone.c (97%) rename hw/{ => arm}/musicpal.c (99%) rename hw/{ => arm}/nseries.c (99%) rename hw/{ => arm}/omap1.c (99%) rename hw/{ => arm}/omap2.c (99%) rename hw/{ => arm}/omap_sx1.c (98%) rename hw/{ => arm}/palm.c (98%) rename hw/{arm_pic.c => arm/pic_cpu.c} (95%) rename hw/{ => arm}/pxa2xx.c (99%) rename hw/{ => arm}/pxa2xx_gpio.c (99%) rename hw/{ => arm}/pxa2xx_pic.c (99%) rename hw/{ => arm}/realview.c (98%) rename hw/{ => arm}/spitz.c (99%) rename hw/{ => arm}/stellaris.c (99%) rename hw/{ => arm}/tosa.c (97%) rename hw/{ => arm}/versatilepb.c (98%) rename hw/{ => arm}/vexpress.c (99%) rename hw/{ => arm}/xilinx_zynq.c (98%) rename hw/{ => arm}/z2.c (98%) rename hw/{ => cris}/axis_dev88.c (98%) rename hw/{cris-boot.c => cris/boot.c} (97%) rename hw/{cris_pic_cpu.c => cris/pic_cpu.c} (96%) rename hw/{ => i386}/kvmvapic.c (99%) rename hw/{ => i386}/multiboot.c (99%) rename hw/{ => i386}/pc.c (98%) rename hw/{ => i386}/pc_piix.c (98%) rename hw/{ => i386}/pc_q35.c (97%) rename hw/{ => i386}/smbios.c (99%) rename hw/{ => i386}/xen_domainbuild.c (99%) rename hw/{ => i386}/xen_machine_pv.c (96%) rename hw/{ => lm32}/lm32_boards.c (98%) rename hw/{ => lm32}/milkymist.c (97%) rename hw/{ => m68k}/an5206.c (96%) rename hw/{ => m68k}/dummy_m68k.c (97%) rename hw/{ => m68k}/mcf5206.c (99%) rename hw/{ => m68k}/mcf5208.c (98%) rename hw/{ => m68k}/mcf_intc.c (98%) rename hw/{microblaze_boot.c => microblaze/boot.c} (99%) rename hw/{ => microblaze}/petalogix_ml605_mmu.c (95%) rename hw/{ => microblaze}/petalogix_s3adsp1800_mmu.c (95%) rename hw/{microblaze_pic_cpu.c => microblaze/pic_cpu.c} (96%) rename hw/{mips_addr.c => mips/addr.c} (96%) rename hw/{mips_timer.c => mips/cputimer.c} (98%) rename hw/{ => mips}/mips_fulong2e.c (97%) rename hw/{ => mips}/mips_int.c (97%) rename hw/{ => mips}/mips_jazz.c (96%) rename hw/{ => mips}/mips_malta.c (98%) rename hw/{ => mips}/mips_mipssim.c (97%) rename hw/{ => mips}/mips_r4k.c (96%) rename hw/{openrisc_timer.c => openrisc/cputimer.c} (99%) rename hw/{ => openrisc}/openrisc_sim.c (97%) rename hw/{openrisc_pic.c => openrisc/pic_cpu.c} (98%) rename hw/{ => ppc}/mpc8544_guts.c (98%) rename hw/{ => ppc}/ppc.c (99%) rename hw/{ => ppc}/ppc405_boards.c (99%) rename hw/{ => ppc}/ppc405_uc.c (99%) rename hw/{ => ppc}/ppc440_bamboo.c (98%) rename hw/{ => ppc}/ppc4xx_devs.c (99%) rename hw/{ => ppc}/ppc_booke.c (99%) rename hw/{ => ppc}/ppce500_spin.c (99%) rename hw/{ => ppc}/spapr.c (99%) rename hw/{ => ppc}/spapr_events.c (100%) rename hw/{ => ppc}/spapr_hcall.c (100%) rename hw/{ => ppc}/spapr_iommu.c (99%) rename hw/{ => ppc}/spapr_rtas.c (100%) rename hw/{ => ppc}/spapr_vio.c (99%) rename hw/{ => ppc}/virtex_ml507.c (97%) rename hw/{ => ppc}/xics.c (99%) rename hw/{ => sh4}/r2d.c (97%) rename hw/{ => sh4}/sh7750.c (99%) rename hw/{ => sh4}/sh7750_regnames.c (95%) rename hw/{ => sh4}/shix.c (97%) rename hw/{ => sparc}/leon3.c (98%) rename hw/{ => sparc}/sun4m.c (99%) rename hw/{ => sparc64}/sun4u.c (99%) rename hw/{ => unicore32}/puv3.c (97%) rename hw/{xtensa_pic.c => xtensa/pic_cpu.c} (99%) rename hw/{ => xtensa}/xtensa_lx60.c (98%) rename hw/{ => xtensa}/xtensa_sim.c (98%) rename {hw => include/char}/baum.h (100%) rename {hw => include/char}/msmouse.h (100%) rename hw/qdev-monitor.h => include/monitor/qdev.h (80%) rename hw/fifo.h => include/qemu/fifo8.h (98%) rename hw/qdev-monitor.c => qdev-monitor.c (99%) create mode 100644 stubs/pci-drive-hot-add.c rename hw/fifo.c => util/fifo8.c (97%)