hw/ reorganization, part 2
Subsystems (8)
cover hw/ reorganization, part 2
This is part 2 of the reorganization, following the list sent last week, with the changes suggested by Edgar and Richard. Since I posted the list TPM emulation got in and I moved it to hw/tpm (there isn't really a clear front-end/back-end separation, unfortunately).
I checked that the same symbols exist in the binaries before and after the patches.
The positive diffstat is mostly due to the new Makefiles listing files one-per-line.
The following changes since commit e531761d63b7f8fe6b6423fafb3616ebbff768aa:
Merge remote-tracking branch 'kraxel/pixman.v8' into staging (2013-03-18 07:34:24 -0500)
are available in the git repository at:
git://github.com/bonzini/qemu.git hw-dirs
for you to fetch changes up to da4582b8234b11a64a95f198bdfc946ca4fcc7a9:
hw: move private headers to hw/ subdirectories. (2013-03-18 18:24:37 +0100)
Because the patches are huge, you've been CCed only on the cover letter.
Paolo
----------------------------------------------------------------
Paolo Bonzini (35):
hw: move headers to include/
hw: make subdirectories for devices
configure: fix TPM logic
tpm: reorganize headers and split hardware part
hw: move another file to hw/alpha/
hw: move target-independent files to subdirectories
hw: move virtio devices to hw/ subdirectories
hw: make all of hw/ide/ configurable via default-configs/
hw: make all of hw/usb/ configurable via default-configs/
hw: make all of hw/pci/ configurable via default-configs/
hw: move watchdogs to hw/watchdog, configure via default-configs/
hw: move MC146818RTC to hw/timer/, configure via default-configs/
hw: move NICs to hw/net/, configure via default-configs/
hw: move block devices to hw/block/, configure via default-configs/
hw: move audio devices to hw/audio/, configure via default-configs/
hw: move display devices to hw/display/, configure via default-configs/
hw: move I2C controllers to hw/i2c/, configure via default-configs/
hw: move SSI controllers to hw/ssi/, configure via default-configs/
hw: move SCSI controllers to hw/scsi/, configure via default-configs/
hw: move more files to hw/xen/
hw: move char devices to hw/char/, configure via default-configs/
hw: move ISA bridges and devices to hw/isa/, configure with default-configs/
hw: move timer devices to hw/timer/, configure with default-configs/
hw: move input devices to hw/input/, configure with default-configs/
hw: move SD/MMC devices to hw/sd/, configure with default-configs/
hw: move PCI bridges to hw/pci/, configure with default-configs/
hw: move VFIO and ivshmem to hw/pci/
hw: move DMA controllers to hw/dma/, configure with default-configs/
hw: move interrupt controllers to hw/intc/, configure with default-configs/
hw: move GPIO interfaces to hw/gpio/, configure with default-configs/
hw: move NVRAM interfaces to hw/nvram/, configure with default-configs/
hw: move other devices to hw/misc/, configure with default-configs/
arm: move remaining files to hw/arm/
MAINTAINERS: update for source code movement
hw: move private headers to hw/ subdirectories.
MAINTAINERS | 170 +++++++-------
Makefile.objs | 2 +-
arch_init.c | 8 +-
block/iscsi.c | 4 +-
blockdev-nbd.c | 2 +-
blockdev.c | 2 +-
configure | 24 +-
default-configs/alpha-softmmu.mak | 1 +
default-configs/arm-softmmu.mak | 25 +++
default-configs/cris-softmmu.mak | 1 +
default-configs/i386-softmmu.mak | 19 +-
default-configs/lm32-softmmu.mak | 3 +
default-configs/m68k-softmmu.mak | 1 +
default-configs/microblaze-softmmu.mak | 2 +
default-configs/microblazeel-softmmu.mak | 2 +
default-configs/mips-softmmu.mak | 4 +-
default-configs/mips64-softmmu.mak | 4 +-
default-configs/mips64el-softmmu.mak | 4 +-
default-configs/mipsel-softmmu.mak | 4 +-
default-configs/pci.mak | 1 +
default-configs/ppc-softmmu.mak | 7 +-
default-configs/ppc64-softmmu.mak | 9 +-
default-configs/ppcemb-softmmu.mak | 7 +-
default-configs/s390x-softmmu.mak | 1 +
default-configs/sh4-softmmu.mak | 3 +
default-configs/sh4eb-softmmu.mak | 3 +
default-configs/sparc-softmmu.mak | 8 +
default-configs/sparc64-softmmu.mak | 2 +
default-configs/x86_64-softmmu.mak | 18 +-
exec.c | 2 +-
gdbstub.c | 2 +-
hw/9pfs/virtio-9p-device.c | 4 +-
hw/9pfs/virtio-9p-handle.c | 2 +-
hw/9pfs/virtio-9p-local.c | 2 +-
hw/9pfs/virtio-9p-posix-acl.c | 2 +-
hw/9pfs/virtio-9p-proxy.c | 2 +-
hw/9pfs/virtio-9p-synth.c | 2 +-
hw/9pfs/virtio-9p-xattr-user.c | 2 +-
hw/9pfs/virtio-9p-xattr.c | 2 +-
hw/9pfs/virtio-9p.c | 4 +-
hw/9pfs/virtio-9p.h | 2 +-
hw/Makefile.objs | 247 +++------------------
hw/acpi/Makefile.objs | 2 +
hw/{acpi.c => acpi/core.c} | 4 +-
hw/{acpi_ich9.c => acpi/ich9.c} | 6 +-
hw/{acpi_piix4.c => acpi/piix4.c} | 10 +-
hw/alpha/Makefile.objs | 7 +-
hw/alpha/dp264.c | 8 +-
hw/alpha/pci.c | 2 +-
hw/{alpha_typhoon.c => alpha/typhoon.c} | 4 +-
hw/arm/Makefile.objs | 34 +--
hw/{ => arm}/a15mpcore.c | 0
hw/{ => arm}/a9mpcore.c | 0
hw/{ => arm}/arm11mpcore.c | 0
hw/arm/armv7m.c | 2 +-
hw/arm/boot.c | 2 +-
hw/arm/collie.c | 8 +-
hw/arm/exynos4210.c | 4 +-
hw/arm/exynos4_boards.c | 4 +-
hw/arm/gumstix.c | 6 +-
hw/arm/highbank.c | 4 +-
hw/arm/integratorcp.c | 4 +-
hw/arm/kzm.c | 8 +-
hw/arm/mainstone.c | 8 +-
hw/arm/musicpal.c | 10 +-
hw/arm/nseries.c | 10 +-
hw/arm/omap1.c | 6 +-
hw/arm/omap2.c | 8 +-
hw/arm/omap_sx1.c | 6 +-
hw/arm/palm.c | 6 +-
hw/arm/pic_cpu.c | 2 +-
hw/arm/pxa2xx.c | 6 +-
hw/arm/pxa2xx_gpio.c | 2 +-
hw/arm/pxa2xx_pic.c | 2 +-
hw/arm/realview.c | 8 +-
hw/arm/spitz.c | 12 +-
hw/arm/stellaris.c | 6 +-
hw/{ => arm}/strongarm.c | 4 +-
hw/{ => arm}/strongarm.h | 0
hw/arm/tosa.c | 10 +-
hw/arm/versatilepb.c | 8 +-
hw/arm/vexpress.c | 8 +-
hw/arm/xilinx_zynq.c | 4 +-
hw/arm/z2.c | 10 +-
hw/audio/Makefile.objs | 20 ++
hw/{ => audio}/ac97.c | 2 +-
hw/{ => audio}/adlib.c | 6 +-
hw/{ => audio}/cs4231.c | 0
hw/{ => audio}/cs4231a.c | 4 +-
hw/{ => audio}/es1370.c | 2 +-
hw/{ => audio}/fmopl.c | 2 +-
hw/{ => audio}/fmopl.h | 0
hw/{ => audio}/gus.c | 8 +-
hw/{ => audio}/gusemu.h | 0
hw/{ => audio}/gusemu_hal.c | 4 +-
hw/{ => audio}/gusemu_mixer.c | 4 +-
hw/{ => audio}/gustate.h | 0
hw/{hda-audio.c => audio/hda-codec.c} | 4 +-
hw/{ => audio}/intel-hda-defs.h | 0
hw/{ => audio}/intel-hda.c | 6 +-
hw/{ => audio}/intel-hda.h | 0
hw/{ => audio}/lm4549.c | 2 +-
hw/{ => audio}/lm4549.h | 0
.../marvell_88w8618.c} | 2 +-
hw/{ => audio}/milkymist-ac97.c | 0
hw/{ => audio}/pcspk.c | 8 +-
hw/{ => audio}/pl041.c | 4 +-
hw/{ => audio}/pl041.h | 0
hw/{ => audio}/pl041.hx | 0
hw/{ => audio}/sb16.c | 4 +-
hw/{ => audio}/wm8750.c | 2 +-
hw/block/Makefile.objs | 14 ++
hw/{block-common.c => block/block.c} | 2 +-
hw/{ => block}/cdrom.c | 2 +-
hw/{ => block}/dataplane/Makefile.objs | 0
hw/{ => block}/dataplane/hostmem.c | 0
hw/{ => block}/dataplane/hostmem.h | 0
hw/{ => block}/dataplane/ioq.c | 0
hw/{ => block}/dataplane/ioq.h | 0
hw/{ => block}/dataplane/virtio-blk.c | 4 +-
hw/{ => block}/dataplane/virtio-blk.h | 2 +-
hw/{ => block}/dataplane/vring.c | 0
hw/{ => block}/dataplane/vring.h | 2 +-
hw/{ => block}/ecc.c | 2 +-
hw/{ => block}/fdc.c | 4 +-
hw/{ => block}/hd-geometry.c | 2 +-
hw/{ => block}/m25p80.c | 2 +-
hw/{ => block}/nand.c | 2 +-
hw/{ => block}/onenand.c | 2 +-
hw/{ => block}/pc_sysfw.c | 4 +-
hw/{ => block}/pflash_cfi01.c | 2 +-
hw/{ => block}/pflash_cfi02.c | 2 +-
hw/{ => block}/tc58128.c | 2 +-
hw/{ => block}/virtio-blk.c | 6 +-
hw/{ => block}/xen_blkif.h | 0
hw/{ => block}/xen_disk.c | 4 +-
hw/bt/Makefile.objs | 3 +
hw/{bt.c => bt/core.c} | 0
hw/{bt-hci-csr.c => bt/hci-csr.c} | 0
hw/{bt-hci.c => bt/hci.c} | 0
hw/{bt-hid.c => bt/hid.c} | 2 +-
hw/{bt-l2cap.c => bt/l2cap.c} | 0
hw/{bt-sdp.c => bt/sdp.c} | 0
hw/char/Makefile.objs | 27 +++
hw/{ => char}/cadence_uart.c | 0
hw/{ => char}/debugcon.c | 4 +-
hw/{ => char}/escc.c | 2 +-
hw/{ => char}/etraxfs_ser.c | 0
hw/{ => char}/exynos4210_uart.c | 2 +-
hw/{ => char}/grlib_apbuart.c | 0
hw/{ => char}/imx_serial.c | 2 +-
hw/{ => char}/ipack.c | 2 +-
hw/{ => char}/ipack.h | 0
hw/{ => char}/ipoctal232.c | 2 +-
hw/{ => char}/lm32_juart.c | 2 +-
hw/{ => char}/lm32_uart.c | 0
hw/{ => char}/mcf_uart.c | 2 +-
hw/{ => char}/milkymist-uart.c | 0
hw/{ => char}/omap_uart.c | 4 +-
hw/{ => char}/parallel.c | 4 +-
hw/{ => char}/pl011.c | 0
hw/{s390x => char}/sclpconsole.c | 0
hw/{ => char}/serial-isa.c | 4 +-
hw/{ => char}/serial-pci.c | 2 +-
hw/{ => char}/serial.c | 2 +-
hw/{ => char}/sh_serial.c | 2 +-
hw/{ => char}/spapr_vty.c | 4 +-
hw/{ => char}/tpci200.c | 2 +-
hw/{ => char}/virtio-console.c | 2 +-
hw/{ => char}/virtio-serial-bus.c | 2 +-
hw/{ => char}/xen_console.c | 2 +-
hw/{ => char}/xilinx_uartlite.c | 0
hw/core/Makefile.objs | 14 ++
hw/{ => core}/empty_slot.c | 0
hw/{ => core}/irq.c | 0
hw/{ => core}/loader.c | 4 +-
hw/{ => core}/null-machine.c | 0
hw/{ => core}/ptimer.c | 0
hw/{ => core}/qdev-addr.c | 0
hw/{ => core}/qdev-properties-system.c | 2 +-
hw/{ => core}/qdev-properties.c | 2 +-
hw/{ => core}/qdev.c | 0
hw/{ => core}/stream.c | 0
hw/{ => core}/sysbus.c | 0
hw/{ => core}/uboot_image.h | 0
hw/cris/Makefile.objs | 10 -
hw/cris/axis_dev88.c | 6 +-
hw/cris/boot.c | 2 +-
hw/{cris-boot.h => cris/boot.h} | 0
hw/cris/pic_cpu.c | 2 +-
hw/display/Makefile.objs | 34 +++
hw/{ => display}/ads7846.c | 0
hw/{ => display}/blizzard.c | 14 +-
hw/{ => display}/blizzard_template.h | 0
hw/{ => display}/cirrus_vga.c | 38 ++--
hw/{ => display}/cirrus_vga_rop.h | 8 +-
hw/{ => display}/cirrus_vga_rop2.h | 0
hw/{ => display}/cirrus_vga_template.h | 0
hw/{ => display}/exynos4210_fimd.c | 0
hw/{ => display}/framebuffer.c | 2 +-
hw/{ => display}/framebuffer.h | 0
hw/{ => display}/g364fb.c | 0
hw/{ => display}/jazz_led.c | 0
hw/{ => display}/milkymist-tmu2.c | 0
hw/{ => display}/milkymist-vgafb.c | 12 +-
hw/{ => display}/milkymist-vgafb_template.h | 0
hw/{ => display}/omap_dss.c | 2 +-
hw/{ => display}/omap_lcd_template.h | 0
hw/{ => display}/omap_lcdc.c | 12 +-
hw/{ => display}/pl110.c | 12 +-
hw/{ => display}/pl110_template.h | 12 +-
hw/{ => display}/pxa2xx_lcd.c | 14 +-
hw/{ => display}/pxa2xx_template.h | 0
hw/{ => display}/qxl-logger.c | 2 +-
hw/{ => display}/qxl-render.c | 2 +-
hw/{ => display}/qxl.c | 2 +-
hw/{ => display}/qxl.h | 2 +-
hw/{ => display}/sm501.c | 18 +-
hw/{ => display}/sm501_template.h | 0
hw/{ => display}/ssd0303.c | 2 +-
hw/{ => display}/ssd0323.c | 0
hw/{ => display}/tc6393xb.c | 14 +-
hw/{ => display}/tc6393xb_template.h | 0
hw/{ => display}/tcx.c | 0
hw/{ => display}/vga-isa-mm.c | 4 +-
hw/{ => display}/vga-isa.c | 4 +-
hw/{ => display}/vga-pci.c | 2 +-
hw/{ => display}/vga.c | 22 +-
hw/{ => display}/vga.h | 0
hw/{ => display}/vga_int.h | 0
hw/{ => display}/vga_template.h | 0
hw/{ => display}/vmware_vga.c | 2 +-
hw/{ => display}/xenfb.c | 2 +-
hw/dma/Makefile.objs | 12 +
hw/{ => dma}/etraxfs_dma.c | 2 +-
hw/{dma.c => dma/i8257.c} | 2 +-
hw/{ => dma}/omap_dma.c | 4 +-
hw/{ => dma}/pl080.c | 0
hw/{ => dma}/pl330.c | 2 +-
hw/{ => dma}/puv3_dma.c | 2 +-
hw/{ => dma}/pxa2xx_dma.c | 2 +-
hw/{ => dma}/rc4030.c | 2 +-
hw/{ => dma}/soc_dma.c | 2 +-
hw/{ => dma}/sparc32_dma.c | 4 +-
hw/{ => dma}/sun4m_iommu.c | 2 +-
hw/{ => dma}/xilinx_axidma.c | 0
hw/gpio/Makefile.objs | 6 +
hw/{ => gpio}/max7310.c | 2 +-
hw/{ => gpio}/omap_gpio.c | 2 +-
hw/{ => gpio}/pl061.c | 0
hw/{ => gpio}/puv3_gpio.c | 2 +-
hw/{ => gpio}/zaurus.c | 2 +-
hw/i2c/Makefile.objs | 7 +
hw/{ => i2c}/bitbang_i2c.c | 2 +-
hw/{ => i2c}/bitbang_i2c.h | 2 +-
hw/{i2c.c => i2c/core.c} | 2 +-
hw/{ => i2c}/exynos4210_i2c.c | 2 +-
hw/{ => i2c}/omap_i2c.c | 4 +-
hw/{ => i2c}/pm_smbus.c | 6 +-
hw/{ => i2c}/smbus.c | 4 +-
hw/{ => i2c}/smbus_eeprom.c | 4 +-
hw/{ => i2c}/smbus_ich9.c | 10 +-
hw/{ => i2c}/versatile_i2c.c | 2 +-
hw/i386/Makefile.objs | 13 --
hw/i386/kvmvapic.c | 2 +-
hw/i386/multiboot.c | 4 +-
hw/{ => i386}/multiboot.h | 0
hw/i386/pc.c | 26 +--
hw/i386/pc_piix.c | 8 +-
hw/i386/pc_q35.c | 10 +-
hw/i386/smbios.c | 2 +-
hw/i386/xen_domainbuild.c | 4 +-
hw/{ => i386}/xen_domainbuild.h | 2 +-
hw/i386/xen_machine_pv.c | 6 +-
hw/ide/Makefile.objs | 2 +
hw/ide/ahci.c | 2 +-
hw/ide/atapi.c | 2 +-
hw/ide/cmd646.c | 4 +-
hw/ide/core.c | 6 +-
hw/ide/ich.c | 4 +-
hw/ide/internal.h | 6 +-
hw/ide/isa.c | 4 +-
hw/ide/macio.c | 2 +-
hw/ide/microdrive.c | 2 +-
hw/ide/pci.c | 4 +-
hw/ide/piix.c | 4 +-
hw/ide/qdev.c | 2 +-
hw/ide/via.c | 4 +-
hw/input/Makefile.objs | 13 ++
hw/{ => input}/adb.c | 2 +-
hw/{ => input}/hid.c | 2 +-
hw/{ => input}/lm832x.c | 2 +-
hw/{ => input}/milkymist-softusb.c | 2 +-
hw/{ => input}/pckbd.c | 6 +-
hw/{ => input}/pl050.c | 2 +-
hw/{ => input}/ps2.c | 2 +-
hw/{ => input}/pxa2xx_keypad.c | 2 +-
hw/{ => input}/stellaris_input.c | 2 +-
hw/{ => input}/tsc2005.c | 2 +-
hw/{ => input}/tsc210x.c | 4 +-
hw/{ => input}/vmmouse.c | 4 +-
hw/intc/Makefile.objs | 21 ++
hw/{ => intc}/apic.c | 10 +-
hw/{ => intc}/apic_common.c | 4 +-
hw/{ => intc}/arm_gic.c | 2 +-
hw/{ => intc}/arm_gic_common.c | 2 +-
hw/{ => intc}/armv7m_nvic.c | 4 +-
hw/{ => intc}/etraxfs_pic.c | 0
hw/{ => intc}/exynos4210_combiner.c | 2 +-
hw/{ => intc}/exynos4210_gic.c | 2 +-
hw/{arm_gic_internal.h => intc/gic_internal.h} | 0
hw/{ => intc}/grlib_irqmp.c | 2 +-
hw/{ => intc}/heathrow_pic.c | 0
hw/{ => intc}/i8259.c | 6 +-
hw/{ => intc}/i8259_common.c | 4 +-
hw/{ => intc}/imx_avic.c | 0
hw/{ => intc}/ioapic.c | 8 +-
hw/{ => intc}/ioapic_common.c | 4 +-
hw/{ => intc}/lm32_pic.c | 4 +-
hw/{ => intc}/omap_intc.c | 2 +-
hw/{ => intc}/openpic.c | 4 +-
hw/{ => intc}/pl190.c | 0
hw/{ => intc}/puv3_intc.c | 2 +-
hw/{ => intc}/realview_gic.c | 0
hw/{ => intc}/sbi.c | 0
hw/{ => intc}/sh_intc.c | 4 +-
hw/{ => intc}/slavio_intctl.c | 2 +-
hw/{ => intc}/sun4c_intctl.c | 2 +-
hw/{ => intc}/xilinx_intc.c | 0
hw/isa/Makefile.objs | 15 ++
hw/{ => isa}/apm.c | 2 +-
hw/{ => isa}/applesmc.c | 2 +-
hw/{ => isa}/debugexit.c | 2 +-
hw/{ => isa}/i82374.c | 2 +-
hw/{ => isa}/i82378.c | 6 +-
hw/{ => isa}/isa-bus.c | 2 +-
hw/{ => isa}/isa_mmio.c | 2 +-
hw/{ => isa}/lpc_ich9.c | 16 +-
hw/{ => isa}/pc-testdev.c | 2 +-
hw/{ => isa}/pc87312.c | 2 +-
hw/{ => isa}/piix4.c | 4 +-
hw/{ => isa}/sga.c | 2 +-
hw/{ => isa}/vmport.c | 4 +-
hw/{ => isa}/vt82c686.c | 18 +-
hw/kvm/apic.c | 2 +-
hw/kvm/arm_gic.c | 2 +-
hw/kvm/i8254.c | 4 +-
hw/kvm/i8259.c | 4 +-
hw/kvm/ioapic.c | 6 +-
hw/kvm/pci-assign.c | 2 +-
hw/lm32/Makefile.objs | 20 --
hw/{ => lm32}/lm32.h | 0
hw/lm32/lm32_boards.c | 8 +-
hw/{ => lm32}/lm32_hwsetup.h | 0
hw/{ => lm32}/milkymist-hw.h | 0
hw/lm32/milkymist.c | 8 +-
hw/m68k/Makefile.objs | 4 -
hw/m68k/an5206.c | 2 +-
hw/m68k/mcf5206.c | 2 +-
hw/m68k/mcf5208.c | 2 +-
hw/m68k/mcf_intc.c | 2 +-
hw/microblaze/Makefile.objs | 5 -
hw/microblaze/boot.c | 2 +-
hw/{microblaze_boot.h => microblaze/boot.h} | 0
hw/microblaze/petalogix_ml605_mmu.c | 10 +-
hw/microblaze/petalogix_s3adsp1800_mmu.c | 8 +-
hw/microblaze/pic_cpu.c | 2 +-
hw/{microblaze_pic_cpu.h => microblaze/pic_cpu.h} | 0
hw/mips/Makefile.objs | 5 -
hw/mips/addr.c | 2 +-
hw/mips/cputimer.c | 2 +-
hw/mips/mips_fulong2e.c | 22 +-
hw/mips/mips_int.c | 2 +-
hw/mips/mips_jazz.c | 22 +-
hw/mips/mips_malta.c | 20 +-
hw/mips/mips_mipssim.c | 10 +-
hw/mips/mips_r4k.c | 18 +-
hw/misc/Makefile.objs | 29 +++
hw/{ => misc}/a9scu.c | 0
hw/{ => misc}/arm_l2x0.c | 0
hw/{ => misc}/arm_sysctl.c | 2 +-
hw/{ => misc}/cbus.c | 2 +-
hw/{ => misc}/eccmemctl.c | 0
hw/{ => misc}/exynos4210_pmu.c | 0
hw/{ => misc}/imx_ccm.c | 2 +-
hw/{ => misc}/lm32_sys.c | 0
hw/misc/macio/Makefile.objs | 3 +
hw/{ => misc/macio}/cuda.c | 2 +-
hw/{ => misc/macio}/mac_dbdma.c | 4 +-
hw/{ => misc/macio}/macio.c | 4 +-
hw/{ => misc}/max111x.c | 0
hw/{ => misc}/milkymist-hpdmc.c | 0
hw/{ => misc}/milkymist-pfpu.c | 0
hw/{ => misc}/mst_fpga.c | 0
hw/{ => misc}/omap_clk.c | 2 +-
hw/{ => misc}/omap_gpmc.c | 4 +-
hw/{ => misc}/omap_l4.c | 2 +-
hw/{ => misc}/omap_sdrc.c | 2 +-
hw/{ => misc}/omap_tap.c | 2 +-
hw/{ => misc}/puv3_pm.c | 2 +-
hw/{ => misc}/pxa2xx_pcmcia.c | 2 +-
hw/{ => misc}/slavio_misc.c | 0
hw/{ => misc}/tmp105.c | 4 +-
hw/{ => misc}/tmp105.h | 4 +-
hw/{ => misc}/zynq_slcr.c | 0
hw/net/Makefile.objs | 31 +++
hw/{ => net}/cadence_gem.c | 0
hw/{ => net}/dp8393x.c | 2 +-
hw/{ => net}/e1000.c | 2 +-
hw/{e1000_hw.h => net/e1000_regs.h} | 0
hw/{ => net}/eepro100.c | 2 +-
hw/{ => net}/etraxfs_eth.c | 2 +-
hw/{ => net}/lan9118.c | 2 +-
hw/{ => net}/lance.c | 4 +-
hw/{ => net}/mcf_fec.c | 2 +-
hw/{ => net}/milkymist-minimac2.c | 0
hw/{ => net}/mipsnet.c | 0
hw/{ => net}/ne2000-isa.c | 6 +-
hw/{ => net}/ne2000.c | 2 +-
hw/{ => net}/ne2000.h | 0
hw/{ => net}/opencores_eth.c | 0
hw/{ => net}/pcnet-pci.c | 2 +-
hw/{ => net}/pcnet.c | 2 +-
hw/{ => net}/pcnet.h | 0
hw/{ => net}/rtl8139.c | 0
hw/{ => net}/smc91c111.c | 2 +-
hw/{ => net}/spapr_llan.c | 4 +-
hw/{ => net}/stellaris_enet.c | 0
hw/{ => net}/vhost_net.c | 6 +-
hw/{ => net}/virtio-net.c | 6 +-
hw/{ => net}/xen_nic.c | 2 +-
hw/{ => net}/xgmac.c | 0
hw/{ => net}/xilinx_axienet.c | 0
hw/{ => net}/xilinx_ethlite.c | 0
hw/nvram/Makefile.objs | 5 +
hw/{ => nvram}/ds1225y.c | 0
hw/{ => nvram}/eeprom93xx.c | 2 +-
hw/{ => nvram}/fw_cfg.c | 4 +-
hw/{ => nvram}/mac_nvram.c | 2 +-
hw/{ => nvram}/spapr_nvram.c | 4 +-
hw/openrisc/openrisc_sim.c | 2 +-
hw/pci/Makefile.objs | 39 +++-
hw/{apb_pci.c => pci/host-apb.c} | 2 +-
hw/{bonito.c => pci/host-bonito.c} | 4 +-
hw/{dec_pci.c => pci/host-dec.c} | 2 +-
hw/{dec_pci.h => pci/host-dec.h} | 0
hw/{grackle_pci.c => pci/host-grackle.c} | 0
hw/{gt64xxx.c => pci/host-gt64xxx.c} | 4 +-
hw/{piix_pci.c => pci/host-piix.c} | 8 +-
hw/{ppc4xx_pci.c => pci/host-ppc4xx.c} | 4 +-
hw/{ppce500_pci.c => pci/host-ppce500.c} | 2 +-
hw/{prep_pci.c => pci/host-prep.c} | 2 +-
hw/{q35.c => pci/host-q35.c} | 2 +-
hw/{sh_pci.c => pci/host-sh.c} | 2 +-
hw/{spapr_pci.c => pci/host-spapr.c} | 4 +-
hw/{unin_pci.c => pci/host-uninorth.c} | 0
hw/{versatile_pci.c => pci/host-versatile.c} | 0
hw/{ => pci}/i82801b11.c | 2 +-
hw/{ => pci}/ioh3420.c | 2 +-
hw/{ => pci}/ioh3420.h | 0
hw/{ => pci}/ivshmem.c | 2 +-
hw/{ => pci}/pam.c | 2 +-
hw/pci/pci-hotplug.c | 6 +-
hw/pci/pci.h | 2 +-
hw/{ => pci}/pci_bridge_dev.c | 0
hw/{vfio_pci.c => pci/vfio.c} | 0
hw/{ => pci}/xio3130_downstream.c | 2 +-
hw/{ => pci}/xio3130_downstream.h | 0
hw/{ => pci}/xio3130_upstream.c | 2 +-
hw/{ => pci}/xio3130_upstream.h | 0
hw/ppc/Makefile.objs | 16 --
hw/ppc/e500.c | 8 +-
hw/ppc/e500plat.c | 2 +-
hw/ppc/mac.h | 2 +-
hw/ppc/mac_newworld.c | 14 +-
hw/ppc/mac_oldworld.c | 12 +-
hw/ppc/mpc8544ds.c | 2 +-
hw/ppc/ppc.c | 4 +-
hw/{ => ppc}/ppc405.h | 2 +-
hw/ppc/ppc405_boards.c | 8 +-
hw/ppc/ppc405_uc.c | 6 +-
hw/ppc/ppc440_bamboo.c | 6 +-
hw/ppc/ppc4xx_devs.c | 4 +-
hw/ppc/ppc_booke.c | 4 +-
hw/ppc/prep.c | 16 +-
hw/ppc/spapr.c | 10 +-
hw/ppc/spapr_events.c | 4 +-
hw/ppc/spapr_hcall.c | 2 +-
hw/ppc/spapr_iommu.c | 2 +-
hw/ppc/spapr_rtas.c | 4 +-
hw/ppc/spapr_vio.c | 6 +-
hw/ppc/virtex_ml507.c | 12 +-
hw/ppc/xics.c | 4 +-
hw/s390x/Makefile.objs | 2 +-
hw/s390x/s390-virtio-bus.c | 10 +-
hw/s390x/s390-virtio-bus.h | 12 +-
hw/s390x/s390-virtio.c | 2 +-
hw/s390x/virtio-ccw.c | 8 +-
hw/s390x/virtio-ccw.h | 12 +-
hw/scsi/Makefile.objs | 8 +
hw/{ => scsi}/esp-pci.c | 4 +-
hw/{ => scsi}/esp.c | 2 +-
hw/{ => scsi}/lsi53c895a.c | 2 +-
hw/{ => scsi}/megasas.c | 6 +-
hw/{ => scsi}/mfi.h | 0
hw/{ => scsi}/scsi-bus.c | 4 +-
hw/{ => scsi}/scsi-disk.c | 6 +-
hw/{ => scsi}/scsi-generic.c | 4 +-
hw/{ => scsi}/spapr_vscsi.c | 12 +-
hw/{ => scsi}/srp.h | 0
hw/{ppc-viosrp.h => scsi/viosrp.h} | 0
hw/{ => scsi}/virtio-scsi.c | 6 +-
hw/sd/Makefile.objs | 8 +
hw/{ => sd}/milkymist-memcard.c | 0
hw/{ => sd}/omap_mmc.c | 2 +-
hw/{ => sd}/pl181.c | 0
hw/{ => sd}/pxa2xx_mmci.c | 2 +-
hw/{ => sd}/sd.c | 0
hw/{ => sd}/sdhci.c | 2 +-
hw/{ => sd}/sdhci.h | 0
hw/{ => sd}/ssi-sd.c | 0
hw/sh4/Makefile.objs | 6 -
hw/sh4/r2d.c | 8 +-
hw/sh4/sh7750.c | 8 +-
hw/sh4/sh7750_regnames.c | 6 +-
hw/{ => sh4}/sh7750_regnames.h | 0
hw/{ => sh4}/sh7750_regs.h | 0
hw/sh4/shix.c | 2 +-
hw/sparc/Makefile.objs | 9 -
hw/sparc/leon3.c | 2 +-
hw/sparc/sun4m.c | 20 +-
hw/sparc64/Makefile.objs | 5 -
hw/sparc64/sun4u.c | 14 +-
hw/ssi/Makefile.objs | 6 +
hw/{ => ssi}/omap_spi.c | 2 +-
hw/{ => ssi}/pl022.c | 0
hw/{ => ssi}/ssi.c | 0
hw/{ => ssi}/xilinx_spi.c | 0
hw/{ => ssi}/xilinx_spips.c | 0
hw/timer/Makefile.objs | 28 +++
hw/{ => timer}/arm_mptimer.c | 0
hw/{ => timer}/arm_timer.c | 0
hw/{ => timer}/cadence_ttc.c | 0
hw/{ => timer}/ds1338.c | 2 +-
hw/{ => timer}/etraxfs_timer.c | 0
hw/{ => timer}/exynos4210_mct.c | 2 +-
hw/{ => timer}/exynos4210_pwm.c | 2 +-
hw/{ => timer}/exynos4210_rtc.c | 2 +-
hw/{ => timer}/grlib_gptimer.c | 0
hw/{ => timer}/hpet.c | 8 +-
hw/{ => timer}/i8254.c | 8 +-
hw/{ => timer}/i8254_common.c | 8 +-
hw/{ => timer}/imx_timer.c | 2 +-
hw/{ => timer}/lm32_timer.c | 0
hw/{ => timer}/m48t59.c | 4 +-
hw/{ => timer}/mc146818rtc.c | 4 +-
hw/{ => timer}/milkymist-sysctl.c | 0
hw/{ => timer}/omap_gptimer.c | 2 +-
hw/{ => timer}/omap_synctimer.c | 2 +-
hw/{ => timer}/pl031.c | 0
hw/{ => timer}/puv3_ost.c | 2 +-
hw/{ => timer}/pxa2xx_timer.c | 2 +-
hw/{ => timer}/sh_timer.c | 2 +-
hw/{ => timer}/slavio_timer.c | 2 +-
hw/{ => timer}/tusb6010.c | 4 +-
hw/{ => timer}/twl92230.c | 2 +-
hw/{ => timer}/xilinx_timer.c | 0
{tpm => hw/tpm}/Makefile.objs | 3 -
{tpm => hw/tpm}/tpm_backend.c | 14 ++
hw/tpm/tpm_int.h | 65 ++++++
{tpm => hw/tpm}/tpm_passthrough.c | 2 +-
{tpm => hw/tpm}/tpm_tis.c | 2 +-
{tpm => hw/tpm}/tpm_tis.h | 7 +-
hw/unicore32/puv3.c | 4 +-
hw/usb/Makefile.objs | 8 +-
hw/{ => usb}/ccid-card-emulated.c | 2 +-
hw/{ => usb}/ccid-card-passthru.c | 2 +-
hw/{ => usb}/ccid.h | 0
hw/usb/dev-audio.c | 2 +-
hw/usb/dev-hid.c | 2 +-
hw/usb/dev-smartcard-reader.c | 2 +-
hw/usb/dev-storage.c | 2 +-
hw/usb/dev-uas.c | 4 +-
hw/virtio/Makefile.objs | 6 +
hw/{ => virtio}/vhost.c | 2 +-
hw/{ => virtio}/virtio-balloon.c | 6 +-
hw/{ => virtio}/virtio-bus.c | 4 +-
hw/{ => virtio}/virtio-pci.c | 14 +-
hw/{ => virtio}/virtio-pci.h | 14 +-
hw/{ => virtio}/virtio-rng.c | 4 +-
hw/{ => virtio}/virtio.c | 4 +-
hw/watchdog/Makefile.objs | 3 +
hw/{ => watchdog}/watchdog.c | 2 +-
hw/{ => watchdog}/wdt_i6300esb.c | 2 +-
hw/{ => watchdog}/wdt_ib700.c | 6 +-
hw/xen/Makefile.objs | 6 +
hw/{ => xen}/xen-host-pci-device.c | 2 +-
hw/{ => xen}/xen-host-pci-device.h | 0
hw/{ => xen}/xen_apic.c | 4 +-
hw/{ => xen}/xen_backend.c | 2 +-
hw/{ => xen}/xen_devconfig.c | 2 +-
hw/{ => xen}/xen_platform.c | 6 +-
hw/{ => xen}/xen_pt.c | 6 +-
hw/{ => xen}/xen_pt.h | 4 +-
hw/{ => xen}/xen_pt_config_init.c | 4 +-
hw/{ => xen}/xen_pt_msi.c | 6 +-
hw/{ => xtensa}/xtensa_bootparam.h | 0
hw/xtensa/xtensa_lx60.c | 6 +-
hw/scsi-defs.h => include/block/scsi.h | 0
include/exec/memory-internal.h | 2 +-
{hw => include/hw/acpi}/acpi.h | 0
hw/acpi_ich9.h => include/hw/acpi/ich9.h | 2 +-
hw/arm-misc.h => include/hw/arm.h | 0
{hw => include/hw/arm}/devices.h | 0
{hw => include/hw/arm}/exynos4210.h | 0
{hw => include/hw/arm}/imx.h | 0
{hw => include/hw/arm}/omap.h | 0
{hw => include/hw/arm}/primecell.h | 0
{hw => include/hw/arm}/pxa.h | 0
{hw => include/hw/arm}/sharpsl.h | 0
{hw => include/hw/arm}/soc_dma.h | 0
hw/audiodev.h => include/hw/audio/audio.h | 0
{hw => include/hw/audio}/pcspk.h | 2 +-
hw/block-common.h => include/hw/block/block.h | 0
{hw => include/hw/block}/fdc.h | 0
{hw => include/hw/block}/flash.h | 0
{hw => include/hw}/boards.h | 0
{hw => include/hw}/bt.h | 0
{hw => include/hw/char}/escc.h | 0
{hw => include/hw/char}/serial.h | 0
{hw => include/hw/cris}/etraxfs.h | 2 +-
{hw => include/hw/cris}/etraxfs_dma.h | 0
{hw => include/hw}/elf_ops.h | 0
{hw => include/hw}/empty_slot.h | 0
{hw => include/hw}/hw.h | 0
{hw => include/hw/i2c}/i2c.h | 0
{hw => include/hw/i2c}/pm_smbus.h | 0
{hw => include/hw/i2c}/smbus.h | 2 +-
{hw => include/hw/i386}/apic-msidef.h | 0
{hw => include/hw/i386}/apic.h | 0
{hw => include/hw/i386}/apic_internal.h | 0
{hw => include/hw/i386}/ich9.h | 14 +-
{hw => include/hw/i386}/ioapic.h | 0
{hw => include/hw/i386}/ioapic_internal.h | 0
{hw => include/hw/i386}/pc.h | 6 +-
{hw => include/hw/i386}/smbios.h | 0
{hw => include/hw}/ide.h | 2 +-
{hw => include/hw/input}/adb.h | 0
{hw => include/hw/input}/hid.h | 0
{hw => include/hw/input}/ps2.h | 0
{hw => include/hw}/irq.h | 0
{hw => include/hw/isa}/apm.h | 0
{hw => include/hw/isa}/i8259_internal.h | 4 +-
{hw => include/hw/isa}/isa.h | 0
{hw => include/hw/isa}/pc87312.h | 2 +-
{hw => include/hw/isa}/vt82c686.h | 0
{hw => include/hw}/kvm/clock.h | 0
{hw => include/hw/lm32}/lm32_juart.h | 0
{hw => include/hw/lm32}/lm32_pic.h | 0
{hw => include/hw}/loader.h | 0
{hw => include/hw/m68k}/mcf.h | 0
hw/mips-bios.h => include/hw/mips/bios.h | 0
hw/mips_cpudevs.h => include/hw/mips/cpudevs.h | 0
{hw => include/hw/mips}/mips.h | 0
{hw => include/hw/misc}/tmp105_regs.h | 0
{hw => include/hw/nvram}/eeprom93xx.h | 0
{hw => include/hw/nvram}/fw_cfg.h | 0
hw/apb_pci.h => include/hw/pci/host-apb.h | 0
hw/ppce500_pci.h => include/hw/pci/host-ppce500.h | 0
hw/q35.h => include/hw/pci/host-q35.h | 14 +-
hw/spapr_pci.h => include/hw/pci/host-spapr.h | 2 +-
hw/alpha_sys.h => include/hw/pci/host-typhoon.h | 2 +-
{hw => include/hw/pci}/pam.h | 0
{hw => include/hw}/pcmcia.h | 0
{hw => include/hw/ppc}/mac_dbdma.h | 0
{hw => include/hw/ppc}/openpic.h | 0
{hw => include/hw/ppc}/ppc.h | 0
{hw => include/hw/ppc}/ppc4xx.h | 0
{hw => include/hw/ppc}/spapr.h | 2 +-
{hw => include/hw/ppc}/spapr_vio.h | 0
{hw => include/hw/ppc}/xics.h | 0
{hw => include/hw}/ptimer.h | 0
{hw => include/hw}/qdev-addr.h | 0
{hw => include/hw}/qdev-core.h | 0
{hw => include/hw}/qdev-dma.h | 0
{hw => include/hw}/qdev-properties.h | 0
{hw => include/hw}/qdev.h | 0
{hw => include/hw}/s390x/event-facility.h | 0
{hw => include/hw}/s390x/sclp.h | 0
{hw => include/hw/scsi}/esp.h | 2 +-
{hw => include/hw/scsi}/scsi.h | 2 +-
{hw => include/hw}/sd.h | 0
{hw => include/hw/sh4}/sh.h | 2 +-
{hw => include/hw/sh4}/sh_intc.h | 0
{hw => include/hw/sparc}/firmware_abi.h | 0
{hw => include/hw/sparc}/grlib.h | 0
{hw => include/hw/sparc}/sparc32_dma.h | 0
{hw => include/hw/sparc}/sun4m.h | 2 +-
{hw => include/hw}/ssi.h | 0
{hw => include/hw}/stream.h | 0
{hw => include/hw}/sysbus.h | 0
hw/hpet_emul.h => include/hw/timer/hpet.h | 0
{hw => include/hw/timer}/i8254.h | 2 +-
{hw => include/hw/timer}/i8254_internal.h | 4 +-
hw/nvram.h => include/hw/timer/m48t59.h | 0
{hw => include/hw/timer}/mc146818rtc.h | 4 +-
{hw => include/hw/timer}/mc146818rtc_regs.h | 0
{hw => include/hw/unicore32}/puv3.h | 0
{hw => include/hw}/usb.h | 0
{hw => include/hw/virtio}/vhost.h | 2 +-
.../hw/virtio/virtio-9p.h | 0
{hw => include/hw/virtio}/virtio-balloon.h | 2 +-
{hw => include/hw/virtio}/virtio-blk.h | 4 +-
{hw => include/hw/virtio}/virtio-bus.h | 2 +-
{hw => include/hw/virtio}/virtio-net.h | 2 +-
{hw => include/hw/virtio}/virtio-rng.h | 0
{hw => include/hw/virtio}/virtio-scsi.h | 2 +-
{hw => include/hw/virtio}/virtio-serial.h | 2 +-
{hw => include/hw/virtio}/virtio.h | 2 +-
{hw => include/hw/xen}/xen.h | 0
{hw => include/hw/xen}/xen_backend.h | 2 +-
{hw => include/hw/xen}/xen_common.h | 2 +-
{hw => include/hw}/xilinx.h | 0
{hw => include/net}/vhost_net.h | 0
{hw => include/sysemu}/watchdog.h | 0
{tpm => include/tpm}/tpm_backend.h | 57 +++++
monitor.c | 8 +-
net/tap.c | 2 +-
pc-bios/optionrom/optionrom.h | 2 +-
target-arm/arm-semi.c | 2 +-
target-arm/kvm.c | 2 +-
target-i386/cpu.c | 4 +-
target-i386/cpu.h | 2 +-
target-i386/kvm.c | 4 +-
target-i386/machine.c | 4 +-
target-lm32/op_helper.c | 4 +-
target-lm32/translate.c | 2 +-
target-ppc/kvm.c | 6 +-
target-sh4/helper.c | 2 +-
tests/rtc-test.c | 2 +-
tests/tmp105-test.c | 2 +-
tpm/tpm.c => tpm.c | 18 +-
tpm/tpm_int.h | 116 ----------
vl.c | 12 +-
xen-all.c | 6 +-
xen-mapcache.c | 2 +-
xen-stub.c | 2 +-
747 files changed, 1753 insertions(+), 1557 deletions(-)
create mode 100644 hw/acpi/Makefile.objs
rename hw/{acpi.c => acpi/core.c} (99%)
rename hw/{acpi_ich9.c => acpi/ich9.c} (98%)
rename hw/{acpi_piix4.c => acpi/piix4.c} (99%)
rename hw/{alpha_typhoon.c => alpha/typhoon.c} (99%)
rename hw/{ => arm}/a15mpcore.c (100%)
rename hw/{ => arm}/a9mpcore.c (100%)
rename hw/{ => arm}/arm11mpcore.c (100%)
rename hw/{ => arm}/strongarm.c (99%)
rename hw/{ => arm}/strongarm.h (100%)
create mode 100644 hw/audio/Makefile.objs
rename hw/{ => audio}/ac97.c (99%)
rename hw/{ => audio}/adlib.c (99%)
rename hw/{ => audio}/cs4231.c (100%)
rename hw/{ => audio}/cs4231a.c (99%)
rename hw/{ => audio}/es1370.c (99%)
rename hw/{ => audio}/fmopl.c (99%)
rename hw/{ => audio}/fmopl.h (100%)
rename hw/{ => audio}/gus.c (98%)
rename hw/{ => audio}/gusemu.h (100%)
rename hw/{ => audio}/gusemu_hal.c (99%)
rename hw/{ => audio}/gusemu_mixer.c (99%)
rename hw/{ => audio}/gustate.h (100%)
rename hw/{hda-audio.c => audio/hda-codec.c} (99%)
rename hw/{ => audio}/intel-hda-defs.h (100%)
rename hw/{ => audio}/intel-hda.c (99%)
rename hw/{ => audio}/intel-hda.h (100%)
rename hw/{ => audio}/lm4549.c (99%)
rename hw/{ => audio}/lm4549.h (100%)
rename hw/{marvell_88w8618_audio.c => audio/marvell_88w8618.c} (99%)
rename hw/{ => audio}/milkymist-ac97.c (100%)
rename hw/{ => audio}/pcspk.c (98%)
rename hw/{ => audio}/pl041.c (99%)
rename hw/{ => audio}/pl041.h (100%)
rename hw/{ => audio}/pl041.hx (100%)
rename hw/{ => audio}/sb16.c (99%)
rename hw/{ => audio}/wm8750.c (99%)
create mode 100644 hw/block/Makefile.objs
rename hw/{block-common.c => block/block.c} (98%)
rename hw/{ => block}/cdrom.c (99%)
rename hw/{ => block}/dataplane/Makefile.objs (100%)
rename hw/{ => block}/dataplane/hostmem.c (100%)
rename hw/{ => block}/dataplane/hostmem.h (100%)
rename hw/{ => block}/dataplane/ioq.c (100%)
rename hw/{ => block}/dataplane/ioq.h (100%)
rename hw/{ => block}/dataplane/virtio-blk.c (99%)
rename hw/{ => block}/dataplane/virtio-blk.h (96%)
rename hw/{ => block}/dataplane/vring.c (100%)
rename hw/{ => block}/dataplane/vring.h (98%)
rename hw/{ => block}/ecc.c (99%)
rename hw/{ => block}/fdc.c (99%)
rename hw/{ => block}/hd-geometry.c (99%)
rename hw/{ => block}/m25p80.c (99%)
rename hw/{ => block}/nand.c (99%)
rename hw/{ => block}/onenand.c (99%)
rename hw/{ => block}/pc_sysfw.c (99%)
rename hw/{ => block}/pflash_cfi01.c (99%)
rename hw/{ => block}/pflash_cfi02.c (99%)
rename hw/{ => block}/tc58128.c (99%)
rename hw/{ => block}/virtio-blk.c (99%)
rename hw/{ => block}/xen_blkif.h (100%)
rename hw/{ => block}/xen_disk.c (99%)
create mode 100644 hw/bt/Makefile.objs
rename hw/{bt.c => bt/core.c} (100%)
rename hw/{bt-hci-csr.c => bt/hci-csr.c} (100%)
rename hw/{bt-hci.c => bt/hci.c} (100%)
rename hw/{bt-hid.c => bt/hid.c} (99%)
rename hw/{bt-l2cap.c => bt/l2cap.c} (100%)
rename hw/{bt-sdp.c => bt/sdp.c} (100%)
create mode 100644 hw/char/Makefile.objs
rename hw/{ => char}/cadence_uart.c (100%)
rename hw/{ => char}/debugcon.c (98%)
rename hw/{ => char}/escc.c (99%)
rename hw/{ => char}/etraxfs_ser.c (100%)
rename hw/{ => char}/exynos4210_uart.c (99%)
rename hw/{ => char}/grlib_apbuart.c (100%)
rename hw/{ => char}/imx_serial.c (99%)
rename hw/{ => char}/ipack.c (99%)
rename hw/{ => char}/ipack.h (100%)
rename hw/{ => char}/ipoctal232.c (99%)
rename hw/{ => char}/lm32_juart.c (99%)
rename hw/{ => char}/lm32_uart.c (100%)
rename hw/{ => char}/mcf_uart.c (99%)
rename hw/{ => char}/milkymist-uart.c (100%)
rename hw/{ => char}/omap_uart.c (98%)
rename hw/{ => char}/parallel.c (99%)
rename hw/{ => char}/pl011.c (100%)
rename hw/{s390x => char}/sclpconsole.c (100%)
rename hw/{ => char}/serial-isa.c (98%)
rename hw/{ => char}/serial-pci.c (99%)
rename hw/{ => char}/serial.c (99%)
rename hw/{ => char}/sh_serial.c (99%)
rename hw/{ => char}/spapr_vty.c (99%)
rename hw/{ => char}/tpci200.c (99%)
rename hw/{ => char}/virtio-console.c (99%)
rename hw/{ => char}/virtio-serial-bus.c (99%)
rename hw/{ => char}/xen_console.c (99%)
rename hw/{ => char}/xilinx_uartlite.c (100%)
create mode 100644 hw/core/Makefile.objs
rename hw/{ => core}/empty_slot.c (100%)
rename hw/{ => core}/irq.c (100%)
rename hw/{ => core}/loader.c (99%)
rename hw/{ => core}/null-machine.c (100%)
rename hw/{ => core}/ptimer.c (100%)
rename hw/{ => core}/qdev-addr.c (100%)
rename hw/{ => core}/qdev-properties-system.c (99%)
rename hw/{ => core}/qdev-properties.c (99%)
rename hw/{ => core}/qdev.c (100%)
rename hw/{ => core}/stream.c (100%)
rename hw/{ => core}/sysbus.c (100%)
rename hw/{ => core}/uboot_image.h (100%)
rename hw/{cris-boot.h => cris/boot.h} (100%)
create mode 100644 hw/display/Makefile.objs
rename hw/{ => display}/ads7846.c (100%)
rename hw/{ => display}/blizzard.c (99%)
rename hw/{ => display}/blizzard_template.h (100%)
rename hw/{ => display}/cirrus_vga.c (99%)
rename hw/{ => display}/cirrus_vga_rop.h (97%)
rename hw/{ => display}/cirrus_vga_rop2.h (100%)
rename hw/{ => display}/cirrus_vga_template.h (100%)
rename hw/{ => display}/exynos4210_fimd.c (100%)
rename hw/{ => display}/framebuffer.c (99%)
rename hw/{ => display}/framebuffer.h (100%)
rename hw/{ => display}/g364fb.c (100%)
rename hw/{ => display}/jazz_led.c (100%)
rename hw/{ => display}/milkymist-tmu2.c (100%)
rename hw/{ => display}/milkymist-vgafb.c (97%)
rename hw/{ => display}/milkymist-vgafb_template.h (100%)
rename hw/{ => display}/omap_dss.c (99%)
rename hw/{ => display}/omap_lcd_template.h (100%)
rename hw/{ => display}/omap_lcdc.c (98%)
rename hw/{ => display}/pl110.c (98%)
rename hw/{ => display}/pl110_template.h (98%)
rename hw/{ => display}/pxa2xx_lcd.c (99%)
rename hw/{ => display}/pxa2xx_template.h (100%)
rename hw/{ => display}/qxl-logger.c (99%)
rename hw/{ => display}/qxl-render.c (99%)
rename hw/{ => display}/qxl.c (99%)
rename hw/{ => display}/qxl.h (99%)
rename hw/{ => display}/sm501.c (99%)
rename hw/{ => display}/sm501_template.h (100%)
rename hw/{ => display}/ssd0303.c (99%)
rename hw/{ => display}/ssd0323.c (100%)
rename hw/{ => display}/tc6393xb.c (98%)
rename hw/{ => display}/tc6393xb_template.h (100%)
rename hw/{ => display}/tcx.c (100%)
rename hw/{ => display}/vga-isa-mm.c (98%)
rename hw/{ => display}/vga-isa.c (98%)
rename hw/{ => display}/vga-pci.c (99%)
rename hw/{ => display}/vga.c (99%)
rename hw/{ => display}/vga.h (100%)
rename hw/{ => display}/vga_int.h (100%)
rename hw/{ => display}/vga_template.h (100%)
rename hw/{ => display}/vmware_vga.c (99%)
rename hw/{ => display}/xenfb.c (99%)
create mode 100644 hw/dma/Makefile.objs
rename hw/{ => dma}/etraxfs_dma.c (99%)
rename hw/{dma.c => dma/i8257.c} (99%)
rename hw/{ => dma}/omap_dma.c (99%)
rename hw/{ => dma}/pl080.c (100%)
rename hw/{ => dma}/pl330.c (99%)
rename hw/{ => dma}/puv3_dma.c (98%)
rename hw/{ => dma}/pxa2xx_dma.c (99%)
rename hw/{ => dma}/rc4030.c (99%)
rename hw/{ => dma}/soc_dma.c (99%)
rename hw/{ => dma}/sparc32_dma.c (99%)
rename hw/{ => dma}/sun4m_iommu.c (99%)
rename hw/{ => dma}/xilinx_axidma.c (100%)
create mode 100644 hw/gpio/Makefile.objs
rename hw/{ => gpio}/max7310.c (99%)
rename hw/{ => gpio}/omap_gpio.c (99%)
rename hw/{ => gpio}/pl061.c (100%)
rename hw/{ => gpio}/puv3_gpio.c (99%)
rename hw/{ => gpio}/zaurus.c (99%)
create mode 100644 hw/i2c/Makefile.objs
rename hw/{ => i2c}/bitbang_i2c.c (99%)
rename hw/{ => i2c}/bitbang_i2c.h (92%)
rename hw/{i2c.c => i2c/core.c} (99%)
rename hw/{ => i2c}/exynos4210_i2c.c (99%)
rename hw/{ => i2c}/omap_i2c.c (99%)
rename hw/{ => i2c}/pm_smbus.c (98%)
rename hw/{ => i2c}/smbus.c (99%)
rename hw/{ => i2c}/smbus_eeprom.c (98%)
rename hw/{ => i2c}/smbus_ich9.c (96%)
rename hw/{ => i2c}/versatile_i2c.c (99%)
rename hw/{ => i386}/multiboot.h (100%)
rename hw/{ => i386}/xen_domainbuild.h (93%)
create mode 100644 hw/input/Makefile.objs
rename hw/{ => input}/adb.c (99%)
rename hw/{ => input}/hid.c (99%)
rename hw/{ => input}/lm832x.c (99%)
rename hw/{ => input}/milkymist-softusb.c (99%)
rename hw/{ => input}/pckbd.c (99%)
rename hw/{ => input}/pl050.c (99%)
rename hw/{ => input}/ps2.c (99%)
rename hw/{ => input}/pxa2xx_keypad.c (99%)
rename hw/{ => input}/stellaris_input.c (98%)
rename hw/{ => input}/tsc2005.c (99%)
rename hw/{ => input}/tsc210x.c (99%)
rename hw/{ => input}/vmmouse.c (99%)
create mode 100644 hw/intc/Makefile.objs
rename hw/{ => intc}/apic.c (99%)
rename hw/{ => intc}/apic_common.c (99%)
rename hw/{ => intc}/arm_gic.c (99%)
rename hw/{ => intc}/arm_gic_common.c (99%)
rename hw/{ => intc}/armv7m_nvic.c (99%)
rename hw/{ => intc}/etraxfs_pic.c (100%)
rename hw/{ => intc}/exynos4210_combiner.c (99%)
rename hw/{ => intc}/exynos4210_gic.c (99%)
rename hw/{arm_gic_internal.h => intc/gic_internal.h} (100%)
rename hw/{ => intc}/grlib_irqmp.c (99%)
rename hw/{ => intc}/heathrow_pic.c (100%)
rename hw/{ => intc}/i8259.c (99%)
rename hw/{ => intc}/i8259_common.c (98%)
rename hw/{ => intc}/imx_avic.c (100%)
rename hw/{ => intc}/ioapic.c (98%)
rename hw/{ => intc}/ioapic_common.c (98%)
rename hw/{ => intc}/lm32_pic.c (98%)
rename hw/{ => intc}/omap_intc.c (99%)
rename hw/{ => intc}/openpic.c (99%)
rename hw/{ => intc}/pl190.c (100%)
rename hw/{ => intc}/puv3_intc.c (99%)
rename hw/{ => intc}/realview_gic.c (100%)
rename hw/{ => intc}/sbi.c (100%)
rename hw/{ => intc}/sh_intc.c (99%)
rename hw/{ => intc}/slavio_intctl.c (99%)
rename hw/{ => intc}/sun4c_intctl.c (99%)
rename hw/{ => intc}/xilinx_intc.c (100%)
create mode 100644 hw/isa/Makefile.objs
rename hw/{ => isa}/apm.c (99%)
rename hw/{ => isa}/applesmc.c (99%)
rename hw/{ => isa}/debugexit.c (98%)
rename hw/{ => isa}/i82374.c (99%)
rename hw/{ => isa}/i82378.c (98%)
rename hw/{ => isa}/isa-bus.c (99%)
rename hw/{ => isa}/isa_mmio.c (99%)
rename hw/{ => isa}/lpc_ich9.c (98%)
rename hw/{ => isa}/pc-testdev.c (99%)
rename hw/{ => isa}/pc87312.c (99%)
rename hw/{ => isa}/piix4.c (98%)
rename hw/{ => isa}/sga.c (98%)
rename hw/{ => isa}/vmport.c (98%)
rename hw/{ => isa}/vt82c686.c (98%)
rename hw/{ => lm32}/lm32.h (100%)
rename hw/{ => lm32}/lm32_hwsetup.h (100%)
rename hw/{ => lm32}/milkymist-hw.h (100%)
rename hw/{microblaze_boot.h => microblaze/boot.h} (100%)
rename hw/{microblaze_pic_cpu.h => microblaze/pic_cpu.h} (100%)
create mode 100644 hw/misc/Makefile.objs
rename hw/{ => misc}/a9scu.c (100%)
rename hw/{ => misc}/arm_l2x0.c (100%)
rename hw/{ => misc}/arm_sysctl.c (99%)
rename hw/{ => misc}/cbus.c (99%)
rename hw/{ => misc}/eccmemctl.c (100%)
rename hw/{ => misc}/exynos4210_pmu.c (100%)
rename hw/{ => misc}/imx_ccm.c (99%)
rename hw/{ => misc}/lm32_sys.c (100%)
create mode 100644 hw/misc/macio/Makefile.objs
rename hw/{ => misc/macio}/cuda.c (99%)
rename hw/{ => misc/macio}/mac_dbdma.c (99%)
rename hw/{ => misc/macio}/macio.c (99%)
rename hw/{ => misc}/max111x.c (100%)
rename hw/{ => misc}/milkymist-hpdmc.c (100%)
rename hw/{ => misc}/milkymist-pfpu.c (100%)
rename hw/{ => misc}/mst_fpga.c (100%)
rename hw/{ => misc}/omap_clk.c (99%)
rename hw/{ => misc}/omap_gpmc.c (99%)
rename hw/{ => misc}/omap_l4.c (99%)
rename hw/{ => misc}/omap_sdrc.c (99%)
rename hw/{ => misc}/omap_tap.c (99%)
rename hw/{ => misc}/puv3_pm.c (99%)
rename hw/{ => misc}/pxa2xx_pcmcia.c (99%)
rename hw/{ => misc}/slavio_misc.c (100%)
rename hw/{ => misc}/tmp105.c (99%)
rename hw/{ => misc}/tmp105.h (94%)
rename hw/{ => misc}/zynq_slcr.c (100%)
create mode 100644 hw/net/Makefile.objs
rename hw/{ => net}/cadence_gem.c (100%)
rename hw/{ => net}/dp8393x.c (99%)
rename hw/{ => net}/e1000.c (99%)
rename hw/{e1000_hw.h => net/e1000_regs.h} (100%)
rename hw/{ => net}/eepro100.c (99%)
rename hw/{ => net}/etraxfs_eth.c (99%)
rename hw/{ => net}/lan9118.c (99%)
rename hw/{ => net}/lance.c (99%)
rename hw/{ => net}/mcf_fec.c (99%)
rename hw/{ => net}/milkymist-minimac2.c (100%)
rename hw/{ => net}/mipsnet.c (100%)
rename hw/{ => net}/ne2000-isa.c (98%)
rename hw/{ => net}/ne2000.c (99%)
rename hw/{ => net}/ne2000.h (100%)
rename hw/{ => net}/opencores_eth.c (100%)
rename hw/{ => net}/pcnet-pci.c (99%)
rename hw/{ => net}/pcnet.c (99%)
rename hw/{ => net}/pcnet.h (100%)
rename hw/{ => net}/rtl8139.c (100%)
rename hw/{ => net}/smc91c111.c (99%)
rename hw/{ => net}/spapr_llan.c (99%)
rename hw/{ => net}/stellaris_enet.c (100%)
rename hw/{ => net}/vhost_net.c (98%)
rename hw/{ => net}/virtio-net.c (99%)
rename hw/{ => net}/xen_nic.c (99%)
rename hw/{ => net}/xgmac.c (100%)
rename hw/{ => net}/xilinx_axienet.c (100%)
rename hw/{ => net}/xilinx_ethlite.c (100%)
create mode 100644 hw/nvram/Makefile.objs
rename hw/{ => nvram}/ds1225y.c (100%)
rename hw/{ => nvram}/eeprom93xx.c (99%)
rename hw/{ => nvram}/fw_cfg.c (99%)
rename hw/{ => nvram}/mac_nvram.c (99%)
rename hw/{ => nvram}/spapr_nvram.c (98%)
rename hw/{apb_pci.c => pci/host-apb.c} (99%)
rename hw/{bonito.c => pci/host-bonito.c} (99%)
rename hw/{dec_pci.c => pci/host-dec.c} (99%)
rename hw/{dec_pci.h => pci/host-dec.h} (100%)
rename hw/{grackle_pci.c => pci/host-grackle.c} (100%)
rename hw/{gt64xxx.c => pci/host-gt64xxx.c} (99%)
rename hw/{piix_pci.c => pci/host-piix.c} (99%)
rename hw/{ppc4xx_pci.c => pci/host-ppc4xx.c} (99%)
rename hw/{ppce500_pci.c => pci/host-ppce500.c} (99%)
rename hw/{prep_pci.c => pci/host-prep.c} (99%)
rename hw/{q35.c => pci/host-q35.c} (99%)
rename hw/{sh_pci.c => pci/host-sh.c} (99%)
rename hw/{spapr_pci.c => pci/host-spapr.c} (99%)
rename hw/{unin_pci.c => pci/host-uninorth.c} (100%)
rename hw/{versatile_pci.c => pci/host-versatile.c} (100%)
rename hw/{ => pci}/i82801b11.c (99%)
rename hw/{ => pci}/ioh3420.c (99%)
rename hw/{ => pci}/ioh3420.h (100%)
rename hw/{ => pci}/ivshmem.c (99%)
rename hw/{ => pci}/pam.c (99%)
rename hw/{ => pci}/pci_bridge_dev.c (100%)
rename hw/{vfio_pci.c => pci/vfio.c} (100%)
rename hw/{ => pci}/xio3130_downstream.c (99%)
rename hw/{ => pci}/xio3130_downstream.h (100%)
rename hw/{ => pci}/xio3130_upstream.c (99%)
rename hw/{ => pci}/xio3130_upstream.h (100%)
rename hw/{ => ppc}/ppc405.h (99%)
create mode 100644 hw/scsi/Makefile.objs
rename hw/{ => scsi}/esp-pci.c (99%)
rename hw/{ => scsi}/esp.c (99%)
rename hw/{ => scsi}/lsi53c895a.c (99%)
rename hw/{ => scsi}/megasas.c (99%)
rename hw/{ => scsi}/mfi.h (100%)
rename hw/{ => scsi}/scsi-bus.c (99%)
rename hw/{ => scsi}/scsi-disk.c (99%)
rename hw/{ => scsi}/scsi-generic.c (99%)
rename hw/{ => scsi}/spapr_vscsi.c (99%)
rename hw/{ => scsi}/srp.h (100%)
rename hw/{ppc-viosrp.h => scsi/viosrp.h} (100%)
rename hw/{ => scsi}/virtio-scsi.c (99%)
create mode 100644 hw/sd/Makefile.objs
rename hw/{ => sd}/milkymist-memcard.c (100%)
rename hw/{ => sd}/omap_mmc.c (99%)
rename hw/{ => sd}/pl181.c (100%)
rename hw/{ => sd}/pxa2xx_mmci.c (99%)
rename hw/{ => sd}/sd.c (100%)
rename hw/{ => sd}/sdhci.c (99%)
rename hw/{ => sd}/sdhci.h (100%)
rename hw/{ => sd}/ssi-sd.c (100%)
rename hw/{ => sh4}/sh7750_regnames.h (100%)
rename hw/{ => sh4}/sh7750_regs.h (100%)
create mode 100644 hw/ssi/Makefile.objs
rename hw/{ => ssi}/omap_spi.c (99%)
rename hw/{ => ssi}/pl022.c (100%)
rename hw/{ => ssi}/ssi.c (100%)
rename hw/{ => ssi}/xilinx_spi.c (100%)
rename hw/{ => ssi}/xilinx_spips.c (100%)
create mode 100644 hw/timer/Makefile.objs
rename hw/{ => timer}/arm_mptimer.c (100%)
rename hw/{ => timer}/arm_timer.c (100%)
rename hw/{ => timer}/cadence_ttc.c (100%)
rename hw/{ => timer}/ds1338.c (99%)
rename hw/{ => timer}/etraxfs_timer.c (100%)
rename hw/{ => timer}/exynos4210_mct.c (99%)
rename hw/{ => timer}/exynos4210_pwm.c (99%)
rename hw/{ => timer}/exynos4210_rtc.c (99%)
rename hw/{ => timer}/grlib_gptimer.c (100%)
rename hw/{ => timer}/hpet.c (99%)
rename hw/{ => timer}/i8254.c (98%)
rename hw/{ => timer}/i8254_common.c (98%)
rename hw/{ => timer}/imx_timer.c (99%)
rename hw/{ => timer}/lm32_timer.c (100%)
rename hw/{ => timer}/m48t59.c (99%)
rename hw/{ => timer}/mc146818rtc.c (99%)
rename hw/{ => timer}/milkymist-sysctl.c (100%)
rename hw/{ => timer}/omap_gptimer.c (99%)
rename hw/{ => timer}/omap_synctimer.c (99%)
rename hw/{ => timer}/pl031.c (100%)
rename hw/{ => timer}/puv3_ost.c (99%)
rename hw/{ => timer}/pxa2xx_timer.c (99%)
rename hw/{ => timer}/sh_timer.c (99%)
rename hw/{ => timer}/slavio_timer.c (99%)
rename hw/{ => timer}/tusb6010.c (99%)
rename hw/{ => timer}/twl92230.c (99%)
rename hw/{ => timer}/xilinx_timer.c (100%)
rename {tpm => hw/tpm}/Makefile.objs (72%)
rename {tpm => hw/tpm}/tpm_backend.c (82%)
create mode 100644 hw/tpm/tpm_int.h
rename {tpm => hw/tpm}/tpm_passthrough.c (99%)
rename {tpm => hw/tpm}/tpm_tis.c (99%)
rename {tpm => hw/tpm}/tpm_tis.h (93%)
rename hw/{ => usb}/ccid-card-emulated.c (99%)
rename hw/{ => usb}/ccid-card-passthru.c (99%)
rename hw/{ => usb}/ccid.h (100%)
create mode 100644 hw/virtio/Makefile.objs
rename hw/{ => virtio}/vhost.c (99%)
rename hw/{ => virtio}/virtio-balloon.c (99%)
rename hw/{ => virtio}/virtio-bus.c (98%)
rename hw/{ => virtio}/virtio-pci.c (99%)
rename hw/{ => virtio}/virtio-pci.h (91%)
rename hw/{ => virtio}/virtio-rng.c (98%)
rename hw/{ => virtio}/virtio.c (99%)
create mode 100644 hw/watchdog/Makefile.objs
rename hw/{ => watchdog}/watchdog.c (99%)
rename hw/{ => watchdog}/wdt_i6300esb.c (99%)
rename hw/{ => watchdog}/wdt_ib700.c (98%)
create mode 100644 hw/xen/Makefile.objs
rename hw/{ => xen}/xen-host-pci-device.c (99%)
rename hw/{ => xen}/xen-host-pci-device.h (100%)
rename hw/{ => xen}/xen_apic.c (97%)
rename hw/{ => xen}/xen_backend.c (99%)
rename hw/{ => xen}/xen_devconfig.c (99%)
rename hw/{ => xen}/xen_platform.c (99%)
rename hw/{ => xen}/xen_pt.c (99%)
rename hw/{ => xen}/xen_pt.h (99%)
rename hw/{ => xen}/xen_pt_config_init.c (99%)
rename hw/{ => xen}/xen_pt_msi.c (99%)
rename hw/{ => xtensa}/xtensa_bootparam.h (100%)
rename hw/scsi-defs.h => include/block/scsi.h (100%)
rename {hw => include/hw/acpi}/acpi.h (100%)
rename hw/acpi_ich9.h => include/hw/acpi/ich9.h (98%)
rename hw/arm-misc.h => include/hw/arm.h (100%)
rename {hw => include/hw/arm}/devices.h (100%)
rename {hw => include/hw/arm}/exynos4210.h (100%)
rename {hw => include/hw/arm}/imx.h (100%)
rename {hw => include/hw/arm}/omap.h (100%)
rename {hw => include/hw/arm}/primecell.h (100%)
rename {hw => include/hw/arm}/pxa.h (100%)
rename {hw => include/hw/arm}/sharpsl.h (100%)
rename {hw => include/hw/arm}/soc_dma.h (100%)
rename hw/audiodev.h => include/hw/audio/audio.h (100%)
rename {hw => include/hw/audio}/pcspk.h (98%)
rename hw/block-common.h => include/hw/block/block.h (100%)
rename {hw => include/hw/block}/fdc.h (100%)
rename {hw => include/hw/block}/flash.h (100%)
rename {hw => include/hw}/boards.h (100%)
rename {hw => include/hw}/bt.h (100%)
rename {hw => include/hw/char}/escc.h (100%)
rename {hw => include/hw/char}/serial.h (100%)
rename {hw => include/hw/cris}/etraxfs.h (98%)
rename {hw => include/hw/cris}/etraxfs_dma.h (100%)
rename {hw => include/hw}/elf_ops.h (100%)
rename {hw => include/hw}/empty_slot.h (100%)
rename {hw => include/hw}/hw.h (100%)
rename {hw => include/hw/i2c}/i2c.h (100%)
rename {hw => include/hw/i2c}/pm_smbus.h (100%)
rename {hw => include/hw/i2c}/smbus.h (99%)
rename {hw => include/hw/i386}/apic-msidef.h (100%)
rename {hw => include/hw/i386}/apic.h (100%)
rename {hw => include/hw/i386}/apic_internal.h (100%)
rename {hw => include/hw/i386}/ich9.h (97%)
rename {hw => include/hw/i386}/ioapic.h (100%)
rename {hw => include/hw/i386}/ioapic_internal.h (100%)
rename {hw => include/hw/i386}/pc.h (98%)
rename {hw => include/hw/i386}/smbios.h (100%)
rename {hw => include/hw}/ide.h (97%)
rename {hw => include/hw/input}/adb.h (100%)
rename {hw => include/hw/input}/hid.h (100%)
rename {hw => include/hw/input}/ps2.h (100%)
rename {hw => include/hw}/irq.h (100%)
rename {hw => include/hw/isa}/apm.h (100%)
rename {hw => include/hw/isa}/i8259_internal.h (98%)
rename {hw => include/hw/isa}/isa.h (100%)
rename {hw => include/hw/isa}/pc87312.h (98%)
rename {hw => include/hw/isa}/vt82c686.h (100%)
rename {hw => include/hw}/kvm/clock.h (100%)
rename {hw => include/hw/lm32}/lm32_juart.h (100%)
rename {hw => include/hw/lm32}/lm32_pic.h (100%)
rename {hw => include/hw}/loader.h (100%)
rename {hw => include/hw/m68k}/mcf.h (100%)
rename hw/mips-bios.h => include/hw/mips/bios.h (100%)
rename hw/mips_cpudevs.h => include/hw/mips/cpudevs.h (100%)
rename {hw => include/hw/mips}/mips.h (100%)
rename {hw => include/hw/misc}/tmp105_regs.h (100%)
rename {hw => include/hw/nvram}/eeprom93xx.h (100%)
rename {hw => include/hw/nvram}/fw_cfg.h (100%)
rename hw/apb_pci.h => include/hw/pci/host-apb.h (100%)
rename hw/ppce500_pci.h => include/hw/pci/host-ppce500.h (100%)
rename hw/q35.h => include/hw/pci/host-q35.h (97%)
rename hw/spapr_pci.h => include/hw/pci/host-spapr.h (99%)
rename hw/alpha_sys.h => include/hw/pci/host-typhoon.h (95%)
rename {hw => include/hw/pci}/pam.h (100%)
rename {hw => include/hw}/pcmcia.h (100%)
rename {hw => include/hw/ppc}/mac_dbdma.h (100%)
rename {hw => include/hw/ppc}/openpic.h (100%)
rename {hw => include/hw/ppc}/ppc.h (100%)
rename {hw => include/hw/ppc}/ppc4xx.h (100%)
rename {hw => include/hw/ppc}/spapr.h (99%)
rename {hw => include/hw/ppc}/spapr_vio.h (100%)
rename {hw => include/hw/ppc}/xics.h (100%)
rename {hw => include/hw}/ptimer.h (100%)
rename {hw => include/hw}/qdev-addr.h (100%)
rename {hw => include/hw}/qdev-core.h (100%)
rename {hw => include/hw}/qdev-dma.h (100%)
rename {hw => include/hw}/qdev-properties.h (100%)
rename {hw => include/hw}/qdev.h (100%)
rename {hw => include/hw}/s390x/event-facility.h (100%)
rename {hw => include/hw}/s390x/sclp.h (100%)
rename {hw => include/hw/scsi}/esp.h (99%)
rename {hw => include/hw/scsi}/scsi.h (99%)
rename {hw => include/hw}/sd.h (100%)
rename {hw => include/hw/sh4}/sh.h (98%)
rename {hw => include/hw/sh4}/sh_intc.h (100%)
rename {hw => include/hw/sparc}/firmware_abi.h (100%)
rename {hw => include/hw/sparc}/grlib.h (100%)
rename {hw => include/hw/sparc}/sparc32_dma.h (100%)
rename {hw => include/hw/sparc}/sun4m.h (96%)
rename {hw => include/hw}/ssi.h (100%)
rename {hw => include/hw}/stream.h (100%)
rename {hw => include/hw}/sysbus.h (100%)
rename hw/hpet_emul.h => include/hw/timer/hpet.h (100%)
rename {hw => include/hw/timer}/i8254.h (98%)
rename {hw => include/hw/timer}/i8254_internal.h (98%)
rename hw/nvram.h => include/hw/timer/m48t59.h (100%)
rename {hw => include/hw/timer}/mc146818rtc.h (80%)
rename {hw => include/hw/timer}/mc146818rtc_regs.h (100%)
rename {hw => include/hw/unicore32}/puv3.h (100%)
rename {hw => include/hw}/usb.h (100%)
rename {hw => include/hw/virtio}/vhost.h (98%)
rename hw/9pfs/virtio-9p-device.h => include/hw/virtio/virtio-9p.h (100%)
rename {hw => include/hw/virtio}/virtio-balloon.h (98%)
rename {hw => include/hw/virtio}/virtio-blk.h (98%)
rename {hw => include/hw/virtio}/virtio-bus.h (99%)
rename {hw => include/hw/virtio}/virtio-net.h (99%)
rename {hw => include/hw/virtio}/virtio-rng.h (100%)
rename {hw => include/hw/virtio}/virtio-scsi.h (97%)
rename {hw => include/hw/virtio}/virtio-serial.h (99%)
rename {hw => include/hw/virtio}/virtio.h (99%)
rename {hw => include/hw/xen}/xen.h (100%)
rename {hw => include/hw/xen}/xen_backend.h (99%)
rename {hw => include/hw/xen}/xen_common.h (99%)
rename {hw => include/hw}/xilinx.h (100%)
rename {hw => include/net}/vhost_net.h (100%)
rename {hw => include/sysemu}/watchdog.h (100%)
rename {tpm => include/tpm}/tpm_backend.h (50%)
rename tpm/tpm.c => tpm.c (93%)
delete mode 100644 tpm/tpm_int.hPaolo
Paolo Bonzini (35):
hw: move headers to include/
hw: make subdirectories for devices
configure: fix TPM logic
tpm: reorganize headers and split hardware part
hw: move another file to hw/alpha/
hw: move target-independent files to subdirectories
hw: move virtio devices to hw/ subdirectories
hw: make all of hw/ide/ configurable via default-configs/
hw: make all of hw/usb/ configurable via default-configs/
hw: make all of hw/pci/ configurable via default-configs/
hw: move watchdogs to hw/watchdog, configure via default-configs/
hw: move MC146818RTC to hw/timer/, configure via default-configs/
hw: move NICs to hw/net/, configure via default-configs/
hw: move block devices to hw/block/, configure via default-configs/
hw: move audio devices to hw/audio/, configure via default-configs/
hw: move display devices to hw/display/, configure via
default-configs/
hw: move I2C controllers to hw/i2c/, configure via default-configs/
hw: move SSI controllers to hw/ssi/, configure via default-configs/
hw: move SCSI controllers to hw/scsi/, configure via default-configs/
hw: move more files to hw/xen/
hw: move char devices to hw/char/, configure via default-configs/
hw: move ISA bridges and devices to hw/isa/, configure with
default-configs/
hw: move timer devices to hw/timer/, configure with default-configs/
hw: move input devices to hw/input/, configure with default-configs/
hw: move SD/MMC devices to hw/sd/, configure with default-configs/
hw: move PCI bridges to hw/pci/, configure with default-configs/
hw: move VFIO and ivshmem to hw/pci/
hw: move DMA controllers to hw/dma/, configure with default-configs/
hw: move interrupt controllers to hw/intc/, configure with
default-configs/
hw: move GPIO interfaces to hw/gpio/, configure with default-configs/
hw: move NVRAM interfaces to hw/nvram/, configure with
default-configs/
hw: move other devices to hw/misc/, configure with default-configs/
arm: move remaining files to hw/arm/
MAINTAINERS: update for source code movement
hw: move private headers to hw/ subdirectories.
MAINTAINERS | 170 +++++++-------
Makefile.objs | 2 +-
arch_init.c | 8 +-
block/iscsi.c | 4 +-
blockdev-nbd.c | 2 +-
blockdev.c | 2 +-
configure | 24 +-
default-configs/alpha-softmmu.mak | 1 +
default-configs/arm-softmmu.mak | 25 +++
default-configs/cris-softmmu.mak | 1 +
default-configs/i386-softmmu.mak | 19 +-
default-configs/lm32-softmmu.mak | 3 +
default-configs/m68k-softmmu.mak | 1 +
default-configs/microblaze-softmmu.mak | 2 +
default-configs/microblazeel-softmmu.mak | 2 +
default-configs/mips-softmmu.mak | 4 +-
default-configs/mips64-softmmu.mak | 4 +-
default-configs/mips64el-softmmu.mak | 4 +-
default-configs/mipsel-softmmu.mak | 4 +-
default-configs/pci.mak | 1 +
default-configs/ppc-softmmu.mak | 7 +-
default-configs/ppc64-softmmu.mak | 9 +-
default-configs/ppcemb-softmmu.mak | 7 +-
default-configs/s390x-softmmu.mak | 1 +
default-configs/sh4-softmmu.mak | 3 +
default-configs/sh4eb-softmmu.mak | 3 +
default-configs/sparc-softmmu.mak | 8 +
default-configs/sparc64-softmmu.mak | 2 +
default-configs/x86_64-softmmu.mak | 18 +-
exec.c | 2 +-
gdbstub.c | 2 +-
hw/9pfs/virtio-9p-device.c | 4 +-
hw/9pfs/virtio-9p-handle.c | 2 +-
hw/9pfs/virtio-9p-local.c | 2 +-
hw/9pfs/virtio-9p-posix-acl.c | 2 +-
hw/9pfs/virtio-9p-proxy.c | 2 +-
hw/9pfs/virtio-9p-synth.c | 2 +-
hw/9pfs/virtio-9p-xattr-user.c | 2 +-
hw/9pfs/virtio-9p-xattr.c | 2 +-
hw/9pfs/virtio-9p.c | 4 +-
hw/9pfs/virtio-9p.h | 2 +-
hw/Makefile.objs | 247 +++------------------
hw/acpi/Makefile.objs | 2 +
hw/{acpi.c => acpi/core.c} | 4 +-
hw/{acpi_ich9.c => acpi/ich9.c} | 6 +-
hw/{acpi_piix4.c => acpi/piix4.c} | 10 +-
hw/alpha/Makefile.objs | 7 +-
hw/alpha/dp264.c | 8 +-
hw/alpha/pci.c | 2 +-
hw/{alpha_typhoon.c => alpha/typhoon.c} | 4 +-
hw/arm/Makefile.objs | 34 +--
hw/{ => arm}/a15mpcore.c | 0
hw/{ => arm}/a9mpcore.c | 0
hw/{ => arm}/arm11mpcore.c | 0
hw/arm/armv7m.c | 2 +-
hw/arm/boot.c | 2 +-
hw/arm/collie.c | 8 +-
hw/arm/exynos4210.c | 4 +-
hw/arm/exynos4_boards.c | 4 +-
hw/arm/gumstix.c | 6 +-
hw/arm/highbank.c | 4 +-
hw/arm/integratorcp.c | 4 +-
hw/arm/kzm.c | 8 +-
hw/arm/mainstone.c | 8 +-
hw/arm/musicpal.c | 10 +-
hw/arm/nseries.c | 10 +-
hw/arm/omap1.c | 6 +-
hw/arm/omap2.c | 8 +-
hw/arm/omap_sx1.c | 6 +-
hw/arm/palm.c | 6 +-
hw/arm/pic_cpu.c | 2 +-
hw/arm/pxa2xx.c | 6 +-
hw/arm/pxa2xx_gpio.c | 2 +-
hw/arm/pxa2xx_pic.c | 2 +-
hw/arm/realview.c | 8 +-
hw/arm/spitz.c | 12 +-
hw/arm/stellaris.c | 6 +-
hw/{ => arm}/strongarm.c | 4 +-
hw/{ => arm}/strongarm.h | 0
hw/arm/tosa.c | 10 +-
hw/arm/versatilepb.c | 8 +-
hw/arm/vexpress.c | 8 +-
hw/arm/xilinx_zynq.c | 4 +-
hw/arm/z2.c | 10 +-
hw/audio/Makefile.objs | 20 ++
hw/{ => audio}/ac97.c | 2 +-
hw/{ => audio}/adlib.c | 6 +-
hw/{ => audio}/cs4231.c | 0
hw/{ => audio}/cs4231a.c | 4 +-
hw/{ => audio}/es1370.c | 2 +-
hw/{ => audio}/fmopl.c | 2 +-
hw/{ => audio}/fmopl.h | 0
hw/{ => audio}/gus.c | 8 +-
hw/{ => audio}/gusemu.h | 0
hw/{ => audio}/gusemu_hal.c | 4 +-
hw/{ => audio}/gusemu_mixer.c | 4 +-
hw/{ => audio}/gustate.h | 0
hw/{hda-audio.c => audio/hda-codec.c} | 4 +-
hw/{ => audio}/intel-hda-defs.h | 0
hw/{ => audio}/intel-hda.c | 6 +-
hw/{ => audio}/intel-hda.h | 0
hw/{ => audio}/lm4549.c | 2 +-
hw/{ => audio}/lm4549.h | 0
.../marvell_88w8618.c} | 2 +-
hw/{ => audio}/milkymist-ac97.c | 0
hw/{ => audio}/pcspk.c | 8 +-
hw/{ => audio}/pl041.c | 4 +-
hw/{ => audio}/pl041.h | 0
hw/{ => audio}/pl041.hx | 0
hw/{ => audio}/sb16.c | 4 +-
hw/{ => audio}/wm8750.c | 2 +-
hw/block/Makefile.objs | 14 ++
hw/{block-common.c => block/block.c} | 2 +-
hw/{ => block}/cdrom.c | 2 +-
hw/{ => block}/dataplane/Makefile.objs | 0
hw/{ => block}/dataplane/hostmem.c | 0
hw/{ => block}/dataplane/hostmem.h | 0
hw/{ => block}/dataplane/ioq.c | 0
hw/{ => block}/dataplane/ioq.h | 0
hw/{ => block}/dataplane/virtio-blk.c | 4 +-
hw/{ => block}/dataplane/virtio-blk.h | 2 +-
hw/{ => block}/dataplane/vring.c | 0
hw/{ => block}/dataplane/vring.h | 2 +-
hw/{ => block}/ecc.c | 2 +-
hw/{ => block}/fdc.c | 4 +-
hw/{ => block}/hd-geometry.c | 2 +-
hw/{ => block}/m25p80.c | 2 +-
hw/{ => block}/nand.c | 2 +-
hw/{ => block}/onenand.c | 2 +-
hw/{ => block}/pc_sysfw.c | 4 +-
hw/{ => block}/pflash_cfi01.c | 2 +-
hw/{ => block}/pflash_cfi02.c | 2 +-
hw/{ => block}/tc58128.c | 2 +-
hw/{ => block}/virtio-blk.c | 6 +-
hw/{ => block}/xen_blkif.h | 0
hw/{ => block}/xen_disk.c | 4 +-
hw/bt/Makefile.objs | 3 +
hw/{bt.c => bt/core.c} | 0
hw/{bt-hci-csr.c => bt/hci-csr.c} | 0
hw/{bt-hci.c => bt/hci.c} | 0
hw/{bt-hid.c => bt/hid.c} | 2 +-
hw/{bt-l2cap.c => bt/l2cap.c} | 0
hw/{bt-sdp.c => bt/sdp.c} | 0
hw/char/Makefile.objs | 27 +++
hw/{ => char}/cadence_uart.c | 0
hw/{ => char}/debugcon.c | 4 +-
hw/{ => char}/escc.c | 2 +-
hw/{ => char}/etraxfs_ser.c | 0
hw/{ => char}/exynos4210_uart.c | 2 +-
hw/{ => char}/grlib_apbuart.c | 0
hw/{ => char}/imx_serial.c | 2 +-
hw/{ => char}/ipack.c | 2 +-
hw/{ => char}/ipack.h | 0
hw/{ => char}/ipoctal232.c | 2 +-
hw/{ => char}/lm32_juart.c | 2 +-
hw/{ => char}/lm32_uart.c | 0
hw/{ => char}/mcf_uart.c | 2 +-
hw/{ => char}/milkymist-uart.c | 0
hw/{ => char}/omap_uart.c | 4 +-
hw/{ => char}/parallel.c | 4 +-
hw/{ => char}/pl011.c | 0
hw/{s390x => char}/sclpconsole.c | 0
hw/{ => char}/serial-isa.c | 4 +-
hw/{ => char}/serial-pci.c | 2 +-
hw/{ => char}/serial.c | 2 +-
hw/{ => char}/sh_serial.c | 2 +-
hw/{ => char}/spapr_vty.c | 4 +-
hw/{ => char}/tpci200.c | 2 +-
hw/{ => char}/virtio-console.c | 2 +-
hw/{ => char}/virtio-serial-bus.c | 2 +-
hw/{ => char}/xen_console.c | 2 +-
hw/{ => char}/xilinx_uartlite.c | 0
hw/core/Makefile.objs | 14 ++
hw/{ => core}/empty_slot.c | 0
hw/{ => core}/irq.c | 0
hw/{ => core}/loader.c | 4 +-
hw/{ => core}/null-machine.c | 0
hw/{ => core}/ptimer.c | 0
hw/{ => core}/qdev-addr.c | 0
hw/{ => core}/qdev-properties-system.c | 2 +-
hw/{ => core}/qdev-properties.c | 2 +-
hw/{ => core}/qdev.c | 0
hw/{ => core}/stream.c | 0
hw/{ => core}/sysbus.c | 0
hw/{ => core}/uboot_image.h | 0
hw/cris/Makefile.objs | 10 -
hw/cris/axis_dev88.c | 6 +-
hw/cris/boot.c | 2 +-
hw/{cris-boot.h => cris/boot.h} | 0
hw/cris/pic_cpu.c | 2 +-
hw/display/Makefile.objs | 34 +++
hw/{ => display}/ads7846.c | 0
hw/{ => display}/blizzard.c | 14 +-
hw/{ => display}/blizzard_template.h | 0
hw/{ => display}/cirrus_vga.c | 38 ++--
hw/{ => display}/cirrus_vga_rop.h | 8 +-
hw/{ => display}/cirrus_vga_rop2.h | 0
hw/{ => display}/cirrus_vga_template.h | 0
hw/{ => display}/exynos4210_fimd.c | 0
hw/{ => display}/framebuffer.c | 2 +-
hw/{ => display}/framebuffer.h | 0
hw/{ => display}/g364fb.c | 0
hw/{ => display}/jazz_led.c | 0
hw/{ => display}/milkymist-tmu2.c | 0
hw/{ => display}/milkymist-vgafb.c | 12 +-
hw/{ => display}/milkymist-vgafb_template.h | 0
hw/{ => display}/omap_dss.c | 2 +-
hw/{ => display}/omap_lcd_template.h | 0
hw/{ => display}/omap_lcdc.c | 12 +-
hw/{ => display}/pl110.c | 12 +-
hw/{ => display}/pl110_template.h | 12 +-
hw/{ => display}/pxa2xx_lcd.c | 14 +-
hw/{ => display}/pxa2xx_template.h | 0
hw/{ => display}/qxl-logger.c | 2 +-
hw/{ => display}/qxl-render.c | 2 +-
hw/{ => display}/qxl.c | 2 +-
hw/{ => display}/qxl.h | 2 +-
hw/{ => display}/sm501.c | 18 +-
hw/{ => display}/sm501_template.h | 0
hw/{ => display}/ssd0303.c | 2 +-
hw/{ => display}/ssd0323.c | 0
hw/{ => display}/tc6393xb.c | 14 +-
hw/{ => display}/tc6393xb_template.h | 0
hw/{ => display}/tcx.c | 0
hw/{ => display}/vga-isa-mm.c | 4 +-
hw/{ => display}/vga-isa.c | 4 +-
hw/{ => display}/vga-pci.c | 2 +-
hw/{ => display}/vga.c | 22 +-
hw/{ => display}/vga.h | 0
hw/{ => display}/vga_int.h | 0
hw/{ => display}/vga_template.h | 0
hw/{ => display}/vmware_vga.c | 2 +-
hw/{ => display}/xenfb.c | 2 +-
hw/dma/Makefile.objs | 12 +
hw/{ => dma}/etraxfs_dma.c | 2 +-
hw/{dma.c => dma/i8257.c} | 2 +-
hw/{ => dma}/omap_dma.c | 4 +-
hw/{ => dma}/pl080.c | 0
hw/{ => dma}/pl330.c | 2 +-
hw/{ => dma}/puv3_dma.c | 2 +-
hw/{ => dma}/pxa2xx_dma.c | 2 +-
hw/{ => dma}/rc4030.c | 2 +-
hw/{ => dma}/soc_dma.c | 2 +-
hw/{ => dma}/sparc32_dma.c | 4 +-
hw/{ => dma}/sun4m_iommu.c | 2 +-
hw/{ => dma}/xilinx_axidma.c | 0
hw/gpio/Makefile.objs | 6 +
hw/{ => gpio}/max7310.c | 2 +-
hw/{ => gpio}/omap_gpio.c | 2 +-
hw/{ => gpio}/pl061.c | 0
hw/{ => gpio}/puv3_gpio.c | 2 +-
hw/{ => gpio}/zaurus.c | 2 +-
hw/i2c/Makefile.objs | 7 +
hw/{ => i2c}/bitbang_i2c.c | 2 +-
hw/{ => i2c}/bitbang_i2c.h | 2 +-
hw/{i2c.c => i2c/core.c} | 2 +-
hw/{ => i2c}/exynos4210_i2c.c | 2 +-
hw/{ => i2c}/omap_i2c.c | 4 +-
hw/{ => i2c}/pm_smbus.c | 6 +-
hw/{ => i2c}/smbus.c | 4 +-
hw/{ => i2c}/smbus_eeprom.c | 4 +-
hw/{ => i2c}/smbus_ich9.c | 10 +-
hw/{ => i2c}/versatile_i2c.c | 2 +-
hw/i386/Makefile.objs | 13 --
hw/i386/kvmvapic.c | 2 +-
hw/i386/multiboot.c | 4 +-
hw/{ => i386}/multiboot.h | 0
hw/i386/pc.c | 26 +--
hw/i386/pc_piix.c | 8 +-
hw/i386/pc_q35.c | 10 +-
hw/i386/smbios.c | 2 +-
hw/i386/xen_domainbuild.c | 4 +-
hw/{ => i386}/xen_domainbuild.h | 2 +-
hw/i386/xen_machine_pv.c | 6 +-
hw/ide/Makefile.objs | 2 +
hw/ide/ahci.c | 2 +-
hw/ide/atapi.c | 2 +-
hw/ide/cmd646.c | 4 +-
hw/ide/core.c | 6 +-
hw/ide/ich.c | 4 +-
hw/ide/internal.h | 6 +-
hw/ide/isa.c | 4 +-
hw/ide/macio.c | 2 +-
hw/ide/microdrive.c | 2 +-
hw/ide/pci.c | 4 +-
hw/ide/piix.c | 4 +-
hw/ide/qdev.c | 2 +-
hw/ide/via.c | 4 +-
hw/input/Makefile.objs | 13 ++
hw/{ => input}/adb.c | 2 +-
hw/{ => input}/hid.c | 2 +-
hw/{ => input}/lm832x.c | 2 +-
hw/{ => input}/milkymist-softusb.c | 2 +-
hw/{ => input}/pckbd.c | 6 +-
hw/{ => input}/pl050.c | 2 +-
hw/{ => input}/ps2.c | 2 +-
hw/{ => input}/pxa2xx_keypad.c | 2 +-
hw/{ => input}/stellaris_input.c | 2 +-
hw/{ => input}/tsc2005.c | 2 +-
hw/{ => input}/tsc210x.c | 4 +-
hw/{ => input}/vmmouse.c | 4 +-
hw/intc/Makefile.objs | 21 ++
hw/{ => intc}/apic.c | 10 +-
hw/{ => intc}/apic_common.c | 4 +-
hw/{ => intc}/arm_gic.c | 2 +-
hw/{ => intc}/arm_gic_common.c | 2 +-
hw/{ => intc}/armv7m_nvic.c | 4 +-
hw/{ => intc}/etraxfs_pic.c | 0
hw/{ => intc}/exynos4210_combiner.c | 2 +-
hw/{ => intc}/exynos4210_gic.c | 2 +-
hw/{arm_gic_internal.h => intc/gic_internal.h} | 0
hw/{ => intc}/grlib_irqmp.c | 2 +-
hw/{ => intc}/heathrow_pic.c | 0
hw/{ => intc}/i8259.c | 6 +-
hw/{ => intc}/i8259_common.c | 4 +-
hw/{ => intc}/imx_avic.c | 0
hw/{ => intc}/ioapic.c | 8 +-
hw/{ => intc}/ioapic_common.c | 4 +-
hw/{ => intc}/lm32_pic.c | 4 +-
hw/{ => intc}/omap_intc.c | 2 +-
hw/{ => intc}/openpic.c | 4 +-
hw/{ => intc}/pl190.c | 0
hw/{ => intc}/puv3_intc.c | 2 +-
hw/{ => intc}/realview_gic.c | 0
hw/{ => intc}/sbi.c | 0
hw/{ => intc}/sh_intc.c | 4 +-
hw/{ => intc}/slavio_intctl.c | 2 +-
hw/{ => intc}/sun4c_intctl.c | 2 +-
hw/{ => intc}/xilinx_intc.c | 0
hw/isa/Makefile.objs | 15 ++
hw/{ => isa}/apm.c | 2 +-
hw/{ => isa}/applesmc.c | 2 +-
hw/{ => isa}/debugexit.c | 2 +-
hw/{ => isa}/i82374.c | 2 +-
hw/{ => isa}/i82378.c | 6 +-
hw/{ => isa}/isa-bus.c | 2 +-
hw/{ => isa}/isa_mmio.c | 2 +-
hw/{ => isa}/lpc_ich9.c | 16 +-
hw/{ => isa}/pc-testdev.c | 2 +-
hw/{ => isa}/pc87312.c | 2 +-
hw/{ => isa}/piix4.c | 4 +-
hw/{ => isa}/sga.c | 2 +-
hw/{ => isa}/vmport.c | 4 +-
hw/{ => isa}/vt82c686.c | 18 +-
hw/kvm/apic.c | 2 +-
hw/kvm/arm_gic.c | 2 +-
hw/kvm/i8254.c | 4 +-
hw/kvm/i8259.c | 4 +-
hw/kvm/ioapic.c | 6 +-
hw/kvm/pci-assign.c | 2 +-
hw/lm32/Makefile.objs | 20 --
hw/{ => lm32}/lm32.h | 0
hw/lm32/lm32_boards.c | 8 +-
hw/{ => lm32}/lm32_hwsetup.h | 0
hw/{ => lm32}/milkymist-hw.h | 0
hw/lm32/milkymist.c | 8 +-
hw/m68k/Makefile.objs | 4 -
hw/m68k/an5206.c | 2 +-
hw/m68k/mcf5206.c | 2 +-
hw/m68k/mcf5208.c | 2 +-
hw/m68k/mcf_intc.c | 2 +-
hw/microblaze/Makefile.objs | 5 -
hw/microblaze/boot.c | 2 +-
hw/{microblaze_boot.h => microblaze/boot.h} | 0
hw/microblaze/petalogix_ml605_mmu.c | 10 +-
hw/microblaze/petalogix_s3adsp1800_mmu.c | 8 +-
hw/microblaze/pic_cpu.c | 2 +-
hw/{microblaze_pic_cpu.h => microblaze/pic_cpu.h} | 0
hw/mips/Makefile.objs | 5 -
hw/mips/addr.c | 2 +-
hw/mips/cputimer.c | 2 +-
hw/mips/mips_fulong2e.c | 22 +-
hw/mips/mips_int.c | 2 +-
hw/mips/mips_jazz.c | 22 +-
hw/mips/mips_malta.c | 20 +-
hw/mips/mips_mipssim.c | 10 +-
hw/mips/mips_r4k.c | 18 +-
hw/misc/Makefile.objs | 29 +++
hw/{ => misc}/a9scu.c | 0
hw/{ => misc}/arm_l2x0.c | 0
hw/{ => misc}/arm_sysctl.c | 2 +-
hw/{ => misc}/cbus.c | 2 +-
hw/{ => misc}/eccmemctl.c | 0
hw/{ => misc}/exynos4210_pmu.c | 0
hw/{ => misc}/imx_ccm.c | 2 +-
hw/{ => misc}/lm32_sys.c | 0
hw/misc/macio/Makefile.objs | 3 +
hw/{ => misc/macio}/cuda.c | 2 +-
hw/{ => misc/macio}/mac_dbdma.c | 4 +-
hw/{ => misc/macio}/macio.c | 4 +-
hw/{ => misc}/max111x.c | 0
hw/{ => misc}/milkymist-hpdmc.c | 0
hw/{ => misc}/milkymist-pfpu.c | 0
hw/{ => misc}/mst_fpga.c | 0
hw/{ => misc}/omap_clk.c | 2 +-
hw/{ => misc}/omap_gpmc.c | 4 +-
hw/{ => misc}/omap_l4.c | 2 +-
hw/{ => misc}/omap_sdrc.c | 2 +-
hw/{ => misc}/omap_tap.c | 2 +-
hw/{ => misc}/puv3_pm.c | 2 +-
hw/{ => misc}/pxa2xx_pcmcia.c | 2 +-
hw/{ => misc}/slavio_misc.c | 0
hw/{ => misc}/tmp105.c | 4 +-
hw/{ => misc}/tmp105.h | 4 +-
hw/{ => misc}/zynq_slcr.c | 0
hw/net/Makefile.objs | 31 +++
hw/{ => net}/cadence_gem.c | 0
hw/{ => net}/dp8393x.c | 2 +-
hw/{ => net}/e1000.c | 2 +-
hw/{e1000_hw.h => net/e1000_regs.h} | 0
hw/{ => net}/eepro100.c | 2 +-
hw/{ => net}/etraxfs_eth.c | 2 +-
hw/{ => net}/lan9118.c | 2 +-
hw/{ => net}/lance.c | 4 +-
hw/{ => net}/mcf_fec.c | 2 +-
hw/{ => net}/milkymist-minimac2.c | 0
hw/{ => net}/mipsnet.c | 0
hw/{ => net}/ne2000-isa.c | 6 +-
hw/{ => net}/ne2000.c | 2 +-
hw/{ => net}/ne2000.h | 0
hw/{ => net}/opencores_eth.c | 0
hw/{ => net}/pcnet-pci.c | 2 +-
hw/{ => net}/pcnet.c | 2 +-
hw/{ => net}/pcnet.h | 0
hw/{ => net}/rtl8139.c | 0
hw/{ => net}/smc91c111.c | 2 +-
hw/{ => net}/spapr_llan.c | 4 +-
hw/{ => net}/stellaris_enet.c | 0
hw/{ => net}/vhost_net.c | 6 +-
hw/{ => net}/virtio-net.c | 6 +-
hw/{ => net}/xen_nic.c | 2 +-
hw/{ => net}/xgmac.c | 0
hw/{ => net}/xilinx_axienet.c | 0
hw/{ => net}/xilinx_ethlite.c | 0
hw/nvram/Makefile.objs | 5 +
hw/{ => nvram}/ds1225y.c | 0
hw/{ => nvram}/eeprom93xx.c | 2 +-
hw/{ => nvram}/fw_cfg.c | 4 +-
hw/{ => nvram}/mac_nvram.c | 2 +-
hw/{ => nvram}/spapr_nvram.c | 4 +-
hw/openrisc/openrisc_sim.c | 2 +-
hw/pci/Makefile.objs | 39 +++-
hw/{apb_pci.c => pci/host-apb.c} | 2 +-
hw/{bonito.c => pci/host-bonito.c} | 4 +-
hw/{dec_pci.c => pci/host-dec.c} | 2 +-
hw/{dec_pci.h => pci/host-dec.h} | 0
hw/{grackle_pci.c => pci/host-grackle.c} | 0
hw/{gt64xxx.c => pci/host-gt64xxx.c} | 4 +-
hw/{piix_pci.c => pci/host-piix.c} | 8 +-
hw/{ppc4xx_pci.c => pci/host-ppc4xx.c} | 4 +-
hw/{ppce500_pci.c => pci/host-ppce500.c} | 2 +-
hw/{prep_pci.c => pci/host-prep.c} | 2 +-
hw/{q35.c => pci/host-q35.c} | 2 +-
hw/{sh_pci.c => pci/host-sh.c} | 2 +-
hw/{spapr_pci.c => pci/host-spapr.c} | 4 +-
hw/{unin_pci.c => pci/host-uninorth.c} | 0
hw/{versatile_pci.c => pci/host-versatile.c} | 0
hw/{ => pci}/i82801b11.c | 2 +-
hw/{ => pci}/ioh3420.c | 2 +-
hw/{ => pci}/ioh3420.h | 0
hw/{ => pci}/ivshmem.c | 2 +-
hw/{ => pci}/pam.c | 2 +-
hw/pci/pci-hotplug.c | 6 +-
hw/pci/pci.h | 2 +-
hw/{ => pci}/pci_bridge_dev.c | 0
hw/{vfio_pci.c => pci/vfio.c} | 0
hw/{ => pci}/xio3130_downstream.c | 2 +-
hw/{ => pci}/xio3130_downstream.h | 0
hw/{ => pci}/xio3130_upstream.c | 2 +-
hw/{ => pci}/xio3130_upstream.h | 0
hw/ppc/Makefile.objs | 16 --
hw/ppc/e500.c | 8 +-
hw/ppc/e500plat.c | 2 +-
hw/ppc/mac.h | 2 +-
hw/ppc/mac_newworld.c | 14 +-
hw/ppc/mac_oldworld.c | 12 +-
hw/ppc/mpc8544ds.c | 2 +-
hw/ppc/ppc.c | 4 +-
hw/{ => ppc}/ppc405.h | 2 +-
hw/ppc/ppc405_boards.c | 8 +-
hw/ppc/ppc405_uc.c | 6 +-
hw/ppc/ppc440_bamboo.c | 6 +-
hw/ppc/ppc4xx_devs.c | 4 +-
hw/ppc/ppc_booke.c | 4 +-
hw/ppc/prep.c | 16 +-
hw/ppc/spapr.c | 10 +-
hw/ppc/spapr_events.c | 4 +-
hw/ppc/spapr_hcall.c | 2 +-
hw/ppc/spapr_iommu.c | 2 +-
hw/ppc/spapr_rtas.c | 4 +-
hw/ppc/spapr_vio.c | 6 +-
hw/ppc/virtex_ml507.c | 12 +-
hw/ppc/xics.c | 4 +-
hw/s390x/Makefile.objs | 2 +-
hw/s390x/s390-virtio-bus.c | 10 +-
hw/s390x/s390-virtio-bus.h | 12 +-
hw/s390x/s390-virtio.c | 2 +-
hw/s390x/virtio-ccw.c | 8 +-
hw/s390x/virtio-ccw.h | 12 +-
hw/scsi/Makefile.objs | 8 +
hw/{ => scsi}/esp-pci.c | 4 +-
hw/{ => scsi}/esp.c | 2 +-
hw/{ => scsi}/lsi53c895a.c | 2 +-
hw/{ => scsi}/megasas.c | 6 +-
hw/{ => scsi}/mfi.h | 0
hw/{ => scsi}/scsi-bus.c | 4 +-
hw/{ => scsi}/scsi-disk.c | 6 +-
hw/{ => scsi}/scsi-generic.c | 4 +-
hw/{ => scsi}/spapr_vscsi.c | 12 +-
hw/{ => scsi}/srp.h | 0
hw/{ppc-viosrp.h => scsi/viosrp.h} | 0
hw/{ => scsi}/virtio-scsi.c | 6 +-
hw/sd/Makefile.objs | 8 +
hw/{ => sd}/milkymist-memcard.c | 0
hw/{ => sd}/omap_mmc.c | 2 +-
hw/{ => sd}/pl181.c | 0
hw/{ => sd}/pxa2xx_mmci.c | 2 +-
hw/{ => sd}/sd.c | 0
hw/{ => sd}/sdhci.c | 2 +-
hw/{ => sd}/sdhci.h | 0
hw/{ => sd}/ssi-sd.c | 0
hw/sh4/Makefile.objs | 6 -
hw/sh4/r2d.c | 8 +-
hw/sh4/sh7750.c | 8 +-
hw/sh4/sh7750_regnames.c | 6 +-
hw/{ => sh4}/sh7750_regnames.h | 0
hw/{ => sh4}/sh7750_regs.h | 0
hw/sh4/shix.c | 2 +-
hw/sparc/Makefile.objs | 9 -
hw/sparc/leon3.c | 2 +-
hw/sparc/sun4m.c | 20 +-
hw/sparc64/Makefile.objs | 5 -
hw/sparc64/sun4u.c | 14 +-
hw/ssi/Makefile.objs | 6 +
hw/{ => ssi}/omap_spi.c | 2 +-
hw/{ => ssi}/pl022.c | 0
hw/{ => ssi}/ssi.c | 0
hw/{ => ssi}/xilinx_spi.c | 0
hw/{ => ssi}/xilinx_spips.c | 0
hw/timer/Makefile.objs | 28 +++
hw/{ => timer}/arm_mptimer.c | 0
hw/{ => timer}/arm_timer.c | 0
hw/{ => timer}/cadence_ttc.c | 0
hw/{ => timer}/ds1338.c | 2 +-
hw/{ => timer}/etraxfs_timer.c | 0
hw/{ => timer}/exynos4210_mct.c | 2 +-
hw/{ => timer}/exynos4210_pwm.c | 2 +-
hw/{ => timer}/exynos4210_rtc.c | 2 +-
hw/{ => timer}/grlib_gptimer.c | 0
hw/{ => timer}/hpet.c | 8 +-
hw/{ => timer}/i8254.c | 8 +-
hw/{ => timer}/i8254_common.c | 8 +-
hw/{ => timer}/imx_timer.c | 2 +-
hw/{ => timer}/lm32_timer.c | 0
hw/{ => timer}/m48t59.c | 4 +-
hw/{ => timer}/mc146818rtc.c | 4 +-
hw/{ => timer}/milkymist-sysctl.c | 0
hw/{ => timer}/omap_gptimer.c | 2 +-
hw/{ => timer}/omap_synctimer.c | 2 +-
hw/{ => timer}/pl031.c | 0
hw/{ => timer}/puv3_ost.c | 2 +-
hw/{ => timer}/pxa2xx_timer.c | 2 +-
hw/{ => timer}/sh_timer.c | 2 +-
hw/{ => timer}/slavio_timer.c | 2 +-
hw/{ => timer}/tusb6010.c | 4 +-
hw/{ => timer}/twl92230.c | 2 +-
hw/{ => timer}/xilinx_timer.c | 0
{tpm => hw/tpm}/Makefile.objs | 3 -
{tpm => hw/tpm}/tpm_backend.c | 14 ++
{tpm => hw/tpm}/tpm_int.h | 55 +----
{tpm => hw/tpm}/tpm_passthrough.c | 2 +-
{tpm => hw/tpm}/tpm_tis.c | 2 +-
{tpm => hw/tpm}/tpm_tis.h | 7 +-
hw/unicore32/puv3.c | 4 +-
hw/usb/Makefile.objs | 8 +-
hw/{ => usb}/ccid-card-emulated.c | 2 +-
hw/{ => usb}/ccid-card-passthru.c | 2 +-
hw/{ => usb}/ccid.h | 0
hw/usb/dev-audio.c | 2 +-
hw/usb/dev-hid.c | 2 +-
hw/usb/dev-smartcard-reader.c | 2 +-
hw/usb/dev-storage.c | 2 +-
hw/usb/dev-uas.c | 4 +-
hw/virtio/Makefile.objs | 6 +
hw/{ => virtio}/vhost.c | 2 +-
hw/{ => virtio}/virtio-balloon.c | 6 +-
hw/{ => virtio}/virtio-bus.c | 4 +-
hw/{ => virtio}/virtio-pci.c | 14 +-
hw/{ => virtio}/virtio-pci.h | 14 +-
hw/{ => virtio}/virtio-rng.c | 4 +-
hw/{ => virtio}/virtio.c | 4 +-
hw/watchdog/Makefile.objs | 3 +
hw/{ => watchdog}/watchdog.c | 2 +-
hw/{ => watchdog}/wdt_i6300esb.c | 2 +-
hw/{ => watchdog}/wdt_ib700.c | 6 +-
hw/xen/Makefile.objs | 6 +
hw/{ => xen}/xen-host-pci-device.c | 2 +-
hw/{ => xen}/xen-host-pci-device.h | 0
hw/{ => xen}/xen_apic.c | 4 +-
hw/{ => xen}/xen_backend.c | 2 +-
hw/{ => xen}/xen_devconfig.c | 2 +-
hw/{ => xen}/xen_platform.c | 6 +-
hw/{ => xen}/xen_pt.c | 6 +-
hw/{ => xen}/xen_pt.h | 4 +-
hw/{ => xen}/xen_pt_config_init.c | 4 +-
hw/{ => xen}/xen_pt_msi.c | 6 +-
hw/{ => xtensa}/xtensa_bootparam.h | 0
hw/xtensa/xtensa_lx60.c | 6 +-
hw/scsi-defs.h => include/block/scsi.h | 0
include/exec/memory-internal.h | 2 +-
{hw => include/hw/acpi}/acpi.h | 0
hw/acpi_ich9.h => include/hw/acpi/ich9.h | 2 +-
hw/arm-misc.h => include/hw/arm.h | 0
{hw => include/hw/arm}/devices.h | 0
{hw => include/hw/arm}/exynos4210.h | 0
{hw => include/hw/arm}/imx.h | 0
{hw => include/hw/arm}/omap.h | 0
{hw => include/hw/arm}/primecell.h | 0
{hw => include/hw/arm}/pxa.h | 0
{hw => include/hw/arm}/sharpsl.h | 0
{hw => include/hw/arm}/soc_dma.h | 0
hw/audiodev.h => include/hw/audio/audio.h | 0
{hw => include/hw/audio}/pcspk.h | 2 +-
hw/block-common.h => include/hw/block/block.h | 0
{hw => include/hw/block}/fdc.h | 0
{hw => include/hw/block}/flash.h | 0
{hw => include/hw}/boards.h | 0
{hw => include/hw}/bt.h | 0
{hw => include/hw/char}/escc.h | 0
{hw => include/hw/char}/serial.h | 0
{hw => include/hw/cris}/etraxfs.h | 2 +-
{hw => include/hw/cris}/etraxfs_dma.h | 0
{hw => include/hw}/elf_ops.h | 0
{hw => include/hw}/empty_slot.h | 0
{hw => include/hw}/hw.h | 0
{hw => include/hw/i2c}/i2c.h | 0
{hw => include/hw/i2c}/pm_smbus.h | 0
{hw => include/hw/i2c}/smbus.h | 2 +-
{hw => include/hw/i386}/apic-msidef.h | 0
{hw => include/hw/i386}/apic.h | 0
{hw => include/hw/i386}/apic_internal.h | 0
{hw => include/hw/i386}/ich9.h | 14 +-
{hw => include/hw/i386}/ioapic.h | 0
{hw => include/hw/i386}/ioapic_internal.h | 0
{hw => include/hw/i386}/pc.h | 6 +-
{hw => include/hw/i386}/smbios.h | 0
{hw => include/hw}/ide.h | 2 +-
{hw => include/hw/input}/adb.h | 0
{hw => include/hw/input}/hid.h | 0
{hw => include/hw/input}/ps2.h | 0
{hw => include/hw}/irq.h | 0
{hw => include/hw/isa}/apm.h | 0
{hw => include/hw/isa}/i8259_internal.h | 4 +-
{hw => include/hw/isa}/isa.h | 0
{hw => include/hw/isa}/pc87312.h | 2 +-
{hw => include/hw/isa}/vt82c686.h | 0
{hw => include/hw}/kvm/clock.h | 0
{hw => include/hw/lm32}/lm32_juart.h | 0
{hw => include/hw/lm32}/lm32_pic.h | 0
{hw => include/hw}/loader.h | 0
{hw => include/hw/m68k}/mcf.h | 0
hw/mips-bios.h => include/hw/mips/bios.h | 0
hw/mips_cpudevs.h => include/hw/mips/cpudevs.h | 0
{hw => include/hw/mips}/mips.h | 0
{hw => include/hw/misc}/tmp105_regs.h | 0
{hw => include/hw/nvram}/eeprom93xx.h | 0
{hw => include/hw/nvram}/fw_cfg.h | 0
hw/apb_pci.h => include/hw/pci/host-apb.h | 0
hw/ppce500_pci.h => include/hw/pci/host-ppce500.h | 0
hw/q35.h => include/hw/pci/host-q35.h | 14 +-
hw/spapr_pci.h => include/hw/pci/host-spapr.h | 2 +-
hw/alpha_sys.h => include/hw/pci/host-typhoon.h | 2 +-
{hw => include/hw/pci}/pam.h | 0
{hw => include/hw}/pcmcia.h | 0
{hw => include/hw/ppc}/mac_dbdma.h | 0
{hw => include/hw/ppc}/openpic.h | 0
{hw => include/hw/ppc}/ppc.h | 0
{hw => include/hw/ppc}/ppc4xx.h | 0
{hw => include/hw/ppc}/spapr.h | 2 +-
{hw => include/hw/ppc}/spapr_vio.h | 0
{hw => include/hw/ppc}/xics.h | 0
{hw => include/hw}/ptimer.h | 0
{hw => include/hw}/qdev-addr.h | 0
{hw => include/hw}/qdev-core.h | 0
{hw => include/hw}/qdev-dma.h | 0
{hw => include/hw}/qdev-properties.h | 0
{hw => include/hw}/qdev.h | 0
{hw => include/hw}/s390x/event-facility.h | 0
{hw => include/hw}/s390x/sclp.h | 0
{hw => include/hw/scsi}/esp.h | 2 +-
{hw => include/hw/scsi}/scsi.h | 2 +-
{hw => include/hw}/sd.h | 0
{hw => include/hw/sh4}/sh.h | 2 +-
{hw => include/hw/sh4}/sh_intc.h | 0
{hw => include/hw/sparc}/firmware_abi.h | 0
{hw => include/hw/sparc}/grlib.h | 0
{hw => include/hw/sparc}/sparc32_dma.h | 0
{hw => include/hw/sparc}/sun4m.h | 2 +-
{hw => include/hw}/ssi.h | 0
{hw => include/hw}/stream.h | 0
{hw => include/hw}/sysbus.h | 0
hw/hpet_emul.h => include/hw/timer/hpet.h | 0
{hw => include/hw/timer}/i8254.h | 2 +-
{hw => include/hw/timer}/i8254_internal.h | 4 +-
hw/nvram.h => include/hw/timer/m48t59.h | 0
{hw => include/hw/timer}/mc146818rtc.h | 4 +-
{hw => include/hw/timer}/mc146818rtc_regs.h | 0
{hw => include/hw/unicore32}/puv3.h | 0
{hw => include/hw}/usb.h | 0
{hw => include/hw/virtio}/vhost.h | 2 +-
.../hw/virtio/virtio-9p.h | 0
{hw => include/hw/virtio}/virtio-balloon.h | 2 +-
{hw => include/hw/virtio}/virtio-blk.h | 4 +-
{hw => include/hw/virtio}/virtio-bus.h | 2 +-
{hw => include/hw/virtio}/virtio-net.h | 2 +-
{hw => include/hw/virtio}/virtio-rng.h | 0
{hw => include/hw/virtio}/virtio-scsi.h | 2 +-
{hw => include/hw/virtio}/virtio-serial.h | 2 +-
{hw => include/hw/virtio}/virtio.h | 2 +-
{hw => include/hw/xen}/xen.h | 0
{hw => include/hw/xen}/xen_backend.h | 2 +-
{hw => include/hw/xen}/xen_common.h | 2 +-
{hw => include/hw}/xilinx.h | 0
{hw => include/net}/vhost_net.h | 0
{hw => include/sysemu}/watchdog.h | 0
{tpm => include/tpm}/tpm_backend.h | 57 +++++
monitor.c | 8 +-
net/tap.c | 2 +-
pc-bios/optionrom/optionrom.h | 2 +-
target-arm/arm-semi.c | 2 +-
target-arm/kvm.c | 2 +-
target-i386/cpu.c | 4 +-
target-i386/cpu.h | 2 +-
target-i386/kvm.c | 4 +-
target-i386/machine.c | 4 +-
target-lm32/op_helper.c | 4 +-
target-lm32/translate.c | 2 +-
target-ppc/kvm.c | 6 +-
target-sh4/helper.c | 2 +-
tests/rtc-test.c | 2 +-
tests/tmp105-test.c | 2 +-
tpm/tpm.c => tpm.c | 18 +-
vl.c | 12 +-
xen-all.c | 6 +-
xen-mapcache.c | 2 +-
xen-stub.c | 2 +-
746 files changed, 1690 insertions(+), 1494 deletions(-)
create mode 100644 hw/acpi/Makefile.objs
rename hw/{acpi.c => acpi/core.c} (99%)
rename hw/{acpi_ich9.c => acpi/ich9.c} (98%)
rename hw/{acpi_piix4.c => acpi/piix4.c} (99%)
rename hw/{alpha_typhoon.c => alpha/typhoon.c} (99%)
rename hw/{ => arm}/a15mpcore.c (100%)
rename hw/{ => arm}/a9mpcore.c (100%)
rename hw/{ => arm}/arm11mpcore.c (100%)
rename hw/{ => arm}/strongarm.c (99%)
rename hw/{ => arm}/strongarm.h (100%)
create mode 100644 hw/audio/Makefile.objs
rename hw/{ => audio}/ac97.c (99%)
rename hw/{ => audio}/adlib.c (99%)
rename hw/{ => audio}/cs4231.c (100%)
rename hw/{ => audio}/cs4231a.c (99%)
rename hw/{ => audio}/es1370.c (99%)
rename hw/{ => audio}/fmopl.c (99%)
rename hw/{ => audio}/fmopl.h (100%)
rename hw/{ => audio}/gus.c (98%)
rename hw/{ => audio}/gusemu.h (100%)
rename hw/{ => audio}/gusemu_hal.c (99%)
rename hw/{ => audio}/gusemu_mixer.c (99%)
rename hw/{ => audio}/gustate.h (100%)
rename hw/{hda-audio.c => audio/hda-codec.c} (99%)
rename hw/{ => audio}/intel-hda-defs.h (100%)
rename hw/{ => audio}/intel-hda.c (99%)
rename hw/{ => audio}/intel-hda.h (100%)
rename hw/{ => audio}/lm4549.c (99%)
rename hw/{ => audio}/lm4549.h (100%)
rename hw/{marvell_88w8618_audio.c => audio/marvell_88w8618.c} (99%)
rename hw/{ => audio}/milkymist-ac97.c (100%)
rename hw/{ => audio}/pcspk.c (98%)
rename hw/{ => audio}/pl041.c (99%)
rename hw/{ => audio}/pl041.h (100%)
rename hw/{ => audio}/pl041.hx (100%)
rename hw/{ => audio}/sb16.c (99%)
rename hw/{ => audio}/wm8750.c (99%)
create mode 100644 hw/block/Makefile.objs
rename hw/{block-common.c => block/block.c} (98%)
rename hw/{ => block}/cdrom.c (99%)
rename hw/{ => block}/dataplane/Makefile.objs (100%)
rename hw/{ => block}/dataplane/hostmem.c (100%)
rename hw/{ => block}/dataplane/hostmem.h (100%)
rename hw/{ => block}/dataplane/ioq.c (100%)
rename hw/{ => block}/dataplane/ioq.h (100%)
rename hw/{ => block}/dataplane/virtio-blk.c (99%)
rename hw/{ => block}/dataplane/virtio-blk.h (96%)
rename hw/{ => block}/dataplane/vring.c (100%)
rename hw/{ => block}/dataplane/vring.h (98%)
rename hw/{ => block}/ecc.c (99%)
rename hw/{ => block}/fdc.c (99%)
rename hw/{ => block}/hd-geometry.c (99%)
rename hw/{ => block}/m25p80.c (99%)
rename hw/{ => block}/nand.c (99%)
rename hw/{ => block}/onenand.c (99%)
rename hw/{ => block}/pc_sysfw.c (99%)
rename hw/{ => block}/pflash_cfi01.c (99%)
rename hw/{ => block}/pflash_cfi02.c (99%)
rename hw/{ => block}/tc58128.c (99%)
rename hw/{ => block}/virtio-blk.c (99%)
rename hw/{ => block}/xen_blkif.h (100%)
rename hw/{ => block}/xen_disk.c (99%)
create mode 100644 hw/bt/Makefile.objs
rename hw/{bt.c => bt/core.c} (100%)
rename hw/{bt-hci-csr.c => bt/hci-csr.c} (100%)
rename hw/{bt-hci.c => bt/hci.c} (100%)
rename hw/{bt-hid.c => bt/hid.c} (99%)
rename hw/{bt-l2cap.c => bt/l2cap.c} (100%)
rename hw/{bt-sdp.c => bt/sdp.c} (100%)
create mode 100644 hw/char/Makefile.objs
rename hw/{ => char}/cadence_uart.c (100%)
rename hw/{ => char}/debugcon.c (98%)
rename hw/{ => char}/escc.c (99%)
rename hw/{ => char}/etraxfs_ser.c (100%)
rename hw/{ => char}/exynos4210_uart.c (99%)
rename hw/{ => char}/grlib_apbuart.c (100%)
rename hw/{ => char}/imx_serial.c (99%)
rename hw/{ => char}/ipack.c (99%)
rename hw/{ => char}/ipack.h (100%)
rename hw/{ => char}/ipoctal232.c (99%)
rename hw/{ => char}/lm32_juart.c (99%)
rename hw/{ => char}/lm32_uart.c (100%)
rename hw/{ => char}/mcf_uart.c (99%)
rename hw/{ => char}/milkymist-uart.c (100%)
rename hw/{ => char}/omap_uart.c (98%)
rename hw/{ => char}/parallel.c (99%)
rename hw/{ => char}/pl011.c (100%)
rename hw/{s390x => char}/sclpconsole.c (100%)
rename hw/{ => char}/serial-isa.c (98%)
rename hw/{ => char}/serial-pci.c (99%)
rename hw/{ => char}/serial.c (99%)
rename hw/{ => char}/sh_serial.c (99%)
rename hw/{ => char}/spapr_vty.c (99%)
rename hw/{ => char}/tpci200.c (99%)
rename hw/{ => char}/virtio-console.c (99%)
rename hw/{ => char}/virtio-serial-bus.c (99%)
rename hw/{ => char}/xen_console.c (99%)
rename hw/{ => char}/xilinx_uartlite.c (100%)
create mode 100644 hw/core/Makefile.objs
rename hw/{ => core}/empty_slot.c (100%)
rename hw/{ => core}/irq.c (100%)
rename hw/{ => core}/loader.c (99%)
rename hw/{ => core}/null-machine.c (100%)
rename hw/{ => core}/ptimer.c (100%)
rename hw/{ => core}/qdev-addr.c (100%)
rename hw/{ => core}/qdev-properties-system.c (99%)
rename hw/{ => core}/qdev-properties.c (99%)
rename hw/{ => core}/qdev.c (100%)
rename hw/{ => core}/stream.c (100%)
rename hw/{ => core}/sysbus.c (100%)
rename hw/{ => core}/uboot_image.h (100%)
rename hw/{cris-boot.h => cris/boot.h} (100%)
create mode 100644 hw/display/Makefile.objs
rename hw/{ => display}/ads7846.c (100%)
rename hw/{ => display}/blizzard.c (99%)
rename hw/{ => display}/blizzard_template.h (100%)
rename hw/{ => display}/cirrus_vga.c (99%)
rename hw/{ => display}/cirrus_vga_rop.h (97%)
rename hw/{ => display}/cirrus_vga_rop2.h (100%)
rename hw/{ => display}/cirrus_vga_template.h (100%)
rename hw/{ => display}/exynos4210_fimd.c (100%)
rename hw/{ => display}/framebuffer.c (99%)
rename hw/{ => display}/framebuffer.h (100%)
rename hw/{ => display}/g364fb.c (100%)
rename hw/{ => display}/jazz_led.c (100%)
rename hw/{ => display}/milkymist-tmu2.c (100%)
rename hw/{ => display}/milkymist-vgafb.c (97%)
rename hw/{ => display}/milkymist-vgafb_template.h (100%)
rename hw/{ => display}/omap_dss.c (99%)
rename hw/{ => display}/omap_lcd_template.h (100%)
rename hw/{ => display}/omap_lcdc.c (98%)
rename hw/{ => display}/pl110.c (98%)
rename hw/{ => display}/pl110_template.h (98%)
rename hw/{ => display}/pxa2xx_lcd.c (99%)
rename hw/{ => display}/pxa2xx_template.h (100%)
rename hw/{ => display}/qxl-logger.c (99%)
rename hw/{ => display}/qxl-render.c (99%)
rename hw/{ => display}/qxl.c (99%)
rename hw/{ => display}/qxl.h (99%)
rename hw/{ => display}/sm501.c (99%)
rename hw/{ => display}/sm501_template.h (100%)
rename hw/{ => display}/ssd0303.c (99%)
rename hw/{ => display}/ssd0323.c (100%)
rename hw/{ => display}/tc6393xb.c (98%)
rename hw/{ => display}/tc6393xb_template.h (100%)
rename hw/{ => display}/tcx.c (100%)
rename hw/{ => display}/vga-isa-mm.c (98%)
rename hw/{ => display}/vga-isa.c (98%)
rename hw/{ => display}/vga-pci.c (99%)
rename hw/{ => display}/vga.c (99%)
rename hw/{ => display}/vga.h (100%)
rename hw/{ => display}/vga_int.h (100%)
rename hw/{ => display}/vga_template.h (100%)
rename hw/{ => display}/vmware_vga.c (99%)
rename hw/{ => display}/xenfb.c (99%)
create mode 100644 hw/dma/Makefile.objs
rename hw/{ => dma}/etraxfs_dma.c (99%)
rename hw/{dma.c => dma/i8257.c} (99%)
rename hw/{ => dma}/omap_dma.c (99%)
rename hw/{ => dma}/pl080.c (100%)
rename hw/{ => dma}/pl330.c (99%)
rename hw/{ => dma}/puv3_dma.c (98%)
rename hw/{ => dma}/pxa2xx_dma.c (99%)
rename hw/{ => dma}/rc4030.c (99%)
rename hw/{ => dma}/soc_dma.c (99%)
rename hw/{ => dma}/sparc32_dma.c (99%)
rename hw/{ => dma}/sun4m_iommu.c (99%)
rename hw/{ => dma}/xilinx_axidma.c (100%)
create mode 100644 hw/gpio/Makefile.objs
rename hw/{ => gpio}/max7310.c (99%)
rename hw/{ => gpio}/omap_gpio.c (99%)
rename hw/{ => gpio}/pl061.c (100%)
rename hw/{ => gpio}/puv3_gpio.c (99%)
rename hw/{ => gpio}/zaurus.c (99%)
create mode 100644 hw/i2c/Makefile.objs
rename hw/{ => i2c}/bitbang_i2c.c (99%)
rename hw/{ => i2c}/bitbang_i2c.h (92%)
rename hw/{i2c.c => i2c/core.c} (99%)
rename hw/{ => i2c}/exynos4210_i2c.c (99%)
rename hw/{ => i2c}/omap_i2c.c (99%)
rename hw/{ => i2c}/pm_smbus.c (98%)
rename hw/{ => i2c}/smbus.c (99%)
rename hw/{ => i2c}/smbus_eeprom.c (98%)
rename hw/{ => i2c}/smbus_ich9.c (96%)
rename hw/{ => i2c}/versatile_i2c.c (99%)
rename hw/{ => i386}/multiboot.h (100%)
rename hw/{ => i386}/xen_domainbuild.h (93%)
create mode 100644 hw/input/Makefile.objs
rename hw/{ => input}/adb.c (99%)
rename hw/{ => input}/hid.c (99%)
rename hw/{ => input}/lm832x.c (99%)
rename hw/{ => input}/milkymist-softusb.c (99%)
rename hw/{ => input}/pckbd.c (99%)
rename hw/{ => input}/pl050.c (99%)
rename hw/{ => input}/ps2.c (99%)
rename hw/{ => input}/pxa2xx_keypad.c (99%)
rename hw/{ => input}/stellaris_input.c (98%)
rename hw/{ => input}/tsc2005.c (99%)
rename hw/{ => input}/tsc210x.c (99%)
rename hw/{ => input}/vmmouse.c (99%)
create mode 100644 hw/intc/Makefile.objs
rename hw/{ => intc}/apic.c (99%)
rename hw/{ => intc}/apic_common.c (99%)
rename hw/{ => intc}/arm_gic.c (99%)
rename hw/{ => intc}/arm_gic_common.c (99%)
rename hw/{ => intc}/armv7m_nvic.c (99%)
rename hw/{ => intc}/etraxfs_pic.c (100%)
rename hw/{ => intc}/exynos4210_combiner.c (99%)
rename hw/{ => intc}/exynos4210_gic.c (99%)
rename hw/{arm_gic_internal.h => intc/gic_internal.h} (100%)
rename hw/{ => intc}/grlib_irqmp.c (99%)
rename hw/{ => intc}/heathrow_pic.c (100%)
rename hw/{ => intc}/i8259.c (99%)
rename hw/{ => intc}/i8259_common.c (98%)
rename hw/{ => intc}/imx_avic.c (100%)
rename hw/{ => intc}/ioapic.c (98%)
rename hw/{ => intc}/ioapic_common.c (98%)
rename hw/{ => intc}/lm32_pic.c (98%)
rename hw/{ => intc}/omap_intc.c (99%)
rename hw/{ => intc}/openpic.c (99%)
rename hw/{ => intc}/pl190.c (100%)
rename hw/{ => intc}/puv3_intc.c (99%)
rename hw/{ => intc}/realview_gic.c (100%)
rename hw/{ => intc}/sbi.c (100%)
rename hw/{ => intc}/sh_intc.c (99%)
rename hw/{ => intc}/slavio_intctl.c (99%)
rename hw/{ => intc}/sun4c_intctl.c (99%)
rename hw/{ => intc}/xilinx_intc.c (100%)
create mode 100644 hw/isa/Makefile.objs
rename hw/{ => isa}/apm.c (99%)
rename hw/{ => isa}/applesmc.c (99%)
rename hw/{ => isa}/debugexit.c (98%)
rename hw/{ => isa}/i82374.c (99%)
rename hw/{ => isa}/i82378.c (98%)
rename hw/{ => isa}/isa-bus.c (99%)
rename hw/{ => isa}/isa_mmio.c (99%)
rename hw/{ => isa}/lpc_ich9.c (98%)
rename hw/{ => isa}/pc-testdev.c (99%)
rename hw/{ => isa}/pc87312.c (99%)
rename hw/{ => isa}/piix4.c (98%)
rename hw/{ => isa}/sga.c (98%)
rename hw/{ => isa}/vmport.c (98%)
rename hw/{ => isa}/vt82c686.c (98%)
rename hw/{ => lm32}/lm32.h (100%)
rename hw/{ => lm32}/lm32_hwsetup.h (100%)
rename hw/{ => lm32}/milkymist-hw.h (100%)
rename hw/{microblaze_boot.h => microblaze/boot.h} (100%)
rename hw/{microblaze_pic_cpu.h => microblaze/pic_cpu.h} (100%)
create mode 100644 hw/misc/Makefile.objs
rename hw/{ => misc}/a9scu.c (100%)
rename hw/{ => misc}/arm_l2x0.c (100%)
rename hw/{ => misc}/arm_sysctl.c (99%)
rename hw/{ => misc}/cbus.c (99%)
rename hw/{ => misc}/eccmemctl.c (100%)
rename hw/{ => misc}/exynos4210_pmu.c (100%)
rename hw/{ => misc}/imx_ccm.c (99%)
rename hw/{ => misc}/lm32_sys.c (100%)
create mode 100644 hw/misc/macio/Makefile.objs
rename hw/{ => misc/macio}/cuda.c (99%)
rename hw/{ => misc/macio}/mac_dbdma.c (99%)
rename hw/{ => misc/macio}/macio.c (99%)
rename hw/{ => misc}/max111x.c (100%)
rename hw/{ => misc}/milkymist-hpdmc.c (100%)
rename hw/{ => misc}/milkymist-pfpu.c (100%)
rename hw/{ => misc}/mst_fpga.c (100%)
rename hw/{ => misc}/omap_clk.c (99%)
rename hw/{ => misc}/omap_gpmc.c (99%)
rename hw/{ => misc}/omap_l4.c (99%)
rename hw/{ => misc}/omap_sdrc.c (99%)
rename hw/{ => misc}/omap_tap.c (99%)
rename hw/{ => misc}/puv3_pm.c (99%)
rename hw/{ => misc}/pxa2xx_pcmcia.c (99%)
rename hw/{ => misc}/slavio_misc.c (100%)
rename hw/{ => misc}/tmp105.c (99%)
rename hw/{ => misc}/tmp105.h (94%)
rename hw/{ => misc}/zynq_slcr.c (100%)
create mode 100644 hw/net/Makefile.objs
rename hw/{ => net}/cadence_gem.c (100%)
rename hw/{ => net}/dp8393x.c (99%)
rename hw/{ => net}/e1000.c (99%)
rename hw/{e1000_hw.h => net/e1000_regs.h} (100%)
rename hw/{ => net}/eepro100.c (99%)
rename hw/{ => net}/etraxfs_eth.c (99%)
rename hw/{ => net}/lan9118.c (99%)
rename hw/{ => net}/lance.c (99%)
rename hw/{ => net}/mcf_fec.c (99%)
rename hw/{ => net}/milkymist-minimac2.c (100%)
rename hw/{ => net}/mipsnet.c (100%)
rename hw/{ => net}/ne2000-isa.c (98%)
rename hw/{ => net}/ne2000.c (99%)
rename hw/{ => net}/ne2000.h (100%)
rename hw/{ => net}/opencores_eth.c (100%)
rename hw/{ => net}/pcnet-pci.c (99%)
rename hw/{ => net}/pcnet.c (99%)
rename hw/{ => net}/pcnet.h (100%)
rename hw/{ => net}/rtl8139.c (100%)
rename hw/{ => net}/smc91c111.c (99%)
rename hw/{ => net}/spapr_llan.c (99%)
rename hw/{ => net}/stellaris_enet.c (100%)
rename hw/{ => net}/vhost_net.c (98%)
rename hw/{ => net}/virtio-net.c (99%)
rename hw/{ => net}/xen_nic.c (99%)
rename hw/{ => net}/xgmac.c (100%)
rename hw/{ => net}/xilinx_axienet.c (100%)
rename hw/{ => net}/xilinx_ethlite.c (100%)
create mode 100644 hw/nvram/Makefile.objs
rename hw/{ => nvram}/ds1225y.c (100%)
rename hw/{ => nvram}/eeprom93xx.c (99%)
rename hw/{ => nvram}/fw_cfg.c (99%)
rename hw/{ => nvram}/mac_nvram.c (99%)
rename hw/{ => nvram}/spapr_nvram.c (98%)
rename hw/{apb_pci.c => pci/host-apb.c} (99%)
rename hw/{bonito.c => pci/host-bonito.c} (99%)
rename hw/{dec_pci.c => pci/host-dec.c} (99%)
rename hw/{dec_pci.h => pci/host-dec.h} (100%)
rename hw/{grackle_pci.c => pci/host-grackle.c} (100%)
rename hw/{gt64xxx.c => pci/host-gt64xxx.c} (99%)
rename hw/{piix_pci.c => pci/host-piix.c} (99%)
rename hw/{ppc4xx_pci.c => pci/host-ppc4xx.c} (99%)
rename hw/{ppce500_pci.c => pci/host-ppce500.c} (99%)
rename hw/{prep_pci.c => pci/host-prep.c} (99%)
rename hw/{q35.c => pci/host-q35.c} (99%)
rename hw/{sh_pci.c => pci/host-sh.c} (99%)
rename hw/{spapr_pci.c => pci/host-spapr.c} (99%)
rename hw/{unin_pci.c => pci/host-uninorth.c} (100%)
rename hw/{versatile_pci.c => pci/host-versatile.c} (100%)
rename hw/{ => pci}/i82801b11.c (99%)
rename hw/{ => pci}/ioh3420.c (99%)
rename hw/{ => pci}/ioh3420.h (100%)
rename hw/{ => pci}/ivshmem.c (99%)
rename hw/{ => pci}/pam.c (99%)
rename hw/{ => pci}/pci_bridge_dev.c (100%)
rename hw/{vfio_pci.c => pci/vfio.c} (100%)
rename hw/{ => pci}/xio3130_downstream.c (99%)
rename hw/{ => pci}/xio3130_downstream.h (100%)
rename hw/{ => pci}/xio3130_upstream.c (99%)
rename hw/{ => pci}/xio3130_upstream.h (100%)
rename hw/{ => ppc}/ppc405.h (99%)
create mode 100644 hw/scsi/Makefile.objs
rename hw/{ => scsi}/esp-pci.c (99%)
rename hw/{ => scsi}/esp.c (99%)
rename hw/{ => scsi}/lsi53c895a.c (99%)
rename hw/{ => scsi}/megasas.c (99%)
rename hw/{ => scsi}/mfi.h (100%)
rename hw/{ => scsi}/scsi-bus.c (99%)
rename hw/{ => scsi}/scsi-disk.c (99%)
rename hw/{ => scsi}/scsi-generic.c (99%)
rename hw/{ => scsi}/spapr_vscsi.c (99%)
rename hw/{ => scsi}/srp.h (100%)
rename hw/{ppc-viosrp.h => scsi/viosrp.h} (100%)
rename hw/{ => scsi}/virtio-scsi.c (99%)
create mode 100644 hw/sd/Makefile.objs
rename hw/{ => sd}/milkymist-memcard.c (100%)
rename hw/{ => sd}/omap_mmc.c (99%)
rename hw/{ => sd}/pl181.c (100%)
rename hw/{ => sd}/pxa2xx_mmci.c (99%)
rename hw/{ => sd}/sd.c (100%)
rename hw/{ => sd}/sdhci.c (99%)
rename hw/{ => sd}/sdhci.h (100%)
rename hw/{ => sd}/ssi-sd.c (100%)
rename hw/{ => sh4}/sh7750_regnames.h (100%)
rename hw/{ => sh4}/sh7750_regs.h (100%)
create mode 100644 hw/ssi/Makefile.objs
rename hw/{ => ssi}/omap_spi.c (99%)
rename hw/{ => ssi}/pl022.c (100%)
rename hw/{ => ssi}/ssi.c (100%)
rename hw/{ => ssi}/xilinx_spi.c (100%)
rename hw/{ => ssi}/xilinx_spips.c (100%)
create mode 100644 hw/timer/Makefile.objs
rename hw/{ => timer}/arm_mptimer.c (100%)
rename hw/{ => timer}/arm_timer.c (100%)
rename hw/{ => timer}/cadence_ttc.c (100%)
rename hw/{ => timer}/ds1338.c (99%)
rename hw/{ => timer}/etraxfs_timer.c (100%)
rename hw/{ => timer}/exynos4210_mct.c (99%)
rename hw/{ => timer}/exynos4210_pwm.c (99%)
rename hw/{ => timer}/exynos4210_rtc.c (99%)
rename hw/{ => timer}/grlib_gptimer.c (100%)
rename hw/{ => timer}/hpet.c (99%)
rename hw/{ => timer}/i8254.c (98%)
rename hw/{ => timer}/i8254_common.c (98%)
rename hw/{ => timer}/imx_timer.c (99%)
rename hw/{ => timer}/lm32_timer.c (100%)
rename hw/{ => timer}/m48t59.c (99%)
rename hw/{ => timer}/mc146818rtc.c (99%)
rename hw/{ => timer}/milkymist-sysctl.c (100%)
rename hw/{ => timer}/omap_gptimer.c (99%)
rename hw/{ => timer}/omap_synctimer.c (99%)
rename hw/{ => timer}/pl031.c (100%)
rename hw/{ => timer}/puv3_ost.c (99%)
rename hw/{ => timer}/pxa2xx_timer.c (99%)
rename hw/{ => timer}/sh_timer.c (99%)
rename hw/{ => timer}/slavio_timer.c (99%)
rename hw/{ => timer}/tusb6010.c (99%)
rename hw/{ => timer}/twl92230.c (99%)
rename hw/{ => timer}/xilinx_timer.c (100%)
rename {tpm => hw/tpm}/Makefile.objs (72%)
rename {tpm => hw/tpm}/tpm_backend.c (82%)
rename {tpm => hw/tpm}/tpm_int.h (49%)
rename {tpm => hw/tpm}/tpm_passthrough.c (99%)
rename {tpm => hw/tpm}/tpm_tis.c (99%)
rename {tpm => hw/tpm}/tpm_tis.h (93%)
rename hw/{ => usb}/ccid-card-emulated.c (99%)
rename hw/{ => usb}/ccid-card-passthru.c (99%)
rename hw/{ => usb}/ccid.h (100%)
create mode 100644 hw/virtio/Makefile.objs
rename hw/{ => virtio}/vhost.c (99%)
rename hw/{ => virtio}/virtio-balloon.c (99%)
rename hw/{ => virtio}/virtio-bus.c (98%)
rename hw/{ => virtio}/virtio-pci.c (99%)
rename hw/{ => virtio}/virtio-pci.h (91%)
rename hw/{ => virtio}/virtio-rng.c (98%)
rename hw/{ => virtio}/virtio.c (99%)
create mode 100644 hw/watchdog/Makefile.objs
rename hw/{ => watchdog}/watchdog.c (99%)
rename hw/{ => watchdog}/wdt_i6300esb.c (99%)
rename hw/{ => watchdog}/wdt_ib700.c (98%)
create mode 100644 hw/xen/Makefile.objs
rename hw/{ => xen}/xen-host-pci-device.c (99%)
rename hw/{ => xen}/xen-host-pci-device.h (100%)
rename hw/{ => xen}/xen_apic.c (97%)
rename hw/{ => xen}/xen_backend.c (99%)
rename hw/{ => xen}/xen_devconfig.c (99%)
rename hw/{ => xen}/xen_platform.c (99%)
rename hw/{ => xen}/xen_pt.c (99%)
rename hw/{ => xen}/xen_pt.h (99%)
rename hw/{ => xen}/xen_pt_config_init.c (99%)
rename hw/{ => xen}/xen_pt_msi.c (99%)
rename hw/{ => xtensa}/xtensa_bootparam.h (100%)
rename hw/scsi-defs.h => include/block/scsi.h (100%)
rename {hw => include/hw/acpi}/acpi.h (100%)
rename hw/acpi_ich9.h => include/hw/acpi/ich9.h (98%)
rename hw/arm-misc.h => include/hw/arm.h (100%)
rename {hw => include/hw/arm}/devices.h (100%)
rename {hw => include/hw/arm}/exynos4210.h (100%)
rename {hw => include/hw/arm}/imx.h (100%)
rename {hw => include/hw/arm}/omap.h (100%)
rename {hw => include/hw/arm}/primecell.h (100%)
rename {hw => include/hw/arm}/pxa.h (100%)
rename {hw => include/hw/arm}/sharpsl.h (100%)
rename {hw => include/hw/arm}/soc_dma.h (100%)
rename hw/audiodev.h => include/hw/audio/audio.h (100%)
rename {hw => include/hw/audio}/pcspk.h (98%)
rename hw/block-common.h => include/hw/block/block.h (100%)
rename {hw => include/hw/block}/fdc.h (100%)
rename {hw => include/hw/block}/flash.h (100%)
rename {hw => include/hw}/boards.h (100%)
rename {hw => include/hw}/bt.h (100%)
rename {hw => include/hw/char}/escc.h (100%)
rename {hw => include/hw/char}/serial.h (100%)
rename {hw => include/hw/cris}/etraxfs.h (98%)
rename {hw => include/hw/cris}/etraxfs_dma.h (100%)
rename {hw => include/hw}/elf_ops.h (100%)
rename {hw => include/hw}/empty_slot.h (100%)
rename {hw => include/hw}/hw.h (100%)
rename {hw => include/hw/i2c}/i2c.h (100%)
rename {hw => include/hw/i2c}/pm_smbus.h (100%)
rename {hw => include/hw/i2c}/smbus.h (99%)
rename {hw => include/hw/i386}/apic-msidef.h (100%)
rename {hw => include/hw/i386}/apic.h (100%)
rename {hw => include/hw/i386}/apic_internal.h (100%)
rename {hw => include/hw/i386}/ich9.h (97%)
rename {hw => include/hw/i386}/ioapic.h (100%)
rename {hw => include/hw/i386}/ioapic_internal.h (100%)
rename {hw => include/hw/i386}/pc.h (98%)
rename {hw => include/hw/i386}/smbios.h (100%)
rename {hw => include/hw}/ide.h (97%)
rename {hw => include/hw/input}/adb.h (100%)
rename {hw => include/hw/input}/hid.h (100%)
rename {hw => include/hw/input}/ps2.h (100%)
rename {hw => include/hw}/irq.h (100%)
rename {hw => include/hw/isa}/apm.h (100%)
rename {hw => include/hw/isa}/i8259_internal.h (98%)
rename {hw => include/hw/isa}/isa.h (100%)
rename {hw => include/hw/isa}/pc87312.h (98%)
rename {hw => include/hw/isa}/vt82c686.h (100%)
rename {hw => include/hw}/kvm/clock.h (100%)
rename {hw => include/hw/lm32}/lm32_juart.h (100%)
rename {hw => include/hw/lm32}/lm32_pic.h (100%)
rename {hw => include/hw}/loader.h (100%)
rename {hw => include/hw/m68k}/mcf.h (100%)
rename hw/mips-bios.h => include/hw/mips/bios.h (100%)
rename hw/mips_cpudevs.h => include/hw/mips/cpudevs.h (100%)
rename {hw => include/hw/mips}/mips.h (100%)
rename {hw => include/hw/misc}/tmp105_regs.h (100%)
rename {hw => include/hw/nvram}/eeprom93xx.h (100%)
rename {hw => include/hw/nvram}/fw_cfg.h (100%)
rename hw/apb_pci.h => include/hw/pci/host-apb.h (100%)
rename hw/ppce500_pci.h => include/hw/pci/host-ppce500.h (100%)
rename hw/q35.h => include/hw/pci/host-q35.h (97%)
rename hw/spapr_pci.h => include/hw/pci/host-spapr.h (99%)
rename hw/alpha_sys.h => include/hw/pci/host-typhoon.h (95%)
rename {hw => include/hw/pci}/pam.h (100%)
rename {hw => include/hw}/pcmcia.h (100%)
rename {hw => include/hw/ppc}/mac_dbdma.h (100%)
rename {hw => include/hw/ppc}/openpic.h (100%)
rename {hw => include/hw/ppc}/ppc.h (100%)
rename {hw => include/hw/ppc}/ppc4xx.h (100%)
rename {hw => include/hw/ppc}/spapr.h (99%)
rename {hw => include/hw/ppc}/spapr_vio.h (100%)
rename {hw => include/hw/ppc}/xics.h (100%)
rename {hw => include/hw}/ptimer.h (100%)
rename {hw => include/hw}/qdev-addr.h (100%)
rename {hw => include/hw}/qdev-core.h (100%)
rename {hw => include/hw}/qdev-dma.h (100%)
rename {hw => include/hw}/qdev-properties.h (100%)
rename {hw => include/hw}/qdev.h (100%)
rename {hw => include/hw}/s390x/event-facility.h (100%)
rename {hw => include/hw}/s390x/sclp.h (100%)
rename {hw => include/hw/scsi}/esp.h (99%)
rename {hw => include/hw/scsi}/scsi.h (99%)
rename {hw => include/hw}/sd.h (100%)
rename {hw => include/hw/sh4}/sh.h (98%)
rename {hw => include/hw/sh4}/sh_intc.h (100%)
rename {hw => include/hw/sparc}/firmware_abi.h (100%)
rename {hw => include/hw/sparc}/grlib.h (100%)
rename {hw => include/hw/sparc}/sparc32_dma.h (100%)
rename {hw => include/hw/sparc}/sun4m.h (96%)
rename {hw => include/hw}/ssi.h (100%)
rename {hw => include/hw}/stream.h (100%)
rename {hw => include/hw}/sysbus.h (100%)
rename hw/hpet_emul.h => include/hw/timer/hpet.h (100%)
rename {hw => include/hw/timer}/i8254.h (98%)
rename {hw => include/hw/timer}/i8254_internal.h (98%)
rename hw/nvram.h => include/hw/timer/m48t59.h (100%)
rename {hw => include/hw/timer}/mc146818rtc.h (80%)
rename {hw => include/hw/timer}/mc146818rtc_regs.h (100%)
rename {hw => include/hw/unicore32}/puv3.h (100%)
rename {hw => include/hw}/usb.h (100%)
rename {hw => include/hw/virtio}/vhost.h (98%)
rename hw/9pfs/virtio-9p-device.h => include/hw/virtio/virtio-9p.h (100%)
rename {hw => include/hw/virtio}/virtio-balloon.h (98%)
rename {hw => include/hw/virtio}/virtio-blk.h (98%)
rename {hw => include/hw/virtio}/virtio-bus.h (99%)
rename {hw => include/hw/virtio}/virtio-net.h (99%)
rename {hw => include/hw/virtio}/virtio-rng.h (100%)
rename {hw => include/hw/virtio}/virtio-scsi.h (97%)
rename {hw => include/hw/virtio}/virtio-serial.h (99%)
rename {hw => include/hw/virtio}/virtio.h (99%)
rename {hw => include/hw/xen}/xen.h (100%)
rename {hw => include/hw/xen}/xen_backend.h (99%)
rename {hw => include/hw/xen}/xen_common.h (99%)
rename {hw => include/hw}/xilinx.h (100%)
rename {hw => include/net}/vhost_net.h (100%)
rename {hw => include/sysemu}/watchdog.h (100%)
rename {tpm => include/tpm}/tpm_backend.h (50%)
rename tpm/tpm.c => tpm.c (93%)Signature · 1 line
1.8.1.4
PATCH 1/35 hw: move headers to include/
Many of these should be cleaned up with proper qdev-/QOM-ification. Right now there are many catch-all headers in include/hw/ARCH depending on cpu.h, and this makes it necessary to compile these files per-target. However, fixing this does not belong in these patches.
---
arch_init.c | 8 ++++----
block/iscsi.c | 4 ++--
blockdev-nbd.c | 2 +-
blockdev.c | 2 +-
exec.c | 2 +-
gdbstub.c | 2 +-
hw/9pfs/virtio-9p-device.c | 4 ++--
hw/9pfs/virtio-9p-handle.c | 2 +-
hw/9pfs/virtio-9p-local.c | 2 +-
hw/9pfs/virtio-9p-posix-acl.c | 2 +-
hw/9pfs/virtio-9p-proxy.c | 2 +-
hw/9pfs/virtio-9p-synth.c | 2 +-
hw/9pfs/virtio-9p-xattr-user.c | 2 +-
hw/9pfs/virtio-9p-xattr.c | 2 +-
hw/9pfs/virtio-9p.c | 4 ++--
hw/9pfs/virtio-9p.h | 2 +-
hw/ac97.c | 2 +-
hw/acpi.c | 4 ++--
hw/acpi_ich9.c | 6 +++---
hw/acpi_piix4.c | 10 ++++-----
hw/adb.c | 2 +-
hw/adlib.c | 4 ++--
hw/alpha/dp264.c | 8 ++++----
hw/alpha/pci.c | 2 +-
hw/alpha_typhoon.c | 4 ++--
hw/apb_pci.c | 2 +-
hw/apic.c | 10 ++++-----
hw/apic_common.c | 4 ++--
hw/apm.c | 2 +-
hw/applesmc.c | 2 +-
hw/arm/armv7m.c | 2 +-
hw/arm/boot.c | 2 +-
hw/arm/collie.c | 6 +++---
hw/arm/exynos4210.c | 4 ++--
hw/arm/exynos4_boards.c | 4 ++--
hw/arm/gumstix.c | 6 +++---
hw/arm/highbank.c | 4 ++--
hw/arm/integratorcp.c | 4 ++--
hw/arm/kzm.c | 8 ++++----
hw/arm/mainstone.c | 8 ++++----
hw/arm/musicpal.c | 10 ++++-----
hw/arm/nseries.c | 10 ++++-----
hw/arm/omap1.c | 6 +++---
hw/arm/omap2.c | 8 ++++----
hw/arm/omap_sx1.c | 6 +++---
hw/arm/palm.c | 6 +++---
hw/arm/pic_cpu.c | 2 +-
hw/arm/pxa2xx.c | 6 +++---
hw/arm/pxa2xx_gpio.c | 2 +-
hw/arm/pxa2xx_pic.c | 2 +-
hw/arm/realview.c | 8 ++++----
hw/arm/spitz.c | 12 +++++------
hw/arm/stellaris.c | 6 +++---
hw/arm/tosa.c | 10 ++++-----
hw/arm/versatilepb.c | 8 ++++----
hw/arm/vexpress.c | 8 ++++----
hw/arm/xilinx_zynq.c | 4 ++--
hw/arm/z2.c | 10 ++++-----
hw/arm_sysctl.c | 2 +-
hw/armv7m_nvic.c | 2 +-
hw/bitbang_i2c.h | 2 +-
hw/blizzard.c | 2 +-
hw/block-common.c | 2 +-
hw/bonito.c | 4 ++--
hw/bt-hid.c | 2 +-
hw/cbus.c | 2 +-
hw/cdrom.c | 2 +-
hw/cris/axis_dev88.c | 4 ++--
hw/cris/pic_cpu.c | 2 +-
hw/cs4231a.c | 4 ++--
hw/cuda.c | 2 +-
hw/dataplane/virtio-blk.c | 4 ++--
hw/dataplane/virtio-blk.h | 2 +-
hw/dataplane/vring.h | 2 +-
hw/debugcon.c | 4 ++--
hw/debugexit.c | 2 +-
hw/dma.c | 2 +-
hw/dp8393x.c | 2 +-
hw/ds1338.c | 2 +-
hw/ecc.c | 2 +-
hw/eepro100.c | 2 +-
hw/eeprom93xx.c | 2 +-
hw/es1370.c | 2 +-
hw/escc.c | 2 +-
hw/esp-pci.c | 4 ++--
hw/esp.c | 2 +-
hw/etraxfs_dma.c | 2 +-
hw/etraxfs_eth.c | 2 +-
hw/exynos4210_combiner.c | 2 +-
hw/exynos4210_gic.c | 2 +-
hw/exynos4210_i2c.c | 2 +-
hw/exynos4210_mct.c | 2 +-
hw/exynos4210_pwm.c | 2 +-
hw/exynos4210_rtc.c | 2 +-
hw/exynos4210_uart.c | 2 +-
hw/fdc.c | 4 ++--
hw/fw_cfg.c | 4 ++--
hw/grlib_irqmp.c | 2 +-
hw/gt64xxx.c | 4 ++--
hw/gus.c | 4 ++--
hw/hd-geometry.c | 2 +-
hw/hid.c | 2 +-
hw/hpet.c | 8 ++++----
hw/i2c.c | 2 +-
hw/i386/kvmvapic.c | 2 +-
hw/i386/multiboot.c | 2 +-
hw/i386/pc.c | 24 +++++++++++-----------
hw/i386/pc_piix.c | 8 ++++----
hw/i386/pc_q35.c | 10 ++++-----
hw/i386/smbios.c | 2 +-
hw/i386/xen_domainbuild.c | 2 +-
hw/i386/xen_machine_pv.c | 4 ++--
hw/i82374.c | 2 +-
hw/i82378.c | 6 +++---
hw/i8254.c | 8 ++++----
hw/i8254_common.c | 8 ++++----
hw/i8259.c | 6 +++---
hw/i8259_common.c | 4 ++--
hw/i82801b11.c | 2 +-
hw/ide/ahci.c | 2 +-
hw/ide/atapi.c | 2 +-
hw/ide/cmd646.c | 4 ++--
hw/ide/core.c | 6 +++---
hw/ide/ich.c | 4 ++--
hw/ide/internal.h | 6 +++---
hw/ide/isa.c | 4 ++--
hw/ide/macio.c | 2 +-
hw/ide/microdrive.c | 2 +-
hw/ide/pci.c | 4 ++--
hw/ide/piix.c | 4 ++--
hw/ide/qdev.c | 2 +-
hw/ide/via.c | 4 ++--
hw/imx_ccm.c | 2 +-
hw/imx_serial.c | 2 +-
hw/imx_timer.c | 2 +-
hw/intel-hda.c | 2 +-
hw/ioapic.c | 8 ++++----
hw/ioapic_common.c | 4 ++--
hw/isa-bus.c | 2 +-
hw/isa_mmio.c | 2 +-
hw/ivshmem.c | 2 +-
hw/kvm/apic.c | 2 +-
hw/kvm/i8254.c | 4 ++--
hw/kvm/i8259.c | 4 ++--
hw/kvm/ioapic.c | 6 +++---
hw/kvm/pci-assign.c | 2 +-
hw/lan9118.c | 2 +-
hw/lance.c | 2 +-
hw/lm32/lm32_boards.c | 4 ++--
hw/lm32/milkymist.c | 4 ++--
hw/lm32_juart.c | 2 +-
hw/lm32_pic.c | 4 ++--
hw/lm832x.c | 2 +-
hw/loader.c | 2 +-
hw/lpc_ich9.c | 16 +++++++--------
hw/lsi53c895a.c | 2 +-
hw/m25p80.c | 2 +-
hw/m48t59.c | 4 ++--
hw/m68k/an5206.c | 2 +-
hw/m68k/mcf5206.c | 2 +-
hw/m68k/mcf5208.c | 2 +-
hw/m68k/mcf_intc.c | 2 +-
hw/mac_dbdma.c | 4 ++--
hw/mac_nvram.c | 2 +-
hw/macio.c | 4 ++--
hw/marvell_88w8618_audio.c | 2 +-
hw/max7310.c | 2 +-
hw/mc146818rtc.c | 4 ++--
hw/mcf_fec.c | 2 +-
hw/mcf_uart.c | 2 +-
hw/megasas.c | 4 ++--
hw/microblaze/petalogix_ml605_mmu.c | 6 +++---
hw/microblaze/petalogix_s3adsp1800_mmu.c | 4 ++--
hw/milkymist-softusb.c | 2 +-
hw/mips/addr.c | 2 +-
hw/mips/cputimer.c | 2 +-
hw/mips/mips_fulong2e.c | 22 ++++++++++----------
hw/mips/mips_int.c | 2 +-
hw/mips/mips_jazz.c | 22 ++++++++++----------
hw/mips/mips_malta.c | 20 +++++++++---------
hw/mips/mips_mipssim.c | 10 ++++-----
hw/mips/mips_r4k.c | 18 ++++++++--------
hw/nand.c | 2 +-
hw/ne2000-isa.c | 4 ++--
hw/omap_clk.c | 2 +-
hw/omap_dma.c | 4 ++--
hw/omap_dss.c | 2 +-
hw/omap_gpio.c | 2 +-
hw/omap_gpmc.c | 4 ++--
hw/omap_gptimer.c | 2 +-
hw/omap_i2c.c | 4 ++--
hw/omap_intc.c | 2 +-
hw/omap_l4.c | 2 +-
hw/omap_lcdc.c | 2 +-
hw/omap_mmc.c | 2 +-
hw/omap_sdrc.c | 2 +-
hw/omap_spi.c | 2 +-
hw/omap_synctimer.c | 2 +-
hw/omap_tap.c | 2 +-
hw/omap_uart.c | 4 ++--
hw/onenand.c | 2 +-
hw/openpic.c | 4 ++--
hw/openrisc/openrisc_sim.c | 2 +-
hw/pam.c | 2 +-
hw/parallel.c | 4 ++--
hw/pc-testdev.c | 2 +-
hw/pc87312.c | 2 +-
hw/pc_sysfw.c | 4 ++--
hw/pci/pci-hotplug.c | 6 +++---
hw/pci/pci.h | 2 +-
hw/pckbd.c | 6 +++---
hw/pcspk.c | 8 ++++----
hw/pflash_cfi01.c | 2 +-
hw/pflash_cfi02.c | 2 +-
hw/piix4.c | 4 ++--
hw/piix_pci.c | 8 ++++----
hw/pl050.c | 2 +-
hw/pl330.c | 2 +-
hw/pm_smbus.c | 6 +++---
hw/ppc/e500.c | 8 ++++----
hw/ppc/e500plat.c | 2 +-
hw/ppc/mac.h | 2 +-
hw/ppc/mac_newworld.c | 14 ++++++-------
hw/ppc/mac_oldworld.c | 12 +++++------
hw/ppc/mpc8544ds.c | 2 +-
hw/ppc/ppc.c | 4 ++--
hw/ppc/ppc405_boards.c | 6 +++---
hw/ppc/ppc405_uc.c | 4 ++--
hw/ppc/ppc440_bamboo.c | 4 ++--
hw/ppc/ppc4xx_devs.c | 4 ++--
hw/ppc/ppc_booke.c | 4 ++--
hw/ppc/prep.c | 16 +++++++--------
hw/ppc/spapr.c | 10 ++++-----
hw/ppc/spapr_events.c | 4 ++--
hw/ppc/spapr_hcall.c | 2 +-
hw/ppc/spapr_iommu.c | 2 +-
hw/ppc/spapr_rtas.c | 4 ++--
hw/ppc/spapr_vio.c | 6 +++---
hw/ppc/virtex_ml507.c | 10 ++++-----
hw/ppc/xics.c | 4 ++--
hw/ppc405.h | 2 +-
hw/ppc4xx_pci.c | 4 ++--
hw/ppce500_pci.c | 2 +-
hw/prep_pci.c | 2 +-
hw/ps2.c | 2 +-
hw/puv3_dma.c | 2 +-
hw/puv3_gpio.c | 2 +-
hw/puv3_intc.c | 2 +-
hw/puv3_ost.c | 2 +-
hw/puv3_pm.c | 2 +-
hw/pxa2xx_dma.c | 2 +-
hw/pxa2xx_keypad.c | 2 +-
hw/pxa2xx_lcd.c | 2 +-
hw/pxa2xx_mmci.c | 2 +-
hw/pxa2xx_pcmcia.c | 2 +-
hw/pxa2xx_timer.c | 2 +-
hw/q35.c | 2 +-
hw/qdev-properties-system.c | 2 +-
hw/qdev-properties.c | 2 +-
hw/rc4030.c | 2 +-
hw/s390x/s390-virtio-bus.c | 10 ++++-----
hw/s390x/s390-virtio-bus.h | 12 +++++------
hw/s390x/s390-virtio.c | 2 +-
hw/s390x/virtio-ccw.c | 8 ++++----
hw/s390x/virtio-ccw.h | 12 +++++------
hw/sb16.c | 4 ++--
hw/scsi-bus.c | 4 ++--
hw/scsi-disk.c | 6 +++---
hw/scsi-generic.c | 4 ++--
hw/serial-isa.c | 4 ++--
hw/serial-pci.c | 2 +-
hw/serial.c | 2 +-
hw/sga.c | 2 +-
hw/sh4/r2d.c | 6 +++---
hw/sh4/sh7750.c | 4 ++--
hw/sh4/sh7750_regnames.c | 2 +-
hw/sh4/shix.c | 2 +-
hw/sh_intc.c | 4 ++--
hw/sh_pci.c | 2 +-
hw/sh_serial.c | 2 +-
hw/sh_timer.c | 2 +-
hw/slavio_intctl.c | 2 +-
hw/slavio_timer.c | 2 +-
hw/sm501.c | 4 ++--
hw/smbus.c | 4 ++--
hw/smbus_eeprom.c | 4 ++--
hw/smbus_ich9.c | 10 ++++-----
hw/smc91c111.c | 2 +-
hw/soc_dma.c | 2 +-
hw/spapr_llan.c | 4 ++--
hw/spapr_nvram.c | 4 ++--
hw/spapr_pci.c | 4 ++--
hw/spapr_vscsi.c | 8 ++++----
hw/spapr_vty.c | 4 ++--
hw/sparc/leon3.c | 2 +-
hw/sparc/sun4m.c | 20 +++++++++---------
hw/sparc32_dma.c | 4 ++--
hw/sparc64/sun4u.c | 14 ++++++-------
hw/ssd0303.c | 2 +-
hw/stellaris_input.c | 2 +-
hw/strongarm.c | 2 +-
hw/sun4c_intctl.c | 2 +-
hw/sun4m_iommu.c | 2 +-
hw/tc58128.c | 2 +-
hw/tc6393xb.c | 4 ++--
hw/tmp105.c | 2 +-
hw/tmp105.h | 4 ++--
hw/tsc2005.c | 2 +-
hw/tsc210x.c | 4 ++--
hw/tusb6010.c | 4 ++--
hw/twl92230.c | 2 +-
hw/unicore32/puv3.c | 4 ++--
hw/usb/dev-audio.c | 2 +-
hw/usb/dev-hid.c | 2 +-
hw/usb/dev-storage.c | 2 +-
hw/usb/dev-uas.c | 4 ++--
hw/vga-isa-mm.c | 2 +-
hw/vga-isa.c | 2 +-
hw/vga.c | 4 ++--
hw/vhost.c | 2 +-
hw/vhost_net.c | 6 +++---
hw/virtio-balloon.c | 6 +++---
hw/virtio-blk.c | 6 +++---
hw/virtio-bus.c | 4 ++--
hw/virtio-console.c | 2 +-
hw/virtio-net.c | 6 +++---
hw/virtio-pci.c | 12 +++++------
hw/virtio-pci.h | 14 ++++++-------
hw/virtio-rng.c | 4 ++--
hw/virtio-scsi.c | 6 +++---
hw/virtio-serial-bus.c | 2 +-
hw/virtio.c | 4 ++--
hw/vmmouse.c | 4 ++--
hw/vmport.c | 4 ++--
hw/vt82c686.c | 18 ++++++++--------
hw/watchdog.c | 2 +-
hw/wdt_i6300esb.c | 2 +-
hw/wdt_ib700.c | 6 +++---
hw/wm8750.c | 2 +-
hw/xen_apic.c | 4 ++--
hw/xen_backend.c | 2 +-
hw/xen_console.c | 2 +-
hw/xen_devconfig.c | 2 +-
hw/xen_disk.c | 2 +-
hw/xen_domainbuild.h | 2 +-
hw/xen_nic.c | 2 +-
hw/xen_platform.c | 6 +++---
hw/xen_pt.c | 4 ++--
hw/xen_pt.h | 2 +-
hw/xen_pt_config_init.c | 2 +-
hw/xen_pt_msi.c | 4 ++--
hw/xenfb.c | 2 +-
hw/xtensa/xtensa_lx60.c | 4 ++--
hw/zaurus.c | 2 +-
hw/scsi-defs.h => include/block/scsi.h | 0
include/exec/memory-internal.h | 2 +-
{hw => include/hw/acpi}/acpi.h | 0
hw/acpi_ich9.h => include/hw/acpi/ich9.h | 2 +-
hw/arm-misc.h => include/hw/arm.h | 0
{hw => include/hw/arm}/devices.h | 0
{hw => include/hw/arm}/exynos4210.h | 0
{hw => include/hw/arm}/imx.h | 0
{hw => include/hw/arm}/omap.h | 0
{hw => include/hw/arm}/primecell.h | 0
{hw => include/hw/arm}/pxa.h | 0
{hw => include/hw/arm}/sharpsl.h | 0
{hw => include/hw/arm}/soc_dma.h | 0
hw/audiodev.h => include/hw/audio/audio.h | 0
{hw => include/hw/audio}/pcspk.h | 2 +-
hw/block-common.h => include/hw/block/block.h | 0
{hw => include/hw/block}/fdc.h | 0
{hw => include/hw/block}/flash.h | 0
{hw => include/hw}/boards.h | 0
{hw => include/hw}/bt.h | 0
{hw => include/hw/char}/escc.h | 0
{hw => include/hw/char}/serial.h | 0
{hw => include/hw/cris}/etraxfs.h | 2 +-
{hw => include/hw/cris}/etraxfs_dma.h | 0
{hw => include/hw}/elf_ops.h | 0
{hw => include/hw}/empty_slot.h | 0
{hw => include/hw}/hw.h | 0
{hw => include/hw/i2c}/i2c.h | 0
{hw => include/hw/i2c}/pm_smbus.h | 0
{hw => include/hw/i2c}/smbus.h | 2 +-
{hw => include/hw/i386}/apic-msidef.h | 0
{hw => include/hw/i386}/apic.h | 0
{hw => include/hw/i386}/apic_internal.h | 0
{hw => include/hw/i386}/ich9.h | 14 ++++++-------
{hw => include/hw/i386}/ioapic.h | 0
{hw => include/hw/i386}/ioapic_internal.h | 0
{hw => include/hw/i386}/pc.h | 6 +++---
{hw => include/hw/i386}/smbios.h | 0
{hw => include/hw}/ide.h | 2 +-
{hw => include/hw/input}/adb.h | 0
{hw => include/hw/input}/hid.h | 0
{hw => include/hw/input}/ps2.h | 0
{hw => include/hw}/irq.h | 0
{hw => include/hw/isa}/apm.h | 0
{hw => include/hw/isa}/i8259_internal.h | 4 ++--
{hw => include/hw/isa}/isa.h | 0
{hw => include/hw/isa}/pc87312.h | 2 +-
{hw => include/hw/isa}/vt82c686.h | 0
{hw => include/hw}/kvm/clock.h | 0
{hw => include/hw/lm32}/lm32_juart.h | 0
{hw => include/hw/lm32}/lm32_pic.h | 0
{hw => include/hw}/loader.h | 0
{hw => include/hw/m68k}/mcf.h | 0
hw/mips-bios.h => include/hw/mips/bios.h | 0
hw/mips_cpudevs.h => include/hw/mips/cpudevs.h | 0
{hw => include/hw/mips}/mips.h | 0
{hw => include/hw/misc}/tmp105_regs.h | 0
{hw => include/hw/nvram}/eeprom93xx.h | 0
{hw => include/hw/nvram}/fw_cfg.h | 0
hw/apb_pci.h => include/hw/pci/host-apb.h | 0
hw/ppce500_pci.h => include/hw/pci/host-ppce500.h | 0
hw/q35.h => include/hw/pci/host-q35.h | 14 ++++++-------
hw/spapr_pci.h => include/hw/pci/host-spapr.h | 2 +-
hw/alpha_sys.h => include/hw/pci/host-typhoon.h | 2 +-
{hw => include/hw/pci}/pam.h | 0
{hw => include/hw}/pcmcia.h | 0
{hw => include/hw/ppc}/mac_dbdma.h | 0
{hw => include/hw/ppc}/openpic.h | 0
{hw => include/hw/ppc}/ppc.h | 0
{hw => include/hw/ppc}/ppc4xx.h | 0
{hw => include/hw/ppc}/spapr.h | 2 +-
{hw => include/hw/ppc}/spapr_vio.h | 0
{hw => include/hw/ppc}/xics.h | 0
{hw => include/hw}/ptimer.h | 0
{hw => include/hw}/qdev-addr.h | 0
{hw => include/hw}/qdev-core.h | 0
{hw => include/hw}/qdev-dma.h | 0
{hw => include/hw}/qdev-properties.h | 0
{hw => include/hw}/qdev.h | 0
{hw => include/hw}/s390x/event-facility.h | 0
{hw => include/hw}/s390x/sclp.h | 0
{hw => include/hw/scsi}/esp.h | 2 +-
{hw => include/hw/scsi}/scsi.h | 2 +-
{hw => include/hw}/sd.h | 0
{hw => include/hw/sh4}/sh.h | 2 +-
{hw => include/hw/sh4}/sh_intc.h | 0
{hw => include/hw/sparc}/firmware_abi.h | 0
{hw => include/hw/sparc}/grlib.h | 0
{hw => include/hw/sparc}/sparc32_dma.h | 0
{hw => include/hw/sparc}/sun4m.h | 2 +-
{hw => include/hw}/ssi.h | 0
{hw => include/hw}/stream.h | 0
{hw => include/hw}/sysbus.h | 0
hw/hpet_emul.h => include/hw/timer/hpet.h | 0
{hw => include/hw/timer}/i8254.h | 2 +-
{hw => include/hw/timer}/i8254_internal.h | 4 ++--
hw/nvram.h => include/hw/timer/m48t59.h | 0
{hw => include/hw/timer}/mc146818rtc.h | 4 ++--
{hw => include/hw/timer}/mc146818rtc_regs.h | 0
{hw => include/hw/unicore32}/puv3.h | 0
{hw => include/hw}/usb.h | 0
{hw => include/hw/virtio}/vhost.h | 2 +-
.../hw/virtio/virtio-9p.h | 0
{hw => include/hw/virtio}/virtio-balloon.h | 2 +-
{hw => include/hw/virtio}/virtio-blk.h | 4 ++--
{hw => include/hw/virtio}/virtio-bus.h | 2 +-
{hw => include/hw/virtio}/virtio-net.h | 2 +-
{hw => include/hw/virtio}/virtio-rng.h | 0
{hw => include/hw/virtio}/virtio-scsi.h | 2 +-
{hw => include/hw/virtio}/virtio-serial.h | 2 +-
{hw => include/hw/virtio}/virtio.h | 2 +-
{hw => include/hw/xen}/xen.h | 0
{hw => include/hw/xen}/xen_backend.h | 2 +-
{hw => include/hw/xen}/xen_common.h | 2 +-
{hw => include/hw}/xilinx.h | 0
{hw => include/net}/vhost_net.h | 0
{hw => include/sysemu}/watchdog.h | 0
monitor.c | 8 ++++----
net/tap.c | 2 +-
pc-bios/optionrom/optionrom.h | 2 +-
target-arm/arm-semi.c | 2 +-
target-arm/kvm.c | 2 +-
target-i386/cpu.c | 4 ++--
target-i386/cpu.h | 2 +-
target-i386/kvm.c | 4 ++--
target-i386/machine.c | 4 ++--
target-lm32/op_helper.c | 4 ++--
target-lm32/translate.c | 2 +-
target-ppc/kvm.c | 6 +++---
target-sh4/helper.c | 2 +-
tests/rtc-test.c | 2 +-
tests/tmp105-test.c | 2 +-
tpm/tpm_passthrough.c | 2 +-
tpm/tpm_tis.c | 2 +-
tpm/tpm_tis.h | 2 +-
vl.c | 12 +++++------
xen-all.c | 6 +++---
xen-mapcache.c | 2 +-
xen-stub.c | 2 +-
493 files changed, 811 insertions(+), 811 deletions(-)
rename hw/scsi-defs.h => include/block/scsi.h (100%)
rename {hw => include/hw/acpi}/acpi.h (100%)
rename hw/acpi_ich9.h => include/hw/acpi/ich9.h (98%)
rename hw/arm-misc.h => include/hw/arm.h (100%)
rename {hw => include/hw/arm}/devices.h (100%)
rename {hw => include/hw/arm}/exynos4210.h (100%)
rename {hw => include/hw/arm}/imx.h (100%)
rename {hw => include/hw/arm}/omap.h (100%)
rename {hw => include/hw/arm}/primecell.h (100%)
rename {hw => include/hw/arm}/pxa.h (100%)
rename {hw => include/hw/arm}/sharpsl.h (100%)
rename {hw => include/hw/arm}/soc_dma.h (100%)
rename hw/audiodev.h => include/hw/audio/audio.h (100%)
rename {hw => include/hw/audio}/pcspk.h (98%)
rename hw/block-common.h => include/hw/block/block.h (100%)
rename {hw => include/hw/block}/fdc.h (100%)
rename {hw => include/hw/block}/flash.h (100%)
rename {hw => include/hw}/boards.h (100%)
rename {hw => include/hw}/bt.h (100%)
rename {hw => include/hw/char}/escc.h (100%)
rename {hw => include/hw/char}/serial.h (100%)
rename {hw => include/hw/cris}/etraxfs.h (98%)
rename {hw => include/hw/cris}/etraxfs_dma.h (100%)
rename {hw => include/hw}/elf_ops.h (100%)
rename {hw => include/hw}/empty_slot.h (100%)
rename {hw => include/hw}/hw.h (100%)
rename {hw => include/hw/i2c}/i2c.h (100%)
rename {hw => include/hw/i2c}/pm_smbus.h (100%)
rename {hw => include/hw/i2c}/smbus.h (99%)
rename {hw => include/hw/i386}/apic-msidef.h (100%)
rename {hw => include/hw/i386}/apic.h (100%)
rename {hw => include/hw/i386}/apic_internal.h (100%)
rename {hw => include/hw/i386}/ich9.h (97%)
rename {hw => include/hw/i386}/ioapic.h (100%)
rename {hw => include/hw/i386}/ioapic_internal.h (100%)
rename {hw => include/hw/i386}/pc.h (98%)
rename {hw => include/hw/i386}/smbios.h (100%)
rename {hw => include/hw}/ide.h (97%)
rename {hw => include/hw/input}/adb.h (100%)
rename {hw => include/hw/input}/hid.h (100%)
rename {hw => include/hw/input}/ps2.h (100%)
rename {hw => include/hw}/irq.h (100%)
rename {hw => include/hw/isa}/apm.h (100%)
rename {hw => include/hw/isa}/i8259_internal.h (98%)
rename {hw => include/hw/isa}/isa.h (100%)
rename {hw => include/hw/isa}/pc87312.h (98%)
rename {hw => include/hw/isa}/vt82c686.h (100%)
rename {hw => include/hw}/kvm/clock.h (100%)
rename {hw => include/hw/lm32}/lm32_juart.h (100%)
rename {hw => include/hw/lm32}/lm32_pic.h (100%)
rename {hw => include/hw}/loader.h (100%)
rename {hw => include/hw/m68k}/mcf.h (100%)
rename hw/mips-bios.h => include/hw/mips/bios.h (100%)
rename hw/mips_cpudevs.h => include/hw/mips/cpudevs.h (100%)
rename {hw => include/hw/mips}/mips.h (100%)
rename {hw => include/hw/misc}/tmp105_regs.h (100%)
rename {hw => include/hw/nvram}/eeprom93xx.h (100%)
rename {hw => include/hw/nvram}/fw_cfg.h (100%)
rename hw/apb_pci.h => include/hw/pci/host-apb.h (100%)
rename hw/ppce500_pci.h => include/hw/pci/host-ppce500.h (100%)
rename hw/q35.h => include/hw/pci/host-q35.h (97%)
rename hw/spapr_pci.h => include/hw/pci/host-spapr.h (99%)
rename hw/alpha_sys.h => include/hw/pci/host-typhoon.h (95%)
rename {hw => include/hw/pci}/pam.h (100%)
rename {hw => include/hw}/pcmcia.h (100%)
rename {hw => include/hw/ppc}/mac_dbdma.h (100%)
rename {hw => include/hw/ppc}/openpic.h (100%)
rename {hw => include/hw/ppc}/ppc.h (100%)
rename {hw => include/hw/ppc}/ppc4xx.h (100%)
rename {hw => include/hw/ppc}/spapr.h (99%)
rename {hw => include/hw/ppc}/spapr_vio.h (100%)
rename {hw => include/hw/ppc}/xics.h (100%)
rename {hw => include/hw}/ptimer.h (100%)
rename {hw => include/hw}/qdev-addr.h (100%)
rename {hw => include/hw}/qdev-core.h (100%)
rename {hw => include/hw}/qdev-dma.h (100%)
rename {hw => include/hw}/qdev-properties.h (100%)
rename {hw => include/hw}/qdev.h (100%)
rename {hw => include/hw}/s390x/event-facility.h (100%)
rename {hw => include/hw}/s390x/sclp.h (100%)
rename {hw => include/hw/scsi}/esp.h (99%)
rename {hw => include/hw/scsi}/scsi.h (99%)
rename {hw => include/hw}/sd.h (100%)
rename {hw => include/hw/sh4}/sh.h (98%)
rename {hw => include/hw/sh4}/sh_intc.h (100%)
rename {hw => include/hw/sparc}/firmware_abi.h (100%)
rename {hw => include/hw/sparc}/grlib.h (100%)
rename {hw => include/hw/sparc}/sparc32_dma.h (100%)
rename {hw => include/hw/sparc}/sun4m.h (96%)
rename {hw => include/hw}/ssi.h (100%)
rename {hw => include/hw}/stream.h (100%)
rename {hw => include/hw}/sysbus.h (100%)
rename hw/hpet_emul.h => include/hw/timer/hpet.h (100%)
rename {hw => include/hw/timer}/i8254.h (98%)
rename {hw => include/hw/timer}/i8254_internal.h (98%)
rename hw/nvram.h => include/hw/timer/m48t59.h (100%)
rename {hw => include/hw/timer}/mc146818rtc.h (80%)
rename {hw => include/hw/timer}/mc146818rtc_regs.h (100%)
rename {hw => include/hw/unicore32}/puv3.h (100%)
rename {hw => include/hw}/usb.h (100%)
rename {hw => include/hw/virtio}/vhost.h (98%)
rename hw/9pfs/virtio-9p-device.h => include/hw/virtio/virtio-9p.h (100%)
rename {hw => include/hw/virtio}/virtio-balloon.h (98%)
rename {hw => include/hw/virtio}/virtio-blk.h (98%)
rename {hw => include/hw/virtio}/virtio-bus.h (99%)
rename {hw => include/hw/virtio}/virtio-net.h (99%)
rename {hw => include/hw/virtio}/virtio-rng.h (100%)
rename {hw => include/hw/virtio}/virtio-scsi.h (97%)
rename {hw => include/hw/virtio}/virtio-serial.h (99%)
rename {hw => include/hw/virtio}/virtio.h (99%)
rename {hw => include/hw/xen}/xen.h (100%)
rename {hw => include/hw/xen}/xen_backend.h (99%)
rename {hw => include/hw/xen}/xen_common.h (99%)
rename {hw => include/hw}/xilinx.h (100%)
rename {hw => include/net}/vhost_net.h (100%)
rename {hw => include/sysemu}/watchdog.h (100%)arch_init.c +4 -4
@@ -35,15 +35,15 @@#include "qemu/bitmap.h" #include "sysemu/arch_init.h" #include "audio/audio.h" -#include "hw/pc.h" +#include "hw/i386/pc.h" #include "hw/pci/pci.h" -#include "hw/audiodev.h" +#include "hw/audio/audio.h" #include "sysemu/kvm.h" #include "migration/migration.h" #include "exec/gdbstub.h" -#include "hw/smbios.h" +#include "hw/i386/smbios.h" #include "exec/address-spaces.h" -#include "hw/pcspk.h" +#include "hw/audio/pcspk.h" #include "migration/page_cache.h" #include "qemu/config-file.h" #include "qmp-commands.h"
block/iscsi.c +2 -2
@@ -31,14 +31,14 @@#include "qemu/error-report.h" #include "block/block_int.h" #include "trace.h" -#include "hw/scsi-defs.h" +#include "block/scsi.h" #include <iscsi/iscsi.h> #include <iscsi/scsi-lowlevel.h> #ifdef __linux__#include <scsi/sg.h> -#include <hw/scsi-defs.h> +#include <block/scsi.h> #endif typedef struct IscsiLun {
blockdev-nbd.c +1 -1
@@ -10,7 +10,7 @@*/ #include "sysemu/blockdev.h" -#include "hw/block-common.h" +#include "hw/block/block.h" #include "monitor/monitor.h" #include "qapi/qmp/qerror.h" #include "sysemu/sysemu.h"
blockdev.c +1 -1
@@ -31,7 +31,7 @@*/ #include "sysemu/blockdev.h" -#include "hw/block-common.h" +#include "hw/block/block.h" #include "block/blockjob.h" #include "monitor/monitor.h" #include "qapi/qmp/qerror.h"
exec.c +1 -1
@@ -31,7 +31,7 @@#include "hw/qdev.h" #include "qemu/osdep.h" #include "sysemu/kvm.h" -#include "hw/xen.h" +#include "hw/xen/xen.h" #include "qemu/timer.h" #include "qemu/config-file.h" #include "exec/memory.h"
gdbstub.c +1 -1
@@ -1606,7 +1606,7 @@ static int cpu_gdb_write_register(CPUS390XState *env, uint8_t *mem_buf, int n) }#elif defined (TARGET_LM32) -#include "hw/lm32_pic.h" +#include "hw/lm32/lm32_pic.h" #define NUM_CORE_REGS (32 + 7)static int cpu_gdb_read_register (CPULM32State *env,uint8_t *mem_buf,int n)
hw/9pfs/virtio-9p-device.c +2 -2
@@ -11,8 +11,8 @@* */ -#include "hw/virtio.h" -#include "hw/pc.h" +#include "hw/virtio/virtio.h" +#include "hw/i386/pc.h" #include "qemu/sockets.h" #include "virtio-9p.h" #include "fsdev/qemu-fsdev.h"
hw/9pfs/virtio-9p-handle.c +1 -1
@@ -11,7 +11,7 @@* */ -#include "hw/virtio.h" +#include "hw/virtio/virtio.h" #include "virtio-9p.h" #include "virtio-9p-xattr.h" #include <arpa/inet.h>
hw/9pfs/virtio-9p-local.c +1 -1
@@ -11,7 +11,7 @@* */ -#include "hw/virtio.h" +#include "hw/virtio/virtio.h" #include "virtio-9p.h" #include "virtio-9p-xattr.h" #include <arpa/inet.h>
hw/9pfs/virtio-9p-posix-acl.c +1 -1
@@ -13,7 +13,7 @@#include <sys/types.h> #include "qemu/xattr.h" -#include "hw/virtio.h" +#include "hw/virtio/virtio.h" #include "virtio-9p.h" #include "fsdev/file-op-9p.h" #include "virtio-9p-xattr.h"
hw/9pfs/virtio-9p-proxy.c +1 -1
@@ -11,7 +11,7 @@*/ #include <sys/socket.h> #include <sys/un.h> -#include "hw/virtio.h" +#include "hw/virtio/virtio.h" #include "virtio-9p.h" #include "qemu/error-report.h" #include "fsdev/qemu-fsdev.h"
hw/9pfs/virtio-9p-synth.c +1 -1
@@ -12,7 +12,7 @@* */ -#include "hw/virtio.h" +#include "hw/virtio/virtio.h" #include "virtio-9p.h" #include "virtio-9p-xattr.h" #include "fsdev/qemu-fsdev.h"
hw/9pfs/virtio-9p-xattr-user.c +1 -1
@@ -12,7 +12,7 @@*/ #include <sys/types.h> -#include "hw/virtio.h" +#include "hw/virtio/virtio.h" #include "virtio-9p.h" #include "fsdev/file-op-9p.h" #include "virtio-9p-xattr.h"
hw/9pfs/virtio-9p-xattr.c +1 -1
@@ -11,7 +11,7 @@* */ -#include "hw/virtio.h" +#include "hw/virtio/virtio.h" #include "virtio-9p.h" #include "fsdev/file-op-9p.h" #include "virtio-9p-xattr.h"
hw/9pfs/virtio-9p.c +2 -2
@@ -11,8 +11,8 @@* */ -#include "hw/virtio.h" -#include "hw/pc.h" +#include "hw/virtio/virtio.h" +#include "hw/i386/pc.h" #include "qemu/sockets.h" #include "virtio-9p.h" #include "fsdev/qemu-fsdev.h"
hw/9pfs/virtio-9p.h +1 -1
@@ -6,7 +6,7 @@#include <sys/time.h> #include <utime.h> #include <sys/resource.h> -#include "hw/virtio.h" +#include "hw/virtio/virtio.h" #include "fsdev/file-op-9p.h" #include "fsdev/virtio-9p-marshal.h" #include "qemu/thread.h"
hw/ac97.c +1 -1
@@ -18,7 +18,7 @@*/ #include "hw/hw.h" -#include "hw/audiodev.h" +#include "hw/audio/audio.h" #include "audio/audio.h" #include "hw/pci/pci.h" #include "sysemu/dma.h"
hw/acpi.c +2 -2
@@ -20,8 +20,8 @@*/ #include "sysemu/sysemu.h" #include "hw/hw.h" -#include "hw/pc.h" -#include "hw/acpi.h" +#include "hw/i386/pc.h" +#include "hw/acpi/acpi.h" #include "monitor/monitor.h" struct acpi_table_header {
hw/acpi_ich9.c +3 -3
@@ -24,15 +24,15 @@* GNU GPL, version 2 or (at your option) any later version. */ #include "hw/hw.h" -#include "hw/pc.h" +#include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" -#include "hw/acpi.h" +#include "hw/acpi/acpi.h" #include "sysemu/kvm.h" #include "exec/address-spaces.h" -#include "hw/ich9.h" +#include "hw/i386/ich9.h" //#define DEBUG
hw/acpi_piix4.c +5 -5
@@ -19,15 +19,15 @@* GNU GPL, version 2 or (at your option) any later version. */ #include "hw/hw.h" -#include "hw/pc.h" -#include "hw/apm.h" -#include "hw/pm_smbus.h" +#include "hw/i386/pc.h" +#include "hw/isa/apm.h" +#include "hw/i2c/pm_smbus.h" #include "hw/pci/pci.h" -#include "hw/acpi.h" +#include "hw/acpi/acpi.h" #include "sysemu/sysemu.h" #include "qemu/range.h" #include "exec/ioport.h" -#include "hw/fw_cfg.h" +#include "hw/nvram/fw_cfg.h" #include "exec/address-spaces.h" //#define DEBUG
hw/adb.c +1 -1
@@ -22,7 +22,7 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/adb.h" +#include "hw/input/adb.h" #include "ui/console.h" /* debug ADB */
hw/adlib.c +2 -2
@@ -23,9 +23,9 @@*/ #include "hw/hw.h" -#include "hw/audiodev.h" +#include "hw/audio/audio.h" #include "audio/audio.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" //#define DEBUG
hw/alpha/dp264.c +4 -4
@@ -10,12 +10,12 @@#include "elf.h" #include "hw/loader.h" #include "hw/boards.h" -#include "hw/alpha_sys.h" +#include "hw/pci/host-typhoon.h" #include "sysemu/sysemu.h" -#include "hw/mc146818rtc.h" +#include "hw/timer/mc146818rtc.h" #include "hw/ide.h" -#include "hw/i8254.h" -#include "hw/serial.h" +#include "hw/timer/i8254.h" +#include "hw/char/serial.h" #define MAX_IDE_BUS 2
hw/alpha/pci.c +1 -1
@@ -7,7 +7,7 @@*/ #include "config.h" -#include "hw/alpha_sys.h" +#include "hw/pci/host-typhoon.h" #include "qemu/log.h" #include "sysemu/sysemu.h"
hw/alpha_typhoon.c +2 -2
@@ -9,9 +9,9 @@#include "cpu.h" #include "exec/exec-all.h" #include "hw/hw.h" -#include "hw/devices.h" +#include "hw/arm/devices.h" #include "sysemu/sysemu.h" -#include "hw/alpha_sys.h" +#include "hw/pci/host-typhoon.h" #include "exec/address-spaces.h"
hw/apb_pci.c +1 -1
@@ -31,7 +31,7 @@#include "hw/pci/pci_host.h" #include "hw/pci/pci_bridge.h" #include "hw/pci/pci_bus.h" -#include "hw/apb_pci.h" +#include "hw/pci/host-apb.h" #include "sysemu/sysemu.h" #include "exec/address-spaces.h"
hw/apic.c +5 -5
@@ -17,14 +17,14 @@* License along with this library; if not, see <http://www.gnu.org/licenses/> */ #include "qemu/thread.h" -#include "hw/apic_internal.h" -#include "hw/apic.h" -#include "hw/ioapic.h" +#include "hw/i386/apic_internal.h" +#include "hw/i386/apic.h" +#include "hw/i386/ioapic.h" #include "hw/pci/msi.h" #include "qemu/host-utils.h" #include "trace.h" -#include "hw/pc.h" -#include "hw/apic-msidef.h" +#include "hw/i386/pc.h" +#include "hw/i386/apic-msidef.h" #define MAX_APIC_WORDS 8
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 "hw/apic.h" -#include "hw/apic_internal.h" +#include "hw/i386/apic.h" +#include "hw/i386/apic_internal.h" #include "trace.h" #include "sysemu/kvm.h"
hw/apm.c +1 -1
@@ -20,7 +20,7 @@* GNU GPL, version 2 or (at your option) any later version. */ -#include "hw/apm.h" +#include "hw/isa/apm.h" #include "hw/hw.h" #include "hw/pci/pci.h"
hw/applesmc.c +1 -1
@@ -31,7 +31,7 @@*/ #include "hw/hw.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "ui/console.h" #include "qemu/timer.h"
hw/arm/armv7m.c +1 -1
@@ -8,7 +8,7 @@*/ #include "hw/sysbus.h" -#include "hw/arm-misc.h" +#include "hw/arm.h" #include "hw/loader.h" #include "elf.h"
hw/arm/boot.c +1 -1
@@ -9,7 +9,7 @@#include "config.h" #include "hw/hw.h" -#include "hw/arm-misc.h" +#include "hw/arm.h" #include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/loader.h"
hw/arm/collie.c +3 -3
@@ -11,10 +11,10 @@#include "hw/hw.h" #include "hw/sysbus.h" #include "hw/boards.h" -#include "hw/devices.h" +#include "hw/arm/devices.h" #include "hw/strongarm.h" -#include "hw/arm-misc.h" -#include "hw/flash.h" +#include "hw/arm.h" +#include "hw/block/flash.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h"
hw/arm/exynos4210.c +2 -2
@@ -24,9 +24,9 @@#include "hw/boards.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h" -#include "hw/arm-misc.h" +#include "hw/arm.h" #include "hw/loader.h" -#include "hw/exynos4210.h" +#include "hw/arm/exynos4210.h" #include "hw/usb/hcd-ehci.h" #define EXYNOS4210_CHIPID_ADDR 0x10000000
hw/arm/exynos4_boards.c +2 -2
@@ -24,9 +24,9 @@#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "net/net.h" -#include "hw/arm-misc.h" +#include "hw/arm.h" #include "exec/address-spaces.h" -#include "hw/exynos4210.h" +#include "hw/arm/exynos4210.h" #include "hw/boards.h" #undef DEBUG
hw/arm/gumstix.c +3 -3
@@ -35,10 +35,10 @@*/ #include "hw/hw.h" -#include "hw/pxa.h" +#include "hw/arm/pxa.h" #include "net/net.h" -#include "hw/flash.h" -#include "hw/devices.h" +#include "hw/block/flash.h" +#include "hw/arm/devices.h" #include "hw/boards.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h"
hw/arm/highbank.c +2 -2
@@ -18,8 +18,8 @@*/ #include "hw/sysbus.h" -#include "hw/arm-misc.h" -#include "hw/devices.h" +#include "hw/arm.h" +#include "hw/arm/devices.h" #include "hw/loader.h" #include "net/net.h" #include "sysemu/sysemu.h"
hw/arm/integratorcp.c +2 -2
@@ -8,9 +8,9 @@*/ #include "hw/sysbus.h" -#include "hw/devices.h" +#include "hw/arm/devices.h" #include "hw/boards.h" -#include "hw/arm-misc.h" +#include "hw/arm.h" #include "net/net.h" #include "exec/address-spaces.h" #include "sysemu/sysemu.h"
hw/arm/kzm.c +4 -4
@@ -16,13 +16,13 @@#include "hw/sysbus.h" #include "exec/address-spaces.h" #include "hw/hw.h" -#include "hw/arm-misc.h" -#include "hw/devices.h" +#include "hw/arm.h" +#include "hw/arm/devices.h" #include "net/net.h" #include "sysemu/sysemu.h" #include "hw/boards.h" -#include "hw/serial.h" -#include "hw/imx.h" +#include "hw/char/serial.h" +#include "hw/arm/imx.h" /* Memory map for Kzm Emulation Baseboard: * 0x00000000-0x00003fff 16k secure ROM IGNORED
hw/arm/mainstone.c +4 -4
@@ -12,12 +12,12 @@* GNU GPL, version 2 or (at your option) any later version. */ #include "hw/hw.h" -#include "hw/pxa.h" -#include "hw/arm-misc.h" +#include "hw/arm/pxa.h" +#include "hw/arm.h" #include "net/net.h" -#include "hw/devices.h" +#include "hw/arm/devices.h" #include "hw/boards.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "sysemu/blockdev.h" #include "hw/sysbus.h" #include "exec/address-spaces.h"
hw/arm/musicpal.c +5 -5
@@ -10,18 +10,18 @@*/ #include "hw/sysbus.h" -#include "hw/arm-misc.h" -#include "hw/devices.h" +#include "hw/arm.h" +#include "hw/arm/devices.h" #include "net/net.h" #include "sysemu/sysemu.h" #include "hw/boards.h" -#include "hw/serial.h" +#include "hw/char/serial.h" #include "qemu/timer.h" #include "hw/ptimer.h" #include "block/block.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "ui/console.h" -#include "hw/i2c.h" +#include "hw/i2c/i2c.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h" #include "ui/pixel_ops.h"
hw/arm/nseries.c +5 -5
@@ -20,14 +20,14 @@#include "qemu-common.h" #include "sysemu/sysemu.h" -#include "hw/omap.h" -#include "hw/arm-misc.h" +#include "hw/arm/omap.h" +#include "hw/arm.h" #include "hw/irq.h" #include "ui/console.h" #include "hw/boards.h" -#include "hw/i2c.h" -#include "hw/devices.h" -#include "hw/flash.h" +#include "hw/i2c/i2c.h" +#include "hw/arm/devices.h" +#include "hw/block/flash.h" #include "hw/hw.h" #include "hw/bt.h" #include "hw/loader.h"
hw/arm/omap1.c +3 -3
@@ -17,10 +17,10 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "hw/hw.h" -#include "hw/arm-misc.h" -#include "hw/omap.h" +#include "hw/arm.h" +#include "hw/arm/omap.h" #include "sysemu/sysemu.h" -#include "hw/soc_dma.h" +#include "hw/arm/soc_dma.h" #include "sysemu/blockdev.h" #include "qemu/range.h" #include "hw/sysbus.h"
hw/arm/omap2.c +4 -4
@@ -20,13 +20,13 @@#include "sysemu/blockdev.h" #include "hw/hw.h" -#include "hw/arm-misc.h" -#include "hw/omap.h" +#include "hw/arm.h" +#include "hw/arm/omap.h" #include "sysemu/sysemu.h" #include "qemu/timer.h" #include "char/char.h" -#include "hw/flash.h" -#include "hw/soc_dma.h" +#include "hw/block/flash.h" +#include "hw/arm/soc_dma.h" #include "hw/sysbus.h" #include "audio/audio.h"
hw/arm/omap_sx1.c +3 -3
@@ -27,10 +27,10 @@*/ #include "hw/hw.h" #include "ui/console.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" #include "hw/boards.h" -#include "hw/arm-misc.h" -#include "hw/flash.h" +#include "hw/arm.h" +#include "hw/block/flash.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h"
hw/arm/palm.c +3 -3
@@ -20,10 +20,10 @@#include "audio/audio.h" #include "sysemu/sysemu.h" #include "ui/console.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" #include "hw/boards.h" -#include "hw/arm-misc.h" -#include "hw/devices.h" +#include "hw/arm.h" +#include "hw/arm/devices.h" #include "hw/loader.h" #include "exec/address-spaces.h"
hw/arm/pic_cpu.c +1 -1
@@ -8,7 +8,7 @@*/ #include "hw/hw.h" -#include "hw/arm-misc.h" +#include "hw/arm.h" #include "sysemu/kvm.h" /* Input 0 is IRQ and input 1 is FIQ. */
hw/arm/pxa2xx.c +3 -3
@@ -8,10 +8,10 @@*/ #include "hw/sysbus.h" -#include "hw/pxa.h" +#include "hw/arm/pxa.h" #include "sysemu/sysemu.h" -#include "hw/serial.h" -#include "hw/i2c.h" +#include "hw/char/serial.h" +#include "hw/i2c/i2c.h" #include "hw/ssi.h" #include "char/char.h" #include "sysemu/blockdev.h"
hw/arm/pxa2xx_gpio.c +1 -1
@@ -9,7 +9,7 @@#include "hw/hw.h" #include "hw/sysbus.h" -#include "hw/pxa.h" +#include "hw/arm/pxa.h" #define PXA2XX_GPIO_BANKS 4
hw/arm/pxa2xx_pic.c +1 -1
@@ -9,7 +9,7 @@*/ #include "hw/hw.h" -#include "hw/pxa.h" +#include "hw/arm/pxa.h" #include "hw/sysbus.h" #define ICIP 0x00/* Interrupt Controller IRQ Pending register */
hw/arm/realview.c +4 -4
@@ -8,14 +8,14 @@*/ #include "hw/sysbus.h" -#include "hw/arm-misc.h" -#include "hw/primecell.h" -#include "hw/devices.h" +#include "hw/arm.h" +#include "hw/arm/primecell.h" +#include "hw/arm/devices.h" #include "hw/pci/pci.h" #include "net/net.h" #include "sysemu/sysemu.h" #include "hw/boards.h" -#include "hw/i2c.h" +#include "hw/i2c/i2c.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h"
hw/arm/spitz.c +6 -6
@@ -11,16 +11,16 @@*/ #include "hw/hw.h" -#include "hw/pxa.h" -#include "hw/arm-misc.h" +#include "hw/arm/pxa.h" +#include "hw/arm.h" #include "sysemu/sysemu.h" #include "hw/pcmcia.h" -#include "hw/i2c.h" +#include "hw/i2c/i2c.h" #include "hw/ssi.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "qemu/timer.h" -#include "hw/devices.h" -#include "hw/sharpsl.h" +#include "hw/arm/devices.h" +#include "hw/arm/sharpsl.h" #include "ui/console.h" #include "block/block.h" #include "audio/audio.h"
hw/arm/stellaris.c +3 -3
@@ -9,10 +9,10 @@#include "hw/sysbus.h" #include "hw/ssi.h" -#include "hw/arm-misc.h" -#include "hw/devices.h" +#include "hw/arm.h" +#include "hw/arm/devices.h" #include "qemu/timer.h" -#include "hw/i2c.h" +#include "hw/i2c/i2c.h" #include "net/net.h" #include "hw/boards.h" #include "exec/address-spaces.h"
hw/arm/tosa.c +5 -5
@@ -12,14 +12,14 @@*/ #include "hw/hw.h" -#include "hw/pxa.h" -#include "hw/arm-misc.h" -#include "hw/devices.h" -#include "hw/sharpsl.h" +#include "hw/arm/pxa.h" +#include "hw/arm.h" +#include "hw/arm/devices.h" +#include "hw/arm/sharpsl.h" #include "hw/pcmcia.h" #include "block/block.h" #include "hw/boards.h" -#include "hw/i2c.h" +#include "hw/i2c/i2c.h" #include "hw/ssi.h" #include "sysemu/blockdev.h" #include "hw/sysbus.h"
hw/arm/versatilepb.c +4 -4
@@ -8,16 +8,16 @@*/ #include "hw/sysbus.h" -#include "hw/arm-misc.h" -#include "hw/devices.h" +#include "hw/arm.h" +#include "hw/arm/devices.h" #include "net/net.h" #include "sysemu/sysemu.h" #include "hw/pci/pci.h" -#include "hw/i2c.h" +#include "hw/i2c/i2c.h" #include "hw/boards.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #define VERSATILE_FLASH_ADDR 0x34000000#define VERSATILE_FLASH_SIZE (64 * 1024 * 1024)
hw/arm/vexpress.c +4 -4
@@ -22,15 +22,15 @@*/ #include "hw/sysbus.h" -#include "hw/arm-misc.h" -#include "hw/primecell.h" -#include "hw/devices.h" +#include "hw/arm.h" +#include "hw/arm/primecell.h" +#include "hw/arm/devices.h" #include "net/net.h" #include "sysemu/sysemu.h" #include "hw/boards.h" #include "exec/address-spaces.h" #include "sysemu/blockdev.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #define VEXPRESS_BOARD_ID 0x8e0#define VEXPRESS_FLASH_SIZE (64 * 1024 * 1024)
hw/arm/xilinx_zynq.c +2 -2
@@ -16,12 +16,12 @@*/ #include "hw/sysbus.h" -#include "hw/arm-misc.h" +#include "hw/arm.h" #include "net/net.h" #include "exec/address-spaces.h" #include "sysemu/sysemu.h" #include "hw/boards.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "sysemu/blockdev.h" #include "hw/loader.h" #include "hw/ssi.h"
hw/arm/z2.c +5 -5
@@ -12,14 +12,14 @@*/ #include "hw/hw.h" -#include "hw/pxa.h" -#include "hw/arm-misc.h" -#include "hw/devices.h" -#include "hw/i2c.h" +#include "hw/arm/pxa.h" +#include "hw/arm.h" +#include "hw/arm/devices.h" +#include "hw/i2c/i2c.h" #include "hw/ssi.h" #include "hw/boards.h" #include "sysemu/sysemu.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "sysemu/blockdev.h" #include "ui/console.h" #include "audio/audio.h"
hw/arm_sysctl.c +1 -1
@@ -11,7 +11,7 @@#include "qemu/timer.h" #include "qemu/bitops.h" #include "hw/sysbus.h" -#include "hw/primecell.h" +#include "hw/arm/primecell.h" #include "sysemu/sysemu.h" #define LOCK_VALUE 0xa05f
hw/armv7m_nvic.c +1 -1
@@ -12,7 +12,7 @@#include "hw/sysbus.h" #include "qemu/timer.h" -#include "hw/arm-misc.h" +#include "hw/arm.h" #include "exec/address-spaces.h" #include "hw/arm_gic_internal.h"
hw/bitbang_i2c.h +1 -1
@@ -1,7 +1,7 @@#ifndef BITBANG_I2C_H #define BITBANG_I2C_H -#include "hw/i2c.h" +#include "hw/i2c/i2c.h" typedef struct bitbang_i2c_interface bitbang_i2c_interface ;
hw/blizzard.c +1 -1
@@ -20,7 +20,7 @@#include "qemu-common.h" #include "ui/console.h" -#include "hw/devices.h" +#include "hw/arm/devices.h" #include "hw/vga_int.h" #include "ui/pixel_ops.h"
hw/block-common.c +1 -1
@@ -8,7 +8,7 @@*/ #include "sysemu/blockdev.h" -#include "hw/block-common.h" +#include "hw/block/block.h" #include "qemu/error-report.h" void blkconf_serial (BlockConf *conf,char **serial)
hw/bonito.c +2 -2
@@ -41,8 +41,8 @@#include "hw/hw.h" #include "hw/pci/pci.h" -#include "hw/pc.h" -#include "hw/mips.h" +#include "hw/i386/pc.h" +#include "hw/mips/mips.h" #include "hw/pci/pci_host.h" #include "sysemu/sysemu.h" #include "exec/address-spaces.h"
hw/bt-hid.c +1 -1
@@ -21,7 +21,7 @@#include "qemu-common.h" #include "qemu/timer.h" #include "ui/console.h" -#include "hw/hid.h" +#include "hw/input/hid.h" #include "hw/bt.h" enum hid_transaction_req {
hw/cbus.c +1 -1
@@ -22,7 +22,7 @@#include "qemu-common.h" #include "hw/irq.h" -#include "hw/devices.h" +#include "hw/arm/devices.h" #include "sysemu/sysemu.h" //#define DEBUG
hw/cdrom.c +1 -1
@@ -26,7 +26,7 @@here. */ #include "qemu-common.h" -#include "hw/scsi.h" +#include "hw/scsi/scsi.h" static void lba_to_msf (uint8_t *buf,int lba) {
hw/cris/axis_dev88.c +2 -2
@@ -24,9 +24,9 @@#include "hw/sysbus.h" #include "net/net.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "hw/boards.h" -#include "hw/etraxfs.h" +#include "hw/cris/etraxfs.h" #include "hw/loader.h" #include "elf.h" #include "hw/cris-boot.h"
hw/cris/pic_cpu.c +1 -1
@@ -24,7 +24,7 @@#include "hw/sysbus.h" #include "hw/hw.h" -#include "hw/etraxfs.h" +#include "hw/cris/etraxfs.h" #define D (x)
hw/cs4231a.c +2 -2
@@ -22,9 +22,9 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/audiodev.h" +#include "hw/audio/audio.h" #include "audio/audio.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "hw/qdev.h" #include "qemu/timer.h"
hw/cuda.c +1 -1
@@ -24,7 +24,7 @@*/ #include "hw/hw.h" #include "hw/ppc/mac.h" -#include "hw/adb.h" +#include "hw/input/adb.h" #include "qemu/timer.h" #include "sysemu/sysemu.h"
hw/dataplane/virtio-blk.c +2 -2
@@ -20,8 +20,8 @@#include "ioq.h" #include "migration/migration.h" #include "block/block.h" -#include "hw/virtio-blk.h" -#include "hw/dataplane/virtio-blk.h" +#include "hw/virtio/virtio-blk.h" +#include "virtio-blk.h" #include "block/aio.h" enum {
hw/dataplane/virtio-blk.h +1 -1
@@ -15,7 +15,7 @@#ifndef HW_DATAPLANE_VIRTIO_BLK_H #define HW_DATAPLANE_VIRTIO_BLK_H -#include "hw/virtio.h" +#include "hw/virtio/virtio.h" typedef struct VirtIOBlockDataPlane VirtIOBlockDataPlane ;
hw/dataplane/vring.h +1 -1
@@ -20,7 +20,7 @@#include <linux/virtio_ring.h> #include "qemu-common.h" #include "hostmem.h" -#include "hw/virtio.h" +#include "hw/virtio/virtio.h" typedef struct { HostMem hostmem; /* guest memory mapper */
hw/debugcon.c +2 -2
@@ -26,8 +26,8 @@#include "hw/hw.h" #include "char/char.h" -#include "hw/isa.h" -#include "hw/pc.h" +#include "hw/isa/isa.h" +#include "hw/i386/pc.h" #define TYPE_ISA_DEBUGCON_DEVICE "isa-debugcon"#define ISA_DEBUGCON_DEVICE (obj) \
hw/debugexit.c +1 -1
@@ -8,7 +8,7 @@*/ #include "hw/hw.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #define TYPE_ISA_DEBUG_EXIT_DEVICE "isa-debug-exit"#define ISA_DEBUG_EXIT_DEVICE (obj) \
hw/dma.c +1 -1
@@ -22,7 +22,7 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "qemu/main-loop.h" /* #define DEBUG_DMA */
hw/dp8393x.c +1 -1
@@ -20,7 +20,7 @@#include "hw/hw.h" #include "qemu/timer.h" #include "net/net.h" -#include "hw/mips.h" +#include "hw/mips/mips.h" //#define DEBUG_SONIC
hw/ds1338.c +1 -1
@@ -10,7 +10,7 @@* GNU GPL, version 2 or (at your option) any later version. */ -#include "hw/i2c.h" +#include "hw/i2c/i2c.h" /* Size of NVRAM including both the user-accessible area and the * secondary register area.
hw/ecc.c +1 -1
@@ -12,7 +12,7 @@*/ #include "hw/hw.h" -#include "hw/flash.h" +#include "hw/block/flash.h" /* * Pre-calculated 256-way 1 byte column parity. Table borrowed from Linux.
hw/eepro100.c +1 -1
@@ -44,7 +44,7 @@#include "hw/hw.h" #include "hw/pci/pci.h" #include "net/net.h" -#include "hw/eeprom93xx.h" +#include "hw/nvram/eeprom93xx.h" #include "sysemu/sysemu.h" #include "sysemu/dma.h"
hw/eeprom93xx.c +1 -1
@@ -36,7 +36,7 @@*/ #include "hw/hw.h" -#include "hw/eeprom93xx.h" +#include "hw/nvram/eeprom93xx.h" /* Debug EEPROM emulation. */ //~ #define DEBUG_EEPROM
hw/es1370.c +1 -1
@@ -27,7 +27,7 @@#define SILENT_ES1370 #include "hw/hw.h" -#include "hw/audiodev.h" +#include "hw/audio/audio.h" #include "audio/audio.h" #include "hw/pci/pci.h" #include "sysemu/dma.h"
hw/escc.c +1 -1
@@ -24,7 +24,7 @@#include "hw/hw.h" #include "hw/sysbus.h" -#include "hw/escc.h" +#include "hw/char/escc.h" #include "char/char.h" #include "ui/console.h" #include "trace.h"
hw/esp-pci.c +2 -2
@@ -24,8 +24,8 @@*/ #include "hw/pci/pci.h" -#include "hw/eeprom93xx.h" -#include "hw/esp.h" +#include "hw/nvram/eeprom93xx.h" +#include "hw/scsi/esp.h" #include "trace.h" #include "qemu/log.h"
hw/esp.c +1 -1
@@ -24,7 +24,7 @@*/ #include "hw/sysbus.h" -#include "hw/esp.h" +#include "hw/scsi/esp.h" #include "trace.h" #include "qemu/log.h"
hw/etraxfs_dma.c +1 -1
@@ -28,7 +28,7 @@#include "qemu-common.h" #include "sysemu/sysemu.h" -#include "hw/etraxfs_dma.h" +#include "hw/cris/etraxfs_dma.h" #define D (x)
hw/etraxfs_eth.c +1 -1
@@ -25,7 +25,7 @@#include <stdio.h> #include "hw/sysbus.h" #include "net/net.h" -#include "hw/etraxfs.h" +#include "hw/cris/etraxfs.h" #define D (x)
hw/exynos4210_combiner.c +1 -1
@@ -29,7 +29,7 @@#include "hw/sysbus.h" -#include "hw/exynos4210.h" +#include "hw/arm/exynos4210.h" //#define DEBUG_COMBINER
hw/exynos4210_gic.c +1 -1
@@ -23,7 +23,7 @@#include "hw/sysbus.h" #include "qemu-common.h" #include "hw/irq.h" -#include "hw/exynos4210.h" +#include "hw/arm/exynos4210.h" enum ExtGicId {EXT_GIC_ID_MDMA_LCD0 =66 ,
hw/exynos4210_i2c.c +1 -1
@@ -22,7 +22,7 @@#include "qemu/timer.h" #include "hw/sysbus.h" -#include "hw/i2c.h" +#include "hw/i2c/i2c.h" #ifndef EXYNOS4_I2C_DEBUG #define EXYNOS4_I2C_DEBUG 0
hw/exynos4210_mct.c +1 -1
@@ -57,7 +57,7 @@#include "qemu-common.h" #include "hw/ptimer.h" -#include "hw/exynos4210.h" +#include "hw/arm/exynos4210.h" //#define DEBUG_MCT
hw/exynos4210_pwm.c +1 -1
@@ -25,7 +25,7 @@#include "qemu-common.h" #include "hw/ptimer.h" -#include "hw/exynos4210.h" +#include "hw/arm/exynos4210.h" //#define DEBUG_PWM
hw/exynos4210_rtc.c +1 -1
@@ -34,7 +34,7 @@#include "qemu/timer.h" #include "sysemu/sysemu.h" -#include "hw/exynos4210.h" +#include "hw/arm/exynos4210.h" #define DEBUG_RTC 0
hw/exynos4210_uart.c +1 -1
@@ -23,7 +23,7 @@#include "sysemu/sysemu.h" #include "char/char.h" -#include "hw/exynos4210.h" +#include "hw/arm/exynos4210.h" #undef DEBUG_UART#undef DEBUG_UART_EXTEND
hw/fdc.c +2 -2
@@ -28,10 +28,10 @@*/ #include "hw/hw.h" -#include "hw/fdc.h" +#include "hw/block/fdc.h" #include "qemu/error-report.h" #include "qemu/timer.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "hw/sysbus.h" #include "hw/qdev-addr.h" #include "sysemu/blockdev.h"
hw/fw_cfg.c +2 -2
@@ -23,8 +23,8 @@*/ #include "hw/hw.h" #include "sysemu/sysemu.h" -#include "hw/isa.h" -#include "hw/fw_cfg.h" +#include "hw/isa/isa.h" +#include "hw/nvram/fw_cfg.h" #include "hw/sysbus.h" #include "trace.h" #include "qemu/error-report.h"
hw/grlib_irqmp.c +1 -1
@@ -27,7 +27,7 @@#include "hw/sysbus.h" #include "cpu.h" -#include "hw/grlib.h" +#include "hw/sparc/grlib.h" #include "trace.h"
hw/gt64xxx.c +2 -2
@@ -23,10 +23,10 @@*/ #include "hw/hw.h" -#include "hw/mips.h" +#include "hw/mips/mips.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" -#include "hw/pc.h" +#include "hw/i386/pc.h" #include "exec/address-spaces.h" //#define DEBUG
hw/gus.c +2 -2
@@ -22,9 +22,9 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/audiodev.h" +#include "hw/audio/audio.h" #include "audio/audio.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "hw/gusemu.h" #include "hw/gustate.h"
hw/hd-geometry.c +1 -1
@@ -31,7 +31,7 @@*/ #include "block/block.h" -#include "hw/block-common.h" +#include "hw/block/block.h" #include "trace.h" struct partition {
hw/hid.c +1 -1
@@ -25,7 +25,7 @@#include "hw/hw.h" #include "ui/console.h" #include "qemu/timer.h" -#include "hw/hid.h" +#include "hw/input/hid.h" #define HID_USAGE_ERROR_ROLLOVER 0x01#define HID_USAGE_POSTFAIL 0x02
hw/hpet.c +4 -4
@@ -25,13 +25,13 @@*/ #include "hw/hw.h" -#include "hw/pc.h" +#include "hw/i386/pc.h" #include "ui/console.h" #include "qemu/timer.h" -#include "hw/hpet_emul.h" +#include "hw/timer/hpet.h" #include "hw/sysbus.h" -#include "hw/mc146818rtc.h" -#include "hw/i8254.h" +#include "hw/timer/mc146818rtc.h" +#include "hw/timer/i8254.h" //#define HPET_DEBUG #ifdef HPET_DEBUG
hw/i2c.c +1 -1
@@ -7,7 +7,7 @@* This code is licensed under the LGPL. */ -#include "hw/i2c.h" +#include "hw/i2c/i2c.h" struct i2c_bus {
hw/i386/kvmvapic.c +1 -1
@@ -11,7 +11,7 @@#include "sysemu/sysemu.h" #include "sysemu/cpus.h" #include "sysemu/kvm.h" -#include "hw/apic_internal.h" +#include "hw/i386/apic_internal.h" #define APIC_DEFAULT_ADDRESS 0xfee00000
hw/i386/multiboot.c +1 -1
@@ -23,7 +23,7 @@*/ #include "hw/hw.h" -#include "hw/fw_cfg.h" +#include "hw/nvram/fw_cfg.h" #include "hw/multiboot.h" #include "hw/loader.h" #include "elf.h"
hw/i386/pc.c +12 -12
@@ -22,30 +22,30 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/pc.h" -#include "hw/serial.h" -#include "hw/apic.h" -#include "hw/fdc.h" +#include "hw/i386/pc.h" +#include "hw/char/serial.h" +#include "hw/i386/apic.h" +#include "hw/block/fdc.h" #include "hw/ide.h" #include "hw/pci/pci.h" #include "monitor/monitor.h" -#include "hw/fw_cfg.h" -#include "hw/hpet_emul.h" -#include "hw/smbios.h" +#include "hw/nvram/fw_cfg.h" +#include "hw/timer/hpet.h" +#include "hw/i386/smbios.h" #include "hw/loader.h" #include "elf.h" #include "hw/multiboot.h" -#include "hw/mc146818rtc.h" -#include "hw/i8254.h" -#include "hw/pcspk.h" +#include "hw/timer/mc146818rtc.h" +#include "hw/timer/i8254.h" +#include "hw/audio/pcspk.h" #include "hw/pci/msi.h" #include "hw/sysbus.h" #include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "kvm_i386.h" -#include "hw/xen.h" +#include "hw/xen/xen.h" #include "sysemu/blockdev.h" -#include "hw/block-common.h" +#include "hw/block/block.h" #include "ui/qemu-spice.h" #include "exec/memory.h" #include "exec/address-spaces.h"
hw/i386/pc_piix.c +4 -4
@@ -25,8 +25,8 @@#include <glib.h> #include "hw/hw.h" -#include "hw/pc.h" -#include "hw/apic.h" +#include "hw/i386/pc.h" +#include "hw/i386/apic.h" #include "hw/pci/pci.h" #include "hw/pci/pci_ids.h" #include "hw/usb.h"
@@ -39,8 +39,8 @@#include "hw/sysbus.h" #include "sysemu/arch_init.h" #include "sysemu/blockdev.h" -#include "hw/smbus.h" -#include "hw/xen.h" +#include "hw/i2c/smbus.h" +#include "hw/xen/xen.h" #include "exec/memory.h" #include "exec/address-spaces.h" #include "cpu.h"
hw/i386/pc_q35.c +5 -5
@@ -29,15 +29,15 @@*/ #include "hw/hw.h" #include "sysemu/arch_init.h" -#include "hw/smbus.h" +#include "hw/i2c/smbus.h" #include "hw/boards.h" -#include "hw/mc146818rtc.h" -#include "hw/xen.h" +#include "hw/timer/mc146818rtc.h" +#include "hw/xen/xen.h" #include "sysemu/kvm.h" #include "hw/kvm/clock.h" -#include "hw/q35.h" +#include "hw/pci/host-q35.h" #include "exec/address-spaces.h" -#include "hw/ich9.h" +#include "hw/i386/ich9.h" #include "hw/ide/pci.h" #include "hw/ide/ahci.h" #include "hw/usb.h"
hw/i386/smbios.c +1 -1
@@ -14,7 +14,7 @@*/ #include "sysemu/sysemu.h" -#include "hw/smbios.h" +#include "hw/i386/smbios.h" #include "hw/loader.h" /*
hw/i386/xen_domainbuild.c +1 -1
@@ -1,5 +1,5 @@#include <signal.h> -#include "hw/xen_backend.h" +#include "hw/xen/xen_backend.h" #include "hw/xen_domainbuild.h" #include "qemu/timer.h" #include "qemu/log.h"
hw/i386/xen_machine_pv.c +2 -2
@@ -23,9 +23,9 @@*/ #include "hw/hw.h" -#include "hw/pc.h" +#include "hw/i386/pc.h" #include "hw/boards.h" -#include "hw/xen_backend.h" +#include "hw/xen/xen_backend.h" #include "hw/xen_domainbuild.h" #include "sysemu/blockdev.h"
hw/i82374.c +1 -1
@@ -22,7 +22,7 @@* THE SOFTWARE. */ -#include "hw/isa.h" +#include "hw/isa/isa.h" //#define DEBUG_I82374
hw/i82378.c +3 -3
@@ -18,9 +18,9 @@*/ #include "hw/pci/pci.h" -#include "hw/pc.h" -#include "hw/i8254.h" -#include "hw/pcspk.h" +#include "hw/i386/pc.h" +#include "hw/timer/i8254.h" +#include "hw/audio/pcspk.h" //#define DEBUG_I82378
hw/i8254.c +4 -4
@@ -22,11 +22,11 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/pc.h" -#include "hw/isa.h" +#include "hw/i386/pc.h" +#include "hw/isa/isa.h" #include "qemu/timer.h" -#include "hw/i8254.h" -#include "hw/i8254_internal.h" +#include "hw/timer/i8254.h" +#include "hw/timer/i8254_internal.h" //#define DEBUG_PIT
hw/i8254_common.c +4 -4
@@ -23,11 +23,11 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/pc.h" -#include "hw/isa.h" +#include "hw/i386/pc.h" +#include "hw/isa/isa.h" #include "qemu/timer.h" -#include "hw/i8254.h" -#include "hw/i8254_internal.h" +#include "hw/timer/i8254.h" +#include "hw/timer/i8254_internal.h" /* val must be 0 or 1 */ void pit_set_gate (ISADevice *dev,int channel,int val)
hw/i8259.c +3 -3
@@ -22,11 +22,11 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/pc.h" -#include "hw/isa.h" +#include "hw/i386/pc.h" +#include "hw/isa/isa.h" #include "monitor/monitor.h" #include "qemu/timer.h" -#include "hw/i8259_internal.h" +#include "hw/isa/i8259_internal.h" /* debug PIC */ //#define DEBUG_PIC
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 "hw/pc.h" -#include "hw/i8259_internal.h" +#include "hw/i386/pc.h" +#include "hw/isa/i8259_internal.h" void pic_reset_common (PICCommonState *s) {
hw/i82801b11.c +1 -1
@@ -42,7 +42,7 @@*/ #include "hw/pci/pci.h" -#include "hw/ich9.h" +#include "hw/i386/ich9.h" /*****************************************************************************/
hw/ide/ahci.c +1 -1
@@ -23,7 +23,7 @@#include <hw/hw.h> #include <hw/pci/msi.h> -#include <hw/pc.h> +#include <hw/i386/pc.h> #include <hw/pci/pci.h> #include <hw/sysbus.h>
hw/ide/atapi.c +1 -1
@@ -24,7 +24,7 @@*/ #include "hw/ide/internal.h" -#include "hw/scsi.h" +#include "hw/scsi/scsi.h" static void ide_atapi_cmd_read_dma_cb (void *opaque,int ret);
hw/ide/cmd646.c +2 -2
@@ -23,9 +23,9 @@* THE SOFTWARE. */ #include <hw/hw.h> -#include <hw/pc.h> +#include <hw/i386/pc.h> #include <hw/pci/pci.h> -#include <hw/isa.h> +#include <hw/isa/isa.h> #include "block/block.h" #include "sysemu/sysemu.h" #include "sysemu/dma.h"
hw/ide/core.c +3 -3
@@ -23,14 +23,14 @@* THE SOFTWARE. */ #include <hw/hw.h> -#include <hw/pc.h> +#include <hw/i386/pc.h> #include <hw/pci/pci.h> -#include <hw/isa.h> +#include <hw/isa/isa.h> #include "qemu/error-report.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" #include "sysemu/dma.h" -#include "hw/block-common.h" +#include "hw/block/block.h" #include "sysemu/blockdev.h" #include <hw/ide/internal.h>
hw/ide/ich.c +2 -2
@@ -62,9 +62,9 @@#include <hw/hw.h> #include <hw/pci/msi.h> -#include <hw/pc.h> +#include <hw/i386/pc.h> #include <hw/pci/pci.h> -#include <hw/isa.h> +#include <hw/isa/isa.h> #include "block/block.h" #include "sysemu/dma.h"
hw/ide/internal.h +3 -3
@@ -7,12 +7,12 @@* non-internal declarations are in hw/ide.h */ #include <hw/ide.h> -#include <hw/isa.h> +#include <hw/isa/isa.h> #include "exec/iorange.h" #include "sysemu/dma.h" #include "sysemu/sysemu.h" -#include "hw/block-common.h" -#include "hw/scsi-defs.h" +#include "hw/block/block.h" +#include "block/scsi.h" /* debug IDE devices */ //#define DEBUG_IDE
hw/ide/isa.c +2 -2
@@ -23,8 +23,8 @@* THE SOFTWARE. */ #include <hw/hw.h> -#include <hw/pc.h> -#include <hw/isa.h> +#include <hw/i386/pc.h> +#include <hw/isa/isa.h> #include "block/block.h" #include "sysemu/dma.h"
hw/ide/macio.c +1 -1
@@ -24,7 +24,7 @@*/ #include "hw/hw.h" #include "hw/ppc/mac.h" -#include "hw/mac_dbdma.h" +#include "hw/ppc/mac_dbdma.h" #include "block/block.h" #include "sysemu/dma.h"
hw/ide/microdrive.c +1 -1
@@ -23,7 +23,7 @@* THE SOFTWARE. */ #include <hw/hw.h> -#include <hw/pc.h> +#include <hw/i386/pc.h> #include <hw/pcmcia.h> #include "block/block.h" #include "sysemu/dma.h"
hw/ide/pci.c +2 -2
@@ -23,9 +23,9 @@* THE SOFTWARE. */ #include <hw/hw.h> -#include <hw/pc.h> +#include <hw/i386/pc.h> #include <hw/pci/pci.h> -#include <hw/isa.h> +#include <hw/isa/isa.h> #include "block/block.h" #include "sysemu/dma.h"
hw/ide/piix.c +2 -2
@@ -24,9 +24,9 @@*/ #include <hw/hw.h> -#include <hw/pc.h> +#include <hw/i386/pc.h> #include <hw/pci/pci.h> -#include <hw/isa.h> +#include <hw/isa/isa.h> #include "sysemu/blockdev.h" #include "sysemu/sysemu.h" #include "sysemu/dma.h"
hw/ide/qdev.c +1 -1
@@ -21,7 +21,7 @@#include "qemu/error-report.h" #include <hw/ide/internal.h> #include "sysemu/blockdev.h" -#include "hw/block-common.h" +#include "hw/block/block.h" #include "sysemu/sysemu.h" /* --------------------------------- */
hw/ide/via.c +2 -2
@@ -24,9 +24,9 @@* THE SOFTWARE. */ #include <hw/hw.h> -#include <hw/pc.h> +#include <hw/i386/pc.h> #include <hw/pci/pci.h> -#include <hw/isa.h> +#include <hw/isa/isa.h> #include "block/block.h" #include "sysemu/sysemu.h" #include "sysemu/dma.h"
hw/imx_ccm.c +1 -1
@@ -13,7 +13,7 @@#include "hw/hw.h" #include "hw/sysbus.h" #include "sysemu/sysemu.h" -#include "hw/imx.h" +#include "hw/arm/imx.h" #define CKIH_FREQ 26000000/* 26MHz crystal input */ #define CKIL_FREQ 32768/* nominal 32khz clock */
hw/imx_serial.c +1 -1
@@ -21,7 +21,7 @@#include "hw/sysbus.h" #include "sysemu/sysemu.h" #include "char/char.h" -#include "hw/imx.h" +#include "hw/arm/imx.h" //#define DEBUG_SERIAL 1 #ifdef DEBUG_SERIAL
hw/imx_timer.c +1 -1
@@ -15,7 +15,7 @@#include "qemu/timer.h" #include "hw/ptimer.h" #include "hw/sysbus.h" -#include "hw/imx.h" +#include "hw/arm/imx.h" //#define DEBUG_TIMER 1 #ifdef DEBUG_TIMER
hw/intel-hda.c +1 -1
@@ -21,7 +21,7 @@#include "hw/pci/pci.h" #include "hw/pci/msi.h" #include "qemu/timer.h" -#include "hw/audiodev.h" +#include "hw/audio/audio.h" #include "hw/intel-hda.h" #include "hw/intel-hda-defs.h" #include "sysemu/dma.h"
hw/ioapic.c +4 -4
@@ -21,10 +21,10 @@*/ #include "hw/hw.h" -#include "hw/pc.h" -#include "hw/apic.h" -#include "hw/ioapic.h" -#include "hw/ioapic_internal.h" +#include "hw/i386/pc.h" +#include "hw/i386/apic.h" +#include "hw/i386/ioapic.h" +#include "hw/i386/ioapic_internal.h" //#define DEBUG_IOAPIC
hw/ioapic_common.c +2 -2
@@ -19,8 +19,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include "hw/ioapic.h" -#include "hw/ioapic_internal.h" +#include "hw/i386/ioapic.h" +#include "hw/i386/ioapic_internal.h" #include "hw/sysbus.h" void ioapic_reset_common (DeviceState *dev)
hw/isa-bus.c +1 -1
@@ -20,7 +20,7 @@#include "monitor/monitor.h" #include "hw/sysbus.h" #include "sysemu/sysemu.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "exec/address-spaces.h" static ISABus *isabus;
hw/isa_mmio.c +1 -1
@@ -23,7 +23,7 @@*/ #include "hw/hw.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "exec/address-spaces.h" static void isa_mmio_writeb (void *opaque, hwaddr addr,
hw/ivshmem.c +1 -1
@@ -17,7 +17,7 @@* GNU GPL, version 2 or (at your option) any later version. */ #include "hw/hw.h" -#include "hw/pc.h" +#include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "hw/pci/msix.h" #include "sysemu/kvm.h"
hw/kvm/apic.c +1 -1
@@ -9,7 +9,7 @@* This work is licensed under the terms of the GNU GPL version 2. * See the COPYING file in the top-level directory. */ -#include "hw/apic_internal.h" +#include "hw/i386/apic_internal.h" #include "hw/pci/msi.h" #include "sysemu/kvm.h"
hw/kvm/i8254.c +2 -2
@@ -24,8 +24,8 @@*/ #include "qemu/timer.h" #include "sysemu/sysemu.h" -#include "hw/i8254.h" -#include "hw/i8254_internal.h" +#include "hw/timer/i8254.h" +#include "hw/timer/i8254_internal.h" #include "sysemu/kvm.h" #define KVM_PIT_REINJECT_BIT 0
hw/kvm/i8259.c +2 -2
@@ -9,8 +9,8 @@* This work is licensed under the terms of the GNU GPL version 2. * See the COPYING file in the top-level directory. */ -#include "hw/i8259_internal.h" -#include "hw/apic_internal.h" +#include "hw/isa/i8259_internal.h" +#include "hw/i386/apic_internal.h" #include "sysemu/kvm.h" static void kvm_pic_get (PICCommonState *s)
hw/kvm/ioapic.c +3 -3
@@ -10,9 +10,9 @@* See the COPYING file in the top-level directory. */ -#include "hw/pc.h" -#include "hw/ioapic_internal.h" -#include "hw/apic_internal.h" +#include "hw/i386/pc.h" +#include "hw/i386/ioapic_internal.h" +#include "hw/i386/apic_internal.h" #include "sysemu/kvm.h" /* PC Utility function */
hw/kvm/pci-assign.c +1 -1
@@ -27,7 +27,7 @@#include <sys/types.h> #include <sys/stat.h> #include "hw/hw.h" -#include "hw/pc.h" +#include "hw/i386/pc.h" #include "qemu/error-report.h" #include "ui/console.h" #include "hw/loader.h"
hw/lan9118.c +1 -1
@@ -12,7 +12,7 @@#include "hw/sysbus.h" #include "net/net.h" -#include "hw/devices.h" +#include "hw/arm/devices.h" #include "sysemu/sysemu.h" #include "hw/ptimer.h" /* For crc32 */
hw/lance.c +1 -1
@@ -39,7 +39,7 @@#include "net/net.h" #include "qemu/timer.h" #include "qemu/sockets.h" -#include "hw/sun4m.h" +#include "hw/sparc/sun4m.h" #include "hw/pcnet.h" #include "trace.h"
hw/lm32/lm32_boards.c +2 -2
@@ -19,8 +19,8 @@#include "hw/sysbus.h" #include "hw/hw.h" -#include "hw/flash.h" -#include "hw/devices.h" +#include "hw/block/flash.h" +#include "hw/arm/devices.h" #include "hw/boards.h" #include "hw/loader.h" #include "sysemu/blockdev.h"
hw/lm32/milkymist.c +2 -2
@@ -19,9 +19,9 @@#include "hw/sysbus.h" #include "hw/hw.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "sysemu/sysemu.h" -#include "hw/devices.h" +#include "hw/arm/devices.h" #include "hw/boards.h" #include "hw/loader.h" #include "elf.h"
hw/lm32_juart.c +1 -1
@@ -22,7 +22,7 @@#include "trace.h" #include "char/char.h" -#include "hw/lm32_juart.h" +#include "hw/lm32/lm32_juart.h" enum {LM32_JUART_MIN_SAVE_VERSION =0 ,
hw/lm32_pic.c +2 -2
@@ -20,11 +20,11 @@#include <assert.h> #include "hw/hw.h" -#include "hw/pc.h" +#include "hw/i386/pc.h" #include "monitor/monitor.h" #include "hw/sysbus.h" #include "trace.h" -#include "hw/lm32_pic.h" +#include "hw/lm32/lm32_pic.h" struct LM32PicState {SysBusDevice busdev;
hw/lm832x.c +1 -1
@@ -19,7 +19,7 @@*/ #include "hw/hw.h" -#include "hw/i2c.h" +#include "hw/i2c/i2c.h" #include "qemu/timer.h" #include "ui/console.h"
hw/loader.c +1 -1
@@ -48,7 +48,7 @@#include "sysemu/sysemu.h" #include "hw/uboot_image.h" #include "hw/loader.h" -#include "hw/fw_cfg.h" +#include "hw/nvram/fw_cfg.h" #include "exec/memory.h" #include "exec/address-spaces.h"
hw/lpc_ich9.c +8 -8
@@ -30,18 +30,18 @@#include "qemu-common.h" #include "hw/hw.h" #include "qemu/range.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "hw/sysbus.h" -#include "hw/pc.h" -#include "hw/apm.h" -#include "hw/ioapic.h" +#include "hw/i386/pc.h" +#include "hw/isa/apm.h" +#include "hw/i386/ioapic.h" #include "hw/pci/pci.h" #include "hw/pci/pcie_host.h" #include "hw/pci/pci_bridge.h" -#include "hw/ich9.h" -#include "hw/acpi.h" -#include "hw/acpi_ich9.h" -#include "hw/pam.h" +#include "hw/i386/ich9.h" +#include "hw/acpi/acpi.h" +#include "hw/acpi/ich9.h" +#include "hw/pci/pam.h" #include "hw/pci/pci_bus.h" #include "exec/address-spaces.h" #include "sysemu/sysemu.h"
hw/lsi53c895a.c +1 -1
@@ -14,7 +14,7 @@#include "hw/hw.h" #include "hw/pci/pci.h" -#include "hw/scsi.h" +#include "hw/scsi/scsi.h" #include "sysemu/dma.h" //#define DEBUG_LSI
hw/m25p80.c +1 -1
@@ -24,7 +24,7 @@#include "hw/hw.h" #include "sysemu/blockdev.h" #include "hw/ssi.h" -#include "hw/devices.h" +#include "hw/arm/devices.h" #ifdef M25P80_ERR_DEBUG #define DB_PRINT (...) do { \
hw/m48t59.c +2 -2
@@ -22,11 +22,11 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/nvram.h" +#include "hw/timer/m48t59.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "exec/address-spaces.h" //#define DEBUG_NVRAM
hw/m68k/an5206.c +1 -1
@@ -7,7 +7,7 @@*/ #include "hw/hw.h" -#include "hw/mcf.h" +#include "hw/m68k/mcf.h" #include "hw/boards.h" #include "hw/loader.h" #include "elf.h"
hw/m68k/mcf5206.c +1 -1
@@ -6,7 +6,7 @@* This code is licensed under the GPL */ #include "hw/hw.h" -#include "hw/mcf.h" +#include "hw/m68k/mcf.h" #include "qemu/timer.h" #include "hw/ptimer.h" #include "sysemu/sysemu.h"
hw/m68k/mcf5208.c +1 -1
@@ -6,7 +6,7 @@* This code is licensed under the GPL */ #include "hw/hw.h" -#include "hw/mcf.h" +#include "hw/m68k/mcf.h" #include "qemu/timer.h" #include "hw/ptimer.h" #include "sysemu/sysemu.h"
hw/m68k/mcf_intc.c +1 -1
@@ -6,7 +6,7 @@* This code is licensed under the GPL */ #include "hw/hw.h" -#include "hw/mcf.h" +#include "hw/m68k/mcf.h" #include "exec/address-spaces.h" typedef struct {
hw/mac_dbdma.c +2 -2
@@ -37,8 +37,8 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/isa.h" -#include "hw/mac_dbdma.h" +#include "hw/isa/isa.h" +#include "hw/ppc/mac_dbdma.h" #include "qemu/main-loop.h" /* debug DBDMA */
hw/mac_nvram.c +1 -1
@@ -23,7 +23,7 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/firmware_abi.h" +#include "hw/sparc/firmware_abi.h" #include "sysemu/sysemu.h" #include "hw/ppc/mac.h"
hw/macio.c +2 -2
@@ -25,8 +25,8 @@#include "hw/hw.h" #include "hw/ppc/mac.h" #include "hw/pci/pci.h" -#include "hw/mac_dbdma.h" -#include "hw/escc.h" +#include "hw/ppc/mac_dbdma.h" +#include "hw/char/escc.h" #define TYPE_MACIO "macio"#define MACIO (obj) OBJECT_CHECK(MacIOState, (obj), TYPE_MACIO)
hw/marvell_88w8618_audio.c +1 -1
@@ -11,7 +11,7 @@*/ #include "hw/sysbus.h" #include "hw/hw.h" -#include "hw/i2c.h" +#include "hw/i2c/i2c.h" #include "hw/sysbus.h" #include "audio/audio.h"
hw/max7310.c +1 -1
@@ -7,7 +7,7 @@* This file is licensed under GNU GPL. */ -#include "hw/i2c.h" +#include "hw/i2c/i2c.h" typedef struct { I2CSlave i2c;
hw/mc146818rtc.c +2 -2
@@ -24,11 +24,11 @@#include "hw/hw.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" -#include "hw/mc146818rtc.h" +#include "hw/timer/mc146818rtc.h" #include "qapi/visitor.h" #ifdef TARGET_I386 -#include "hw/apic.h" +#include "hw/i386/apic.h" #endif //#define DEBUG_CMOS
hw/mcf_fec.c +1 -1
@@ -7,7 +7,7 @@*/ #include "hw/hw.h" #include "net/net.h" -#include "hw/mcf.h" +#include "hw/m68k/mcf.h" /* For crc32 */ #include <zlib.h> #include "exec/address-spaces.h"
hw/mcf_uart.c +1 -1
@@ -6,7 +6,7 @@* This code is licensed under the GPL */ #include "hw/hw.h" -#include "hw/mcf.h" +#include "hw/m68k/mcf.h" #include "char/char.h" #include "exec/address-spaces.h"
hw/megasas.c +2 -2
@@ -23,8 +23,8 @@#include "sysemu/dma.h" #include "hw/pci/msix.h" #include "qemu/iov.h" -#include "hw/scsi.h" -#include "hw/scsi-defs.h" +#include "hw/scsi/scsi.h" +#include "block/scsi.h" #include "trace.h" #include "hw/mfi.h"
hw/microblaze/petalogix_ml605_mmu.c +3 -3
@@ -28,13 +28,13 @@#include "hw/sysbus.h" #include "hw/hw.h" #include "net/net.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "sysemu/sysemu.h" -#include "hw/devices.h" +#include "hw/arm/devices.h" #include "hw/boards.h" #include "hw/xilinx.h" #include "sysemu/blockdev.h" -#include "hw/serial.h" +#include "hw/char/serial.h" #include "exec/address-spaces.h" #include "hw/ssi.h"
hw/microblaze/petalogix_s3adsp1800_mmu.c +2 -2
@@ -26,9 +26,9 @@#include "hw/sysbus.h" #include "hw/hw.h" #include "net/net.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "sysemu/sysemu.h" -#include "hw/devices.h" +#include "hw/arm/devices.h" #include "hw/boards.h" #include "hw/xilinx.h" #include "sysemu/blockdev.h"
hw/milkymist-softusb.c +1 -1
@@ -25,7 +25,7 @@#include "hw/sysbus.h" #include "trace.h" #include "ui/console.h" -#include "hw/hid.h" +#include "hw/input/hid.h" #include "qemu/error-report.h" enum {
hw/mips/addr.c +1 -1
@@ -21,7 +21,7 @@*/ #include "hw/hw.h" -#include "hw/mips_cpudevs.h" +#include "hw/mips/cpudevs.h" uint64_t cpu_mips_kseg0_to_phys (void *opaque,uint64_t addr) {
hw/mips/cputimer.c +1 -1
@@ -21,7 +21,7 @@*/ #include "hw/hw.h" -#include "hw/mips_cpudevs.h" +#include "hw/mips/cpudevs.h" #include "qemu/timer.h" #define TIMER_FREQ 100 * 1000 * 1000
hw/mips/mips_fulong2e.c +11 -11
@@ -19,28 +19,28 @@*/ #include "hw/hw.h" -#include "hw/pc.h" -#include "hw/serial.h" -#include "hw/fdc.h" +#include "hw/i386/pc.h" +#include "hw/char/serial.h" +#include "hw/block/fdc.h" #include "net/net.h" #include "hw/boards.h" -#include "hw/smbus.h" +#include "hw/i2c/smbus.h" #include "block/block.h" -#include "hw/flash.h" -#include "hw/mips.h" -#include "hw/mips_cpudevs.h" +#include "hw/block/flash.h" +#include "hw/mips/mips.h" +#include "hw/mips/cpudevs.h" #include "hw/pci/pci.h" #include "char/char.h" #include "sysemu/sysemu.h" #include "audio/audio.h" #include "qemu/log.h" #include "hw/loader.h" -#include "hw/mips-bios.h" +#include "hw/mips/bios.h" #include "hw/ide.h" #include "elf.h" -#include "hw/vt82c686.h" -#include "hw/mc146818rtc.h" -#include "hw/i8254.h" +#include "hw/isa/vt82c686.h" +#include "hw/timer/mc146818rtc.h" +#include "hw/timer/i8254.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h"
hw/mips/mips_int.c +1 -1
@@ -21,7 +21,7 @@*/ #include "hw/hw.h" -#include "hw/mips_cpudevs.h" +#include "hw/mips/cpudevs.h" #include "cpu.h" static void cpu_mips_irq_request (void *opaque,int irq,int level)
hw/mips/mips_jazz.c +11 -11
@@ -23,22 +23,22 @@*/ #include "hw/hw.h" -#include "hw/mips.h" -#include "hw/mips_cpudevs.h" -#include "hw/pc.h" -#include "hw/serial.h" -#include "hw/isa.h" -#include "hw/fdc.h" +#include "hw/mips/mips.h" +#include "hw/mips/cpudevs.h" +#include "hw/i386/pc.h" +#include "hw/char/serial.h" +#include "hw/isa/isa.h" +#include "hw/block/fdc.h" #include "sysemu/sysemu.h" #include "sysemu/arch_init.h" #include "hw/boards.h" #include "net/net.h" -#include "hw/esp.h" -#include "hw/mips-bios.h" +#include "hw/scsi/esp.h" +#include "hw/mips/bios.h" #include "hw/loader.h" -#include "hw/mc146818rtc.h" -#include "hw/i8254.h" -#include "hw/pcspk.h" +#include "hw/timer/mc146818rtc.h" +#include "hw/timer/i8254.h" +#include "hw/audio/pcspk.h" #include "sysemu/blockdev.h" #include "hw/sysbus.h" #include "exec/address-spaces.h"
hw/mips/mips_malta.c +10 -10
@@ -23,28 +23,28 @@*/ #include "hw/hw.h" -#include "hw/pc.h" -#include "hw/serial.h" -#include "hw/fdc.h" +#include "hw/i386/pc.h" +#include "hw/char/serial.h" +#include "hw/block/fdc.h" #include "net/net.h" #include "hw/boards.h" -#include "hw/smbus.h" +#include "hw/i2c/smbus.h" #include "block/block.h" -#include "hw/flash.h" -#include "hw/mips.h" -#include "hw/mips_cpudevs.h" +#include "hw/block/flash.h" +#include "hw/mips/mips.h" +#include "hw/mips/cpudevs.h" #include "hw/pci/pci.h" #include "char/char.h" #include "sysemu/sysemu.h" #include "sysemu/arch_init.h" #include "hw/boards.h" #include "qemu/log.h" -#include "hw/mips-bios.h" +#include "hw/mips/bios.h" #include "hw/ide.h" #include "hw/loader.h" #include "elf.h" -#include "hw/mc146818rtc.h" -#include "hw/i8254.h" +#include "hw/timer/mc146818rtc.h" +#include "hw/timer/i8254.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h" #include "hw/sysbus.h" /* SysBusDevice */
hw/mips/mips_mipssim.c +5 -5
@@ -25,14 +25,14 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/mips.h" -#include "hw/mips_cpudevs.h" -#include "hw/serial.h" -#include "hw/isa.h" +#include "hw/mips/mips.h" +#include "hw/mips/cpudevs.h" +#include "hw/char/serial.h" +#include "hw/isa/isa.h" #include "net/net.h" #include "sysemu/sysemu.h" #include "hw/boards.h" -#include "hw/mips-bios.h" +#include "hw/mips/bios.h" #include "hw/loader.h" #include "elf.h" #include "hw/sysbus.h"
hw/mips/mips_r4k.c +9 -9
@@ -8,22 +8,22 @@* the standard PC ISA addresses. */ #include "hw/hw.h" -#include "hw/mips.h" -#include "hw/mips_cpudevs.h" -#include "hw/pc.h" -#include "hw/serial.h" -#include "hw/isa.h" +#include "hw/mips/mips.h" +#include "hw/mips/cpudevs.h" +#include "hw/i386/pc.h" +#include "hw/char/serial.h" +#include "hw/isa/isa.h" #include "net/net.h" #include "sysemu/sysemu.h" #include "hw/boards.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "qemu/log.h" -#include "hw/mips-bios.h" +#include "hw/mips/bios.h" #include "hw/ide.h" #include "hw/loader.h" #include "elf.h" -#include "hw/mc146818rtc.h" -#include "hw/i8254.h" +#include "hw/timer/mc146818rtc.h" +#include "hw/timer/i8254.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h"
hw/nand.c +1 -1
@@ -19,7 +19,7 @@#ifndef NAND_IO # include "hw/hw.h" -# include "hw/flash.h" +# include "hw/block/flash.h" # include "sysemu/blockdev.h" # include "hw/sysbus.h" #include "qemu/error-report.h"
hw/ne2000-isa.c +2 -2
@@ -22,8 +22,8 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/pc.h" -#include "hw/isa.h" +#include "hw/i386/pc.h" +#include "hw/isa/isa.h" #include "hw/qdev.h" #include "net/net.h" #include "hw/ne2000.h"
hw/omap_clk.c +1 -1
@@ -19,7 +19,7 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "hw/hw.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" struct clk {const char *name;
hw/omap_dma.c +2 -2
@@ -19,9 +19,9 @@*/ #include "qemu-common.h" #include "qemu/timer.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" #include "hw/irq.h" -#include "hw/soc_dma.h" +#include "hw/arm/soc_dma.h" struct omap_dma_channel_s {/* transfer data */
hw/omap_dss.c +1 -1
@@ -19,7 +19,7 @@*/ #include "hw/hw.h" #include "ui/console.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" struct omap_dss_s {qemu_irq irq;
hw/omap_gpio.c +1 -1
@@ -19,7 +19,7 @@*/ #include "hw/hw.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" #include "hw/sysbus.h" struct omap_gpio_s {
hw/omap_gpmc.c +2 -2
@@ -19,8 +19,8 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "hw/hw.h" -#include "hw/flash.h" -#include "hw/omap.h" +#include "hw/block/flash.h" +#include "hw/arm/omap.h" #include "exec/memory.h" #include "exec/address-spaces.h"
hw/omap_gptimer.c +1 -1
@@ -19,7 +19,7 @@*/ #include "hw/hw.h" #include "qemu/timer.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" /* GP timers */ struct omap_gp_timer_s {
hw/omap_i2c.c +2 -2
@@ -17,8 +17,8 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "hw/hw.h" -#include "hw/i2c.h" -#include "hw/omap.h" +#include "hw/i2c/i2c.h" +#include "hw/arm/omap.h" #include "hw/sysbus.h"
hw/omap_intc.c +1 -1
@@ -18,7 +18,7 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "hw/hw.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" #include "hw/sysbus.h" /* Interrupt Handlers */
hw/omap_l4.c +1 -1
@@ -18,7 +18,7 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "hw/hw.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" struct omap_l4_s {MemoryRegion *address_space;
hw/omap_lcdc.c +1 -1
@@ -18,7 +18,7 @@*/ #include "hw/hw.h" #include "ui/console.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" #include "hw/framebuffer.h" #include "ui/pixel_ops.h"
hw/omap_mmc.c +1 -1
@@ -17,7 +17,7 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "hw/hw.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" #include "hw/sd.h" struct omap_mmc_s {
hw/omap_sdrc.c +1 -1
@@ -18,7 +18,7 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "hw/hw.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" /* SDRAM Controller Subsystem */ struct omap_sdrc_s {
hw/omap_spi.c +1 -1
@@ -20,7 +20,7 @@* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "hw/hw.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" /* Multichannel SPI */ struct omap_mcspi_s {
hw/omap_synctimer.c +1 -1
@@ -19,7 +19,7 @@*/ #include "hw/hw.h" #include "qemu/timer.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" struct omap_synctimer_s {MemoryRegion iomem;uint32_t val;
hw/omap_tap.c +1 -1
@@ -19,7 +19,7 @@*/ #include "hw/hw.h" -#include "hw/omap.h" +#include "hw/arm/omap.h" /* TEST-Chip-level TAP */ static uint64_t omap_tap_read(void *opaque, hwaddr addr,
hw/omap_uart.c +2 -2
@@ -19,8 +19,8 @@*/ #include "char/char.h" #include "hw/hw.h" -#include "hw/omap.h" -#include "hw/serial.h" +#include "hw/arm/omap.h" +#include "hw/char/serial.h" #include "exec/address-spaces.h" /* UARTs */
hw/onenand.c +1 -1
@@ -20,7 +20,7 @@#include "qemu-common.h" #include "hw/hw.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "hw/irq.h" #include "sysemu/blockdev.h" #include "exec/memory.h"
hw/openpic.c +2 -2
@@ -36,11 +36,11 @@#include "hw/hw.h" #include "hw/ppc/mac.h" #include "hw/pci/pci.h" -#include "hw/openpic.h" +#include "hw/ppc/openpic.h" #include "hw/sysbus.h" #include "hw/pci/msi.h" #include "qemu/bitops.h" -#include "hw/ppc.h" +#include "hw/ppc/ppc.h" //#define DEBUG_OPENPIC
hw/openrisc/openrisc_sim.c +1 -1
@@ -21,7 +21,7 @@#include "hw/hw.h" #include "hw/boards.h" #include "elf.h" -#include "hw/serial.h" +#include "hw/char/serial.h" #include "net/net.h" #include "hw/loader.h" #include "exec/address-spaces.h"
hw/pam.c +1 -1
@@ -27,7 +27,7 @@* THE SOFTWARE. */ #include "sysemu/sysemu.h" -#include "hw/pam.h" +#include "hw/pci/pam.h" void smram_update (MemoryRegion *smram_region,uint8_t smram,uint8_t smm_enabled)
hw/parallel.c +2 -2
@@ -24,8 +24,8 @@*/ #include "hw/hw.h" #include "char/char.h" -#include "hw/isa.h" -#include "hw/pc.h" +#include "hw/isa/isa.h" +#include "hw/i386/pc.h" #include "sysemu/sysemu.h" //#define DEBUG_PARALLEL
hw/pc-testdev.c +1 -1
@@ -41,7 +41,7 @@#endif #include "hw/hw.h" #include "hw/qdev.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #define IOMEM_LEN 0x10000
hw/pc87312.c +1 -1
@@ -23,7 +23,7 @@* THE SOFTWARE. */ -#include "hw/pc87312.h" +#include "hw/isa/pc87312.h" #include "qemu/error-report.h" #include "sysemu/blockdev.h" #include "sysemu/sysemu.h"
hw/pc_sysfw.c +2 -2
@@ -27,11 +27,11 @@#include "qemu/error-report.h" #include "hw/sysbus.h" #include "hw/hw.h" -#include "hw/pc.h" +#include "hw/i386/pc.h" #include "hw/boards.h" #include "hw/loader.h" #include "sysemu/sysemu.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "sysemu/kvm.h" #define BIOS_FILENAME "bios.bin"
hw/pci/pci-hotplug.c +3 -3
@@ -26,10 +26,10 @@#include "hw/boards.h" #include "hw/pci/pci.h" #include "net/net.h" -#include "hw/pc.h" +#include "hw/i386/pc.h" #include "monitor/monitor.h" -#include "hw/scsi.h" -#include "hw/virtio-blk.h" +#include "hw/scsi/scsi.h" +#include "hw/virtio/virtio-blk.h" #include "qemu/config-file.h" #include "sysemu/blockdev.h" #include "qapi/error.h"
hw/pci/pci.h +1 -1
@@ -8,7 +8,7 @@#include "sysemu/dma.h" /* PCI includes legacy ISA access. */ -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "hw/pci/pcie.h"
hw/pckbd.c +3 -3
@@ -22,9 +22,9 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/isa.h" -#include "hw/pc.h" -#include "hw/ps2.h" +#include "hw/isa/isa.h" +#include "hw/i386/pc.h" +#include "hw/input/ps2.h" #include "sysemu/sysemu.h" /* debug PC keyboard */
hw/pcspk.c +4 -4
@@ -23,12 +23,12 @@*/ #include "hw/hw.h" -#include "hw/pc.h" -#include "hw/isa.h" +#include "hw/i386/pc.h" +#include "hw/isa/isa.h" #include "audio/audio.h" #include "qemu/timer.h" -#include "hw/i8254.h" -#include "hw/pcspk.h" +#include "hw/timer/i8254.h" +#include "hw/audio/pcspk.h" #define PCSPK_BUF_LEN 1792#define PCSPK_SAMPLE_RATE 32000
hw/pflash_cfi01.c +1 -1
@@ -37,7 +37,7 @@*/ #include "hw/hw.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "block/block.h" #include "qemu/timer.h" #include "exec/address-spaces.h"
hw/pflash_cfi02.c +1 -1
@@ -36,7 +36,7 @@*/ #include "hw/hw.h" -#include "hw/flash.h" +#include "hw/block/flash.h" #include "qemu/timer.h" #include "block/block.h" #include "exec/address-spaces.h"
hw/piix4.c +2 -2
@@ -23,9 +23,9 @@*/ #include "hw/hw.h" -#include "hw/pc.h" +#include "hw/i386/pc.h" #include "hw/pci/pci.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "hw/sysbus.h" PCIDevice *piix4_dev;
hw/piix_pci.c +4 -4
@@ -23,14 +23,14 @@*/ #include "hw/hw.h" -#include "hw/pc.h" +#include "hw/i386/pc.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "hw/sysbus.h" #include "qemu/range.h" -#include "hw/xen.h" -#include "hw/pam.h" +#include "hw/xen/xen.h" +#include "hw/pci/pam.h" #include "sysemu/sysemu.h" /*
hw/pl050.c +1 -1
@@ -8,7 +8,7 @@*/ #include "hw/sysbus.h" -#include "hw/ps2.h" +#include "hw/input/ps2.h" typedef struct { SysBusDevice busdev;
hw/pl330.c +1 -1
@@ -14,7 +14,7 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "sysbus.h" +#include "hw/sysbus.h" #include "qemu/timer.h" #include "sysemu/dma.h"
hw/pm_smbus.c +3 -3
@@ -18,9 +18,9 @@* <http://www.gnu.org/licenses/>. */ #include "hw/hw.h" -#include "hw/pc.h" -#include "hw/pm_smbus.h" -#include "hw/smbus.h" +#include "hw/i386/pc.h" +#include "hw/i2c/pm_smbus.h" +#include "hw/i2c/smbus.h" /* no save/load? */
hw/ppc/e500.c +4 -4
@@ -21,21 +21,21 @@#include "net/net.h" #include "qemu/config-file.h" #include "hw/hw.h" -#include "hw/serial.h" +#include "hw/char/serial.h" #include "hw/pci/pci.h" #include "hw/boards.h" #include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "kvm_ppc.h" #include "sysemu/device_tree.h" -#include "hw/openpic.h" -#include "hw/ppc.h" +#include "hw/ppc/openpic.h" +#include "hw/ppc/ppc.h" #include "hw/loader.h" #include "elf.h" #include "hw/sysbus.h" #include "exec/address-spaces.h" #include "qemu/host-utils.h" -#include "hw/ppce500_pci.h" +#include "hw/pci/host-ppce500.h" #define BINARY_DEVICE_TREE_FILE "mpc8544ds.dtb"#define UIMAGE_LOAD_BASE 0
hw/ppc/e500plat.c +1 -1
@@ -15,7 +15,7 @@#include "hw/boards.h" #include "sysemu/device_tree.h" #include "hw/pci/pci.h" -#include "hw/openpic.h" +#include "hw/ppc/openpic.h" static void e500plat_fixup_devtree (PPCE500Params *params,void *fdt) {
hw/ppc/mac.h +1 -1
@@ -28,7 +28,7 @@#include "exec/memory.h" #include "hw/sysbus.h" #include "hw/ide/internal.h" -#include "hw/adb.h" +#include "hw/input/adb.h" /* SMP is not enabled, for now */ #define MAX_CPUS 1
hw/ppc/mac_newworld.c +7 -7
@@ -47,18 +47,18 @@* */ #include "hw/hw.h" -#include "hw/ppc.h" +#include "hw/ppc/ppc.h" #include "hw/ppc/mac.h" -#include "hw/adb.h" -#include "hw/mac_dbdma.h" -#include "hw/nvram.h" +#include "hw/input/adb.h" +#include "hw/ppc/mac_dbdma.h" +#include "hw/timer/m48t59.h" #include "hw/pci/pci.h" #include "net/net.h" #include "sysemu/sysemu.h" #include "hw/boards.h" -#include "hw/fw_cfg.h" -#include "hw/escc.h" -#include "hw/openpic.h" +#include "hw/nvram/fw_cfg.h" +#include "hw/char/escc.h" +#include "hw/ppc/openpic.h" #include "hw/ide.h" #include "hw/loader.h" #include "elf.h"
hw/ppc/mac_oldworld.c +6 -6
@@ -24,17 +24,17 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/ppc.h" +#include "hw/ppc/ppc.h" #include "mac.h" -#include "hw/adb.h" -#include "hw/nvram.h" +#include "hw/input/adb.h" +#include "hw/timer/m48t59.h" #include "sysemu/sysemu.h" #include "net/net.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "hw/pci/pci.h" #include "hw/boards.h" -#include "hw/fw_cfg.h" -#include "hw/escc.h" +#include "hw/nvram/fw_cfg.h" +#include "hw/char/escc.h" #include "hw/ide.h" #include "hw/loader.h" #include "elf.h"
hw/ppc/mpc8544ds.c +1 -1
@@ -14,7 +14,7 @@#include "e500.h" #include "hw/boards.h" #include "sysemu/device_tree.h" -#include "hw/openpic.h" +#include "hw/ppc/openpic.h" static void mpc8544ds_fixup_devtree (PPCE500Params *params,void *fdt) {
hw/ppc/ppc.c +2 -2
@@ -22,10 +22,10 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/ppc.h" +#include "hw/ppc/ppc.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" -#include "hw/nvram.h" +#include "hw/timer/m48t59.h" #include "qemu/log.h" #include "hw/loader.h" #include "sysemu/kvm.h"
hw/ppc/ppc405_boards.c +3 -3
@@ -22,10 +22,10 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/ppc.h" +#include "hw/ppc/ppc.h" #include "hw/ppc405.h" -#include "hw/nvram.h" -#include "hw/flash.h" +#include "hw/timer/m48t59.h" +#include "hw/block/flash.h" #include "sysemu/sysemu.h" #include "block/block.h" #include "hw/boards.h"
hw/ppc/ppc405_uc.c +2 -2
@@ -22,9 +22,9 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/ppc.h" +#include "hw/ppc/ppc.h" #include "hw/ppc405.h" -#include "hw/serial.h" +#include "hw/char/serial.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" #include "qemu/log.h"
hw/ppc/ppc440_bamboo.c +2 -2
@@ -23,8 +23,8 @@#include "hw/loader.h" #include "elf.h" #include "exec/address-spaces.h" -#include "hw/serial.h" -#include "hw/ppc.h" +#include "hw/char/serial.h" +#include "hw/ppc/ppc.h" #include "hw/ppc405.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h"
hw/ppc/ppc4xx_devs.c +2 -2
@@ -22,8 +22,8 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/ppc.h" -#include "hw/ppc4xx.h" +#include "hw/ppc/ppc.h" +#include "hw/ppc/ppc4xx.h" #include "qemu/log.h" #include "exec/address-spaces.h"
hw/ppc/ppc_booke.c +2 -2
@@ -22,10 +22,10 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/ppc.h" +#include "hw/ppc/ppc.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" -#include "hw/nvram.h" +#include "hw/timer/m48t59.h" #include "qemu/log.h" #include "hw/loader.h"
hw/ppc/prep.c +8 -8
@@ -22,22 +22,22 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/nvram.h" -#include "hw/pc.h" -#include "hw/serial.h" -#include "hw/fdc.h" +#include "hw/timer/m48t59.h" +#include "hw/i386/pc.h" +#include "hw/char/serial.h" +#include "hw/block/fdc.h" #include "net/net.h" #include "sysemu/sysemu.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" -#include "hw/ppc.h" +#include "hw/ppc/ppc.h" #include "hw/boards.h" #include "qemu/log.h" #include "hw/ide.h" #include "hw/loader.h" -#include "hw/mc146818rtc.h" -#include "hw/pc87312.h" +#include "hw/timer/mc146818rtc.h" +#include "hw/isa/pc87312.h" #include "sysemu/blockdev.h" #include "sysemu/arch_init.h" #include "exec/address-spaces.h"
hw/ppc/spapr.c +5 -5
@@ -34,13 +34,13 @@#include "kvm_ppc.h" #include "hw/boards.h" -#include "hw/ppc.h" +#include "hw/ppc/ppc.h" #include "hw/loader.h" -#include "hw/spapr.h" -#include "hw/spapr_vio.h" -#include "hw/spapr_pci.h" -#include "hw/xics.h" +#include "hw/ppc/spapr.h" +#include "hw/ppc/spapr_vio.h" +#include "hw/pci/host-spapr.h" +#include "hw/ppc/xics.h" #include "hw/pci/msi.h" #include "sysemu/kvm.h"
hw/ppc/spapr_events.c +2 -2
@@ -30,8 +30,8 @@#include "hw/qdev.h" #include "sysemu/device_tree.h" -#include "hw/spapr.h" -#include "hw/spapr_vio.h" +#include "hw/ppc/spapr.h" +#include "hw/ppc/spapr_vio.h" #include <libfdt.h>
hw/ppc/spapr_hcall.c +1 -1
@@ -2,7 +2,7 @@#include "cpu.h" #include "sysemu/sysemu.h" #include "helper_regs.h" -#include "hw/spapr.h" +#include "hw/ppc/spapr.h" #define HPTES_PER_GROUP 8
hw/ppc/spapr_iommu.c +1 -1
@@ -23,7 +23,7 @@#include "sysemu/dma.h" #include "exec/address-spaces.h" -#include "hw/spapr.h" +#include "hw/ppc/spapr.h" #include <libfdt.h>
hw/ppc/spapr_rtas.c +2 -2
@@ -30,8 +30,8 @@#include "hw/qdev.h" #include "sysemu/device_tree.h" -#include "hw/spapr.h" -#include "hw/spapr_vio.h" +#include "hw/ppc/spapr.h" +#include "hw/ppc/spapr_vio.h" #include <libfdt.h>
hw/ppc/spapr_vio.c +3 -3
@@ -30,9 +30,9 @@#include "sysemu/device_tree.h" #include "kvm_ppc.h" -#include "hw/spapr.h" -#include "hw/spapr_vio.h" -#include "hw/xics.h" +#include "hw/ppc/spapr.h" +#include "hw/ppc/spapr_vio.h" +#include "hw/ppc/xics.h" #ifdef CONFIG_FDT #include <libfdt.h>
hw/ppc/virtex_ml507.c +5 -5
@@ -24,10 +24,10 @@#include "hw/sysbus.h" #include "hw/hw.h" -#include "hw/serial.h" -#include "hw/flash.h" +#include "hw/char/serial.h" +#include "hw/block/flash.h" #include "sysemu/sysemu.h" -#include "hw/devices.h" +#include "hw/arm/devices.h" #include "hw/boards.h" #include "sysemu/device_tree.h" #include "hw/loader.h"
@@ -35,8 +35,8 @@#include "qemu/log.h" #include "exec/address-spaces.h" -#include "hw/ppc.h" -#include "hw/ppc4xx.h" +#include "hw/ppc/ppc.h" +#include "hw/ppc/ppc4xx.h" #include "hw/ppc405.h" #include "sysemu/blockdev.h"
hw/ppc/xics.c +2 -2
@@ -27,8 +27,8 @@#include "hw/hw.h" #include "trace.h" -#include "hw/spapr.h" -#include "hw/xics.h" +#include "hw/ppc/spapr.h" +#include "hw/ppc/xics.h" /* * ICP: Presentation layer
hw/ppc405.h +1 -1
@@ -25,7 +25,7 @@#if !defined(PPC_405_H )#define PPC_405_H -#include "hw/ppc4xx.h" +#include "hw/ppc/ppc4xx.h" /* Bootinfo as set-up by u-boot */ typedef struct ppc4xx_bd_info_t ppc4xx_bd_info_t ;
hw/ppc4xx_pci.c +2 -2
@@ -20,8 +20,8 @@* 4xx SoCs, such as the 440EP. */ #include "hw/hw.h" -#include "hw/ppc.h" -#include "hw/ppc4xx.h" +#include "hw/ppc/ppc.h" +#include "hw/ppc/ppc4xx.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" #include "exec/address-spaces.h"
hw/ppce500_pci.c +1 -1
@@ -19,7 +19,7 @@#include "hw/pci/pci.h" #include "hw/pci/pci_host.h" #include "qemu/bswap.h" -#include "hw/ppce500_pci.h" +#include "hw/pci/host-ppce500.h" #ifdef DEBUG_PCI #define pci_debug (fmt, ...) fprintf(stderr, fmt, ## __VA_ARGS__)
hw/prep_pci.c +1 -1
@@ -27,7 +27,7 @@#include "hw/pci/pci.h" #include "hw/pci/pci_bus.h" #include "hw/pci/pci_host.h" -#include "hw/pc.h" +#include "hw/i386/pc.h" #include "exec/address-spaces.h" #define TYPE_RAVEN_PCI_DEVICE "raven"
hw/ps2.c +1 -1
@@ -22,7 +22,7 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/ps2.h" +#include "hw/input/ps2.h" #include "ui/console.h" #include "sysemu/sysemu.h"
hw/puv3_dma.c +1 -1
@@ -12,7 +12,7 @@#include "hw/sysbus.h" #undef DEBUG_PUV3 -#include "hw/puv3.h" +#include "hw/unicore32/puv3.h" #define PUV3_DMA_CH_NR (6)#define PUV3_DMA_CH_MASK (0xff)
hw/puv3_gpio.c +1 -1
@@ -12,7 +12,7 @@#include "hw/sysbus.h" #undef DEBUG_PUV3 -#include "hw/puv3.h" +#include "hw/unicore32/puv3.h" typedef struct { SysBusDevice busdev;
hw/puv3_intc.c +1 -1
@@ -11,7 +11,7 @@#include "hw/sysbus.h" #undef DEBUG_PUV3 -#include "hw/puv3.h" +#include "hw/unicore32/puv3.h" typedef struct { SysBusDevice busdev;
hw/puv3_ost.c +1 -1
@@ -12,7 +12,7 @@#include "hw/ptimer.h" #undef DEBUG_PUV3 -#include "hw/puv3.h" +#include "hw/unicore32/puv3.h" /* puv3 ostimer implementation. */ typedef struct {
hw/puv3_pm.c +1 -1
@@ -12,7 +12,7 @@#include "hw/sysbus.h" #undef DEBUG_PUV3 -#include "hw/puv3.h" +#include "hw/unicore32/puv3.h" typedef struct { SysBusDevice busdev;
hw/pxa2xx_dma.c +1 -1
@@ -9,7 +9,7 @@*/ #include "hw/hw.h" -#include "hw/pxa.h" +#include "hw/arm/pxa.h" #include "hw/sysbus.h" #define PXA255_DMA_NUM_CHANNELS 16
hw/pxa2xx_keypad.c +1 -1
@@ -12,7 +12,7 @@*/ #include "hw/hw.h" -#include "hw/pxa.h" +#include "hw/arm/pxa.h" #include "ui/console.h" /*
hw/pxa2xx_lcd.c +1 -1
@@ -12,7 +12,7 @@#include "hw/hw.h" #include "ui/console.h" -#include "hw/pxa.h" +#include "hw/arm/pxa.h" #include "ui/pixel_ops.h" /* FIXME: For graphic_rotate. Should probably be done in common code. */ #include "sysemu/sysemu.h"
hw/pxa2xx_mmci.c +1 -1
@@ -11,7 +11,7 @@*/ #include "hw/hw.h" -#include "hw/pxa.h" +#include "hw/arm/pxa.h" #include "hw/sd.h" #include "hw/qdev.h"
hw/pxa2xx_pcmcia.c +1 -1
@@ -12,7 +12,7 @@#include "hw/hw.h" #include "hw/pcmcia.h" -#include "hw/pxa.h" +#include "hw/arm/pxa.h" struct PXA2xxPCMCIAState {
hw/pxa2xx_timer.c +1 -1
@@ -10,7 +10,7 @@#include "hw/hw.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" -#include "hw/pxa.h" +#include "hw/arm/pxa.h" #include "hw/sysbus.h" #define OSMR0 0x00
hw/q35.c +1 -1
@@ -28,7 +28,7 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/q35.h" +#include "hw/pci/host-q35.h" /**************************************************************************** * Q35 host
hw/qdev-properties-system.c +1 -1
@@ -14,7 +14,7 @@#include "hw/qdev.h" #include "qapi/qmp/qerror.h" #include "sysemu/blockdev.h" -#include "hw/block-common.h" +#include "hw/block/block.h" #include "net/hub.h" #include "qapi/visitor.h" #include "char/char.h"
hw/qdev-properties.c +1 -1
@@ -2,7 +2,7 @@#include "hw/qdev.h" #include "qapi/qmp/qerror.h" #include "sysemu/blockdev.h" -#include "hw/block-common.h" +#include "hw/block/block.h" #include "net/hub.h" #include "qapi/visitor.h" #include "char/char.h"
hw/rc4030.c +1 -1
@@ -23,7 +23,7 @@*/ #include "hw/hw.h" -#include "hw/mips.h" +#include "hw/mips/mips.h" #include "qemu/timer.h" /********************************************************/
hw/s390x/s390-virtio-bus.c +5 -5
@@ -24,15 +24,15 @@#include "monitor/monitor.h" #include "hw/loader.h" #include "elf.h" -#include "hw/virtio.h" -#include "hw/virtio-rng.h" -#include "hw/virtio-serial.h" -#include "hw/virtio-net.h" +#include "hw/virtio/virtio.h" +#include "hw/virtio/virtio-rng.h" +#include "hw/virtio/virtio-serial.h" +#include "hw/virtio/virtio-net.h" #include "hw/sysbus.h" #include "sysemu/kvm.h" #include "hw/s390x/s390-virtio-bus.h" -#include "hw/virtio-bus.h" +#include "hw/virtio/virtio-bus.h" /* #define DEBUG_S390 */
hw/s390x/s390-virtio-bus.h +6 -6
@@ -19,12 +19,12 @@#ifndef HW_S390_VIRTIO_BUS_H #define HW_S390_VIRTIO_BUS_H 1 -#include "hw/virtio-blk.h" -#include "hw/virtio-net.h" -#include "hw/virtio-rng.h" -#include "hw/virtio-serial.h" -#include "hw/virtio-scsi.h" -#include "hw/virtio-bus.h" +#include "hw/virtio/virtio-blk.h" +#include "hw/virtio/virtio-net.h" +#include "hw/virtio/virtio-rng.h" +#include "hw/virtio/virtio-serial.h" +#include "hw/virtio/virtio-scsi.h" +#include "hw/virtio/virtio-bus.h" #define VIRTIO_DEV_OFFS_TYPE 0/* 8 bits */ #define VIRTIO_DEV_OFFS_NUM_VQ 1/* 8 bits */
hw/s390x/s390-virtio.c +1 -1
@@ -29,7 +29,7 @@#include "hw/boards.h" #include "monitor/monitor.h" #include "hw/loader.h" -#include "hw/virtio.h" +#include "hw/virtio/virtio.h" #include "hw/sysbus.h" #include "sysemu/kvm.h" #include "exec/address-spaces.h"
hw/s390x/virtio-ccw.c +4 -4
@@ -15,12 +15,12 @@#include "sysemu/sysemu.h" #include "net/net.h" #include "monitor/monitor.h" -#include "hw/virtio.h" -#include "hw/virtio-serial.h" -#include "hw/virtio-net.h" +#include "hw/virtio/virtio.h" +#include "hw/virtio/virtio-serial.h" +#include "hw/virtio/virtio-net.h" #include "hw/sysbus.h" #include "qemu/bitops.h" -#include "hw/virtio-bus.h" +#include "hw/virtio/virtio-bus.h" #include "ioinst.h" #include "css.h"
hw/s390x/virtio-ccw.h +6 -6
@@ -12,12 +12,12 @@#ifndef HW_S390X_VIRTIO_CCW_H #define HW_S390X_VIRTIO_CCW_H -#include <hw/virtio-blk.h> -#include <hw/virtio-net.h> -#include <hw/virtio-serial.h> -#include <hw/virtio-scsi.h> -#include <hw/virtio-rng.h> -#include <hw/virtio-bus.h> +#include <hw/virtio/virtio-blk.h> +#include <hw/virtio/virtio-net.h> +#include <hw/virtio/virtio-serial.h> +#include <hw/virtio/virtio-scsi.h> +#include <hw/virtio/virtio-rng.h> +#include <hw/virtio/virtio-bus.h> #define VIRTUAL_CSSID 0xfe
hw/sb16.c +2 -2
@@ -22,9 +22,9 @@* THE SOFTWARE. */ #include "hw/hw.h" -#include "hw/audiodev.h" +#include "hw/audio/audio.h" #include "audio/audio.h" -#include "hw/isa.h" +#include "hw/isa/isa.h" #include "hw/qdev.h" #include "qemu/timer.h" #include "qemu/host-utils.h"
hw/scsi-bus.c +2 -2
@@ -1,7 +1,7 @@#include "hw/hw.h" #include "qemu/error-report.h" -#include "hw/scsi.h" -#include "hw/scsi-defs.h" +#include "hw/scsi/scsi.h" +#include "block/scsi.h" #include "hw/qdev.h" #include "sysemu/blockdev.h" #include "trace.h"
hw/scsi-disk.c +3 -3
@@ -30,11 +30,11 @@ do { printf("scsi-disk: " fmt , ## __VA_ARGS__); } while (0)#include "qemu-common.h" #include "qemu/error-report.h" -#include "hw/scsi.h" -#include "hw/scsi-defs.h" +#include "hw/scsi/scsi.h" +#include "block/scsi.h" #include "sysemu/sysemu.h" #include "sysemu/blockdev.h" -#include "hw/block-common.h" +#include "hw/block/block.h" #include "sysemu/dma.h" #ifdef __linux
hw/scsi-generic.c +2 -2
@@ -13,7 +13,7 @@#include "qemu-common.h" #include "qemu/error-report.h" -#include "hw/scsi.h" +#include "hw/scsi/scsi.h" #include "sysemu/blockdev.h" #ifdef __linux__
@@ -35,7 +35,7 @@ do { fprintf(stderr, "scsi-generic: " fmt , ## __VA_ARGS__); } while (0)#include <sys/stat.h> #include <unistd.h> #include <scsi/sg.h> -#include "hw/scsi-defs.h" +#include "block/scsi.h" #define SCSI_SENSE_BUF_SIZE 96
hw/serial-isa.c +2 -2
@@ -23,8 +23,8 @@* THE SOFTWARE. */ -#include "hw/serial.h" -#include "hw/isa.h" +#include "hw/char/serial.h" +#include "hw/isa/isa.h" typedef struct ISASerialState { ISADevice dev;
hw/serial-pci.c +1 -1
@@ -25,7 +25,7 @@/* see docs/specs/pci-serial.txt */
Lines of this file are not shown. View the raw message.
include/block/scsi.h renamed from hw/scsi-defs.h +0 -0
include/hw/acpi/acpi.h renamed from hw/acpi.h +0 -0
include/hw/acpi/ich9.h renamed from hw/acpi_ich9.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/arm.h renamed from hw/arm-misc.h +0 -0
include/hw/arm/devices.h renamed from hw/devices.h +0 -0
include/hw/arm/exynos4210.h renamed from hw/exynos4210.h +0 -0
include/hw/arm/imx.h renamed from hw/imx.h +0 -0
include/hw/arm/omap.h renamed from hw/omap.h +0 -0
include/hw/arm/primecell.h renamed from hw/primecell.h +0 -0
include/hw/arm/pxa.h renamed from hw/pxa.h +0 -0
include/hw/arm/sharpsl.h renamed from hw/sharpsl.h +0 -0
include/hw/arm/soc_dma.h renamed from hw/soc_dma.h +0 -0
include/hw/audio/audio.h renamed from hw/audiodev.h +0 -0
include/hw/audio/pcspk.h renamed from hw/pcspk.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/block/block.h renamed from hw/block-common.h +0 -0
include/hw/block/fdc.h renamed from hw/fdc.h +0 -0
include/hw/block/flash.h renamed from hw/flash.h +0 -0
include/hw/boards.h renamed from hw/boards.h +0 -0
include/hw/bt.h renamed from hw/bt.h +0 -0
include/hw/char/escc.h renamed from hw/escc.h +0 -0
include/hw/char/serial.h renamed from hw/serial.h +0 -0
include/hw/cris/etraxfs.h renamed from hw/etraxfs.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/cris/etraxfs_dma.h renamed from hw/etraxfs_dma.h +0 -0
include/hw/elf_ops.h renamed from hw/elf_ops.h +0 -0
include/hw/empty_slot.h renamed from hw/empty_slot.h +0 -0
include/hw/hw.h renamed from hw/hw.h +0 -0
include/hw/i2c/i2c.h renamed from hw/i2c.h +0 -0
include/hw/i2c/pm_smbus.h renamed from hw/pm_smbus.h +0 -0
include/hw/i2c/smbus.h renamed from hw/smbus.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/i386/apic-msidef.h renamed from hw/apic-msidef.h +0 -0
include/hw/i386/apic.h renamed from hw/apic.h +0 -0
include/hw/i386/apic_internal.h renamed from hw/apic_internal.h +0 -0
include/hw/i386/ich9.h renamed from hw/ich9.h +7 -7
Lines of this file are not shown. View the raw message.
include/hw/i386/ioapic.h renamed from hw/ioapic.h +0 -0
include/hw/i386/ioapic_internal.h renamed from hw/ioapic_internal.h +0 -0
include/hw/i386/pc.h renamed from hw/pc.h +3 -3
Lines of this file are not shown. View the raw message.
include/hw/i386/smbios.h renamed from hw/smbios.h +0 -0
include/hw/input/adb.h renamed from hw/adb.h +0 -0
include/hw/input/hid.h renamed from hw/hid.h +0 -0
include/hw/input/ps2.h renamed from hw/ps2.h +0 -0
include/hw/irq.h renamed from hw/irq.h +0 -0
include/hw/isa/apm.h renamed from hw/apm.h +0 -0
include/hw/isa/i8259_internal.h renamed from hw/i8259_internal.h +2 -2
Lines of this file are not shown. View the raw message.
include/hw/isa/isa.h renamed from hw/isa.h +0 -0
include/hw/isa/pc87312.h renamed from hw/pc87312.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/isa/vt82c686.h renamed from hw/vt82c686.h +0 -0
include/hw/kvm/clock.h renamed from hw/kvm/clock.h +0 -0
include/hw/lm32/lm32_juart.h renamed from hw/lm32_juart.h +0 -0
include/hw/lm32/lm32_pic.h renamed from hw/lm32_pic.h +0 -0
include/hw/loader.h renamed from hw/loader.h +0 -0
include/hw/m68k/mcf.h renamed from hw/mcf.h +0 -0
include/hw/mips/bios.h renamed from hw/mips-bios.h +0 -0
include/hw/mips/cpudevs.h renamed from hw/mips_cpudevs.h +0 -0
include/hw/mips/mips.h renamed from hw/mips.h +0 -0
include/hw/misc/tmp105_regs.h renamed from hw/tmp105_regs.h +0 -0
include/hw/nvram/eeprom93xx.h renamed from hw/eeprom93xx.h +0 -0
include/hw/nvram/fw_cfg.h renamed from hw/fw_cfg.h +0 -0
include/hw/pci/host-apb.h renamed from hw/apb_pci.h +0 -0
include/hw/pci/host-ppce500.h renamed from hw/ppce500_pci.h +0 -0
include/hw/pci/host-q35.h renamed from hw/q35.h +7 -7
Lines of this file are not shown. View the raw message.
include/hw/pci/host-spapr.h renamed from hw/spapr_pci.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/pci/host-typhoon.h renamed from hw/alpha_sys.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/pci/pam.h renamed from hw/pam.h +0 -0
include/hw/pcmcia.h renamed from hw/pcmcia.h +0 -0
include/hw/ppc/mac_dbdma.h renamed from hw/mac_dbdma.h +0 -0
include/hw/ppc/openpic.h renamed from hw/openpic.h +0 -0
include/hw/ppc/ppc.h renamed from hw/ppc.h +0 -0
include/hw/ppc/ppc4xx.h renamed from hw/ppc4xx.h +0 -0
include/hw/ppc/spapr.h renamed from hw/spapr.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/ppc/spapr_vio.h renamed from hw/spapr_vio.h +0 -0
include/hw/ppc/xics.h renamed from hw/xics.h +0 -0
include/hw/ptimer.h renamed from hw/ptimer.h +0 -0
include/hw/qdev-addr.h renamed from hw/qdev-addr.h +0 -0
include/hw/qdev-core.h renamed from hw/qdev-core.h +0 -0
include/hw/qdev-dma.h renamed from hw/qdev-dma.h +0 -0
include/hw/qdev-properties.h renamed from hw/qdev-properties.h +0 -0
include/hw/qdev.h renamed from hw/qdev.h +0 -0
include/hw/s390x/event-facility.h renamed from hw/s390x/event-facility.h +0 -0
include/hw/s390x/sclp.h renamed from hw/s390x/sclp.h +0 -0
include/hw/scsi/esp.h renamed from hw/esp.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/scsi/scsi.h renamed from hw/scsi.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/sd.h renamed from hw/sd.h +0 -0
include/hw/sh4/sh.h renamed from hw/sh.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/sh4/sh_intc.h renamed from hw/sh_intc.h +0 -0
include/hw/sparc/firmware_abi.h renamed from hw/firmware_abi.h +0 -0
include/hw/sparc/grlib.h renamed from hw/grlib.h +0 -0
include/hw/sparc/sparc32_dma.h renamed from hw/sparc32_dma.h +0 -0
include/hw/sparc/sun4m.h renamed from hw/sun4m.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/ssi.h renamed from hw/ssi.h +0 -0
include/hw/stream.h renamed from hw/stream.h +0 -0
include/hw/sysbus.h renamed from hw/sysbus.h +0 -0
include/hw/timer/hpet.h renamed from hw/hpet_emul.h +0 -0
include/hw/timer/i8254.h renamed from hw/i8254.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/timer/i8254_internal.h renamed from hw/i8254_internal.h +2 -2
Lines of this file are not shown. View the raw message.
include/hw/timer/m48t59.h renamed from hw/nvram.h +0 -0
include/hw/timer/mc146818rtc.h renamed from hw/mc146818rtc.h +2 -2
Lines of this file are not shown. View the raw message.
include/hw/timer/mc146818rtc_regs.h renamed from hw/mc146818rtc_regs.h +0 -0
include/hw/unicore32/puv3.h renamed from hw/puv3.h +0 -0
include/hw/usb.h renamed from hw/usb.h +0 -0
include/hw/virtio/vhost.h renamed from hw/vhost.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/virtio/virtio-9p.h renamed from hw/9pfs/virtio-9p-device.h +0 -0
include/hw/virtio/virtio-balloon.h renamed from hw/virtio-balloon.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/virtio/virtio-blk.h renamed from hw/virtio-blk.h +2 -2
Lines of this file are not shown. View the raw message.
include/hw/virtio/virtio-bus.h renamed from hw/virtio-bus.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/virtio/virtio-net.h renamed from hw/virtio-net.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/virtio/virtio-rng.h renamed from hw/virtio-rng.h +0 -0
include/hw/virtio/virtio-scsi.h renamed from hw/virtio-scsi.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/virtio/virtio-serial.h renamed from hw/virtio-serial.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/virtio/virtio.h renamed from hw/virtio.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/xen/xen.h renamed from hw/xen.h +0 -0
include/hw/xen/xen_backend.h renamed from hw/xen_backend.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/xen/xen_common.h renamed from hw/xen_common.h +1 -1
Lines of this file are not shown. View the raw message.
include/hw/xilinx.h renamed from hw/xilinx.h +0 -0
include/net/vhost_net.h renamed from hw/vhost_net.h +0 -0
include/sysemu/watchdog.h renamed from hw/watchdog.h +0 -0
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.8.1.4
Part of the diff is not shown here. View the raw message.
PATCH 2/35 hw: make subdirectories for devices
In reply to Paolo BonziniPrepare the new directory structure.
--- hw/Makefile.objs | 33 ++++++++++++++++++++++++++++++--- hw/acpi/Makefile.objs | 0 hw/audio/Makefile.objs | 0 hw/block/Makefile.objs | 0 hw/bt/Makefile.objs | 0 hw/char/Makefile.objs | 0 hw/core/Makefile.objs | 0 hw/display/Makefile.objs | 0 hw/dma/Makefile.objs | 0 hw/gpio/Makefile.objs | 0 hw/i2c/Makefile.objs | 0 hw/input/Makefile.objs | 0 hw/intc/Makefile.objs | 0 hw/isa/Makefile.objs | 0 hw/misc/Makefile.objs | 0 hw/net/Makefile.objs | 0 hw/nvram/Makefile.objs | 0 hw/scsi/Makefile.objs | 0 hw/sd/Makefile.objs | 0 hw/ssi/Makefile.objs | 0 hw/timer/Makefile.objs | 0 hw/virtio/Makefile.objs | 0 hw/watchdog/Makefile.objs | 0 hw/xen/Makefile.objs | 0 24 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 hw/acpi/Makefile.objs create mode 100644 hw/audio/Makefile.objs create mode 100644 hw/block/Makefile.objs create mode 100644 hw/bt/Makefile.objs create mode 100644 hw/char/Makefile.objs create mode 100644 hw/core/Makefile.objs create mode 100644 hw/display/Makefile.objs create mode 100644 hw/dma/Makefile.objs create mode 100644 hw/gpio/Makefile.objs create mode 100644 hw/i2c/Makefile.objs create mode 100644 hw/input/Makefile.objs create mode 100644 hw/intc/Makefile.objs create mode 100644 hw/isa/Makefile.objs create mode 100644 hw/misc/Makefile.objs create mode 100644 hw/net/Makefile.objs create mode 100644 hw/nvram/Makefile.objs create mode 100644 hw/scsi/Makefile.objs create mode 100644 hw/sd/Makefile.objs create mode 100644 hw/ssi/Makefile.objs create mode 100644 hw/timer/Makefile.objs create mode 100644 hw/virtio/Makefile.objs create mode 100644 hw/watchdog/Makefile.objs create mode 100644 hw/xen/Makefile.objs
hw/Makefile.objs +30 -3
@@ -3,8 +3,37 @@ common-obj-y += qdev.o qdev-properties.o # irq.o needed for qdev GPIO handling: common-obj-y += irq.o +devices-dirs-$(CONFIG_REALLY_VIRTFS) += 9pfs/ +devices-dirs-$(CONFIG_ACPI) += acpi/ +devices-dirs-$(CONFIG_SOFTMMU) += audio/ +devices-dirs-$(CONFIG_SOFTMMU) += block/ +devices-dirs-$(CONFIG_SOFTMMU) += bt/ +devices-dirs-$(CONFIG_SOFTMMU) += char/ +devices-dirs-$(CONFIG_SOFTMMU) += display/ +devices-dirs-$(CONFIG_SOFTMMU) += dma/ +devices-dirs-$(CONFIG_SOFTMMU) += gpio/ +devices-dirs-$(CONFIG_SOFTMMU) += i2c/ +devices-dirs-$(CONFIG_SOFTMMU) += ide/ +devices-dirs-$(CONFIG_SOFTMMU) += input/ +devices-dirs-$(CONFIG_SOFTMMU) += intc/ +devices-dirs-$(CONFIG_SOFTMMU) += isa/ +devices-dirs-$(CONFIG_SOFTMMU) += misc/ +devices-dirs-$(CONFIG_SOFTMMU) += net/ +devices-dirs-$(CONFIG_SOFTMMU) += nvram/ +devices-dirs-$(CONFIG_SOFTMMU) += pci/ +devices-dirs-$(CONFIG_SOFTMMU) += scsi/ +devices-dirs-$(CONFIG_SOFTMMU) += sd/ +devices-dirs-$(CONFIG_SOFTMMU) += ssi/ +devices-dirs-$(CONFIG_SOFTMMU) += timer/ +devices-dirs-$(CONFIG_SOFTMMU) += usb/ +devices-dirs-$(CONFIG_SOFTMMU) += virtio/ +devices-dirs-$(CONFIG_SOFTMMU) += watchdog/ +devices-dirs-$(CONFIG_SOFTMMU) += xen/ +common-obj-y += core/ +common-obj-y += $(devices-dirs-y) +obj-y += $(devices-dirs-y) + ifeq ($(CONFIG_SOFTMMU),y) -common-obj-y += usb/ ide/ pci/ common-obj-y += loader.o common-obj-$(CONFIG_VIRTIO) += virtio-console.o common-obj-$(CONFIG_VIRTIO) += virtio-rng.o
@@ -165,7 +194,6 @@ common-obj-$(CONFIG_SOUND) += $(sound-obj-y) common-obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/ -common-obj-y += usb/ common-obj-$(CONFIG_PTIMER) += ptimer.o common-obj-$(CONFIG_MAX7310) += max7310.o common-obj-$(CONFIG_WM8750) += wm8750.o
@@ -205,7 +233,6 @@ obj-$(CONFIG_VIRTIO) += virtio.o virtio-blk.o virtio-balloon.o virtio-net.o obj-$(CONFIG_VIRTIO) += virtio-serial-bus.o virtio-scsi.o obj-$(CONFIG_SOFTMMU) += vhost_net.o obj-$(CONFIG_VHOST_NET) += vhost.o -obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/ obj-$(CONFIG_VGA) += vga.o # Inter-VM PCI shared memory & VFIO PCI device assignment
hw/acpi/Makefile.objs new file +0 -0
hw/audio/Makefile.objs new file +0 -0
hw/block/Makefile.objs new file +0 -0
hw/bt/Makefile.objs new file +0 -0
hw/char/Makefile.objs new file +0 -0
hw/core/Makefile.objs new file +0 -0
hw/display/Makefile.objs new file +0 -0
hw/dma/Makefile.objs new file +0 -0
hw/gpio/Makefile.objs new file +0 -0
hw/i2c/Makefile.objs new file +0 -0
hw/input/Makefile.objs new file +0 -0
hw/intc/Makefile.objs new file +0 -0
hw/isa/Makefile.objs new file +0 -0
hw/misc/Makefile.objs new file +0 -0
hw/net/Makefile.objs new file +0 -0
hw/nvram/Makefile.objs new file +0 -0
hw/scsi/Makefile.objs new file +0 -0
hw/sd/Makefile.objs new file +0 -0
hw/ssi/Makefile.objs new file +0 -0
hw/timer/Makefile.objs new file +0 -0
hw/virtio/Makefile.objs new file +0 -0
hw/watchdog/Makefile.objs new file +0 -0
hw/xen/Makefile.objs new file +0 -0
Signature · 1 line
1.8.1.4
PATCH 3/35 configure: fix TPM logic
In reply to Paolo BonziniA non-native i386 or x86_64 emulator should not have TPM passthrough support, since the TPM is only present for those hosts.
--- configure | 24 ++++++++++++++++++------ default-configs/i386-softmmu.mak | 3 +-- default-configs/x86_64-softmmu.mak | 3 +-- tpm/Makefile.objs | 4 +--- 4 files changed, 21 insertions(+), 13 deletions(-)
configure +18 -6
@@ -2350,6 +2350,15 @@ EOF fi ########################################## +# TPM passthrough is only on x86 Linux + +if test "$targetos" = Linux && test "$cpu" = i386 -o "$cpu" = x86_64; then + tpm_passthrough=$tpm +else + tpm_passthrough=no +fi + +########################################## # adjust virtio-blk-data-plane based on linux-aio if test "$virtio_blk_data_plane" = "yes" -a \
@@ -3439,6 +3448,7 @@ echo "virtio-blk-data-plane $virtio_blk_data_plane" echo "gcov $gcov_tool" echo "gcov enabled $gcov" echo "TPM support $tpm" +echo "TPM passthrough $tpm_passthrough" if test "$sdl_too_old" = "yes"; then echo "-> Your SDL version is too old - please upgrade to have SDL support"
@@ -3821,6 +3831,14 @@ bsd) ;; esac +# TPM passthrough support? +if test "$tpm" = "yes"; then + echo "CONFIG_TPM=$(CONFIG_SOFTMMU)" >> $config_host_mak + if test "$tpm_passthrough" = "yes"; then + echo "CONFIG_TPM_PASSTHROUGH=y" >> $config_host_mak + fi +fi + # use default implementation for tracing backend-specific routines trace_default=yes echo "TRACE_BACKEND=$trace_backend" >> $config_host_mak
@@ -4351,12 +4369,6 @@ if test "$gprof" = "yes" ; then fi fi -if test "$tpm" = "yes"; then - if test "$target_softmmu" = "yes" ; then - echo "CONFIG_TPM=y" >> $config_host_mak - fi -fi - if test "$ARCH" = "tci"; then linker_script="" else
default-configs/i386-softmmu.mak +1 -2
@@ -26,5 +26,4 @@ CONFIG_HPET=y CONFIG_APPLESMC=y CONFIG_I8259=y CONFIG_PFLASH_CFI01=y -CONFIG_TPM_TIS=y -CONFIG_TPM_PASSTHROUGH=y +CONFIG_TPM_TIS=$(CONFIG_TPM)
default-configs/x86_64-softmmu.mak +1 -2
@@ -26,5 +26,4 @@ CONFIG_HPET=y CONFIG_APPLESMC=y CONFIG_I8259=y CONFIG_PFLASH_CFI01=y -CONFIG_TPM_TIS=y -CONFIG_TPM_PASSTHROUGH=y +CONFIG_TPM_TIS=$(CONFIG_TPM)
tpm/Makefile.objs +1 -3
@@ -1,6 +1,4 @@ common-obj-y = tpm.o -ifeq ($(CONFIG_TPM),y) -common-obj-y += tpm_backend.o +common-obj-$(CONFIG_TPM) += tpm_backend.o common-obj-$(CONFIG_TPM_TIS) += tpm_tis.o common-obj-$(CONFIG_TPM_PASSTHROUGH) += tpm_passthrough.o -endif
Signature · 1 line
1.8.1.4
Re: [Qemu-devel] [PATCH 03/35] configure: fix TPM logic
Am 18.03.2013 18:34, schrieb Paolo Bonzini:
Quoted 4 lines
A non-native i386 or
x86_64emulator should not have TPM passthrough support, since the TPM is only present for those hosts.Signed-off-by Paolo Bonzini <[email protected]>
Looks good,
Thanks,
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
PATCH 4/35 tpm: reorganize headers and split hardware part
In reply to Paolo BonziniThe TPM subsystem does not have a good front-end/back-end separation. However, we can at least try to split the user interface (tpm.c) from the implementation (hw/tpm).
The patches makes tpm.c not include tpm_int.h; instead it moves more stuff to tpm_backend.h.
---
Makefile.objs | 2 +-
default-configs/i386-softmmu.mak | 2 +-
default-configs/x86_64-softmmu.mak | 2 +-
hw/Makefile.objs | 1 +
{tpm => hw/tpm}/Makefile.objs | 3 +-
{tpm => hw/tpm}/tpm_backend.c | 14 ++++++++++
{tpm => hw/tpm}/tpm_int.h | 55 ++----------------------------------
{tpm => hw/tpm}/tpm_passthrough.c | 0
{tpm => hw/tpm}/tpm_tis.c | 0
{tpm => hw/tpm}/tpm_tis.h | 5 ----
{tpm => include/tpm}/tpm_backend.h | 57 ++++++++++++++++++++++++++++++++++++++
tpm/tpm.c => tpm.c | 18 ++----------
12 files changed, 80 insertions(+), 79 deletions(-)
rename {tpm => hw/tpm}/Makefile.objs (61%)
rename {tpm => hw/tpm}/tpm_backend.c (82%)
rename {tpm => hw/tpm}/tpm_int.h (49%)
rename {tpm => hw/tpm}/tpm_passthrough.c (100%)
rename {tpm => hw/tpm}/tpm_tis.c (100%)
rename {tpm => hw/tpm}/tpm_tis.h (94%)
rename {tpm => include/tpm}/tpm_backend.h (50%)
rename tpm/tpm.c => tpm.c (93%)Makefile.objs +1 -1
@@ -74,7 +74,7 @@ common-obj-y += bt-host.o bt-vhci.o common-obj-y += dma-helpers.o common-obj-y += vl.o -common-obj-y += tpm/ +common-obj-y += tpm.o common-obj-$(CONFIG_SLIRP) += slirp/
default-configs/i386-softmmu.mak +1 -1
@@ -26,4 +26,4 @@ CONFIG_HPET=y CONFIG_APPLESMC=y CONFIG_I8259=y CONFIG_PFLASH_CFI01=y -CONFIG_TPM_TIS=$(CONFIG_TPM) +CONFIG_TPM_TIS=y
default-configs/x86_64-softmmu.mak +1 -1
@@ -26,4 +26,4 @@ CONFIG_HPET=y CONFIG_APPLESMC=y CONFIG_I8259=y CONFIG_PFLASH_CFI01=y -CONFIG_TPM_TIS=$(CONFIG_TPM) +CONFIG_TPM_TIS=y
hw/Makefile.objs +1 -0
@@ -25,6 +25,7 @@ devices-dirs-$(CONFIG_SOFTMMU) += scsi/ devices-dirs-$(CONFIG_SOFTMMU) += sd/ devices-dirs-$(CONFIG_SOFTMMU) += ssi/ devices-dirs-$(CONFIG_SOFTMMU) += timer/ +devices-dirs-$(CONFIG_TPM) += tpm/ devices-dirs-$(CONFIG_SOFTMMU) += usb/ devices-dirs-$(CONFIG_SOFTMMU) += virtio/ devices-dirs-$(CONFIG_SOFTMMU) += watchdog/
hw/tpm/Makefile.objs renamed from tpm/Makefile.objs +1 -2
@@ -1,4 +1,3 @@ -common-obj-y = tpm.o -common-obj-$(CONFIG_TPM) += tpm_backend.o +common-obj-y += tpm_backend.o common-obj-$(CONFIG_TPM_TIS) += tpm_tis.o common-obj-$(CONFIG_TPM_PASSTHROUGH) += tpm_passthrough.o
hw/tpm/tpm_backend.c renamed from tpm/tpm_backend.c +14 -0
@@ -56,3 +56,17 @@ void tpm_backend_thread_tpm_reset(TPMBackendThread *tbt, NULL); } } + +/* +* Write an error message in the given output buffer. +*/ +void tpm_write_fatal_error_response (uint8_t *out,uint32_t out_len) +{ +if (out_len >=sizeof (struct tpm_resp_hdr )) { +struct tpm_resp_hdr *resp = (struct tpm_resp_hdr *)out; + + resp->tag =cpu_to_be16 (TPM_TAG_RSP_COMMAND ); + resp->len =cpu_to_be32 (sizeof (struct tpm_resp_hdr )); + resp->errcode =cpu_to_be32 (TPM_FAIL ); + } +}
hw/tpm/tpm_int.h renamed from tpm/tpm_int.h +2 -53
77 lines not on this page · raw message
hw/tpm/tpm_passthrough.c renamed from tpm/tpm_passthrough.c +0 -0
hw/tpm/tpm_tis.c renamed from tpm/tpm_tis.c +0 -0
hw/tpm/tpm_tis.h renamed from tpm/tpm_tis.h +0 -5
@@ -35,11 +35,6 @@#define TYPE_TPM_TIS "tpm-tis" -typedef struct TPMSizedBuffer { -uint32_t size; -uint8_t *buffer; -}TPMSizedBuffer ; - typedef enum { TPM_TIS_STATE_IDLE = 0, TPM_TIS_STATE_READY,
include/tpm/tpm_backend.h renamed from tpm/tpm_backend.h +57 -0
61 lines not on this page · raw message
tpm.c renamed from tpm/tpm.c +2 -16
@@ -15,7 +15,7 @@#include "monitor/monitor.h" #include "qapi/qmp/qerror.h" -#include "tpm_int.h" +#include "tpm/tpm_backend.h" #include "tpm/tpm.h" #include "qemu/config-file.h" #include "qmp-commands.h"
@@ -61,20 +61,6 @@ static bool tpm_model_is_registered(enum TpmModel model)return false; } -/* -* Write an error message in the given output buffer. -*/ -void tpm_write_fatal_error_response (uint8_t *out,uint32_t out_len) -{ -if (out_len >=sizeof (struct tpm_resp_hdr )) { -struct tpm_resp_hdr *resp = (struct tpm_resp_hdr *)out; - - resp->tag =cpu_to_be16 (TPM_TAG_RSP_COMMAND ); - resp->len =cpu_to_be32 (sizeof (struct tpm_resp_hdr )); - resp->errcode =cpu_to_be32 (TPM_FAIL ); - } -} -const TPMDriverOps *tpm_get_backend_driver (const char *type) {int i;
@@ -108,7 +94,7 @@ int tpm_register_driver(const TPMDriverOps *tdo)* Walk the list of available TPM backend drivers and display them on the * screen. */ -void tpm_display_backend_drivers (void ) +static void tpm_display_backend_drivers (void ) {int i;
Signature · 1 line
1.8.1.4
Re: [Qemu-devel] [PATCH 04/35] tpm: reorganize headers and split hardware part
Quoted 1 line · Paolo Bonzini
The TPM subsystem does not have a good front-end/back-end separation.
I think it has very good front-end/back-end separation, but perhaps you mean the code could be moved around and better organized.
Quoted 2 lines
However, we can at least try to split the user interface (
tpm.c) from the implementation (hw/tpm).
Here's a general break-down of front-end/back-end/general code
tpm_tis.c = TIS front-end (the only front-end at this time) tpm_passthrough.c = Passthrough backend (the only back-end at this time) tpm.c = general codetpm_backend.c = backend thread pool functions (could use a better file name?)
Quoted 101 lines
The patches makes
tpm.cnot includetpm_int.h; instead it moves more stuff totpm_backend.h.Signed-off-by Paolo Bonzini <[email protected]>--- Makefile.objs | 2 +- default-configs/i386-softmmu.mak | 2 +- default-configs/x86_64-softmmu.mak | 2 +- hw/Makefile.objs | 1 + {tpm => hw/tpm}/Makefile.objs | 3 +- {tpm => hw/tpm}/tpm_backend.c | 14 ++++++++++ {tpm => hw/tpm}/tpm_int.h | 55 ++---------------------------------- {tpm => hw/tpm}/tpm_passthrough.c | 0 {tpm => hw/tpm}/tpm_tis.c | 0 {tpm => hw/tpm}/tpm_tis.h | 5 ---- {tpm => include/tpm}/tpm_backend.h | 57 ++++++++++++++++++++++++++++++++++++++ tpm/tpm.c => tpm.c | 18 ++---------- 12 files changed, 80 insertions(+), 79 deletions(-)rename {tpm => hw/tpm}/Makefile.objs (61%)
rename {tpm =>hw/tpm}/tpm_backend.c(82%)
rename {tpm =>hw/tpm}/tpm_int.h(49%)
rename {tpm =>hw/tpm}/tpm_passthrough.c(100%)
rename {tpm =>hw/tpm}/tpm_tis.c(100%)
rename {tpm =>hw/tpm}/tpm_tis.h(94%)
rename {tpm =>include/tpm}/tpm_backend.h(50%)
renametpm/tpm.c=>tpm.c(93%)Makefile.objs +1
-1@@ -74,7 +74,7 @@ common-obj-y += bt-host.o bt-vhci.o common-obj-y += dma-helpers.o common-obj-y += vl.o -common-obj-y += tpm/ +common-obj-y += tpm.o common-obj-$(CONFIG_SLIRP) += slirp/default-configs/i386-softmmu.mak +1
-1@@ -26,4 +26,4 @@ CONFIG_HPET=y CONFIG_APPLESMC=y CONFIG_I8259=y CONFIG_PFLASH_CFI01=y -CONFIG_TPM_TIS=$(CONFIG_TPM) +CONFIG_TPM_TIS=ydefault-configs/x86_64-softmmu.mak +1
-1@@ -26,4 +26,4 @@ CONFIG_HPET=y CONFIG_APPLESMC=y CONFIG_I8259=y CONFIG_PFLASH_CFI01=y -CONFIG_TPM_TIS=$(CONFIG_TPM) +CONFIG_TPM_TIS=yhw/Makefile.objs +1
-0@@ -25,6 +25,7 @@ devices-dirs-$(CONFIG_SOFTMMU) += scsi/ devices-dirs-$(CONFIG_SOFTMMU) += sd/ devices-dirs-$(CONFIG_SOFTMMU) += ssi/ devices-dirs-$(CONFIG_SOFTMMU) += timer/ +devices-dirs-$(CONFIG_TPM) += tpm/ devices-dirs-$(CONFIG_SOFTMMU) += usb/ devices-dirs-$(CONFIG_SOFTMMU) += virtio/ devices-dirs-$(CONFIG_SOFTMMU) += watchdog/hw/tpm/Makefile.objs renamed from tpm/Makefile.objs +1
-2@@ -1,4 +1,3 @@ -common-obj-y = tpm.o -common-obj-$(CONFIG_TPM) += tpm_backend.o +common-obj-y += tpm_backend.o common-obj-$(CONFIG_TPM_TIS) += tpm_tis.o common-obj-$(CONFIG_TPM_PASSTHROUGH) += tpm_passthrough.ohw/tpm/tpm_backend.c renamed from tpm/tpm_backend.c +4
-0@@ -56,3 +56,17 @@ void tpm_backend_thread_tpm_reset(TPMBackendThread *tbt, NULL); } } + +/* +* Write an error message in the given output buffer. +*/
hw/tpm/tpm_backend.c void tpm_backend_thread_tpm_reset(TPMBackendThread *tbt, · line 72
Quoted 10 lines
hw/tpm/tpm_backend.c renamed from tpm/tpm_backend.c +10
-0+void tpm_write_fatal_error_response (uint8_t *out,uint32_t out_len) +{ +if (out_len >=sizeof (struct tpm_resp_hdr )) { +struct tpm_resp_hdr *resp = (struct tpm_resp_hdr *)out; + + resp->tag =cpu_to_be16 (TPM_TAG_RSP_COMMAND ); + resp->len =cpu_to_be32 (sizeof (struct tpm_resp_hdr )); + resp->errcode =cpu_to_be32 (TPM_FAIL ); + } +}
I don't think moving this from tpm.c to tpm_backend.c helps anything. Maybe just renaming some of the files mentioned above might make the front-end vs back-end vs general code more intuitive.
Signature · 2 lines
Regards, Corey Bryant
Quoted 229 lines
hw/tpm/tpm_int.h renamed from tpm/tpm_int.h +2
-53@@ -15,27 +15,8 @@#include "exec/memory.h" #include "tpm/tpm_tis.h" -struct TPMDriverOps ; -typedef struct TPMDriverOps TPMDriverOps ; - -typedef struct TPMPassthruState TPMPassthruState ; - -typedef struct TPMBackend { -char *id; -enum TpmModel fe_model; -char *path; -char *cancel_path; -const TPMDriverOps *ops; - -union { -TPMPassthruState *tpm_pt; - } s; - -QLIST_ENTRY (TPMBackend) list; -}TPMBackend ; -/* overall state of the TPM interface */ -typedef struct TPMState { +struct TPMState {ISADevice busdev;MemoryRegion mmio;@@ -48,38 +29,10 @@ typedef struct TPMState {char *backend;TPMBackend *be_driver; -} TPMState; +};#define TPM (obj) OBJECT_CHECK(TPMState, (obj), TYPE_TPM_TIS) -typedef void (TPMRecvDataCB )(TPMState *,uint8_t locty); - -struct TPMDriverOps { -enum TpmType type; -/* get a descriptive text of the backend to display to the user */ -const char *(*desc)(void ); - -TPMBackend *(*create)(QemuOpts *opts,const char *id); -void (*destroy)(TPMBackend *t); - -/* initialize the backend */ -int (*init)(TPMBackend *t,TPMState *s,TPMRecvDataCB *datacb); -/* start up the TPM on the backend */ -int (*startup_tpm)(TPMBackend *t); -/* returns true if nothing will ever answer TPM requests */ -bool (*had_startup_error)(TPMBackend *t); - -size_t (*realloc_buffer)(TPMSizedBuffer *sb); - -void (*deliver_request)(TPMBackend *t); - -void (*reset)(TPMBackend *t); - -void (*cancel_cmd)(TPMBackend *t); - -bool (*get_tpm_established_flag)(TPMBackend *t); -}; -struct tpm_req_hdr {uint16_t tag;uint32_t len;@@ -105,10 +58,6 @@ struct tpm_resp_hdr {#define TPM_ORD_GetTicks 0xf1TPMBackend *qemu_find_tpm (const char *id); -int tpm_register_model (enum TpmModel model); -int tpm_register_driver (const TPMDriverOps *tdo); -void tpm_display_backend_drivers (void ); -const TPMDriverOps *tpm_get_backend_driver (const char *type);void tpm_write_fatal_error_response (uint8_t *out,uint32_t out_len);extern const TPMDriverOps tpm_passthrough_driver;hw/tpm/tpm_passthrough.c renamed from tpm/tpm_passthrough.c +0
-0hw/tpm/tpm_tis.c renamed from tpm/tpm_tis.c +0
-0hw/tpm/tpm_tis.h renamed from tpm/tpm_tis.h +0
-5@@ -35,11 +35,6 @@#define TYPE_TPM_TIS "tpm-tis" -typedef struct TPMSizedBuffer { -uint32_t size; -uint8_t *buffer; -}TPMSizedBuffer ; - typedef enum { TPM_TIS_STATE_IDLE = 0, TPM_TIS_STATE_READY,include/tpm/tpm_backend.h renamed from tpm/tpm_backend.h +57
-0@@ -42,4 +42,61 @@ typedef enum TPMBackendCmd {TPM_BACKEND_CMD_TPM_RESET , } TPMBackendCmd; +struct TPMDriverOps ; +typedef struct TPMDriverOps TPMDriverOps ; + +typedef struct TPMState TPMState ; +typedef struct TPMPassthruState TPMPassthruState ; + +typedef struct TPMBackend { +char *id; +enum TpmModel fe_model; +char *path; +char *cancel_path; +const TPMDriverOps *ops; + +union { +TPMPassthruState *tpm_pt; + } s; + +QLIST_ENTRY (TPMBackend) list; +}TPMBackend ; + +typedef void (TPMRecvDataCB )(TPMState *,uint8_t locty); + +typedef struct TPMSizedBuffer { +uint32_t size; +uint8_t *buffer; +}TPMSizedBuffer ; + +struct TPMDriverOps { +enum TpmType type; +/* get a descriptive text of the backend to display to the user */ +const char *(*desc)(void ); + +TPMBackend *(*create)(QemuOpts *opts,const char *id); +void (*destroy)(TPMBackend *t); + +/* initialize the backend */ +int (*init)(TPMBackend *t,TPMState *s,TPMRecvDataCB *datacb); +/* start up the TPM on the backend */ +int (*startup_tpm)(TPMBackend *t); +/* returns true if nothing will ever answer TPM requests */ +bool (*had_startup_error)(TPMBackend *t); + +size_t (*realloc_buffer)(TPMSizedBuffer *sb); + +void (*deliver_request)(TPMBackend *t); + +void (*reset)(TPMBackend *t); + +void (*cancel_cmd)(TPMBackend *t); + +bool (*get_tpm_established_flag)(TPMBackend *t); +}; + +const TPMDriverOps *tpm_get_backend_driver (const char *type); +int tpm_register_model (enum TpmModel model); +int tpm_register_driver (const TPMDriverOps *tdo); +#endif /* TPM_TPM_BACKEND_H */ tpm.c renamed from tpm/tpm.c +2
-16@@ -15,7 +15,7 @@#include "monitor/monitor.h" #include "qapi/qmp/qerror.h" -#include "tpm_int.h" +#include "tpm/tpm_backend.h" #include "tpm/tpm.h" #include "qemu/config-file.h" #include "qmp-commands.h" @@ -61,20 +61,6 @@ static bool tpm_model_is_registered(enum TpmModel model)return false; } -/* -* Write an error message in the given output buffer. -*/ -void tpm_write_fatal_error_response (uint8_t *out,uint32_t out_len) -{ -if (out_len >=sizeof (struct tpm_resp_hdr )) { -struct tpm_resp_hdr *resp = (struct tpm_resp_hdr *)out; - - resp->tag =cpu_to_be16 (TPM_TAG_RSP_COMMAND ); - resp->len =cpu_to_be32 (sizeof (struct tpm_resp_hdr )); - resp->errcode =cpu_to_be32 (TPM_FAIL ); - } -} -const TPMDriverOps *tpm_get_backend_driver (const char *type) {int i;@@ -108,7 +94,7 @@ int tpm_register_driver(const TPMDriverOps *tdo)* Walk the list of available TPM backend drivers and display them on the * screen. */ -void tpm_display_backend_drivers (void ) +static void tpm_display_backend_drivers (void ) {int i;
Re: [Qemu-devel] [PATCH 04/35] tpm: reorganize headers and split hardware part
----- Messaggio originale -----
Quoted 8 lines
Da: "Corey Bryant" <[email protected]>
A: "Paolo Bonzini" <[email protected]>
Cc: [email protected], "Stefan Berger" <[email protected]>
Inviato: Mercoledì, 20 marzo 2013 14:49:39
Oggetto: Re: [Qemu-devel] [PATCH 04/35] tpm: reorganize headers and split hardware part
Quoted 6 lines
Quoted 2 lines · Paolo Bonzini
The TPM subsystem does not have a good front-end/back-end separation.
I think it has very good front-end/back-end separation, but perhaps you mean the code could be moved around and better organized.
I mean that the back-end has knowledge about the front-end. The tpm_int.h header has a dependency on tpm_tis.h and on TPMState (thus on ISADevice, which should be hidden to front-ends).
Paolo
Quoted 383 lines
Quoted 4 lines
However, we can at least try to split the user interface (
tpm.c) from
the implementation (hw/tpm).Here's a general break-down of front-end/back-end/general code
tpm_tis.c= TIS front-end (the only front-end at this time)tpm_passthrough.c= Passthrough backend (the only back-end at this time)tpm.c= general codetpm_backend.c= backend thread pool functions (could use a better file
name?)Quoted 109 lines
The patches makes
tpm.cnot includetpm_int.h; instead it moves more
stuff totpm_backend.h.Signed-off-by Paolo Bonzini <[email protected]>--- Makefile.objs | 2 +- default-configs/i386-softmmu.mak | 2 +- default-configs/x86_64-softmmu.mak | 2 +- hw/Makefile.objs | 1 + {tpm => hw/tpm}/Makefile.objs | 3 +- {tpm => hw/tpm}/tpm_backend.c | 14 ++++++++++ {tpm => hw/tpm}/tpm_int.h | 55 ++---------------------------------- {tpm => hw/tpm}/tpm_passthrough.c | 0 {tpm => hw/tpm}/tpm_tis.c | 0 {tpm => hw/tpm}/tpm_tis.h | 5 ---- {tpm => include/tpm}/tpm_backend.h | 57 ++++++++++++++++++++++++++++++++++++++ tpm/tpm.c => tpm.c | 18 ++---------- 12 files changed, 80 insertions(+), 79 deletions(-)rename {tpm => hw/tpm}/Makefile.objs (61%)
rename {tpm =>hw/tpm}/tpm_backend.c(82%)
rename {tpm =>hw/tpm}/tpm_int.h(49%)
rename {tpm =>hw/tpm}/tpm_passthrough.c(100%)
rename {tpm =>hw/tpm}/tpm_tis.c(100%)
rename {tpm =>hw/tpm}/tpm_tis.h(94%)
rename {tpm =>include/tpm}/tpm_backend.h(50%)
renametpm/tpm.c=>tpm.c(93%)Makefile.objs +1
-1@@ -74,7 +74,7 @@ common-obj-y += bt-host.o bt-vhci.o common-obj-y += dma-helpers.o common-obj-y += vl.o -common-obj-y += tpm/ +common-obj-y += tpm.o common-obj-$(CONFIG_SLIRP) += slirp/default-configs/i386-softmmu.mak +1
-1@@ -26,4 +26,4 @@ CONFIG_HPET=y CONFIG_APPLESMC=y CONFIG_I8259=y CONFIG_PFLASH_CFI01=y -CONFIG_TPM_TIS=$(CONFIG_TPM) +CONFIG_TPM_TIS=ydefault-configs/x86_64-softmmu.mak +1
-1@@ -26,4 +26,4 @@ CONFIG_HPET=y CONFIG_APPLESMC=y CONFIG_I8259=y CONFIG_PFLASH_CFI01=y -CONFIG_TPM_TIS=$(CONFIG_TPM) +CONFIG_TPM_TIS=yhw/Makefile.objs +1
-0@@ -25,6 +25,7 @@ devices-dirs-$(CONFIG_SOFTMMU) += scsi/ devices-dirs-$(CONFIG_SOFTMMU) += sd/ devices-dirs-$(CONFIG_SOFTMMU) += ssi/ devices-dirs-$(CONFIG_SOFTMMU) += timer/ +devices-dirs-$(CONFIG_TPM) += tpm/ devices-dirs-$(CONFIG_SOFTMMU) += usb/ devices-dirs-$(CONFIG_SOFTMMU) += virtio/ devices-dirs-$(CONFIG_SOFTMMU) += watchdog/hw/tpm/Makefile.objs renamed from tpm/Makefile.objs +1
-2@@ -1,4 +1,3 @@ -common-obj-y = tpm.o -common-obj-$(CONFIG_TPM) += tpm_backend.o +common-obj-y += tpm_backend.o common-obj-$(CONFIG_TPM_TIS) += tpm_tis.o common-obj-$(CONFIG_TPM_PASSTHROUGH) += tpm_passthrough.ohw/tpm/tpm_backend.c renamed from tpm/tpm_backend.c +5
-0@@ -56,3 +56,17 @@ voidtpm_backend_thread_tpm_reset (TPMBackendThread *tbt,NULL ); } } + +/* +* Write an error message in the given output buffer. +*/ +void tpm_write_fatal_error_response(uint8_t *out, uint32_t
out_len)hw/tpm/tpm_backend.c void tpm_backend_thread_tpm_reset(TPMBackendThread *tbt, · line 72
Quoted 9 lines
hw/tpm/tpm_backend.c renamed from tpm/tpm_backend.c +9
-0+{ +if (out_len >=sizeof (struct tpm_resp_hdr )) { +struct tpm_resp_hdr *resp = (struct tpm_resp_hdr *)out; + + resp->tag =cpu_to_be16 (TPM_TAG_RSP_COMMAND ); + resp->len =cpu_to_be32 (sizeof (struct tpm_resp_hdr )); + resp->errcode =cpu_to_be32 (TPM_FAIL ); + } +}I don't think moving this from
tpm.ctotpm_backend.chelps anything. Maybe just renaming some of the files mentioned above might make the front-end vs back-end vs general code more intuitive.--
Regards,
Corey BryantQuoted 237 lines
hw/tpm/tpm_int.h renamed from tpm/tpm_int.h +2
-26@@ -15,27 +15,8 @@#include "exec/memory.h" #include "tpm/tpm_tis.h" -struct TPMDriverOps ; -typedef struct TPMDriverOps TPMDriverOps ; - -typedef struct TPMPassthruState TPMPassthruState ; - -typedef struct TPMBackend { -char *id; -enum TpmModel fe_model; -char *path; -char *cancel_path; -const TPMDriverOps *ops; - -union { -TPMPassthruState *tpm_pt; - } s; - -QLIST_ENTRY (TPMBackend) list; -}TPMBackend ; -/* overall state of the TPM interface */ -typedef struct TPMState { +struct TPMState {ISADevice busdev;MemoryRegion mmio;@@ -48,38 +29,10 @@ typedef struct TPMState {char *backend;TPMBackend *be_driver; -} TPMState; +};#define TPM (obj) OBJECT_CHECK(TPMState, (obj), TYPE_TPM_TIS) -typedef void (TPMRecvDataCB )(TPMState *,uint8_t locty); - -struct TPMDriverOps { -enum TpmType type; -/* get a descriptive text of the backend to display to the user */
hw/tpm/tpm_int.h renamed from tpm/tpm_int.h +0
-7-const char *(*desc)(void ); - -TPMBackend *(*create)(QemuOpts *opts,const char *id); -void (*destroy)(TPMBackend *t); - -/* initialize the backend */ - int (*init)(TPMBackend *t, TPMState *s, TPMRecvDataCB*datacb);
hw/tpm/tpm_int.h renamed from tpm/tpm_int.h +0
-20-/* start up the TPM on the backend */ -int (*startup_tpm)(TPMBackend *t); -/* returns true if nothing will ever answer TPM requests */ -bool (*had_startup_error)(TPMBackend *t); - -size_t (*realloc_buffer)(TPMSizedBuffer *sb); - -void (*deliver_request)(TPMBackend *t); - -void (*reset)(TPMBackend *t); - -void (*cancel_cmd)(TPMBackend *t); - -bool (*get_tpm_established_flag)(TPMBackend *t); -}; -struct tpm_req_hdr {uint16_t tag;uint32_t len;@@ -105,10 +58,6 @@ struct tpm_resp_hdr {#define TPM_ORD_GetTicks 0xf1TPMBackend *qemu_find_tpm (const char *id); -int tpm_register_model (enum TpmModel model); -int tpm_register_driver (const TPMDriverOps *tdo); -void tpm_display_backend_drivers (void ); -const TPMDriverOps *tpm_get_backend_driver (const char *type);void tpm_write_fatal_error_response (uint8_t *out,uint32_t out_len);extern const TPMDriverOps
tpm_passthrough_driver;hw/tpm/tpm_passthrough.c renamed from tpm/tpm_passthrough.c +0
-0hw/tpm/tpm_tis.c renamed from tpm/tpm_tis.c +0
-0hw/tpm/tpm_tis.h renamed from tpm/tpm_tis.h +0
-5@@ -35,11 +35,6 @@#define TYPE_TPM_TIS "tpm-tis" -typedef struct TPMSizedBuffer { -uint32_t size; -uint8_t *buffer; -}TPMSizedBuffer ; - typedef enum { TPM_TIS_STATE_IDLE = 0, TPM_TIS_STATE_READY,include/tpm/tpm_backend.h renamed from tpm/tpm_backend.h +30
-0@@ -42,4 +42,61 @@ typedef enum TPMBackendCmd { TPM_BACKEND_CMD_TPM_RESET, } TPMBackendCmd; +struct TPMDriverOps ; +typedef struct TPMDriverOps TPMDriverOps ; + +typedef struct TPMState TPMState ; +typedef struct TPMPassthruState TPMPassthruState ; + +typedef struct TPMBackend { +char *id; +enum TpmModel fe_model; +char *path; +char *cancel_path; +const TPMDriverOps *ops; + +union { +TPMPassthruState *tpm_pt; + } s; + +QLIST_ENTRY (TPMBackend) list; +}TPMBackend ; + +typedef void (TPMRecvDataCB )(TPMState *,uint8_t locty); + +typedef struct TPMSizedBuffer { +uint32_t size; +uint8_t *buffer; +}TPMSizedBuffer ; + +struct TPMDriverOps { +enum TpmType type; +/* get a descriptive text of the backend to display to the user */
include/tpm/tpm_backend.h renamed from tpm/tpm_backend.h +7
-0+const char *(*desc)(void ); + +TPMBackend *(*create)(QemuOpts *opts,const char *id); +void (*destroy)(TPMBackend *t); + +/* initialize the backend */ + int (*init)(TPMBackend *t, TPMState *s, TPMRecvDataCB*datacb);
include/tpm/tpm_backend.h renamed from tpm/tpm_backend.h +20
-0+/* start up the TPM on the backend */ +int (*startup_tpm)(TPMBackend *t); +/* returns true if nothing will ever answer TPM requests */ +bool (*had_startup_error)(TPMBackend *t); + +size_t (*realloc_buffer)(TPMSizedBuffer *sb); + +void (*deliver_request)(TPMBackend *t); + +void (*reset)(TPMBackend *t); + +void (*cancel_cmd)(TPMBackend *t); + + bool (*get_tpm_established_flag)(TPMBackend *t); +}; + +const TPMDriverOps *tpm_get_backend_driver (const char *type); +int tpm_register_model (enum TpmModel model); +int tpm_register_driver (const TPMDriverOps *tdo); +#endif /* TPM_TPM_BACKEND_H */ tpm.c renamed from tpm/tpm.c +1
-15@@ -15,7 +15,7 @@#include "monitor/monitor.h" #include "qapi/qmp/qerror.h" -#include "tpm_int.h" +#include "tpm/tpm_backend.h" #include "tpm/tpm.h" #include "qemu/config-file.h" #include "qmp-commands.h" @@ -61,20 +61,6 @@ static bool tpm_model_is_registered(enum TpmModel model)return false; } -/* -* Write an error message in the given output buffer. -*/ -void tpm_write_fatal_error_response (uint8_t *out,uint32_t out_len) -{ -if (out_len >=sizeof (struct tpm_resp_hdr )) { -struct tpm_resp_hdr *resp = (struct tpm_resp_hdr *)out; - - resp->tag =cpu_to_be16 (TPM_TAG_RSP_COMMAND ); - resp->len =cpu_to_be32 (sizeof (struct tpm_resp_hdr )); - resp->errcode =cpu_to_be32 (TPM_FAIL ); - } -} - const TPMDriverOps *tpm_get_backend_driver(const char *type){ int i;tpm.c renamed from tpm/tpm.c +1
-1@@ -108,7 +94,7 @@ int tpm_register_driver(const TPMDriverOps *tdo)* Walk the list of available TPM backend drivers and display them on the * screen. */ -void tpm_display_backend_drivers (void ) +static void tpm_display_backend_drivers (void ) {int i;
PATCH 5/35 hw: move another file to hw/alpha/
In reply to Paolo BonziniIt references AlphaCPU.
---
hw/alpha/Makefile.objs | 3 +--
hw/{alpha_typhoon.c => alpha/typhoon.c} | 0
2 files changed, 1 insertion(+), 2 deletions(-)
rename hw/{alpha_typhoon.c => alpha/typhoon.c} (100%)hw/alpha/Makefile.objs +1 -2
@@ -1,6 +1,5 @@ obj-y = mc146818rtc.o -obj-y += alpha_typhoon.o obj-y := $(addprefix ../,$(obj-y)) -obj-y += dp264.o pci.o +obj-y += dp264.o pci.o typhoon.o
hw/alpha/typhoon.c renamed from hw/alpha_typhoon.c +0 -0
Signature · 1 line
1.8.1.4
PATCH 6/35 hw: move target-independent files to subdirectories
In reply to Paolo BonziniThis patch tackles all files that are compiled once, moving them to subdirectories of hw/.
---
default-configs/i386-softmmu.mak | 2 +-
default-configs/mips-softmmu.mak | 2 +-
default-configs/mips64-softmmu.mak | 2 +-
default-configs/mips64el-softmmu.mak | 2 +-
default-configs/mipsel-softmmu.mak | 2 +-
default-configs/ppc-softmmu.mak | 2 +-
default-configs/ppc64-softmmu.mak | 2 +-
default-configs/ppcemb-softmmu.mak | 2 +-
default-configs/x86_64-softmmu.mak | 2 +-
hw/Makefile.objs | 195 ---------------------------
hw/acpi/Makefile.objs | 2 +
hw/{acpi.c => acpi/core.c} | 0
hw/{acpi_ich9.c => acpi/ich9.c} | 0
hw/{acpi_piix4.c => acpi/piix4.c} | 0
hw/audio/Makefile.objs | 16 +++
hw/{ => audio}/ac97.c | 0
hw/{ => audio}/adlib.c | 0
hw/{ => audio}/cs4231a.c | 0
hw/{ => audio}/es1370.c | 0
hw/{ => audio}/fmopl.c | 0
hw/{ => audio}/gus.c | 0
hw/{ => audio}/gusemu_hal.c | 0
hw/{ => audio}/gusemu_mixer.c | 0
hw/{hda-audio.c => audio/hda-codec.c} | 0
hw/{ => audio}/intel-hda.c | 0
hw/{ => audio}/lm4549.c | 0
hw/{ => audio}/pcspk.c | 0
hw/{ => audio}/pl041.c | 0
hw/{ => audio}/pl041.hx | 0
hw/{ => audio}/sb16.c | 0
hw/{ => audio}/wm8750.c | 0
hw/block/Makefile.objs | 8 ++
hw/{block-common.c => block/block.c} | 0
hw/{ => block}/cdrom.c | 0
hw/{ => block}/ecc.c | 0
hw/{ => block}/fdc.c | 0
hw/{ => block}/hd-geometry.c | 0
hw/{ => block}/m25p80.c | 0
hw/{ => block}/nand.c | 0
hw/{ => block}/pflash_cfi01.c | 0
hw/{ => block}/pflash_cfi02.c | 0
hw/{ => block}/xen_disk.c | 0
hw/bt/Makefile.objs | 3 +
hw/{bt.c => bt/core.c} | 0
hw/{bt-hci-csr.c => bt/hci-csr.c} | 0
hw/{bt-hci.c => bt/hci.c} | 0
hw/{bt-hid.c => bt/hid.c} | 0
hw/{bt-l2cap.c => bt/l2cap.c} | 0
hw/{bt-sdp.c => bt/sdp.c} | 0
hw/char/Makefile.objs | 10 ++
hw/{ => char}/cadence_uart.c | 0
hw/{ => char}/escc.c | 0
hw/{ => char}/ipack.c | 0
hw/{ => char}/ipoctal232.c | 0
hw/{ => char}/parallel.c | 0
hw/{ => char}/pl011.c | 0
hw/{ => char}/serial-isa.c | 0
hw/{ => char}/serial-pci.c | 0
hw/{ => char}/serial.c | 0
hw/{ => char}/tpci200.c | 0
hw/{ => char}/virtio-console.c | 0
hw/{ => char}/xen_console.c | 0
hw/{ => char}/xilinx_uartlite.c | 0
hw/core/Makefile.objs | 14 ++
hw/{ => core}/empty_slot.c | 0
hw/{ => core}/irq.c | 0
hw/{ => core}/loader.c | 0
hw/{ => core}/null-machine.c | 0
hw/{ => core}/ptimer.c | 0
hw/{ => core}/qdev-addr.c | 0
hw/{ => core}/qdev-properties-system.c | 0
hw/{ => core}/qdev-properties.c | 0
hw/{ => core}/qdev.c | 0
hw/{ => core}/stream.c | 0
hw/{ => core}/sysbus.c | 0
hw/display/Makefile.objs | 13 ++
hw/{ => display}/ads7846.c | 0
hw/{ => display}/cirrus_vga.c | 0
hw/{ => display}/g364fb.c | 0
hw/{ => display}/jazz_led.c | 0
hw/{ => display}/pl110.c | 0
hw/{ => display}/ssd0303.c | 0
hw/{ => display}/ssd0323.c | 0
hw/{ => display}/vga-isa-mm.c | 0
hw/{ => display}/vga-isa.c | 0
hw/{ => display}/vga-pci.c | 0
hw/{ => display}/vmware_vga.c | 0
hw/{ => display}/xenfb.c | 0
hw/dma/Makefile.objs | 6 +
hw/{dma.c => dma/i8257.c} | 0
hw/{ => dma}/pl080.c | 0
hw/{ => dma}/pl330.c | 0
hw/{ => dma}/puv3_dma.c | 0
hw/{ => dma}/rc4030.c | 0
hw/{ => dma}/xilinx_axidma.c | 0
hw/gpio/Makefile.objs | 3 +
hw/{ => gpio}/max7310.c | 0
hw/{ => gpio}/pl061.c | 0
hw/{ => gpio}/puv3_gpio.c | 0
hw/i2c/Makefile.objs | 4 +
hw/{i2c.c => i2c/core.c} | 0
hw/{ => i2c}/pm_smbus.c | 0
hw/{ => i2c}/smbus.c | 0
hw/{ => i2c}/smbus_eeprom.c | 0
hw/{ => i2c}/smbus_ich9.c | 0
hw/{ => i2c}/versatile_i2c.c | 0
hw/input/Makefile.objs | 9 ++
hw/{ => input}/adb.c | 0
hw/{ => input}/hid.c | 0
hw/{ => input}/lm832x.c | 0
hw/{ => input}/pckbd.c | 0
hw/{ => input}/pl050.c | 0
hw/{ => input}/ps2.c | 0
hw/{ => input}/stellaris_input.c | 0
hw/{ => input}/tsc2005.c | 0
hw/{ => input}/vmmouse.c | 0
hw/intc/Makefile.objs | 5 +
hw/{ => intc}/heathrow_pic.c | 0
hw/{ => intc}/i8259.c | 0
hw/{ => intc}/i8259_common.c | 0
hw/{ => intc}/pl190.c | 0
hw/{ => intc}/puv3_intc.c | 0
hw/{ => intc}/xilinx_intc.c | 0
hw/isa/Makefile.objs | 9 ++
hw/{ => isa}/apm.c | 0
hw/{ => isa}/applesmc.c | 0
hw/{ => isa}/i82374.c | 0
hw/{ => isa}/i82378.c | 0
hw/{ => isa}/isa-bus.c | 0
hw/{ => isa}/isa_mmio.c | 0
hw/{ => isa}/pc87312.c | 0
hw/{ => isa}/piix4.c | 0
hw/misc/Makefile.objs | 10 ++
hw/{ => misc}/arm_l2x0.c | 0
hw/misc/macio/Makefile.objs | 3 +
hw/{ => misc/macio}/cuda.c | 0
hw/{ => misc/macio}/mac_dbdma.c | 0
hw/{ => misc/macio}/macio.c | 0
hw/{ => misc}/max111x.c | 0
hw/{ => misc}/puv3_pm.c | 0
hw/{ => misc}/tmp105.c | 0
hw/net/Makefile.objs | 20 +++
hw/{ => net}/cadence_gem.c | 0
hw/{ => net}/dp8393x.c | 0
hw/{ => net}/e1000.c | 0
hw/{ => net}/eepro100.c | 0
hw/{ => net}/lan9118.c | 0
hw/{ => net}/mipsnet.c | 0
hw/{ => net}/ne2000-isa.c | 0
hw/{ => net}/ne2000.c | 0
hw/{ => net}/opencores_eth.c | 0
hw/{ => net}/pcnet-pci.c | 0
hw/{ => net}/pcnet.c | 0
hw/{ => net}/rtl8139.c | 0
hw/{ => net}/smc91c111.c | 0
hw/{ => net}/xen_nic.c | 0
hw/{ => net}/xgmac.c | 0
hw/{ => net}/xilinx_axienet.c | 0
hw/nvram/Makefile.objs | 4 +
hw/{ => nvram}/ds1225y.c | 0
hw/{ => nvram}/eeprom93xx.c | 0
hw/{ => nvram}/fw_cfg.c | 0
hw/{ => nvram}/mac_nvram.c | 0
hw/pci/Makefile.objs | 21 ++-
hw/{dec_pci.c => pci/host-dec.c} | 0
hw/{grackle_pci.c => pci/host-grackle.c} | 0
hw/{ppce500_pci.c => pci/host-ppce500.c} | 0
hw/{prep_pci.c => pci/host-prep.c} | 0
hw/{unin_pci.c => pci/host-uninorth.c} | 0
hw/{versatile_pci.c => pci/host-versatile.c} | 0
hw/{ => pci}/i82801b11.c | 0
hw/{ => pci}/ioh3420.c | 0
hw/{ => pci}/pam.c | 0
hw/{ => pci}/pci_bridge_dev.c | 0
hw/{ => pci}/xio3130_downstream.c | 0
hw/{ => pci}/xio3130_upstream.c | 0
hw/scsi/Makefile.objs | 6 +
hw/{ => scsi}/esp-pci.c | 0
hw/{ => scsi}/esp.c | 0
hw/{ => scsi}/lsi53c895a.c | 0
hw/{ => scsi}/megasas.c | 0
hw/{ => scsi}/scsi-bus.c | 0
hw/{ => scsi}/scsi-disk.c | 0
hw/{ => scsi}/scsi-generic.c | 0
hw/sd/Makefile.objs | 4 +
hw/{ => sd}/pl181.c | 0
hw/{ => sd}/sd.c | 0
hw/{ => sd}/sdhci.c | 0
hw/{ => sd}/ssi-sd.c | 0
hw/ssi/Makefile.objs | 2 +
hw/{ => ssi}/pl022.c | 0
hw/{ => ssi}/ssi.c | 0
hw/timer/Makefile.objs | 10 ++
hw/{ => timer}/arm_timer.c | 0
hw/{ => timer}/cadence_ttc.c | 0
hw/{ => timer}/ds1338.c | 0
hw/{ => timer}/hpet.c | 0
hw/{ => timer}/i8254.c | 0
hw/{ => timer}/i8254_common.c | 0
hw/{ => timer}/m48t59.c | 0
hw/{ => timer}/pl031.c | 0
hw/{ => timer}/puv3_ost.c | 0
hw/{ => timer}/twl92230.c | 0
hw/{ => timer}/xilinx_timer.c | 0
hw/usb/Makefile.objs | 7 +-
hw/{ => usb}/ccid-card-emulated.c | 0
hw/{ => usb}/ccid-card-passthru.c | 0
hw/virtio/Makefile.objs | 4 +
hw/{ => virtio}/virtio-bus.c | 0
hw/{ => virtio}/virtio-pci.c | 0
hw/{ => virtio}/virtio-rng.c | 0
hw/watchdog/Makefile.objs | 2 +
hw/{ => watchdog}/watchdog.c | 0
hw/{ => watchdog}/wdt_i6300esb.c | 0
hw/xen/Makefile.objs | 2 +
hw/{ => xen}/xen_backend.c | 0
hw/{ => xen}/xen_devconfig.c | 0
217 files changed, 204 insertions(+), 206 deletions(-)
rename hw/{acpi.c => acpi/core.c} (100%)
rename hw/{acpi_ich9.c => acpi/ich9.c} (100%)
rename hw/{acpi_piix4.c => acpi/piix4.c} (100%)
rename hw/{ => audio}/ac97.c (100%)
rename hw/{ => audio}/adlib.c (100%)
rename hw/{ => audio}/cs4231a.c (100%)
rename hw/{ => audio}/es1370.c (100%)
rename hw/{ => audio}/fmopl.c (100%)
rename hw/{ => audio}/gus.c (100%)
rename hw/{ => audio}/gusemu_hal.c (100%)
rename hw/{ => audio}/gusemu_mixer.c (100%)
rename hw/{hda-audio.c => audio/hda-codec.c} (100%)
rename hw/{ => audio}/intel-hda.c (100%)
rename hw/{ => audio}/lm4549.c (100%)
rename hw/{ => audio}/pcspk.c (100%)
rename hw/{ => audio}/pl041.c (100%)
rename hw/{ => audio}/pl041.hx (100%)
rename hw/{ => audio}/sb16.c (100%)
rename hw/{ => audio}/wm8750.c (100%)
rename hw/{block-common.c => block/block.c} (100%)
rename hw/{ => block}/cdrom.c (100%)
rename hw/{ => block}/ecc.c (100%)
rename hw/{ => block}/fdc.c (100%)
rename hw/{ => block}/hd-geometry.c (100%)
rename hw/{ => block}/m25p80.c (100%)
rename hw/{ => block}/nand.c (100%)
rename hw/{ => block}/pflash_cfi01.c (100%)
rename hw/{ => block}/pflash_cfi02.c (100%)
rename hw/{ => block}/xen_disk.c (100%)
rename hw/{bt.c => bt/core.c} (100%)
rename hw/{bt-hci-csr.c => bt/hci-csr.c} (100%)
rename hw/{bt-hci.c => bt/hci.c} (100%)
rename hw/{bt-hid.c => bt/hid.c} (100%)
rename hw/{bt-l2cap.c => bt/l2cap.c} (100%)
rename hw/{bt-sdp.c => bt/sdp.c} (100%)
rename hw/{ => char}/cadence_uart.c (100%)
rename hw/{ => char}/escc.c (100%)
rename hw/{ => char}/ipack.c (100%)
rename hw/{ => char}/ipoctal232.c (100%)
rename hw/{ => char}/parallel.c (100%)
rename hw/{ => char}/pl011.c (100%)
rename hw/{ => char}/serial-isa.c (100%)
rename hw/{ => char}/serial-pci.c (100%)
rename hw/{ => char}/serial.c (100%)
rename hw/{ => char}/tpci200.c (100%)
rename hw/{ => char}/virtio-console.c (100%)
rename hw/{ => char}/xen_console.c (100%)
rename hw/{ => char}/xilinx_uartlite.c (100%)
rename hw/{ => core}/empty_slot.c (100%)
rename hw/{ => core}/irq.c (100%)
rename hw/{ => core}/loader.c (100%)
rename hw/{ => core}/null-machine.c (100%)
rename hw/{ => core}/ptimer.c (100%)
rename hw/{ => core}/qdev-addr.c (100%)
rename hw/{ => core}/qdev-properties-system.c (100%)
rename hw/{ => core}/qdev-properties.c (100%)
rename hw/{ => core}/qdev.c (100%)
rename hw/{ => core}/stream.c (100%)
rename hw/{ => core}/sysbus.c (100%)
rename hw/{ => display}/ads7846.c (100%)
rename hw/{ => display}/cirrus_vga.c (100%)
rename hw/{ => display}/g364fb.c (100%)
rename hw/{ => display}/jazz_led.c (100%)
rename hw/{ => display}/pl110.c (100%)
rename hw/{ => display}/ssd0303.c (100%)
rename hw/{ => display}/ssd0323.c (100%)
rename hw/{ => display}/vga-isa-mm.c (100%)
rename hw/{ => display}/vga-isa.c (100%)
rename hw/{ => display}/vga-pci.c (100%)
rename hw/{ => display}/vmware_vga.c (100%)
rename hw/{ => display}/xenfb.c (100%)
rename hw/{dma.c => dma/i8257.c} (100%)
rename hw/{ => dma}/pl080.c (100%)
rename hw/{ => dma}/pl330.c (100%)
rename hw/{ => dma}/puv3_dma.c (100%)
rename hw/{ => dma}/rc4030.c (100%)
rename hw/{ => dma}/xilinx_axidma.c (100%)
rename hw/{ => gpio}/max7310.c (100%)
rename hw/{ => gpio}/pl061.c (100%)
rename hw/{ => gpio}/puv3_gpio.c (100%)
rename hw/{i2c.c => i2c/core.c} (100%)
rename hw/{ => i2c}/pm_smbus.c (100%)
rename hw/{ => i2c}/smbus.c (100%)
rename hw/{ => i2c}/smbus_eeprom.c (100%)
rename hw/{ => i2c}/smbus_ich9.c (100%)
rename hw/{ => i2c}/versatile_i2c.c (100%)
rename hw/{ => input}/adb.c (100%)
rename hw/{ => input}/hid.c (100%)
rename hw/{ => input}/lm832x.c (100%)
rename hw/{ => input}/pckbd.c (100%)
rename hw/{ => input}/pl050.c (100%)
rename hw/{ => input}/ps2.c (100%)
rename hw/{ => input}/stellaris_input.c (100%)
rename hw/{ => input}/tsc2005.c (100%)
rename hw/{ => input}/vmmouse.c (100%)
rename hw/{ => intc}/heathrow_pic.c (100%)
rename hw/{ => intc}/i8259.c (100%)
rename hw/{ => intc}/i8259_common.c (100%)
rename hw/{ => intc}/pl190.c (100%)
rename hw/{ => intc}/puv3_intc.c (100%)
rename hw/{ => intc}/xilinx_intc.c (100%)
rename hw/{ => isa}/apm.c (100%)
rename hw/{ => isa}/applesmc.c (100%)
rename hw/{ => isa}/i82374.c (100%)
rename hw/{ => isa}/i82378.c (100%)
rename hw/{ => isa}/isa-bus.c (100%)
rename hw/{ => isa}/isa_mmio.c (100%)
rename hw/{ => isa}/pc87312.c (100%)
rename hw/{ => isa}/piix4.c (100%)
rename hw/{ => misc}/arm_l2x0.c (100%)
create mode 100644 hw/misc/macio/Makefile.objs
rename hw/{ => misc/macio}/cuda.c (100%)
rename hw/{ => misc/macio}/mac_dbdma.c (100%)
rename hw/{ => misc/macio}/macio.c (100%)
rename hw/{ => misc}/max111x.c (100%)
rename hw/{ => misc}/puv3_pm.c (100%)
rename hw/{ => misc}/tmp105.c (100%)
rename hw/{ => net}/cadence_gem.c (100%)
rename hw/{ => net}/dp8393x.c (100%)
rename hw/{ => net}/e1000.c (100%)
rename hw/{ => net}/eepro100.c (100%)
rename hw/{ => net}/lan9118.c (100%)
rename hw/{ => net}/mipsnet.c (100%)
rename hw/{ => net}/ne2000-isa.c (100%)
rename hw/{ => net}/ne2000.c (100%)
rename hw/{ => net}/opencores_eth.c (100%)
rename hw/{ => net}/pcnet-pci.c (100%)
rename hw/{ => net}/pcnet.c (100%)
rename hw/{ => net}/rtl8139.c (100%)
rename hw/{ => net}/smc91c111.c (100%)
rename hw/{ => net}/xen_nic.c (100%)
rename hw/{ => net}/xgmac.c (100%)
rename hw/{ => net}/xilinx_axienet.c (100%)
rename hw/{ => nvram}/ds1225y.c (100%)
rename hw/{ => nvram}/eeprom93xx.c (100%)
rename hw/{ => nvram}/fw_cfg.c (100%)
rename hw/{ => nvram}/mac_nvram.c (100%)
rename hw/{dec_pci.c => pci/host-dec.c} (100%)
rename hw/{grackle_pci.c => pci/host-grackle.c} (100%)
rename hw/{ppce500_pci.c => pci/host-ppce500.c} (100%)
rename hw/{prep_pci.c => pci/host-prep.c} (100%)
rename hw/{unin_pci.c => pci/host-uninorth.c} (100%)
rename hw/{versatile_pci.c => pci/host-versatile.c} (100%)
rename hw/{ => pci}/i82801b11.c (100%)
rename hw/{ => pci}/ioh3420.c (100%)
rename hw/{ => pci}/pam.c (100%)
rename hw/{ => pci}/pci_bridge_dev.c (100%)
rename hw/{ => pci}/xio3130_downstream.c (100%)
rename hw/{ => pci}/xio3130_upstream.c (100%)
rename hw/{ => scsi}/esp-pci.c (100%)
rename hw/{ => scsi}/esp.c (100%)
rename hw/{ => scsi}/lsi53c895a.c (100%)
rename hw/{ => scsi}/megasas.c (100%)
rename hw/{ => scsi}/scsi-bus.c (100%)
rename hw/{ => scsi}/scsi-disk.c (100%)
rename hw/{ => scsi}/scsi-generic.c (100%)
rename hw/{ => sd}/pl181.c (100%)
rename hw/{ => sd}/sd.c (100%)
rename hw/{ => sd}/sdhci.c (100%)
rename hw/{ => sd}/ssi-sd.c (100%)
rename hw/{ => ssi}/pl022.c (100%)
rename hw/{ => ssi}/ssi.c (100%)
rename hw/{ => timer}/arm_timer.c (100%)
rename hw/{ => timer}/cadence_ttc.c (100%)
rename hw/{ => timer}/ds1338.c (100%)
rename hw/{ => timer}/hpet.c (100%)
rename hw/{ => timer}/i8254.c (100%)
rename hw/{ => timer}/i8254_common.c (100%)
rename hw/{ => timer}/m48t59.c (100%)
rename hw/{ => timer}/pl031.c (100%)
rename hw/{ => timer}/puv3_ost.c (100%)
rename hw/{ => timer}/twl92230.c (100%)
rename hw/{ => timer}/xilinx_timer.c (100%)
rename hw/{ => usb}/ccid-card-emulated.c (100%)
rename hw/{ => usb}/ccid-card-passthru.c (100%)
rename hw/{ => virtio}/virtio-bus.c (100%)
rename hw/{ => virtio}/virtio-pci.c (100%)
rename hw/{ => virtio}/virtio-rng.c (100%)
rename hw/{ => watchdog}/watchdog.c (100%)
rename hw/{ => watchdog}/wdt_i6300esb.c (100%)
rename hw/{ => xen}/xen_backend.c (100%)
rename hw/{ => xen}/xen_devconfig.c (100%)default-configs/i386-softmmu.mak +1 -1
@@ -16,7 +16,7 @@ CONFIG_PCKBD=y CONFIG_FDC=y CONFIG_ACPI=y CONFIG_APM=y -CONFIG_DMA=y +CONFIG_I8257=y CONFIG_IDE_ISA=y CONFIG_IDE_PIIX=y CONFIG_NE2000_ISA=y
default-configs/mips-softmmu.mak +1 -1
@@ -18,7 +18,7 @@ CONFIG_PCKBD=y CONFIG_FDC=y CONFIG_ACPI=y CONFIG_APM=y -CONFIG_DMA=y +CONFIG_I8257=y CONFIG_PIIX4=y CONFIG_IDE_ISA=y CONFIG_IDE_PIIX=y
default-configs/mips64-softmmu.mak +1 -1
@@ -18,7 +18,7 @@ CONFIG_PCKBD=y CONFIG_FDC=y CONFIG_ACPI=y CONFIG_APM=y -CONFIG_DMA=y +CONFIG_I8257=y CONFIG_PIIX4=y CONFIG_IDE_ISA=y CONFIG_IDE_PIIX=y
default-configs/mips64el-softmmu.mak +1 -1
@@ -18,7 +18,7 @@ CONFIG_PCKBD=y CONFIG_FDC=y CONFIG_ACPI=y CONFIG_APM=y -CONFIG_DMA=y +CONFIG_I8257=y CONFIG_PIIX4=y CONFIG_IDE_ISA=y CONFIG_IDE_PIIX=y
default-configs/mipsel-softmmu.mak +1 -1
@@ -18,7 +18,7 @@ CONFIG_PCKBD=y CONFIG_FDC=y CONFIG_ACPI=y CONFIG_APM=y -CONFIG_DMA=y +CONFIG_I8257=y CONFIG_PIIX4=y CONFIG_IDE_ISA=y CONFIG_IDE_PIIX=y
default-configs/ppc-softmmu.mak +1 -1
@@ -13,7 +13,7 @@ CONFIG_PARALLEL=y CONFIG_I8254=y CONFIG_PCKBD=y CONFIG_FDC=y -CONFIG_DMA=y +CONFIG_I8257=y CONFIG_I82374=y CONFIG_OPENPIC=y CONFIG_PREP_PCI=y
default-configs/ppc64-softmmu.mak +1 -1
@@ -13,7 +13,7 @@ CONFIG_PARALLEL=y CONFIG_I8254=y CONFIG_PCKBD=y CONFIG_FDC=y -CONFIG_DMA=y +CONFIG_I8257=y CONFIG_I82374=y CONFIG_OPENPIC=y CONFIG_PREP_PCI=y
default-configs/ppcemb-softmmu.mak +1 -1
@@ -12,7 +12,7 @@ CONFIG_SERIAL=y CONFIG_I8254=y CONFIG_PCKBD=y CONFIG_FDC=y -CONFIG_DMA=y +CONFIG_I8257=y CONFIG_OPENPIC=y CONFIG_PREP_PCI=y CONFIG_MACIO=y
default-configs/x86_64-softmmu.mak +1 -1
@@ -16,7 +16,7 @@ CONFIG_PCKBD=y CONFIG_FDC=y CONFIG_ACPI=y CONFIG_APM=y -CONFIG_DMA=y +CONFIG_I8257=y CONFIG_IDE_ISA=y CONFIG_IDE_PIIX=y CONFIG_NE2000_ISA=y
hw/Makefile.objs +0 -195
204 lines not on this page · raw message
hw/acpi/Makefile.objs +2 -0
@@ -0,0 +1,2 @@ +common-obj-$(CONFIG_ACPI) += core.o piix4.o ich9.o +
hw/acpi/core.c renamed from hw/acpi.c +0 -0
hw/acpi/ich9.c renamed from hw/acpi_ich9.c +0 -0
hw/acpi/piix4.c renamed from hw/acpi_piix4.c +0 -0
hw/audio/Makefile.objs +16 -0
@@ -0,0 +1,16 @@ +# Sound +sound-obj-y = +sound-obj-$(CONFIG_SB16) += sb16.o +sound-obj-$(CONFIG_ES1370) += es1370.o +sound-obj-$(CONFIG_AC97) += ac97.o +sound-obj-$(CONFIG_ADLIB) += fmopl.o adlib.o +sound-obj-$(CONFIG_GUS) += gus.o gusemu_hal.o gusemu_mixer.o +sound-obj-$(CONFIG_CS4231A) += cs4231a.o +sound-obj-$(CONFIG_HDA) += intel-hda.o hda-codec.o + +common-obj-$(CONFIG_SOUND) += $(sound-obj-y) +common-obj-$(CONFIG_PCSPK) += pcspk.o +common-obj-$(CONFIG_WM8750) += wm8750.o +common-obj-$(CONFIG_PL041) += pl041.o lm4549.o + +$(obj)/adlib.o $(obj)/fmopl.o: QEMU_CFLAGS += -DBUILD_Y8950=0
hw/audio/ac97.c renamed from hw/ac97.c +0 -0
hw/audio/adlib.c renamed from hw/adlib.c +0 -0
hw/audio/cs4231a.c renamed from hw/cs4231a.c +0 -0
hw/audio/es1370.c renamed from hw/es1370.c +0 -0
hw/audio/fmopl.c renamed from hw/fmopl.c +0 -0
hw/audio/gus.c renamed from hw/gus.c +0 -0
hw/audio/gusemu_hal.c renamed from hw/gusemu_hal.c +0 -0
hw/audio/gusemu_mixer.c renamed from hw/gusemu_mixer.c +0 -0
hw/audio/hda-codec.c renamed from hw/hda-audio.c +0 -0
hw/audio/intel-hda.c renamed from hw/intel-hda.c +0 -0
hw/audio/lm4549.c renamed from hw/lm4549.c +0 -0
hw/audio/pcspk.c renamed from hw/pcspk.c +0 -0
hw/audio/pl041.c renamed from hw/pl041.c +0 -0
hw/audio/pl041.hx renamed from hw/pl041.hx +0 -0
hw/audio/sb16.c renamed from hw/sb16.c +0 -0
hw/audio/wm8750.c renamed from hw/wm8750.c +0 -0
hw/block/Makefile.objs +8 -0
@@ -0,0 +1,8 @@ +common-obj-y += block.o cdrom.o hd-geometry.o +common-obj-$(CONFIG_FDC) += fdc.o +common-obj-$(CONFIG_SSI_M25P80) += m25p80.o +common-obj-$(CONFIG_NAND) += nand.o +common-obj-$(CONFIG_PFLASH_CFI01) += pflash_cfi01.o +common-obj-$(CONFIG_PFLASH_CFI02) += pflash_cfi02.o +common-obj-$(CONFIG_XEN_BACKEND) += xen_disk.o +common-obj-$(CONFIG_ECC) += ecc.o
hw/block/block.c renamed from hw/block-common.c +0 -0
hw/block/cdrom.c renamed from hw/cdrom.c +0 -0
hw/block/ecc.c renamed from hw/ecc.c +0 -0
hw/block/fdc.c renamed from hw/fdc.c +0 -0
hw/block/hd-geometry.c renamed from hw/hd-geometry.c +0 -0
hw/block/m25p80.c renamed from hw/m25p80.c +0 -0
hw/block/nand.c renamed from hw/nand.c +0 -0
hw/block/pflash_cfi01.c renamed from hw/pflash_cfi01.c +0 -0
hw/block/pflash_cfi02.c renamed from hw/pflash_cfi02.c +0 -0
hw/block/xen_disk.c renamed from hw/xen_disk.c +0 -0
hw/bt/Makefile.objs +3 -0
@@ -0,0 +1,3 @@ +common-obj-y += core.o l2cap.o sdp.o hci.o hid.o +common-obj-y += hci-csr.o +
hw/bt/core.c renamed from hw/bt.c +0 -0
hw/bt/hci-csr.c renamed from hw/bt-hci-csr.c +0 -0
hw/bt/hci.c renamed from hw/bt-hci.c +0 -0
hw/bt/hid.c renamed from hw/bt-hid.c +0 -0
hw/bt/l2cap.c renamed from hw/bt-l2cap.c +0 -0
hw/bt/sdp.c renamed from hw/bt-sdp.c +0 -0
hw/char/Makefile.objs +10 -0
@@ -0,0 +1,10 @@ +common-obj-$(CONFIG_IPACK) += tpci200.o ipoctal232.o ipack.o +common-obj-$(CONFIG_ESCC) += escc.o +common-obj-$(CONFIG_PARALLEL) += parallel.o +common-obj-$(CONFIG_PL011) += pl011.o +common-obj-$(CONFIG_SERIAL) += serial.o serial-isa.o +common-obj-$(CONFIG_SERIAL_PCI) += serial-pci.o +common-obj-$(CONFIG_VIRTIO) += virtio-console.o +common-obj-$(CONFIG_XILINX) += xilinx_uartlite.o +common-obj-$(CONFIG_XEN_BACKEND) += xen_console.o +common-obj-$(CONFIG_CADENCE) += cadence_uart.o
hw/char/cadence_uart.c renamed from hw/cadence_uart.c +0 -0
hw/char/escc.c renamed from hw/escc.c +0 -0
hw/char/ipack.c renamed from hw/ipack.c +0 -0
hw/char/ipoctal232.c renamed from hw/ipoctal232.c +0 -0
hw/char/parallel.c renamed from hw/parallel.c +0 -0
hw/char/pl011.c renamed from hw/pl011.c +0 -0
hw/char/serial-isa.c renamed from hw/serial-isa.c +0 -0
hw/char/serial-pci.c renamed from hw/serial-pci.c +0 -0
hw/char/serial.c renamed from hw/serial.c +0 -0
hw/char/tpci200.c renamed from hw/tpci200.c +0 -0
hw/char/virtio-console.c renamed from hw/virtio-console.c +0 -0
hw/char/xen_console.c renamed from hw/xen_console.c +0 -0
hw/char/xilinx_uartlite.c renamed from hw/xilinx_uartlite.c +0 -0
hw/core/Makefile.objs +14 -0
@@ -0,0 +1,14 @@ +# core qdev-related obj files, also used by *-user: +common-obj-y += qdev.o qdev-properties.o +# irq.o needed for qdev GPIO handling: +common-obj-y += irq.o + +common-obj-$(CONFIG_EMPTY_SLOT) += empty_slot.o +common-obj-$(CONFIG_XILINX_AXI) += stream.o +common-obj-$(CONFIG_PTIMER) += ptimer.o +common-obj-$(CONFIG_SOFTMMU) += sysbus.o +common-obj-$(CONFIG_SOFTMMU) += null-machine.o +common-obj-$(CONFIG_SOFTMMU) += loader.o +common-obj-$(CONFIG_SOFTMMU) += qdev-addr.o +common-obj-$(CONFIG_SOFTMMU) += qdev-properties-system.o +
hw/core/empty_slot.c renamed from hw/empty_slot.c +0 -0
hw/core/irq.c renamed from hw/irq.c +0 -0
hw/core/loader.c renamed from hw/loader.c +0 -0
hw/core/null-machine.c renamed from hw/null-machine.c +0 -0
hw/core/ptimer.c renamed from hw/ptimer.c +0 -0
hw/core/qdev-addr.c renamed from hw/qdev-addr.c +0 -0
hw/core/qdev-properties-system.c renamed from hw/qdev-properties-system.c +0 -0
hw/core/qdev-properties.c renamed from hw/qdev-properties.c +0 -0
hw/core/qdev.c renamed from hw/qdev.c +0 -0
hw/core/stream.c renamed from hw/stream.c +0 -0
hw/core/sysbus.c renamed from hw/sysbus.c +0 -0
hw/display/Makefile.objs +13 -0
@@ -0,0 +1,13 @@ +common-obj-$(CONFIG_ADS7846) += ads7846.o +common-obj-$(CONFIG_VGA_CIRRUS) += cirrus_vga.o +common-obj-$(CONFIG_G364FB) += g364fb.o +common-obj-$(CONFIG_JAZZ_LED) += jazz_led.o +common-obj-$(CONFIG_PL110) += pl110.o +common-obj-$(CONFIG_SSD0303) += ssd0303.o +common-obj-$(CONFIG_SSD0323) += ssd0323.o +common-obj-$(CONFIG_XEN_BACKEND) += xenfb.o + +common-obj-$(CONFIG_VGA_PCI) += vga-pci.o +common-obj-$(CONFIG_VGA_ISA) += vga-isa.o +common-obj-$(CONFIG_VGA_ISA_MM) += vga-isa-mm.o +common-obj-$(CONFIG_VMWARE_VGA) += vmware_vga.o
hw/display/ads7846.c renamed from hw/ads7846.c +0 -0
hw/display/cirrus_vga.c renamed from hw/cirrus_vga.c +0 -0
hw/display/g364fb.c renamed from hw/g364fb.c +0 -0
hw/display/jazz_led.c renamed from hw/jazz_led.c +0 -0
hw/display/pl110.c renamed from hw/pl110.c +0 -0
hw/display/ssd0303.c renamed from hw/ssd0303.c +0 -0
hw/display/ssd0323.c renamed from hw/ssd0323.c +0 -0
hw/display/vga-isa-mm.c renamed from hw/vga-isa-mm.c +0 -0
hw/display/vga-isa.c renamed from hw/vga-isa.c +0 -0
hw/display/vga-pci.c renamed from hw/vga-pci.c +0 -0
hw/display/vmware_vga.c renamed from hw/vmware_vga.c +0 -0
hw/display/xenfb.c renamed from hw/xenfb.c +0 -0
hw/dma/Makefile.objs +6 -0
@@ -0,0 +1,6 @@ +common-obj-$(CONFIG_PUV3) += puv3_dma.o +common-obj-$(CONFIG_RC4030) += rc4030.o +common-obj-$(CONFIG_PL080) += pl080.o +common-obj-$(CONFIG_PL330) += pl330.o +common-obj-$(CONFIG_I8257) += i8257.o +common-obj-$(CONFIG_XILINX_AXI) += xilinx_axidma.o
hw/dma/i8257.c renamed from hw/dma.c +0 -0
hw/dma/pl080.c renamed from hw/pl080.c +0 -0
hw/dma/pl330.c renamed from hw/pl330.c +0 -0
hw/dma/puv3_dma.c renamed from hw/puv3_dma.c +0 -0
hw/dma/rc4030.c renamed from hw/rc4030.c +0 -0
hw/dma/xilinx_axidma.c renamed from hw/xilinx_axidma.c +0 -0
hw/gpio/Makefile.objs +3 -0
@@ -0,0 +1,3 @@ +common-obj-$(CONFIG_MAX7310) += max7310.o +common-obj-$(CONFIG_PL061) += pl061.o +common-obj-$(CONFIG_PUV3) += puv3_gpio.o
hw/gpio/max7310.c renamed from hw/max7310.c +0 -0
hw/gpio/pl061.c renamed from hw/pl061.c +0 -0
hw/gpio/puv3_gpio.c renamed from hw/puv3_gpio.c +0 -0
hw/i2c/Makefile.objs +4 -0
@@ -0,0 +1,4 @@ +common-obj-y += core.o smbus.o smbus_eeprom.o +common-obj-$(CONFIG_VERSATILE_I2C) += versatile_i2c.o +common-obj-$(CONFIG_ACPI) += smbus_ich9.o +common-obj-$(CONFIG_APM) += pm_smbus.o
hw/i2c/core.c renamed from hw/i2c.c +0 -0
hw/i2c/pm_smbus.c renamed from hw/pm_smbus.c +0 -0
hw/i2c/smbus.c renamed from hw/smbus.c +0 -0
hw/i2c/smbus_eeprom.c renamed from hw/smbus_eeprom.c +0 -0
hw/i2c/smbus_ich9.c renamed from hw/smbus_ich9.c +0 -0
hw/i2c/versatile_i2c.c renamed from hw/versatile_i2c.c +0 -0
hw/input/Makefile.objs +9 -0
@@ -0,0 +1,9 @@ +common-obj-$(CONFIG_ADB) += adb.o +common-obj-y += hid.o +common-obj-$(CONFIG_LM832X) += lm832x.o +common-obj-$(CONFIG_PCKBD) += pckbd.o +common-obj-$(CONFIG_PL050) += pl050.o +common-obj-y += ps2.o +common-obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o +common-obj-$(CONFIG_TSC2005) += tsc2005.o +common-obj-$(CONFIG_VMMOUSE) += vmmouse.o
hw/input/adb.c renamed from hw/adb.c +0 -0
hw/input/hid.c renamed from hw/hid.c +0 -0
hw/input/lm832x.c renamed from hw/lm832x.c +0 -0
hw/input/pckbd.c renamed from hw/pckbd.c +0 -0
hw/input/pl050.c renamed from hw/pl050.c +0 -0
hw/input/ps2.c renamed from hw/ps2.c +0 -0
hw/input/stellaris_input.c renamed from hw/stellaris_input.c +0 -0
hw/input/tsc2005.c renamed from hw/tsc2005.c +0 -0
hw/input/vmmouse.c renamed from hw/vmmouse.c +0 -0
hw/intc/Makefile.objs +5 -0
@@ -0,0 +1,5 @@ +common-obj-$(CONFIG_HEATHROW_PIC) += heathrow_pic.o +common-obj-$(CONFIG_I8259) += i8259_common.o i8259.o +common-obj-$(CONFIG_PL190) += pl190.o +common-obj-$(CONFIG_PUV3) += puv3_intc.o +common-obj-$(CONFIG_XILINX) += xilinx_intc.o
hw/intc/heathrow_pic.c renamed from hw/heathrow_pic.c +0 -0
hw/intc/i8259.c renamed from hw/i8259.c +0 -0
hw/intc/i8259_common.c renamed from hw/i8259_common.c +0 -0
hw/intc/pl190.c renamed from hw/pl190.c +0 -0
hw/intc/puv3_intc.c renamed from hw/puv3_intc.c +0 -0
hw/intc/xilinx_intc.c renamed from hw/xilinx_intc.c +0 -0
hw/isa/Makefile.objs +9 -0
@@ -0,0 +1,9 @@ +common-obj-y += isa-bus.o +common-obj-$(CONFIG_APM) += apm.o +common-obj-$(CONFIG_APPLESMC) += applesmc.o +common-obj-$(CONFIG_I82378) += i82378.o +common-obj-$(CONFIG_I82374) += i82374.o +common-obj-$(CONFIG_ISA_MMIO) += isa_mmio.o +common-obj-$(CONFIG_PC87312) += pc87312.o +common-obj-$(CONFIG_PIIX4) += piix4.o +
hw/isa/apm.c renamed from hw/apm.c +0 -0
hw/isa/applesmc.c renamed from hw/applesmc.c +0 -0
hw/isa/i82374.c renamed from hw/i82374.c +0 -0
hw/isa/i82378.c renamed from hw/i82378.c +0 -0
hw/isa/isa-bus.c renamed from hw/isa-bus.c +0 -0
hw/isa/isa_mmio.c renamed from hw/isa_mmio.c +0 -0
hw/isa/pc87312.c renamed from hw/pc87312.c +0 -0
hw/isa/piix4.c renamed from hw/piix4.c +0 -0
hw/misc/Makefile.objs +10 -0
@@ -0,0 +1,10 @@ +common-obj-$(CONFIG_MAX111X) += max111x.o +common-obj-$(CONFIG_TMP105) += tmp105.o + +# ARM devices +common-obj-$(CONFIG_PL310) += arm_l2x0.o + +# PKUnity SoC devices +common-obj-$(CONFIG_PUV3) += puv3_pm.o + +common-obj-$(CONFIG_MACIO) += macio/
hw/misc/arm_l2x0.c renamed from hw/arm_l2x0.c +0 -0
hw/misc/macio/Makefile.objs new file +3 -0
@@ -0,0 +1,3 @@ +common-obj-y += macio.o +common-obj-$(CONFIG_CUDA) += cuda.o +common-obj-$(CONFIG_MAC_DBDMA) += mac_dbdma.o
hw/misc/macio/cuda.c renamed from hw/cuda.c +0 -0
hw/misc/macio/mac_dbdma.c renamed from hw/mac_dbdma.c +0 -0
hw/misc/macio/macio.c renamed from hw/macio.c +0 -0
hw/misc/max111x.c renamed from hw/max111x.c +0 -0
hw/misc/puv3_pm.c renamed from hw/puv3_pm.c +0 -0
hw/misc/tmp105.c renamed from hw/tmp105.c +0 -0
hw/net/Makefile.objs +20 -0
@@ -0,0 +1,20 @@ +common-obj-$(CONFIG_DP8393X) += dp8393x.o +common-obj-$(CONFIG_XEN_BACKEND) += xen_nic.o + +# PCI network cards +common-obj-$(CONFIG_NE2000_PCI) += ne2000.o +common-obj-$(CONFIG_EEPRO100_PCI) += eepro100.o +common-obj-$(CONFIG_PCNET_PCI) += pcnet-pci.o +common-obj-$(CONFIG_PCNET_COMMON) += pcnet.o +common-obj-$(CONFIG_E1000_PCI) += e1000.o +common-obj-$(CONFIG_RTL8139_PCI) += rtl8139.o + +common-obj-$(CONFIG_SMC91C111) += smc91c111.o +common-obj-$(CONFIG_LAN9118) += lan9118.o +common-obj-$(CONFIG_NE2000_ISA) += ne2000-isa.o +common-obj-$(CONFIG_OPENCORES_ETH) += opencores_eth.o +common-obj-$(CONFIG_XGMAC) += xgmac.o +common-obj-$(CONFIG_MIPSNET) += mipsnet.o +common-obj-$(CONFIG_XILINX_AXI) += xilinx_axienet.o + +common-obj-$(CONFIG_CADENCE) += cadence_gem.o
hw/net/cadence_gem.c renamed from hw/cadence_gem.c +0 -0
hw/net/dp8393x.c renamed from hw/dp8393x.c +0 -0
hw/net/e1000.c renamed from hw/e1000.c +0 -0
hw/net/eepro100.c renamed from hw/eepro100.c +0 -0
hw/net/lan9118.c renamed from hw/lan9118.c +0 -0
hw/net/mipsnet.c renamed from hw/mipsnet.c +0 -0
hw/net/ne2000-isa.c renamed from hw/ne2000-isa.c +0 -0
hw/net/ne2000.c renamed from hw/ne2000.c +0 -0
hw/net/opencores_eth.c renamed from hw/opencores_eth.c +0 -0
hw/net/pcnet-pci.c renamed from hw/pcnet-pci.c +0 -0
hw/net/pcnet.c renamed from hw/pcnet.c +0 -0
hw/net/rtl8139.c renamed from hw/rtl8139.c +0 -0
hw/net/smc91c111.c renamed from hw/smc91c111.c +0 -0
hw/net/xen_nic.c renamed from hw/xen_nic.c +0 -0
hw/net/xgmac.c renamed from hw/xgmac.c +0 -0
hw/net/xilinx_axienet.c renamed from hw/xilinx_axienet.c +0 -0
hw/nvram/Makefile.objs +4 -0
@@ -0,0 +1,4 @@ +common-obj-$(CONFIG_DS1225Y) += ds1225y.o +common-obj-y += eeprom93xx.o +common-obj-y += fw_cfg.o +common-obj-$(CONFIG_MAC_NVRAM) += mac_nvram.o
hw/nvram/ds1225y.c renamed from hw/ds1225y.c +0 -0
hw/nvram/eeprom93xx.c renamed from hw/eeprom93xx.c +0 -0
hw/nvram/fw_cfg.c renamed from hw/fw_cfg.c +0 -0
hw/nvram/mac_nvram.c renamed from hw/mac_nvram.c +0 -0
hw/pci/Makefile.objs +20 -1
@@ -4,6 +4,25 @@ common-obj-$(CONFIG_PCI) += shpc.o common-obj-$(CONFIG_PCI) += slotid_cap.o common-obj-$(CONFIG_PCI) += pci_host.o pcie_host.o common-obj-$(CONFIG_PCI) += pcie.o pcie_aer.o pcie_port.o -common-obj-$(CONFIG_NO_PCI) += pci-stub.o +common-obj-$(CONFIG_NO_PCI) += pci-stub.o common-obj-$(CONFIG_ALL) += pci-stub.o + +common-obj-$(CONFIG_PCI) += pci_bridge_dev.o +common-obj-$(CONFIG_PCI) += ioh3420.o xio3130_upstream.o xio3130_downstream.o +common-obj-$(CONFIG_PCI) += i82801b11.o + +common-obj-y += pam.o + +# PPC devices +common-obj-$(CONFIG_PREP_PCI) += host-prep.o +common-obj-$(CONFIG_GRACKLE_PCI) += host-grackle.o +# NewWorld PowerMac +common-obj-$(CONFIG_UNIN_PCI) += host-uninorth.o +common-obj-$(CONFIG_DEC_PCI) += host-dec.o +# PowerPC E500 boards +common-obj-$(CONFIG_PPCE500_PCI) += host-ppce500.o + +# ARM devices +common-obj-$(CONFIG_VERSATILE_PCI) += host-versatile.o +
hw/pci/host-dec.c renamed from hw/dec_pci.c +0 -0
hw/pci/host-grackle.c renamed from hw/grackle_pci.c +0 -0
hw/pci/host-ppce500.c renamed from hw/ppce500_pci.c +0 -0
hw/pci/host-prep.c renamed from hw/prep_pci.c +0 -0
hw/pci/host-uninorth.c renamed from hw/unin_pci.c +0 -0
hw/pci/host-versatile.c renamed from hw/versatile_pci.c +0 -0
hw/pci/i82801b11.c renamed from hw/i82801b11.c +0 -0
hw/pci/ioh3420.c renamed from hw/ioh3420.c +0 -0
hw/pci/pam.c renamed from hw/pam.c +0 -0
hw/pci/pci_bridge_dev.c renamed from hw/pci_bridge_dev.c +0 -0
hw/pci/xio3130_downstream.c renamed from hw/xio3130_downstream.c +0 -0
hw/pci/xio3130_upstream.c renamed from hw/xio3130_upstream.c +0 -0
hw/scsi/Makefile.objs +6 -0
@@ -0,0 +1,6 @@ +common-obj-y += scsi-disk.o +common-obj-y += scsi-generic.o scsi-bus.o +common-obj-$(CONFIG_LSI_SCSI_PCI) += lsi53c895a.o +common-obj-$(CONFIG_MEGASAS_SCSI_PCI) += megasas.o +common-obj-$(CONFIG_ESP) += esp.o +common-obj-$(CONFIG_ESP_PCI) += esp-pci.o
hw/scsi/esp-pci.c renamed from hw/esp-pci.c +0 -0
hw/scsi/esp.c renamed from hw/esp.c +0 -0
hw/scsi/lsi53c895a.c renamed from hw/lsi53c895a.c +0 -0
hw/scsi/megasas.c renamed from hw/megasas.c +0 -0
hw/scsi/scsi-bus.c renamed from hw/scsi-bus.c +0 -0
hw/scsi/scsi-disk.c renamed from hw/scsi-disk.c +0 -0
hw/scsi/scsi-generic.c renamed from hw/scsi-generic.c +0 -0
hw/sd/Makefile.objs +4 -0
@@ -0,0 +1,4 @@ +common-obj-$(CONFIG_PL181) += pl181.o +common-obj-$(CONFIG_SSI_SD) += ssi-sd.o +common-obj-$(CONFIG_SD) += sd.o +common-obj-$(CONFIG_SDHCI) += sdhci.o
hw/sd/pl181.c renamed from hw/pl181.c +0 -0
hw/sd/sd.c renamed from hw/sd.c +0 -0
hw/sd/sdhci.c renamed from hw/sdhci.c +0 -0
hw/sd/ssi-sd.c renamed from hw/ssi-sd.c +0 -0
hw/ssi/Makefile.objs +2 -0
@@ -0,0 +1,2 @@ +common-obj-$(CONFIG_PL022) += pl022.o +common-obj-$(CONFIG_SSI) += ssi.o
hw/ssi/pl022.c renamed from hw/pl022.c +0 -0
hw/ssi/ssi.c renamed from hw/ssi.c +0 -0
hw/timer/Makefile.objs +10 -0
@@ -0,0 +1,10 @@ +common-obj-$(CONFIG_ARM_TIMER) += arm_timer.o +common-obj-$(CONFIG_CADENCE) += cadence_ttc.o +common-obj-$(CONFIG_DS1338) += ds1338.o +common-obj-$(CONFIG_HPET) += hpet.o +common-obj-$(CONFIG_I8254) += i8254_common.o i8254.o +common-obj-$(CONFIG_M48T59) += m48t59.o +common-obj-$(CONFIG_PL031) += pl031.o +common-obj-$(CONFIG_PUV3) += puv3_ost.o +common-obj-$(CONFIG_TWL92230) += twl92230.o +common-obj-$(CONFIG_XILINX) += xilinx_timer.o
hw/timer/arm_timer.c renamed from hw/arm_timer.c +0 -0
hw/timer/cadence_ttc.c renamed from hw/cadence_ttc.c +0 -0
hw/timer/ds1338.c renamed from hw/ds1338.c +0 -0
hw/timer/hpet.c renamed from hw/hpet.c +0 -0
hw/timer/i8254.c renamed from hw/i8254.c +0 -0
hw/timer/i8254_common.c renamed from hw/i8254_common.c +0 -0
hw/timer/m48t59.c renamed from hw/m48t59.c +0 -0
hw/timer/pl031.c renamed from hw/pl031.c +0 -0
hw/timer/puv3_ost.c renamed from hw/puv3_ost.c +0 -0
hw/timer/twl92230.c renamed from hw/twl92230.c +0 -0
hw/timer/xilinx_timer.c renamed from hw/xilinx_timer.c +0 -0
hw/usb/Makefile.objs +6 -1
@@ -21,7 +21,12 @@ common-obj-$(CONFIG_USB_NETWORK) += dev-network.o # FIXME: make configurable too CONFIG_USB_BLUETOOTH := y common-obj-$(CONFIG_USB_BLUETOOTH) += dev-bluetooth.o -common-obj-$(CONFIG_USB_SMARTCARD) += dev-smartcard-reader.o + +ifeq ($(CONFIG_USB_SMARTCARD),y) +common-obj-y += dev-smartcard-reader.o +common-obj-y += ccid-card-passthru.o +common-obj-$(CONFIG_SMARTCARD_NSS) += ccid-card-emulated.o +endif # usb redirection common-obj-$(CONFIG_USB_REDIR) += redirect.o quirks.o
hw/usb/ccid-card-emulated.c renamed from hw/ccid-card-emulated.c +0 -0
hw/usb/ccid-card-passthru.c renamed from hw/ccid-card-passthru.c +0 -0
hw/virtio/Makefile.objs +4 -0
@@ -0,0 +1,4 @@ +common-obj-$(CONFIG_VIRTIO) += virtio-rng.o +common-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o +common-obj-$(CONFIG_VIRTIO) += virtio-bus.o +
hw/virtio/virtio-bus.c renamed from hw/virtio-bus.c +0 -0
hw/virtio/virtio-pci.c renamed from hw/virtio-pci.c +0 -0
hw/virtio/virtio-rng.c renamed from hw/virtio-rng.c +0 -0
hw/watchdog/Makefile.objs +2 -0
@@ -0,0 +1,2 @@ +common-obj-y += watchdog.o +common-obj-$(CONFIG_PCI) += wdt_i6300esb.o
hw/watchdog/watchdog.c renamed from hw/watchdog.c +0 -0
hw/watchdog/wdt_i6300esb.c renamed from hw/wdt_i6300esb.c +0 -0
hw/xen/Makefile.objs +2 -0
@@ -0,0 +1,2 @@ +# xen backend driver support +common-obj-$(CONFIG_XEN_BACKEND) += xen_backend.o xen_devconfig.o
hw/xen/xen_backend.c renamed from hw/xen_backend.c +0 -0
hw/xen/xen_devconfig.c renamed from hw/xen_devconfig.c +0 -0
Signature · 1 line
1.8.1.4
PATCH 7/35 hw: move virtio devices to hw/ subdirectories
In reply to Paolo Bonzini---
hw/Makefile.objs | 5 -----
hw/block/Makefile.objs | 2 ++
hw/{ => block}/dataplane/Makefile.objs | 0
hw/{ => block}/dataplane/hostmem.c | 0
hw/{ => block}/dataplane/hostmem.h | 0
hw/{ => block}/dataplane/ioq.c | 0
hw/{ => block}/dataplane/ioq.h | 0
hw/{ => block}/dataplane/virtio-blk.c | 0
hw/{ => block}/dataplane/virtio-blk.h | 0
hw/{ => block}/dataplane/vring.c | 0
hw/{ => block}/dataplane/vring.h | 0
hw/{ => block}/virtio-blk.c | 0
hw/char/Makefile.objs | 2 ++
hw/{ => char}/virtio-serial-bus.c | 0
hw/net/Makefile.objs | 3 +++
hw/{ => net}/vhost_net.c | 0
hw/{ => net}/virtio-net.c | 0
hw/scsi/Makefile.objs | 1 +
hw/{ => scsi}/virtio-scsi.c | 0
hw/virtio/Makefile.objs | 2 ++
hw/{ => virtio}/vhost.c | 0
hw/{ => virtio}/virtio-balloon.c | 0
hw/{ => virtio}/virtio.c | 0
23 files changed, 10 insertions(+), 5 deletions(-)
rename hw/{ => block}/dataplane/Makefile.objs (100%)
rename hw/{ => block}/dataplane/hostmem.c (100%)
rename hw/{ => block}/dataplane/hostmem.h (100%)
rename hw/{ => block}/dataplane/ioq.c (100%)
rename hw/{ => block}/dataplane/ioq.h (100%)
rename hw/{ => block}/dataplane/virtio-blk.c (100%)
rename hw/{ => block}/dataplane/virtio-blk.h (100%)
rename hw/{ => block}/dataplane/vring.c (100%)
rename hw/{ => block}/dataplane/vring.h (100%)
rename hw/{ => block}/virtio-blk.c (100%)
rename hw/{ => char}/virtio-serial-bus.c (100%)
rename hw/{ => net}/vhost_net.c (100%)
rename hw/{ => net}/virtio-net.c (100%)
rename hw/{ => scsi}/virtio-scsi.c (100%)
rename hw/{ => virtio}/vhost.c (100%)
rename hw/{ => virtio}/virtio-balloon.c (100%)
rename hw/{ => virtio}/virtio.c (100%)hw/Makefile.objs +0 -5
@@ -34,11 +34,6 @@ ifeq ($(CONFIG_SOFTMMU),y) # Per-target files # virtio has to be here due to weird dependency between PCI and virtio-net. # need to fix this properly -obj-$(CONFIG_VIRTIO) += dataplane/ -obj-$(CONFIG_VIRTIO) += virtio.o virtio-blk.o virtio-balloon.o virtio-net.o -obj-$(CONFIG_VIRTIO) += virtio-serial-bus.o virtio-scsi.o -obj-$(CONFIG_SOFTMMU) += vhost_net.o -obj-$(CONFIG_VHOST_NET) += vhost.o obj-$(CONFIG_VGA) += vga.o # Inter-VM PCI shared memory & VFIO PCI device assignment
hw/block/Makefile.objs +2 -0
@@ -6,3 +6,5 @@ common-obj-$(CONFIG_PFLASH_CFI01) += pflash_cfi01.o common-obj-$(CONFIG_PFLASH_CFI02) += pflash_cfi02.o common-obj-$(CONFIG_XEN_BACKEND) += xen_disk.o common-obj-$(CONFIG_ECC) += ecc.o + +obj-$(CONFIG_VIRTIO) += dataplane/ virtio-blk.o
hw/block/dataplane/Makefile.objs renamed from hw/dataplane/Makefile.objs +0 -0
hw/block/dataplane/hostmem.c renamed from hw/dataplane/hostmem.c +0 -0
hw/block/dataplane/hostmem.h renamed from hw/dataplane/hostmem.h +0 -0
hw/block/dataplane/ioq.c renamed from hw/dataplane/ioq.c +0 -0
hw/block/dataplane/ioq.h renamed from hw/dataplane/ioq.h +0 -0
hw/block/dataplane/virtio-blk.c renamed from hw/dataplane/virtio-blk.c +0 -0
hw/block/dataplane/virtio-blk.h renamed from hw/dataplane/virtio-blk.h +0 -0
hw/block/dataplane/vring.c renamed from hw/dataplane/vring.c +0 -0
hw/block/dataplane/vring.h renamed from hw/dataplane/vring.h +0 -0
hw/block/virtio-blk.c renamed from hw/virtio-blk.c +0 -0
hw/char/Makefile.objs +2 -0
@@ -8,3 +8,5 @@ common-obj-$(CONFIG_VIRTIO) += virtio-console.o common-obj-$(CONFIG_XILINX) += xilinx_uartlite.o common-obj-$(CONFIG_XEN_BACKEND) += xen_console.o common-obj-$(CONFIG_CADENCE) += cadence_uart.o + +obj-$(CONFIG_VIRTIO) += virtio-serial-bus.o
hw/char/virtio-serial-bus.c renamed from hw/virtio-serial-bus.c +0 -0
hw/net/Makefile.objs +3 -0
@@ -18,3 +18,6 @@ common-obj-$(CONFIG_MIPSNET) += mipsnet.o common-obj-$(CONFIG_XILINX_AXI) += xilinx_axienet.o common-obj-$(CONFIG_CADENCE) += cadence_gem.o + +obj-$(CONFIG_VIRTIO) += virtio-net.o +obj-y += vhost_net.o
hw/net/vhost_net.c renamed from hw/vhost_net.c +0 -0
hw/net/virtio-net.c renamed from hw/virtio-net.c +0 -0
hw/scsi/Makefile.objs +1 -0
@@ -4,3 +4,4 @@ common-obj-$(CONFIG_LSI_SCSI_PCI) += lsi53c895a.o common-obj-$(CONFIG_MEGASAS_SCSI_PCI) += megasas.o common-obj-$(CONFIG_ESP) += esp.o common-obj-$(CONFIG_ESP_PCI) += esp-pci.o +obj-$(CONFIG_VIRTIO) += virtio-scsi.o
hw/scsi/virtio-scsi.c renamed from hw/virtio-scsi.c +0 -0
hw/virtio/Makefile.objs +2 -0
@@ -2,3 +2,5 @@ common-obj-$(CONFIG_VIRTIO) += virtio-rng.o common-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o common-obj-$(CONFIG_VIRTIO) += virtio-bus.o +obj-$(CONFIG_VIRTIO) += virtio.o virtio-balloon.o +obj-$(CONFIG_VHOST_NET) += vhost.o
hw/virtio/vhost.c renamed from hw/vhost.c +0 -0
hw/virtio/virtio-balloon.c renamed from hw/virtio-balloon.c +0 -0
hw/virtio/virtio.c renamed from hw/virtio.c +0 -0
Signature · 1 line
1.8.1.4
PATCH 8/35 hw: make all of hw/ide/ configurable via default-configs/
In reply to Paolo Bonzini--- default-configs/arm-softmmu.mak | 1 + default-configs/sh4-softmmu.mak | 1 + default-configs/sh4eb-softmmu.mak | 1 + hw/arm/Makefile.objs | 2 +- hw/ide/Makefile.objs | 2 ++ hw/sh4/Makefile.objs | 1 - 6 files changed, 6 insertions(+), 2 deletions(-)
default-configs/arm-softmmu.mak +1 -0
@@ -29,6 +29,7 @@ CONFIG_SMC91C111=y CONFIG_DS1338=y CONFIG_PFLASH_CFI01=y CONFIG_PFLASH_CFI02=y +CONFIG_MICRODRIVE=y CONFIG_ARM_TIMER=y CONFIG_PL011=y
default-configs/sh4-softmmu.mak +1 -0
@@ -6,3 +6,4 @@ CONFIG_SERIAL=y CONFIG_PTIMER=y CONFIG_PFLASH_CFI02=y CONFIG_ISA_MMIO=y +CONFIG_IDE_MMIO=y
default-configs/sh4eb-softmmu.mak +1 -0
@@ -6,3 +6,4 @@ CONFIG_SERIAL=y CONFIG_PTIMER=y CONFIG_PFLASH_CFI02=y CONFIG_ISA_MMIO=y +CONFIG_IDE_MMIO=y
hw/arm/Makefile.objs +1 -1
@@ -11,7 +11,7 @@ obj-y += arm_mptimer.o a15mpcore.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 += zaurus.o tc6393xb.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 += omap_dss.o soc_dma.o omap_gptimer.o omap_synctimer.o \
hw/ide/Makefile.objs +2 -0
@@ -5,6 +5,8 @@ common-obj-$(CONFIG_IDE_ISA) += isa.o common-obj-$(CONFIG_IDE_PIIX) += piix.o common-obj-$(CONFIG_IDE_CMD646) += cmd646.o common-obj-$(CONFIG_IDE_MACIO) += macio.o +common-obj-$(CONFIG_IDE_MMIO) += mmio.o common-obj-$(CONFIG_IDE_VIA) += via.o +common-obj-$(CONFIG_MICRODRIVE) += microdrive.o common-obj-$(CONFIG_AHCI) += ahci.o common-obj-$(CONFIG_AHCI) += ich.o
hw/sh4/Makefile.objs +0 -1
@@ -1,6 +1,5 @@ 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))
Signature · 1 line
1.8.1.4
PATCH 9/35 hw: make all of hw/usb/ configurable via default-configs/
In reply to Paolo Bonzini--- default-configs/arm-softmmu.mak | 1 + hw/arm/Makefile.objs | 2 +- hw/usb/Makefile.objs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)
default-configs/arm-softmmu.mak +1 -0
@@ -30,6 +30,7 @@ CONFIG_DS1338=y CONFIG_PFLASH_CFI01=y CONFIG_PFLASH_CFI02=y CONFIG_MICRODRIVE=y +CONFIG_USB_MUSB=y CONFIG_ARM_TIMER=y CONFIG_PL011=y
hw/arm/Makefile.objs +1 -1
@@ -17,7 +17,7 @@ obj-y += omap_lcdc.o omap_dma.o omap_clk.o omap_mmc.o omap_i2c.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 +obj-y += blizzard.o onenand.o cbus.o tusb6010.o obj-y += mst_fpga.o obj-y += bitbang_i2c.o marvell_88w8618_audio.o obj-y += framebuffer.o
hw/usb/Makefile.objs +1 -0
@@ -7,6 +7,7 @@ common-obj-$(CONFIG_USB_UHCI) += hcd-uhci.o common-obj-$(CONFIG_USB_OHCI) += hcd-ohci.o common-obj-$(CONFIG_USB_EHCI) += hcd-ehci.o hcd-ehci-pci.o hcd-ehci-sysbus.o common-obj-$(CONFIG_USB_XHCI) += hcd-xhci.o +common-obj-$(CONFIG_USB_MUSB) += hcd-musb.o # emulated usb devices common-obj-y += dev-hub.o
Signature · 1 line
1.8.1.4
PATCH 10/35 hw: make all of hw/pci/ configurable via default-configs/
In reply to Paolo Bonzini--- default-configs/i386-softmmu.mak | 1 + default-configs/ppc64-softmmu.mak | 2 ++ default-configs/x86_64-softmmu.mak | 1 + hw/i386/Makefile.objs | 2 +- hw/pci/Makefile.objs | 1 + hw/ppc/Makefile.objs | 2 +- 6 files changed, 7 insertions(+), 2 deletions(-)
default-configs/i386-softmmu.mak +1 -0
@@ -27,3 +27,4 @@ CONFIG_APPLESMC=y CONFIG_I8259=y CONFIG_PFLASH_CFI01=y CONFIG_TPM_TIS=y +CONFIG_PCI_HOTPLUG=y
default-configs/ppc64-softmmu.mak +2 -0
@@ -42,3 +42,5 @@ CONFIG_I8259=y CONFIG_XILINX=y CONFIG_PSERIES=$(CONFIG_FDT) CONFIG_E500=$(CONFIG_FDT) +# For pSeries +CONFIG_PCI_HOTPLUG=y
default-configs/x86_64-softmmu.mak +1 -0
@@ -27,3 +27,4 @@ CONFIG_APPLESMC=y CONFIG_I8259=y CONFIG_PFLASH_CFI01=y CONFIG_TPM_TIS=y +CONFIG_PCI_HOTPLUG=y
hw/i386/Makefile.objs +1 -1
@@ -2,7 +2,7 @@ obj-y += mc146818rtc.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 +obj-y += wdt_ib700.o obj-y += debugcon.o debugexit.o obj-y += pc_sysfw.o obj-y += lpc_ich9.o q35.o
hw/pci/Makefile.objs +1 -0
@@ -26,3 +26,4 @@ common-obj-$(CONFIG_PPCE500_PCI) += host-ppce500.o # ARM devices common-obj-$(CONFIG_VERSATILE_PCI) += host-versatile.o +obj-$(CONFIG_PCI_HOTPLUG) += pci-hotplug.o
hw/ppc/Makefile.objs +1 -1
@@ -2,7 +2,7 @@ obj-y += mc146818rtc.o # IBM pSeries (sPAPR) obj-$(CONFIG_PSERIES) += spapr_vty.o spapr_llan.o spapr_vscsi.o -obj-$(CONFIG_PSERIES) += spapr_pci.o pci/pci-hotplug.o +obj-$(CONFIG_PSERIES) += spapr_pci.o obj-$(CONFIG_PSERIES) += spapr_nvram.o # PowerPC 4xx boards obj-y += ppc4xx_pci.o
Signature · 1 line
1.8.1.4
PATCH 11/35 hw: move watchdogs to hw/watchdog, configure via default-configs/
In reply to Paolo Bonzini---
default-configs/i386-softmmu.mak | 1 +
default-configs/pci.mak | 1 +
default-configs/x86_64-softmmu.mak | 1 +
hw/i386/Makefile.objs | 1 -
hw/watchdog/Makefile.objs | 3 ++-
hw/{ => watchdog}/wdt_ib700.c | 0
6 files changed, 5 insertions(+), 2 deletions(-)
rename hw/{ => watchdog}/wdt_ib700.c (100%)default-configs/i386-softmmu.mak +1 -0
@@ -28,3 +28,4 @@ CONFIG_I8259=y CONFIG_PFLASH_CFI01=y CONFIG_TPM_TIS=y CONFIG_PCI_HOTPLUG=y +CONFIG_WDT_IB700=y
default-configs/pci.mak +1 -0
@@ -22,3 +22,4 @@ CONFIG_ESP_PCI=y CONFIG_SERIAL=y CONFIG_SERIAL_PCI=y CONFIG_IPACK=y +CONFIG_WDT_IB6300ESB=y
default-configs/x86_64-softmmu.mak +1 -0
@@ -28,3 +28,4 @@ CONFIG_I8259=y CONFIG_PFLASH_CFI01=y CONFIG_TPM_TIS=y CONFIG_PCI_HOTPLUG=y +CONFIG_WDT_IB700=y
hw/i386/Makefile.objs +0 -1
@@ -2,7 +2,6 @@ obj-y += mc146818rtc.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 += wdt_ib700.o obj-y += debugcon.o debugexit.o obj-y += pc_sysfw.o obj-y += lpc_ich9.o q35.o
hw/watchdog/Makefile.objs +2 -1
@@ -1,2 +1,3 @@ common-obj-y += watchdog.o -common-obj-$(CONFIG_PCI) += wdt_i6300esb.o +common-obj-$(CONFIG_WDT_IB6300ESB) += wdt_i6300esb.o +common-obj-$(CONFIG_WDT_IB700) += wdt_ib700.o
hw/watchdog/wdt_ib700.c renamed from hw/wdt_ib700.c +0 -0
Signature · 1 line
1.8.1.4
PATCH 12/35 hw: move MC146818RTC to hw/timer/, configure via default-configs/
In reply to Paolo Bonzini---
default-configs/alpha-softmmu.mak | 1 +
default-configs/i386-softmmu.mak | 1 +
default-configs/mips-softmmu.mak | 1 +
default-configs/mips64-softmmu.mak | 1 +
default-configs/mips64el-softmmu.mak | 1 +
default-configs/mipsel-softmmu.mak | 1 +
default-configs/ppc-softmmu.mak | 2 ++
default-configs/ppc64-softmmu.mak | 2 ++
default-configs/ppcemb-softmmu.mak | 2 ++
default-configs/sparc64-softmmu.mak | 1 +
default-configs/x86_64-softmmu.mak | 1 +
hw/alpha/Makefile.objs | 4 ----
hw/i386/Makefile.objs | 1 -
hw/mips/Makefile.objs | 2 +-
hw/ppc/Makefile.objs | 2 --
hw/sparc64/Makefile.objs | 1 -
hw/timer/Makefile.objs | 2 ++
hw/{ => timer}/mc146818rtc.c | 0
18 files changed, 17 insertions(+), 9 deletions(-)
rename hw/{ => timer}/mc146818rtc.c (100%)default-configs/alpha-softmmu.mak +1 -0
@@ -13,3 +13,4 @@ CONFIG_IDE_QDEV=y CONFIG_VMWARE_VGA=y CONFIG_IDE_CMD646=y CONFIG_I8259=y +CONFIG_MC146818RTC=y
default-configs/i386-softmmu.mak +1 -0
@@ -28,4 +28,5 @@ CONFIG_I8259=y CONFIG_PFLASH_CFI01=y CONFIG_TPM_TIS=y CONFIG_PCI_HOTPLUG=y +CONFIG_MC146818RTC=y CONFIG_WDT_IB700=y
default-configs/mips-softmmu.mak +1 -0
@@ -32,3 +32,4 @@ CONFIG_PFLASH_CFI01=y CONFIG_G364FB=y CONFIG_I8259=y CONFIG_JAZZ_LED=y +CONFIG_MC146818RTC=y
default-configs/mips64-softmmu.mak +1 -0
@@ -32,3 +32,4 @@ CONFIG_PFLASH_CFI01=y CONFIG_G364FB=y CONFIG_I8259=y CONFIG_JAZZ_LED=y +CONFIG_MC146818RTC=y
default-configs/mips64el-softmmu.mak +1 -0
@@ -34,3 +34,4 @@ CONFIG_FULONG=y CONFIG_G364FB=y CONFIG_I8259=y CONFIG_JAZZ_LED=y +CONFIG_MC146818RTC=y
default-configs/mipsel-softmmu.mak +1 -0
@@ -32,3 +32,4 @@ CONFIG_PFLASH_CFI01=y CONFIG_G364FB=y CONFIG_I8259=y CONFIG_JAZZ_LED=y +CONFIG_MC146818RTC=y
default-configs/ppc-softmmu.mak +2 -0
@@ -41,3 +41,5 @@ CONFIG_PTIMER=y CONFIG_I8259=y CONFIG_XILINX=y CONFIG_E500=$(CONFIG_FDT) +# For PReP +CONFIG_MC146818RTC=y
default-configs/ppc64-softmmu.mak +2 -0
@@ -44,3 +44,5 @@ CONFIG_PSERIES=$(CONFIG_FDT) CONFIG_E500=$(CONFIG_FDT) # For pSeries CONFIG_PCI_HOTPLUG=y +# For PReP +CONFIG_MC146818RTC=y
default-configs/ppcemb-softmmu.mak +2 -0
@@ -36,3 +36,5 @@ CONFIG_PTIMER=y CONFIG_I8259=y CONFIG_XILINX=y CONFIG_E500=$(CONFIG_FDT) +# For PReP +CONFIG_MC146818RTC=y
default-configs/sparc64-softmmu.mak +1 -0
@@ -13,3 +13,4 @@ CONFIG_PCKBD=y CONFIG_FDC=y CONFIG_IDE_ISA=y CONFIG_IDE_CMD646=y +CONFIG_MC146818RTC=y
default-configs/x86_64-softmmu.mak +1 -0
@@ -28,4 +28,5 @@ CONFIG_I8259=y CONFIG_PFLASH_CFI01=y CONFIG_TPM_TIS=y CONFIG_PCI_HOTPLUG=y +CONFIG_MC146818RTC=y CONFIG_WDT_IB700=y
hw/alpha/Makefile.objs +0 -4
@@ -1,5 +1 @@ -obj-y = mc146818rtc.o - -obj-y := $(addprefix ../,$(obj-y)) - obj-y += dp264.o pci.o typhoon.o
hw/i386/Makefile.objs +0 -1
@@ -1,4 +1,3 @@ -obj-y += mc146818rtc.o obj-y += apic_common.o apic.o obj-y += sga.o ioapic_common.o ioapic.o piix_pci.o obj-y += vmport.o
hw/mips/Makefile.objs +1 -1
@@ -1,4 +1,4 @@ -obj-y += gt64xxx.o mc146818rtc.o +obj-y += gt64xxx.o obj-$(CONFIG_FULONG) += bonito.o vt82c686.o obj-y := $(addprefix ../,$(obj-y))
hw/ppc/Makefile.objs +0 -2
@@ -1,5 +1,3 @@ -# PREP target -obj-y += mc146818rtc.o # IBM pSeries (sPAPR) obj-$(CONFIG_PSERIES) += spapr_vty.o spapr_llan.o spapr_vscsi.o obj-$(CONFIG_PSERIES) += spapr_pci.o
hw/sparc64/Makefile.objs +0 -1
@@ -1,5 +1,4 @@ obj-y = apb_pci.o -obj-y += mc146818rtc.o obj-y := $(addprefix ../,$(obj-y))
hw/timer/Makefile.objs +2 -0
@@ -8,3 +8,5 @@ common-obj-$(CONFIG_PL031) += pl031.o common-obj-$(CONFIG_PUV3) += puv3_ost.o common-obj-$(CONFIG_TWL92230) += twl92230.o common-obj-$(CONFIG_XILINX) += xilinx_timer.o + +obj-$(CONFIG_MC146818RTC) += mc146818rtc.o
hw/timer/mc146818rtc.c renamed from hw/mc146818rtc.c +0 -0
Signature · 1 line
1.8.1.4
Quoted 3 lines · Paolo Bonzini
hw/{ => arm}/a15mpcore.c | 0
hw/{ => arm}/a9mpcore.c | 0
hw/{ => arm}/arm11mpcore.c | 0Still no.
-- PMM
Il 18/03/2013 18:38, Peter Maydell ha scritto:
Quoted 5 lines · Paolo Bonzini
Quoted 3 lines
Quoted 3 lines
hw/{ => arm}/a15mpcore.c | 0 hw/{ => arm}/a9mpcore.c | 0 hw/{ => arm}/arm11mpcore.c | 0Still no.
I pointed you to the list of hw/arm files I wrote the first time, where you okay-ed a*mpcore.c going in hw/arm, but you didn't answer with a better alternative...
So what is the better alternative? A new hw/container/?
Paolo
Quoted 10 lines · Paolo Bonzini
Il 18/03/2013 18:38, Peter Maydell ha scritto:
Quoted 5 lines · Paolo Bonzini
Quoted 3 lines
Quoted 3 lines
hw/{ => arm}/a15mpcore.c | 0 hw/{ => arm}/a9mpcore.c | 0 hw/{ => arm}/arm11mpcore.c | 0Still no.
I pointed you to the list of hw/arm files I wrote the first time, where you okay-ed a*mpcore.c going in hw/arm, but you didn't answer with a better alternative...
No, I said they were single devices and shouldn't go in hw/arm.
Quoted 1 line
So what is the better alternative? A new hw/container/?
Maybe. Whatever it is, it should be a classification by kind of device, so we can consistently sort by kind of device and not part by kind of device and part by target architecture.
Personally I have no issues with the existing 'all in hw/' arrangement; I just want you to come up with a consistent structure if you're going to try to change it.
-- PMM
Il 18/03/2013 19:11, Peter Maydell ha scritto:
Quoted 9 lines
Quoted 1 line
So what is the better alternative? A new hw/container/?
Maybe. Whatever it is, it should be a classification by kind of device, so we can consistently sort by kind of device and not part by kind of device and part by target architecture.
Personally I have no issues with the existing 'all in hw/' arrangement; I just want you to come up with a consistent structure if you're going to try to change it.
Shouldn't these containers also host the CPU device(s), rather than the boards? And create them according to the num-cpu property? If so, they would have to go in hw/arm.
Andreas, what do you think?
Paolo
Quoted 7 lines · Paolo Bonzini
Il 18/03/2013 19:11, Peter Maydell ha scritto:
Quoted 6 lines
Quoted 1 line
So what is the better alternative? A new hw/container/?
Maybe. Whatever it is, it should be a classification by kind of device, so we can consistently sort by kind of device and not part by kind of device and part by target architecture.
Quoted 7 lines
Quoted 3 lines
Personally I have no issues with the existing 'all in hw/' arrangement; I just want you to come up with a consistent structure if you're going to try to change it.
Shouldn't these containers also host the CPU device(s), rather than the boards? And create them according to the num-cpu property? If so, they would have to go in hw/arm.
Yes, ideally they should have the CPU devices in them too. Remind me why devices which instantiate the CPU device go in hw/arm ?
-- PMM
Il 18/03/2013 19:17, Peter Maydell ha scritto:
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Shouldn't these containers also host the CPU device(s), rather than the boards? And create them according to the num-cpu property? If so, they would have to go in hw/arm.
Yes, ideally they should have the CPU devices in them too. Remind me why devices which instantiate the CPU device go in hw/arm ?
Because they refer to ARMCPU/CPUARMState.
Paolo
Quoted 9 lines · Paolo Bonzini
Il 18/03/2013 19:17, Peter Maydell ha scritto:
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Shouldn't these containers also host the CPU device(s), rather than the boards? And create them according to the num-cpu property? If so, they would have to go in hw/arm.
Yes, ideally they should have the CPU devices in them too. Remind me why devices which instantiate the CPU device go in hw/arm ?
Because they refer to ARMCPU/CPUARMState.
Well, a container object that instantiated the CPUs wouldn't be referring to the internal CPU state struct, it would just be treating them as QOM objects like any other, so that doesn't apply.
-- PMM
Il 18/03/2013 21:21, Peter Maydell ha scritto:
Quoted 9 lines · Paolo Bonzini
Quoted 8 lines
Il 18/03/2013 19:17, Peter Maydell ha scritto:
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Shouldn't these containers also host the CPU device(s), rather than the boards? And create them according to the num-cpu property? If so, they would have to go in hw/arm.
Yes, ideally they should have the CPU devices in them too. Remind me why devices which instantiate the CPU device go in hw/arm ?
Quoted 6 lines
Quoted 1 line
Because they refer to ARMCPU/CPUARMState.
Well, a container object that instantiated the CPUs wouldn't be referring to the internal CPU state struct, it would just be treating them as QOM objects like any other, so that doesn't apply.
Wouldn't it also bridge the CPU's internal interrupt pins to the GIC? Like this code in highbank.c:
/* This will become a QOM property eventually */
irqp = arm_pic_init_cpu(cpu);
cpu_irq[n] = irqp[ARM_PIC_CPU_IRQ];
...
for (n = 0; n < smp_cpus; n++) {
sysbus_connect_irq(busdev, n, cpu_irq[n]);
}Paolo
Quoted 21 lines · Paolo Bonzini
Il 18/03/2013 21:21, Peter Maydell ha scritto:
Quoted 9 lines · Paolo Bonzini
Quoted 8 lines
Il 18/03/2013 19:17, Peter Maydell ha scritto:
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Shouldn't these containers also host the CPU device(s), rather than the boards? And create them according to the num-cpu property? If so, they would have to go in hw/arm.
Yes, ideally they should have the CPU devices in them too. Remind me why devices which instantiate the CPU device go in hw/arm ?
Quoted 6 lines
Quoted 1 line
Because they refer to ARMCPU/CPUARMState.
Well, a container object that instantiated the CPUs wouldn't be referring to the internal CPU state struct, it would just be treating them as QOM objects like any other, so that doesn't apply.
Wouldn't it also bridge the CPU's internal interrupt pins to the GIC? Like this code in
highbank.c:
Quoted 7 lines
/* This will become a QOM property eventually */
irqp = arm_pic_init_cpu(cpu);
cpu_irq[n] = irqp[ARM_PIC_CPU_IRQ];
...
for (n = 0; n < smp_cpus; n++) {
sysbus_connect_irq(busdev, n, cpu_irq[n]);
}Well, for the CPU to be a proper QOM object it should be exposing the IRQ/FIQ lines normally, not via the code in hw/arm/pic_cpu.c. My point is that the QOM abstraction should encapsulate the CPU cores just like any other piece of hardware. We're not there yet but that's where we should be going. You can't really put the CPUs into the a9mpcore &c containers until we've done that abstraction properly anyway.
-- PMM
Il 19/03/2013 11:10, Peter Maydell ha scritto:
Quoted 30 lines · Paolo Bonzini
Quoted 21 lines
Il 18/03/2013 21:21, Peter Maydell ha scritto:
Quoted 9 lines · Paolo Bonzini
Quoted 8 lines
Il 18/03/2013 19:17, Peter Maydell ha scritto:
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Shouldn't these containers also host the CPU device(s), rather than the boards? And create them according to the num-cpu property? If so, they would have to go in hw/arm.
Yes, ideally they should have the CPU devices in them too. Remind me why devices which instantiate the CPU device go in hw/arm ?
Quoted 6 lines
Quoted 1 line
Because they refer to ARMCPU/CPUARMState.
Well, a container object that instantiated the CPUs wouldn't be referring to the internal CPU state struct, it would just be treating them as QOM objects like any other, so that doesn't apply.
Wouldn't it also bridge the CPU's internal interrupt pins to the GIC? Like this code in
highbank.c:Quoted 7 lines
/* This will become a QOM property eventually */ irqp = arm_pic_init_cpu(cpu); cpu_irq[n] = irqp[ARM_PIC_CPU_IRQ]; ... for (n = 0; n < smp_cpus; n++) { sysbus_connect_irq(busdev, n, cpu_irq[n]); }
Quoted 2 lines
Well, for the CPU to be a proper QOM object it should be exposing the IRQ/FIQ lines normally, not via the code in
hw/arm/pic_cpu.c.
That applies to everything else that was put in hw/ARCH. Everything could become a QOM property.
Quoted 5 lines
My point is that the QOM abstraction should encapsulate the CPU cores just like any other piece of hardware. We're not there yet but that's where we should be going. You can't really put the CPUs into the a9mpcore &c containers until we've done that abstraction properly anyway.
Why not? It would remove a bunch of code that is currently duplicated in the boards.
Paolo
Quoted 6 lines · Paolo Bonzini
Il 19/03/2013 11:10, Peter Maydell ha scritto:
Quoted 2 lines
Well, for the CPU to be a proper QOM object it should be exposing the IRQ/FIQ lines normally, not via the code in
hw/arm/pic_cpu.c.That applies to everything else that was put in hw/ARCH. Everything could become a QOM property.
Yes. If we clean this stuff up I can kick it back out of hw/ARCH :-)
Quoted 8 lines
Quoted 5 lines
My point is that the QOM abstraction should encapsulate the CPU cores just like any other piece of hardware. We're not there yet but that's where we should be going. You can't really put the CPUs into the a9mpcore &c containers until we've done that abstraction properly anyway.
Why not? It would remove a bunch of code that is currently duplicated in the boards.
Hmm, maybe.
-- PMM
Il 19/03/2013 11:32, Peter Maydell ha scritto:
Quoted 16 lines · Paolo Bonzini
Quoted 6 lines
Il 19/03/2013 11:10, Peter Maydell ha scritto:
Quoted 2 lines
Well, for the CPU to be a proper QOM object it should be exposing the IRQ/FIQ lines normally, not via the code in
hw/arm/pic_cpu.c.That applies to everything else that was put in hw/ARCH. Everything could become a QOM property.
Yes. If we clean this stuff up I can kick it back out of hw/ARCH :-)
Quoted 6 lines
Quoted 5 lines
My point is that the QOM abstraction should encapsulate the CPU cores just like any other piece of hardware. We're not there yet but that's where we should be going. You can't really put the CPUs into the a9mpcore &c containers until we've done that abstraction properly anyway.
Quoted 4 lines
Quoted 2 lines
Why not? It would remove a bunch of code that is currently duplicated in the boards.
Hmm, maybe.
So, okay to put these in hw/arm and then I'll work on patches moving cpu_arm_init to a*mpcore.c?
Paolo
Quoted 9 lines · Paolo Bonzini
Il 19/03/2013 11:32, Peter Maydell ha scritto:
Quoted 8 lines · Paolo Bonzini
Quoted 7 lines
Il 19/03/2013 11:10, Peter Maydell ha scritto:
Quoted 5 lines
My point is that the QOM abstraction should encapsulate the CPU cores just like any other piece of hardware. We're not there yet but that's where we should be going. You can't really put the CPUs into the a9mpcore &c containers until we've done that abstraction properly anyway.
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Why not? It would remove a bunch of code that is currently duplicated in the boards.
Hmm, maybe.
So, okay to put these in hw/arm and then I'll work on patches moving
cpu_arm_initto a*mpcore.c?
Wrong way round. If you can't put the cpu_arm_init into the a*mpcore in a way that doesn't make you want to put them in hw/arm/ then it should wait until we've QOMified the CPU cores sufficiently that we can do it properly.
-- PMM
Il 19/03/2013 23:34, Peter Maydell ha scritto:
Quoted 15 lines · Paolo Bonzini
Quoted 14 lines
Il 19/03/2013 11:32, Peter Maydell ha scritto:
Quoted 12 lines · Paolo Bonzini
Quoted 9 lines
Il 19/03/2013 11:10, Peter Maydell ha scritto:
Quoted 5 lines
My point is that the QOM abstraction should encapsulate the CPU cores just like any other piece of hardware. We're not there yet but that's where we should be going. You can't really put the CPUs into the a9mpcore &c containers until we've done that abstraction properly anyway.
Why not? It would remove a bunch of code that is currently duplicated in the boards.
Hmm, maybe.
Quoted 7 lines
Quoted 2 lines
So, okay to put these in hw/arm and then I'll work on patches moving
cpu_arm_initto a*mpcore.c?Wrong way round. If you can't put the
cpu_arm_initinto the a*mpcore in a way that doesn't make you want to put them in hw/arm/ then it should wait until we've QOMified the CPU cores sufficiently that we can do it properly.
Does that include calling the CPU constructor something else than cpu_arm_init (which is defined in target-arm/)? For me that would be enough to put it in hw/arm.
Paolo
Quoted 5 lines · Paolo Bonzini
Il 19/03/2013 23:34, Peter Maydell ha scritto:
Quoted 4 lines · Paolo Bonzini
Quoted 2 lines
So, okay to put these in hw/arm and then I'll work on patches moving
cpu_arm_initto a*mpcore.c?
Quoted 8 lines
Quoted 4 lines
Wrong way round. If you can't put the
cpu_arm_initinto the a*mpcore in a way that doesn't make you want to put them in hw/arm/ then it should wait until we've QOMified the CPU cores sufficiently that we can do it properly.Does that include calling the CPU constructor something else than
cpu_arm_init(which is defined in target-arm/)? For me that would be enough to put it in hw/arm.
The CPU should be created (and thus initialised and realised) the same way as any other QOM object or device; the containers shouldn't need to call cpu_arm_init directly.
-- PMM
Il 20/03/2013 00:44, Peter Maydell ha scritto:
Quoted 11 lines · Paolo Bonzini
Quoted 10 lines
Quoted 10 lines
Il 19/03/2013 23:34, Peter Maydell ha scritto:
Quoted 8 lines
Quoted 8 lines · Paolo Bonzini
Quoted 2 lines
Quoted 2 lines
So, okay to put these in hw/arm and then I'll work on patches moving
cpu_arm_initto a*mpcore.c?Wrong way round. If you can't put the
cpu_arm_initinto the a*mpcore in a way that doesn't make you want to put them in hw/arm/ then it should wait until we've QOMified the CPU cores sufficiently that we can do it properly.
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Does that include calling the CPU constructor something else than
cpu_arm_init(which is defined in target-arm/)? For me that would be enough to put it in hw/arm.The CPU should be created (and thus initialised and realised) the same way as any other QOM object or device; the containers shouldn't need to call
cpu_arm_initdirectly.
ARM is already quite good in that respect. However, until all architectures are converted cpu_*_init needs to remain because of user-mode targets (where the CPUs are created by common code, there is no board to encapsulate the target-specific differences). IMHO waiting for the demise of cpu_*_init is putting the cart before the horse, or another similar proverb.
(Also, I don't see much difference between using a function in target-ARCH and using a TYPE_FOO define from target-ARCH. They are the same thing masked through RTTI. hw/ARCH should really be the bridge between target-ARCH and hw/everything-else, and a*mpcore.c fits in that description).
Paolo
Quoted 6 lines · Paolo Bonzini
ARM is already quite good in that respect. However, until all architectures are converted cpu_*_init needs to remain because of user-mode targets (where the CPUs are created by common code, there is no board to encapsulate the target-specific differences). IMHO waiting for the demise of cpu_*_init is putting the cart before the horse, or another similar proverb.
As I say, I don't object to you moving the cpu init code into the a*mpcore containers. I do object to you moving the a*mpcore containers into hw/arm, and so transitively I object to changes to the containers made only with the intent to cause them to move into hw/arm.
Quoted 5 lines
(Also, I don't see much difference between using a function in target-ARCH and using a
TYPE_FOOdefine from target-ARCH. They are the same thing masked through RTTI. hw/ARCH should really be the bridge between target-ARCH and hw/everything-else, and a*mpcore.c fits in that description).
Basically I don't like the way your categorization scheme seems to be "kind of device, except for stuff in hw/ARCH which has a completely different rationale". I'm OK with hw/ARCH having board models, because that's really "kind of device", it's just split what ought to be hw/boards into a bunch of separate directories. And I've accepted having some of the random "needs fixing and splitting and chucking back out of hw/ARCH" code as a temporary measure. But please stop trying to push stuff into hw/ARCH rather than categorising it properly. I feel like I'm arguing round in circles here.
-- PMM
Il 20/03/2013 11:30, Peter Maydell ha scritto:
Quoted 10 lines
Basically I don't like the way your categorization scheme seems to be "kind of device, except for stuff in hw/ARCH which has a completely different rationale". I'm OK with hw/ARCH having board models, because that's really "kind of device", it's just split what ought to be hw/boards into a bunch of separate directories. And I've accepted having some of the random "needs fixing and splitting and chucking back out of hw/ARCH" code as a temporary measure. But please stop trying to push stuff into hw/ARCH rather than categorising it properly. I feel like I'm arguing round in circles here.
Ok, I guess I'll add hw/cpu.
Paolo
PATCH 13/35 hw: move NICs to hw/net/, configure via default-configs/
In reply to Paolo Bonzini---
default-configs/arm-softmmu.mak | 1 +
default-configs/cris-softmmu.mak | 1 +
default-configs/lm32-softmmu.mak | 1 +
default-configs/m68k-softmmu.mak | 1 +
default-configs/microblaze-softmmu.mak | 1 +
default-configs/microblazeel-softmmu.mak | 1 +
default-configs/ppc-softmmu.mak | 1 +
default-configs/ppc64-softmmu.mak | 1 +
default-configs/ppcemb-softmmu.mak | 1 +
default-configs/sparc-softmmu.mak | 1 +
hw/arm/Makefile.objs | 2 +-
hw/cris/Makefile.objs | 1 -
hw/lm32/Makefile.objs | 1 -
hw/m68k/Makefile.objs | 2 +-
hw/microblaze/Makefile.objs | 1 -
hw/net/Makefile.objs | 8 ++++++++
hw/{ => net}/etraxfs_eth.c | 0
hw/{ => net}/lance.c | 0
hw/{ => net}/mcf_fec.c | 0
hw/{ => net}/milkymist-minimac2.c | 0
hw/{ => net}/spapr_llan.c | 0
hw/{ => net}/stellaris_enet.c | 0
hw/{ => net}/xilinx_ethlite.c | 0
hw/ppc/Makefile.objs | 5 +----
hw/sparc/Makefile.objs | 2 +-
25 files changed, 22 insertions(+), 10 deletions(-)
rename hw/{ => net}/etraxfs_eth.c (100%)
rename hw/{ => net}/lance.c (100%)
rename hw/{ => net}/mcf_fec.c (100%)
rename hw/{ => net}/milkymist-minimac2.c (100%)
rename hw/{ => net}/spapr_llan.c (100%)
rename hw/{ => net}/stellaris_enet.c (100%)
rename hw/{ => net}/xilinx_ethlite.c (100%)default-configs/arm-softmmu.mak +1 -0
@@ -17,6 +17,7 @@ CONFIG_TSC2005=y CONFIG_LM832X=y CONFIG_TMP105=y CONFIG_STELLARIS_INPUT=y +CONFIG_STELLARIS_ENET=y CONFIG_SSD0303=y CONFIG_SSD0323=y CONFIG_ADS7846=y
default-configs/cris-softmmu.mak +1 -0
@@ -1,5 +1,6 @@ # Default configuration for cris-softmmu +CONFIG_ETRAXFS=y CONFIG_NAND=y CONFIG_PTIMER=y CONFIG_PFLASH_CFI02=y
default-configs/lm32-softmmu.mak +1 -0
@@ -1,5 +1,6 @@ # Default configuration for lm32-softmmu +CONFIG_MILKYMIST=y CONFIG_PTIMER=y CONFIG_PFLASH_CFI01=y CONFIG_PFLASH_CFI02=y
default-configs/m68k-softmmu.mak +1 -0
@@ -2,5 +2,6 @@ include pci.mak include usb.mak +CONFIG_COLDFIRE=y CONFIG_GDBSTUB_XML=y CONFIG_PTIMER=y
default-configs/microblaze-softmmu.mak +1 -0
@@ -5,5 +5,6 @@ CONFIG_PFLASH_CFI01=y CONFIG_SERIAL=y CONFIG_XILINX=y CONFIG_XILINX_AXI=y +CONFIG_XILINX_ETHLITE=y CONFIG_SSI=y CONFIG_SSI_M25P80=y
default-configs/microblazeel-softmmu.mak +1 -0
@@ -5,5 +5,6 @@ CONFIG_PFLASH_CFI01=y CONFIG_SERIAL=y CONFIG_XILINX=y CONFIG_XILINX_AXI=y +CONFIG_XILINX_ETHLITE=y CONFIG_SSI=y CONFIG_SSI_M25P80=y
default-configs/ppc-softmmu.mak +1 -0
@@ -40,6 +40,7 @@ CONFIG_PFLASH_CFI02=y CONFIG_PTIMER=y CONFIG_I8259=y CONFIG_XILINX=y +CONFIG_XILINX_ETHLITE=y CONFIG_E500=$(CONFIG_FDT) # For PReP CONFIG_MC146818RTC=y
default-configs/ppc64-softmmu.mak +1 -0
@@ -40,6 +40,7 @@ CONFIG_PFLASH_CFI02=y CONFIG_PTIMER=y CONFIG_I8259=y CONFIG_XILINX=y +CONFIG_XILINX_ETHLITE=y CONFIG_PSERIES=$(CONFIG_FDT) CONFIG_E500=$(CONFIG_FDT) # For pSeries
default-configs/ppcemb-softmmu.mak +1 -0
@@ -35,6 +35,7 @@ CONFIG_PFLASH_CFI02=y CONFIG_PTIMER=y CONFIG_I8259=y CONFIG_XILINX=y +CONFIG_XILINX_ETHLITE=y CONFIG_E500=$(CONFIG_FDT) # For PReP CONFIG_MC146818RTC=y
default-configs/sparc-softmmu.mak +1 -0
@@ -8,3 +8,4 @@ CONFIG_PTIMER=y CONFIG_FDC=y CONFIG_EMPTY_SLOT=y CONFIG_PCNET_COMMON=y +CONFIG_LANCE=y
hw/arm/Makefile.objs +1 -1
@@ -8,7 +8,7 @@ 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_nvic.o stellaris_enet.o +obj-y += armv7m_nvic.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 tc6393xb.o
hw/cris/Makefile.objs +0 -1
@@ -1,7 +1,6 @@ # IO blocks obj-y += etraxfs_dma.o obj-y += etraxfs_pic.o -obj-y += etraxfs_eth.o obj-y += etraxfs_timer.o obj-y += etraxfs_ser.o
hw/lm32/Makefile.objs +0 -1
@@ -7,7 +7,6 @@ obj-y += lm32_sys.o obj-y += milkymist-ac97.o obj-y += milkymist-hpdmc.o obj-y += milkymist-memcard.o -obj-y += milkymist-minimac2.o obj-y += milkymist-pfpu.o obj-y += milkymist-softusb.o obj-y += milkymist-sysctl.o
hw/m68k/Makefile.objs +1 -1
@@ -1,4 +1,4 @@ -obj-y = mcf_uart.o mcf_fec.o +obj-y = mcf_uart.o obj-y := $(addprefix ../,$(obj-y))
hw/microblaze/Makefile.objs +0 -1
@@ -1,5 +1,4 @@ obj-y += xilinx_spi.o -obj-y += xilinx_ethlite.o obj-y := $(addprefix ../,$(obj-y))
hw/net/Makefile.objs +8 -0
@@ -19,5 +19,13 @@ common-obj-$(CONFIG_XILINX_AXI) += xilinx_axienet.o common-obj-$(CONFIG_CADENCE) += cadence_gem.o +obj-$(CONFIG_STELLARIS_ENET) += stellaris_enet.o +obj-$(CONFIG_ETRAXFS) += etraxfs_eth.o +obj-$(CONFIG_LANCE) += lance.o +obj-$(CONFIG_COLDFIRE) += mcf_fec.o +obj-$(CONFIG_MILKYMIST) += milkymist-minimac2.o +obj-$(CONFIG_PSERIES) += spapr_llan.o +obj-$(CONFIG_XILINX_ETHLITE) += xilinx_ethlite.o + obj-$(CONFIG_VIRTIO) += virtio-net.o obj-y += vhost_net.o
hw/net/etraxfs_eth.c renamed from hw/etraxfs_eth.c +0 -0
hw/net/lance.c renamed from hw/lance.c +0 -0
hw/net/mcf_fec.c renamed from hw/mcf_fec.c +0 -0
hw/net/milkymist-minimac2.c renamed from hw/milkymist-minimac2.c +0 -0
hw/net/spapr_llan.c renamed from hw/spapr_llan.c +0 -0
hw/net/stellaris_enet.c renamed from hw/stellaris_enet.c +0 -0
hw/net/xilinx_ethlite.c renamed from hw/xilinx_ethlite.c +0 -0
hw/ppc/Makefile.objs +1 -4
@@ -1,5 +1,5 @@ # IBM pSeries (sPAPR) -obj-$(CONFIG_PSERIES) += spapr_vty.o spapr_llan.o spapr_vscsi.o +obj-$(CONFIG_PSERIES) += spapr_vty.o spapr_vscsi.o obj-$(CONFIG_PSERIES) += spapr_pci.o obj-$(CONFIG_PSERIES) += spapr_nvram.o # PowerPC 4xx boards
@@ -7,9 +7,6 @@ obj-y += ppc4xx_pci.o # PowerPC OpenPIC obj-y += openpic.o -# Xilinx PPC peripherals -obj-y += xilinx_ethlite.o - obj-y := $(addprefix ../,$(obj-y)) # shared objects
hw/sparc/Makefile.objs +1 -1
@@ -1,4 +1,4 @@ -obj-y = lance.o tcx.o sun4m_iommu.o slavio_intctl.o +obj-y = 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
Signature · 1 line
1.8.1.4
PATCH 14/35 hw: move block devices to hw/block/, configure via default-configs/
In reply to Paolo Bonzini---
default-configs/arm-softmmu.mak | 1 +
default-configs/i386-softmmu.mak | 1 +
default-configs/sh4-softmmu.mak | 1 +
default-configs/sh4eb-softmmu.mak | 1 +
default-configs/x86_64-softmmu.mak | 1 +
hw/arm/Makefile.objs | 2 +-
hw/block/Makefile.objs | 4 ++++
hw/{ => block}/onenand.c | 0
hw/{ => block}/pc_sysfw.c | 0
hw/{ => block}/tc58128.c | 0
hw/i386/Makefile.objs | 1 -
hw/sh4/Makefile.objs | 1 -
12 files changed, 10 insertions(+), 3 deletions(-)
rename hw/{ => block}/onenand.c (100%)
rename hw/{ => block}/pc_sysfw.c (100%)
rename hw/{ => block}/tc58128.c (100%)default-configs/arm-softmmu.mak +1 -0
@@ -48,6 +48,7 @@ CONFIG_PL310=y CONFIG_PL330=y CONFIG_CADENCE=y CONFIG_XGMAC=y +CONFIG_ONENAND=y CONFIG_VERSATILE_PCI=y CONFIG_VERSATILE_I2C=y
default-configs/i386-softmmu.mak +1 -0
@@ -30,3 +30,4 @@ CONFIG_TPM_TIS=y CONFIG_PCI_HOTPLUG=y CONFIG_MC146818RTC=y CONFIG_WDT_IB700=y +CONFIG_PC_SYSFW=y
default-configs/sh4-softmmu.mak +1 -0
@@ -6,4 +6,5 @@ CONFIG_SERIAL=y CONFIG_PTIMER=y CONFIG_PFLASH_CFI02=y CONFIG_ISA_MMIO=y +CONFIG_SH4=y CONFIG_IDE_MMIO=y
default-configs/sh4eb-softmmu.mak +1 -0
@@ -6,4 +6,5 @@ CONFIG_SERIAL=y CONFIG_PTIMER=y CONFIG_PFLASH_CFI02=y CONFIG_ISA_MMIO=y +CONFIG_SH4=y CONFIG_IDE_MMIO=y
default-configs/x86_64-softmmu.mak +1 -0
@@ -30,3 +30,4 @@ CONFIG_TPM_TIS=y CONFIG_PCI_HOTPLUG=y CONFIG_MC146818RTC=y CONFIG_WDT_IB700=y +CONFIG_PC_SYSFW=y
hw/arm/Makefile.objs +1 -1
@@ -17,7 +17,7 @@ obj-y += omap_lcdc.o omap_dma.o omap_clk.o omap_mmc.o omap_i2c.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 +obj-y += blizzard.o cbus.o tusb6010.o obj-y += mst_fpga.o obj-y += bitbang_i2c.o marvell_88w8618_audio.o obj-y += framebuffer.o
hw/block/Makefile.objs +4 -0
@@ -6,5 +6,9 @@ common-obj-$(CONFIG_PFLASH_CFI01) += pflash_cfi01.o common-obj-$(CONFIG_PFLASH_CFI02) += pflash_cfi02.o common-obj-$(CONFIG_XEN_BACKEND) += xen_disk.o common-obj-$(CONFIG_ECC) += ecc.o +common-obj-$(CONFIG_ONENAND) += onenand.o +common-obj-$(CONFIG_PC_SYSFW) += pc_sysfw.o + +obj-$(CONFIG_SH4) += tc58128.o obj-$(CONFIG_VIRTIO) += dataplane/ virtio-blk.o
hw/block/onenand.c renamed from hw/onenand.c +0 -0
hw/block/pc_sysfw.c renamed from hw/pc_sysfw.c +0 -0
hw/block/tc58128.c renamed from hw/tc58128.c +0 -0
hw/i386/Makefile.objs +0 -1
@@ -2,7 +2,6 @@ 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 += debugcon.o debugexit.o -obj-y += pc_sysfw.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
hw/sh4/Makefile.objs +0 -1
@@ -1,4 +1,3 @@ -obj-y = tc58128.o obj-y += sh_timer.o sh_serial.o sh_intc.o sh_pci.o sm501.o obj-y := $(addprefix ../,$(obj-y))
Signature · 1 line
1.8.1.4
PATCH 15/35 hw: move audio devices to hw/audio/, configure via default-configs/
In reply to Paolo Bonzini---
default-configs/arm-softmmu.mak | 1 +
default-configs/sparc-softmmu.mak | 1 +
hw/arm/Makefile.objs | 2 +-
hw/audio/Makefile.objs | 4 ++++
hw/{ => audio}/cs4231.c | 0
hw/{marvell_88w8618_audio.c => audio/marvell_88w8618.c} | 0
hw/{ => audio}/milkymist-ac97.c | 0
hw/lm32/Makefile.objs | 1 -
hw/sparc/Makefile.objs | 2 +-
9 files changed, 8 insertions(+), 3 deletions(-)
rename hw/{ => audio}/cs4231.c (100%)
rename hw/{marvell_88w8618_audio.c => audio/marvell_88w8618.c} (100%)
rename hw/{ => audio}/milkymist-ac97.c (100%)default-configs/arm-softmmu.mak +1 -0
@@ -48,6 +48,7 @@ CONFIG_PL310=y CONFIG_PL330=y CONFIG_CADENCE=y CONFIG_XGMAC=y +CONFIG_MARVELL_88W8618=y CONFIG_ONENAND=y CONFIG_VERSATILE_PCI=y
default-configs/sparc-softmmu.mak +1 -0
@@ -9,3 +9,4 @@ CONFIG_FDC=y CONFIG_EMPTY_SLOT=y CONFIG_PCNET_COMMON=y CONFIG_LANCE=y +CONFIG_CS4231=y
hw/arm/Makefile.objs +1 -1
@@ -19,7 +19,7 @@ obj-y += omap_dss.o soc_dma.o omap_gptimer.o omap_synctimer.o \ obj-y += tsc210x.o obj-y += blizzard.o cbus.o tusb6010.o obj-y += mst_fpga.o -obj-y += bitbang_i2c.o marvell_88w8618_audio.o +obj-y += bitbang_i2c.o obj-y += framebuffer.o obj-y += strongarm.o obj-y += imx_serial.o imx_ccm.o imx_timer.o imx_avic.o
hw/audio/Makefile.objs +4 -0
@@ -13,4 +13,8 @@ common-obj-$(CONFIG_PCSPK) += pcspk.o common-obj-$(CONFIG_WM8750) += wm8750.o common-obj-$(CONFIG_PL041) += pl041.o lm4549.o +common-obj-$(CONFIG_CS4231) += cs4231.o +common-obj-$(CONFIG_MARVELL_88W8618) += marvell_88w8618.o +common-obj-$(CONFIG_MILKYMIST) += milkymist-ac97.o + $(obj)/adlib.o $(obj)/fmopl.o: QEMU_CFLAGS += -DBUILD_Y8950=0
hw/audio/cs4231.c renamed from hw/cs4231.c +0 -0
hw/audio/marvell_88w8618.c renamed from hw/marvell_88w8618_audio.c +0 -0
hw/audio/milkymist-ac97.c renamed from hw/milkymist-ac97.c +0 -0
hw/lm32/Makefile.objs +0 -1
@@ -4,7 +4,6 @@ obj-y += lm32_juart.o obj-y += lm32_timer.o obj-y += lm32_uart.o obj-y += lm32_sys.o -obj-y += milkymist-ac97.o obj-y += milkymist-hpdmc.o obj-y += milkymist-memcard.o obj-y += milkymist-pfpu.o
hw/sparc/Makefile.objs +1 -1
@@ -1,6 +1,6 @@ obj-y = 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 +obj-y += eccmemctl.o sbi.o sun4c_intctl.o # GRLIB obj-y += grlib_gptimer.o grlib_irqmp.o grlib_apbuart.o
Signature · 1 line
1.8.1.4
PATCH 16/35 hw: move display devices to hw/display/, configure via default-configs/
In reply to Paolo Bonzini---
default-configs/arm-softmmu.mak | 6 ++++++
default-configs/i386-softmmu.mak | 1 +
default-configs/lm32-softmmu.mak | 1 +
default-configs/sh4-softmmu.mak | 1 +
default-configs/sh4eb-softmmu.mak | 1 +
default-configs/sparc-softmmu.mak | 1 +
default-configs/x86_64-softmmu.mak | 1 +
hw/Makefile.objs | 5 -----
hw/arm/Makefile.objs | 13 ++++++-------
hw/display/Makefile.objs | 21 +++++++++++++++++++++
hw/{ => display}/blizzard.c | 0
hw/{ => display}/exynos4210_fimd.c | 0
hw/{ => display}/framebuffer.c | 0
hw/{ => display}/milkymist-tmu2.c | 0
hw/{ => display}/milkymist-vgafb.c | 0
hw/{ => display}/omap_dss.c | 0
hw/{ => display}/omap_lcdc.c | 0
hw/{ => display}/pxa2xx_lcd.c | 0
hw/{ => display}/qxl-logger.c | 0
hw/{ => display}/qxl-render.c | 0
hw/{ => display}/qxl.c | 0
hw/{ => display}/sm501.c | 0
hw/{ => display}/tc6393xb.c | 0
hw/{ => display}/tcx.c | 0
hw/{ => display}/vga.c | 0
hw/i386/Makefile.objs | 1 -
hw/lm32/Makefile.objs | 3 ---
hw/sh4/Makefile.objs | 2 +-
hw/sparc/Makefile.objs | 2 +-
29 files changed, 41 insertions(+), 18 deletions(-)
rename hw/{ => display}/blizzard.c (100%)
rename hw/{ => display}/exynos4210_fimd.c (100%)
rename hw/{ => display}/framebuffer.c (100%)
rename hw/{ => display}/milkymist-tmu2.c (100%)
rename hw/{ => display}/milkymist-vgafb.c (100%)
rename hw/{ => display}/omap_dss.c (100%)
rename hw/{ => display}/omap_lcdc.c (100%)
rename hw/{ => display}/pxa2xx_lcd.c (100%)
rename hw/{ => display}/qxl-logger.c (100%)
rename hw/{ => display}/qxl-render.c (100%)
rename hw/{ => display}/qxl.c (100%)
rename hw/{ => display}/sm501.c (100%)
rename hw/{ => display}/tc6393xb.c (100%)
rename hw/{ => display}/tcx.c (100%)
rename hw/{ => display}/vga.c (100%)default-configs/arm-softmmu.mak +6 -0
@@ -48,8 +48,14 @@ CONFIG_PL310=y CONFIG_PL330=y CONFIG_CADENCE=y CONFIG_XGMAC=y +CONFIG_EXYNOS4=y +CONFIG_PXA2XX=y +CONFIG_FRAMEBUFFER=y CONFIG_MARVELL_88W8618=y +CONFIG_OMAP=y +CONFIG_BLIZZARD=y CONFIG_ONENAND=y +CONFIG_ZAURUS=y CONFIG_VERSATILE_PCI=y CONFIG_VERSATILE_I2C=y
default-configs/i386-softmmu.mak +1 -0
@@ -3,6 +3,7 @@ include pci.mak include usb.mak CONFIG_VGA=y +CONFIG_QXL=y CONFIG_VGA_PCI=y CONFIG_VGA_ISA=y CONFIG_VGA_CIRRUS=y
default-configs/lm32-softmmu.mak +1 -0
@@ -1,6 +1,7 @@ # Default configuration for lm32-softmmu CONFIG_MILKYMIST=y +CONFIG_FRAMEBUFFER=y CONFIG_PTIMER=y CONFIG_PFLASH_CFI01=y CONFIG_PFLASH_CFI02=y
default-configs/sh4-softmmu.mak +1 -0
@@ -8,3 +8,4 @@ CONFIG_PFLASH_CFI02=y CONFIG_ISA_MMIO=y CONFIG_SH4=y CONFIG_IDE_MMIO=y +CONFIG_SM501=y
default-configs/sh4eb-softmmu.mak +1 -0
@@ -8,3 +8,4 @@ CONFIG_PFLASH_CFI02=y CONFIG_ISA_MMIO=y CONFIG_SH4=y CONFIG_IDE_MMIO=y +CONFIG_SM501=y
default-configs/sparc-softmmu.mak +1 -0
@@ -9,4 +9,5 @@ CONFIG_FDC=y CONFIG_EMPTY_SLOT=y CONFIG_PCNET_COMMON=y CONFIG_LANCE=y +CONFIG_TCX=y CONFIG_CS4231=y
default-configs/x86_64-softmmu.mak +1 -0
@@ -3,6 +3,7 @@ include pci.mak include usb.mak CONFIG_VGA=y +CONFIG_QXL=y CONFIG_VGA_PCI=y CONFIG_VGA_ISA=y CONFIG_VGA_CIRRUS=y
hw/Makefile.objs +0 -5
@@ -31,11 +31,6 @@ obj-y += $(devices-dirs-y) ifeq ($(CONFIG_SOFTMMU),y) -# Per-target files -# virtio has to be here due to weird dependency between PCI and virtio-net. -# need to fix this properly -obj-$(CONFIG_VGA) += vga.o - # Inter-VM PCI shared memory & VFIO PCI device assignment ifeq ($(CONFIG_PCI), y) obj-$(CONFIG_KVM) += ivshmem.o
hw/arm/Makefile.objs +6 -7
@@ -5,22 +5,21 @@ obj-y += a9scu.o obj-y += realview_gic.o arm_sysctl.o arm11mpcore.o a9mpcore.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_pmu.o exynos4210_mct.o obj-y += exynos4210_rtc.o exynos4210_i2c.o obj-y += arm_mptimer.o a15mpcore.o obj-y += armv7m_nvic.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 tc6393xb.o -obj-y += omap_lcdc.o omap_dma.o omap_clk.o omap_mmc.o omap_i2c.o \ +obj-y += pxa2xx_mmci.o pxa2xx_pcmcia.o pxa2xx_keypad.o +obj-y += zaurus.o +obj-y += omap_dma.o omap_clk.o omap_mmc.o omap_i2c.o \ omap_gpio.o omap_intc.o omap_uart.o -obj-y += omap_dss.o soc_dma.o omap_gptimer.o omap_synctimer.o \ +obj-y += 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 cbus.o tusb6010.o +obj-y += cbus.o tusb6010.o obj-y += mst_fpga.o obj-y += bitbang_i2c.o -obj-y += framebuffer.o obj-y += strongarm.o obj-y += imx_serial.o imx_ccm.o imx_timer.o imx_avic.o obj-$(CONFIG_KVM) += kvm/arm_gic.o
hw/display/Makefile.objs +21 -0
@@ -11,3 +11,24 @@ common-obj-$(CONFIG_VGA_PCI) += vga-pci.o common-obj-$(CONFIG_VGA_ISA) += vga-isa.o common-obj-$(CONFIG_VGA_ISA_MM) += vga-isa-mm.o common-obj-$(CONFIG_VMWARE_VGA) += vmware_vga.o + +obj-$(CONFIG_BLIZZARD) += blizzard.o +obj-$(CONFIG_EXYNOS4) += exynos4210_fimd.o +obj-$(CONFIG_FRAMEBUFFER) += framebuffer.o +obj-$(CONFIG_MILKYMIST) += milkymist-vgafb.o +obj-$(CONFIG_OMAP) += omap_dss.o +obj-$(CONFIG_OMAP) += omap_lcdc.o +obj-$(CONFIG_PXA2XX) += pxa2xx_lcd.o +obj-$(CONFIG_SM501) += sm501.o +obj-$(CONFIG_TCX) += tcx.o +obj-$(CONFIG_ZAURUS) += tc6393xb.o + +ifeq ($(CONFIG_OPENGL),y) +obj-$(CONFIG_MILKYMIST) += milkymist-tmu2.o +endif + +obj-$(CONFIG_VGA) += vga.o + +ifeq ($(CONFIG_SPICE),y) +obj-$(CONFIG_QXL) += qxl-logger.o qxl-render.o qxl.o +endif
hw/display/blizzard.c renamed from hw/blizzard.c +0 -0
hw/display/exynos4210_fimd.c renamed from hw/exynos4210_fimd.c +0 -0
hw/display/framebuffer.c renamed from hw/framebuffer.c +0 -0
hw/display/milkymist-tmu2.c renamed from hw/milkymist-tmu2.c +0 -0
hw/display/milkymist-vgafb.c renamed from hw/milkymist-vgafb.c +0 -0
hw/display/omap_dss.c renamed from hw/omap_dss.c +0 -0
hw/display/omap_lcdc.c renamed from hw/omap_lcdc.c +0 -0
hw/display/pxa2xx_lcd.c renamed from hw/pxa2xx_lcd.c +0 -0
hw/display/qxl-logger.c renamed from hw/qxl-logger.c +0 -0
hw/display/qxl-render.c renamed from hw/qxl-render.c +0 -0
hw/display/qxl.c renamed from hw/qxl.c +0 -0
hw/display/sm501.c renamed from hw/sm501.c +0 -0
hw/display/tc6393xb.c renamed from hw/tc6393xb.c +0 -0
hw/display/tcx.c renamed from hw/tcx.c +0 -0
hw/display/vga.c renamed from hw/vga.c +0 -0
hw/i386/Makefile.objs +0 -1
@@ -7,7 +7,6 @@ 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 obj-y += kvm/ -obj-$(CONFIG_SPICE) += qxl.o qxl-logger.o qxl-render.o obj-y += pc-testdev.o obj-y := $(addprefix ../,$(obj-y))
hw/lm32/Makefile.objs +0 -3
@@ -9,10 +9,7 @@ obj-y += milkymist-memcard.o obj-y += milkymist-pfpu.o obj-y += milkymist-softusb.o obj-y += milkymist-sysctl.o -obj-$(CONFIG_OPENGL) += milkymist-tmu2.o obj-y += milkymist-uart.o -obj-y += milkymist-vgafb.o -obj-y += framebuffer.o obj-y := $(addprefix ../,$(obj-y))
hw/sh4/Makefile.objs +1 -1
@@ -1,4 +1,4 @@ -obj-y += sh_timer.o sh_serial.o sh_intc.o sh_pci.o sm501.o +obj-y += sh_timer.o sh_serial.o sh_intc.o sh_pci.o obj-y := $(addprefix ../,$(obj-y))
hw/sparc/Makefile.objs +1 -1
@@ -1,4 +1,4 @@ -obj-y = tcx.o sun4m_iommu.o slavio_intctl.o +obj-y = sun4m_iommu.o slavio_intctl.o obj-y += slavio_timer.o slavio_misc.o sparc32_dma.o obj-y += eccmemctl.o sbi.o sun4c_intctl.o
Signature · 1 line
1.8.1.4
PATCH 17/35 hw: move I2C controllers to hw/i2c/, configure via default-configs/
In reply to Paolo Bonzini---
default-configs/arm-softmmu.mak | 1 +
hw/arm/Makefile.objs | 5 ++---
hw/i2c/Makefile.objs | 3 +++
hw/{ => i2c}/bitbang_i2c.c | 0
hw/{ => i2c}/exynos4210_i2c.c | 0
hw/{ => i2c}/omap_i2c.c | 0
6 files changed, 6 insertions(+), 3 deletions(-)
rename hw/{ => i2c}/bitbang_i2c.c (100%)
rename hw/{ => i2c}/exynos4210_i2c.c (100%)
rename hw/{ => i2c}/omap_i2c.c (100%)default-configs/arm-softmmu.mak +1 -0
@@ -50,6 +50,7 @@ CONFIG_CADENCE=y CONFIG_XGMAC=y CONFIG_EXYNOS4=y CONFIG_PXA2XX=y +CONFIG_BITBANG_I2C=y CONFIG_FRAMEBUFFER=y CONFIG_MARVELL_88W8618=y CONFIG_OMAP=y
hw/arm/Makefile.objs +2 -3
@@ -6,20 +6,19 @@ obj-y += realview_gic.o arm_sysctl.o arm11mpcore.o a9mpcore.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 -obj-y += exynos4210_rtc.o exynos4210_i2c.o +obj-y += exynos4210_rtc.o obj-y += arm_mptimer.o a15mpcore.o obj-y += armv7m_nvic.o obj-y += pxa2xx_timer.o pxa2xx_dma.o obj-y += pxa2xx_mmci.o pxa2xx_pcmcia.o pxa2xx_keypad.o obj-y += zaurus.o -obj-y += omap_dma.o omap_clk.o omap_mmc.o omap_i2c.o \ +obj-y += omap_dma.o omap_clk.o omap_mmc.o \ omap_gpio.o omap_intc.o omap_uart.o obj-y += 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 += cbus.o tusb6010.o obj-y += mst_fpga.o -obj-y += bitbang_i2c.o obj-y += strongarm.o obj-y += imx_serial.o imx_ccm.o imx_timer.o imx_avic.o obj-$(CONFIG_KVM) += kvm/arm_gic.o
hw/i2c/Makefile.objs +3 -0
@@ -2,3 +2,6 @@ common-obj-y += core.o smbus.o smbus_eeprom.o common-obj-$(CONFIG_VERSATILE_I2C) += versatile_i2c.o common-obj-$(CONFIG_ACPI) += smbus_ich9.o common-obj-$(CONFIG_APM) += pm_smbus.o +common-obj-$(CONFIG_BITBANG_I2C) += bitbang_i2c.o +common-obj-$(CONFIG_EXYNOS4) += exynos4210_i2c.o +obj-$(CONFIG_OMAP) += omap_i2c.o
hw/i2c/bitbang_i2c.c renamed from hw/bitbang_i2c.c +0 -0
hw/i2c/exynos4210_i2c.c renamed from hw/exynos4210_i2c.c +0 -0
hw/i2c/omap_i2c.c renamed from hw/omap_i2c.c +0 -0
Signature · 1 line
1.8.1.4
PATCH 18/35 hw: move SSI controllers to hw/ssi/, configure via default-configs/
In reply to Paolo Bonzini---
default-configs/arm-softmmu.mak | 1 +
default-configs/microblaze-softmmu.mak | 1 +
default-configs/microblazeel-softmmu.mak | 1 +
hw/arm/Makefile.objs | 3 +--
hw/microblaze/Makefile.objs | 4 ----
hw/ssi/Makefile.objs | 4 ++++
hw/{ => ssi}/omap_spi.c | 0
hw/{ => ssi}/xilinx_spi.c | 0
hw/{ => ssi}/xilinx_spips.c | 0
9 files changed, 8 insertions(+), 6 deletions(-)
rename hw/{ => ssi}/omap_spi.c (100%)
rename hw/{ => ssi}/xilinx_spi.c (100%)
rename hw/{ => ssi}/xilinx_spips.c (100%)default-configs/arm-softmmu.mak +1 -0
@@ -52,6 +52,7 @@ CONFIG_EXYNOS4=y CONFIG_PXA2XX=y CONFIG_BITBANG_I2C=y CONFIG_FRAMEBUFFER=y +CONFIG_XILINX_SPIPS=y CONFIG_MARVELL_88W8618=y CONFIG_OMAP=y CONFIG_BLIZZARD=y
default-configs/microblaze-softmmu.mak +1 -0
@@ -5,6 +5,7 @@ CONFIG_PFLASH_CFI01=y CONFIG_SERIAL=y CONFIG_XILINX=y CONFIG_XILINX_AXI=y +CONFIG_XILINX_SPI=y CONFIG_XILINX_ETHLITE=y CONFIG_SSI=y CONFIG_SSI_M25P80=y
default-configs/microblazeel-softmmu.mak +1 -0
@@ -5,6 +5,7 @@ CONFIG_PFLASH_CFI01=y CONFIG_SERIAL=y CONFIG_XILINX=y CONFIG_XILINX_AXI=y +CONFIG_XILINX_SPI=y CONFIG_XILINX_ETHLITE=y CONFIG_SSI=y CONFIG_SSI_M25P80=y
hw/arm/Makefile.objs +1 -2
@@ -1,5 +1,4 @@ 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 arm_sysctl.o arm11mpcore.o a9mpcore.o
@@ -15,7 +14,7 @@ obj-y += zaurus.o obj-y += omap_dma.o omap_clk.o omap_mmc.o \ omap_gpio.o omap_intc.o omap_uart.o obj-y += soc_dma.o omap_gptimer.o omap_synctimer.o \ - omap_gpmc.o omap_sdrc.o omap_spi.o omap_tap.o omap_l4.o + omap_gpmc.o omap_sdrc.o omap_tap.o omap_l4.o obj-y += tsc210x.o obj-y += cbus.o tusb6010.o obj-y += mst_fpga.o
hw/microblaze/Makefile.objs +0 -4
@@ -1,7 +1,3 @@ -obj-y += xilinx_spi.o - -obj-y := $(addprefix ../,$(obj-y)) - obj-y += petalogix_s3adsp1800_mmu.o obj-y += petalogix_ml605_mmu.o obj-y += boot.o
hw/ssi/Makefile.objs +4 -0
@@ -1,2 +1,6 @@ common-obj-$(CONFIG_PL022) += pl022.o common-obj-$(CONFIG_SSI) += ssi.o +common-obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o +common-obj-$(CONFIG_XILINX_SPIPS) += xilinx_spips.o + +obj-$(CONFIG_OMAP) += omap_spi.o
hw/ssi/omap_spi.c renamed from hw/omap_spi.c +0 -0
hw/ssi/xilinx_spi.c renamed from hw/xilinx_spi.c +0 -0
hw/ssi/xilinx_spips.c renamed from hw/xilinx_spips.c +0 -0
Signature · 1 line
1.8.1.4
PATCH 19/35 hw: move SCSI controllers to hw/scsi/, configure via default-configs/
In reply to Paolo Bonzini---
hw/ppc/Makefile.objs | 2 +-
hw/scsi/Makefile.objs | 1 +
hw/{ => scsi}/spapr_vscsi.c | 0
3 files changed, 2 insertions(+), 1 deletion(-)
rename hw/{ => scsi}/spapr_vscsi.c (100%)hw/ppc/Makefile.objs +1 -1
@@ -1,5 +1,5 @@ # IBM pSeries (sPAPR) -obj-$(CONFIG_PSERIES) += spapr_vty.o spapr_vscsi.o +obj-$(CONFIG_PSERIES) += spapr_vty.o obj-$(CONFIG_PSERIES) += spapr_pci.o obj-$(CONFIG_PSERIES) += spapr_nvram.o # PowerPC 4xx boards
hw/scsi/Makefile.objs +1 -0
@@ -4,4 +4,5 @@ common-obj-$(CONFIG_LSI_SCSI_PCI) += lsi53c895a.o common-obj-$(CONFIG_MEGASAS_SCSI_PCI) += megasas.o common-obj-$(CONFIG_ESP) += esp.o common-obj-$(CONFIG_ESP_PCI) += esp-pci.o +obj-$(CONFIG_PSERIES) += spapr_vscsi.o obj-$(CONFIG_VIRTIO) += virtio-scsi.o
hw/scsi/spapr_vscsi.c renamed from hw/spapr_vscsi.c +0 -0
Signature · 1 line
1.8.1.4
PATCH 20/35 hw: move more files to hw/xen/
In reply to Paolo Bonzini---
default-configs/i386-softmmu.mak | 1 +
default-configs/x86_64-softmmu.mak | 1 +
hw/i386/Makefile.objs | 3 ---
hw/xen/Makefile.objs | 4 ++++
hw/{ => xen}/xen-host-pci-device.c | 0
hw/{ => xen}/xen_apic.c | 0
hw/{ => xen}/xen_platform.c | 0
hw/{ => xen}/xen_pt.c | 0
hw/{ => xen}/xen_pt_config_init.c | 0
hw/{ => xen}/xen_pt_msi.c | 0
10 files changed, 6 insertions(+), 3 deletions(-)
rename hw/{ => xen}/xen-host-pci-device.c (100%)
rename hw/{ => xen}/xen_apic.c (100%)
rename hw/{ => xen}/xen_platform.c (100%)
rename hw/{ => xen}/xen_pt.c (100%)
rename hw/{ => xen}/xen_pt_config_init.c (100%)
rename hw/{ => xen}/xen_pt_msi.c (100%)default-configs/i386-softmmu.mak +1 -0
@@ -32,3 +32,4 @@ CONFIG_PCI_HOTPLUG=y CONFIG_MC146818RTC=y CONFIG_WDT_IB700=y CONFIG_PC_SYSFW=y +CONFIG_XEN_I386=$(CONFIG_XEN)
default-configs/x86_64-softmmu.mak +1 -0
@@ -32,3 +32,4 @@ CONFIG_PCI_HOTPLUG=y CONFIG_MC146818RTC=y CONFIG_WDT_IB700=y CONFIG_PC_SYSFW=y +CONFIG_XEN_I386=$(CONFIG_XEN)
hw/i386/Makefile.objs +0 -3
@@ -3,9 +3,6 @@ obj-y += sga.o ioapic_common.o ioapic.o piix_pci.o obj-y += vmport.o obj-y += debugcon.o debugexit.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 obj-y += kvm/ obj-y += pc-testdev.o
hw/xen/Makefile.objs +4 -0
@@ -1,2 +1,6 @@ # xen backend driver support common-obj-$(CONFIG_XEN_BACKEND) += xen_backend.o xen_devconfig.o + +obj-$(CONFIG_XEN_I386) += 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
hw/xen/xen-host-pci-device.c renamed from hw/xen-host-pci-device.c +0 -0
hw/xen/xen_apic.c renamed from hw/xen_apic.c +0 -0
hw/xen/xen_platform.c renamed from hw/xen_platform.c +0 -0
hw/xen/xen_pt.c renamed from hw/xen_pt.c +0 -0
hw/xen/xen_pt_config_init.c renamed from hw/xen_pt_config_init.c +0 -0
hw/xen/xen_pt_msi.c renamed from hw/xen_pt_msi.c +0 -0
Signature · 1 line
1.8.1.4
PATCH 21/35 hw: move char devices to hw/char/, configure via default-configs/
In reply to Paolo Bonzini---
default-configs/arm-softmmu.mak | 1 +
default-configs/i386-softmmu.mak | 1 +
default-configs/lm32-softmmu.mak | 1 +
default-configs/s390x-softmmu.mak | 1 +
default-configs/sparc-softmmu.mak | 1 +
default-configs/x86_64-softmmu.mak | 1 +
hw/arm/Makefile.objs | 6 +++---
hw/char/Makefile.objs | 15 +++++++++++++++
hw/{ => char}/debugcon.c | 0
hw/{ => char}/etraxfs_ser.c | 0
hw/{ => char}/exynos4210_uart.c | 0
hw/{ => char}/grlib_apbuart.c | 0
hw/{ => char}/imx_serial.c | 0
hw/{ => char}/lm32_juart.c | 0
hw/{ => char}/lm32_uart.c | 0
hw/{ => char}/mcf_uart.c | 0
hw/{ => char}/milkymist-uart.c | 0
hw/{ => char}/omap_uart.c | 0
hw/{s390x => char}/sclpconsole.c | 0
hw/{ => char}/sh_serial.c | 0
hw/{ => char}/spapr_vty.c | 0
hw/cris/Makefile.objs | 1 -
hw/i386/Makefile.objs | 2 +-
hw/lm32/Makefile.objs | 3 ---
hw/m68k/Makefile.objs | 4 ----
hw/ppc/Makefile.objs | 1 -
hw/s390x/Makefile.objs | 2 +-
hw/sh4/Makefile.objs | 2 +-
hw/sparc/Makefile.objs | 2 +-
29 files changed, 28 insertions(+), 16 deletions(-)
rename hw/{ => char}/debugcon.c (100%)
rename hw/{ => char}/etraxfs_ser.c (100%)
rename hw/{ => char}/exynos4210_uart.c (100%)
rename hw/{ => char}/grlib_apbuart.c (100%)
rename hw/{ => char}/imx_serial.c (100%)
rename hw/{ => char}/lm32_juart.c (100%)
rename hw/{ => char}/lm32_uart.c (100%)
rename hw/{ => char}/mcf_uart.c (100%)
rename hw/{ => char}/milkymist-uart.c (100%)
rename hw/{ => char}/omap_uart.c (100%)
rename hw/{s390x => char}/sclpconsole.c (100%)
rename hw/{ => char}/sh_serial.c (100%)
rename hw/{ => char}/spapr_vty.c (100%)default-configs/arm-softmmu.mak +1 -0
@@ -57,6 +57,7 @@ CONFIG_MARVELL_88W8618=y CONFIG_OMAP=y CONFIG_BLIZZARD=y CONFIG_ONENAND=y +CONFIG_IMX=y CONFIG_ZAURUS=y CONFIG_VERSATILE_PCI=y
default-configs/i386-softmmu.mak +1 -0
@@ -33,3 +33,4 @@ CONFIG_MC146818RTC=y CONFIG_WDT_IB700=y CONFIG_PC_SYSFW=y CONFIG_XEN_I386=$(CONFIG_XEN) +CONFIG_ISA_DEBUG=y
default-configs/lm32-softmmu.mak +1 -0
@@ -1,5 +1,6 @@ # Default configuration for lm32-softmmu +CONFIG_LM32=y CONFIG_MILKYMIST=y CONFIG_FRAMEBUFFER=y CONFIG_PTIMER=y
default-configs/s390x-softmmu.mak +1 -0
@@ -1 +1,2 @@ CONFIG_VIRTIO=y +CONFIG_SCLPCONSOLE=y
default-configs/sparc-softmmu.mak +1 -0
@@ -11,3 +11,4 @@ CONFIG_PCNET_COMMON=y CONFIG_LANCE=y CONFIG_TCX=y CONFIG_CS4231=y +CONFIG_GRLIB=y
default-configs/x86_64-softmmu.mak +1 -0
@@ -33,3 +33,4 @@ CONFIG_MC146818RTC=y CONFIG_WDT_IB700=y CONFIG_PC_SYSFW=y CONFIG_XEN_I386=$(CONFIG_XEN) +CONFIG_ISA_DEBUG=y
hw/arm/Makefile.objs +3 -3
@@ -3,7 +3,7 @@ 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 -obj-y += exynos4210_uart.o exynos4210_pwm.o +obj-y += exynos4210_pwm.o obj-y += exynos4210_pmu.o exynos4210_mct.o obj-y += exynos4210_rtc.o obj-y += arm_mptimer.o a15mpcore.o
@@ -12,14 +12,14 @@ obj-y += pxa2xx_timer.o pxa2xx_dma.o obj-y += pxa2xx_mmci.o pxa2xx_pcmcia.o pxa2xx_keypad.o obj-y += zaurus.o obj-y += omap_dma.o omap_clk.o omap_mmc.o \ - omap_gpio.o omap_intc.o omap_uart.o + omap_gpio.o omap_intc.o obj-y += soc_dma.o omap_gptimer.o omap_synctimer.o \ omap_gpmc.o omap_sdrc.o omap_tap.o omap_l4.o obj-y += tsc210x.o obj-y += cbus.o tusb6010.o obj-y += mst_fpga.o obj-y += strongarm.o -obj-y += imx_serial.o imx_ccm.o imx_timer.o imx_avic.o +obj-y += imx_ccm.o imx_timer.o imx_avic.o obj-$(CONFIG_KVM) += kvm/arm_gic.o obj-y := $(addprefix ../,$(obj-y))
hw/char/Makefile.objs +15 -0
@@ -9,4 +9,19 @@ common-obj-$(CONFIG_XILINX) += xilinx_uartlite.o common-obj-$(CONFIG_XEN_BACKEND) += xen_console.o common-obj-$(CONFIG_CADENCE) += cadence_uart.o +obj-$(CONFIG_SCLPCONSOLE) += sclpconsole.o +obj-$(CONFIG_ETRAXFS) += etraxfs_ser.o +obj-$(CONFIG_EXYNOS4) += exynos4210_uart.o +obj-$(CONFIG_COLDFIRE) += mcf_uart.o +obj-$(CONFIG_OMAP) += omap_uart.o +obj-$(CONFIG_SH4) += sh_serial.o +obj-$(CONFIG_PSERIES) += spapr_vty.o + +common-obj-$(CONFIG_ISA_DEBUG) += debugcon.o +common-obj-$(CONFIG_GRLIB) += grlib_apbuart.o +common-obj-$(CONFIG_IMX) += imx_serial.o +common-obj-$(CONFIG_LM32) += lm32_juart.o +common-obj-$(CONFIG_LM32) += lm32_uart.o +common-obj-$(CONFIG_MILKYMIST) += milkymist-uart.o + obj-$(CONFIG_VIRTIO) += virtio-serial-bus.o
hw/char/debugcon.c renamed from hw/debugcon.c +0 -0
hw/char/etraxfs_ser.c renamed from hw/etraxfs_ser.c +0 -0
hw/char/exynos4210_uart.c renamed from hw/exynos4210_uart.c +0 -0
hw/char/grlib_apbuart.c renamed from hw/grlib_apbuart.c +0 -0
hw/char/imx_serial.c renamed from hw/imx_serial.c +0 -0
hw/char/lm32_juart.c renamed from hw/lm32_juart.c +0 -0
hw/char/lm32_uart.c renamed from hw/lm32_uart.c +0 -0
hw/char/mcf_uart.c renamed from hw/mcf_uart.c +0 -0
hw/char/milkymist-uart.c renamed from hw/milkymist-uart.c +0 -0
hw/char/omap_uart.c renamed from hw/omap_uart.c +0 -0
hw/char/sclpconsole.c renamed from hw/s390x/sclpconsole.c +0 -0
hw/char/sh_serial.c renamed from hw/sh_serial.c +0 -0
hw/char/spapr_vty.c renamed from hw/spapr_vty.c +0 -0
hw/cris/Makefile.objs +0 -1
@@ -2,7 +2,6 @@ obj-y += etraxfs_dma.o obj-y += etraxfs_pic.o obj-y += etraxfs_timer.o -obj-y += etraxfs_ser.o obj-y := $(addprefix ../,$(obj-y))
hw/i386/Makefile.objs +1 -1
@@ -1,7 +1,7 @@ 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 += debugcon.o debugexit.o +obj-y += debugexit.o obj-y += lpc_ich9.o q35.o obj-y += kvm/ obj-y += pc-testdev.o
hw/lm32/Makefile.objs +0 -3
@@ -1,15 +1,12 @@ # LM32 peripherals obj-y += lm32_pic.o -obj-y += lm32_juart.o obj-y += lm32_timer.o -obj-y += lm32_uart.o obj-y += lm32_sys.o obj-y += milkymist-hpdmc.o obj-y += milkymist-memcard.o obj-y += milkymist-pfpu.o obj-y += milkymist-softusb.o obj-y += milkymist-sysctl.o -obj-y += milkymist-uart.o obj-y := $(addprefix ../,$(obj-y))
hw/m68k/Makefile.objs +0 -4
@@ -1,7 +1,3 @@ -obj-y = mcf_uart.o - -obj-y := $(addprefix ../,$(obj-y)) - obj-y += an5206.o mcf5208.o obj-y += dummy_m68k.o
hw/ppc/Makefile.objs +0 -1
@@ -1,5 +1,4 @@ # IBM pSeries (sPAPR) -obj-$(CONFIG_PSERIES) += spapr_vty.o obj-$(CONFIG_PSERIES) += spapr_pci.o obj-$(CONFIG_PSERIES) += spapr_nvram.o # PowerPC 4xx boards
hw/s390x/Makefile.objs +1 -1
@@ -2,7 +2,7 @@ obj-y = s390-virtio-bus.o s390-virtio.o obj-y += s390-virtio-hcall.o obj-y += sclp.o obj-y += event-facility.o -obj-y += sclpquiesce.o sclpconsole.o +obj-y += sclpquiesce.o obj-y += ipl.o obj-y += css.o obj-y += s390-virtio-ccw.o
hw/sh4/Makefile.objs +1 -1
@@ -1,4 +1,4 @@ -obj-y += sh_timer.o sh_serial.o sh_intc.o sh_pci.o +obj-y += sh_timer.o sh_intc.o sh_pci.o obj-y := $(addprefix ../,$(obj-y))
hw/sparc/Makefile.objs +1 -1
@@ -3,7 +3,7 @@ obj-y += slavio_timer.o slavio_misc.o sparc32_dma.o obj-y += eccmemctl.o sbi.o sun4c_intctl.o # GRLIB -obj-y += grlib_gptimer.o grlib_irqmp.o grlib_apbuart.o +obj-y += grlib_gptimer.o grlib_irqmp.o obj-y := $(addprefix ../,$(obj-y))
Signature · 1 line
1.8.1.4
PATCH 22/35 hw: move ISA bridges and devices to hw/isa/, configure with default-configs/
In reply to Paolo Bonzini---
default-configs/i386-softmmu.mak | 4 ++++
default-configs/x86_64-softmmu.mak | 4 ++++
hw/i386/Makefile.objs | 7 ++-----
hw/isa/Makefile.objs | 6 ++++++
hw/{ => isa}/debugexit.c | 0
hw/{ => isa}/lpc_ich9.c | 0
hw/{ => isa}/pc-testdev.c | 0
hw/{ => isa}/sga.c | 0
hw/{ => isa}/vmport.c | 0
hw/{ => isa}/vt82c686.c | 0
hw/mips/Makefile.objs | 2 +-
11 files changed, 17 insertions(+), 6 deletions(-)
rename hw/{ => isa}/debugexit.c (100%)
rename hw/{ => isa}/lpc_ich9.c (100%)
rename hw/{ => isa}/pc-testdev.c (100%)
rename hw/{ => isa}/sga.c (100%)
rename hw/{ => isa}/vmport.c (100%)
rename hw/{ => isa}/vt82c686.c (100%)default-configs/i386-softmmu.mak +4 -0
@@ -34,3 +34,7 @@ CONFIG_WDT_IB700=y CONFIG_PC_SYSFW=y CONFIG_XEN_I386=$(CONFIG_XEN) CONFIG_ISA_DEBUG=y +CONFIG_ISA_TESTDEV=y +CONFIG_VMPORT=y +CONFIG_SGA=y +CONFIG_LPC_ICH9=y
default-configs/x86_64-softmmu.mak +4 -0
@@ -34,3 +34,7 @@ CONFIG_WDT_IB700=y CONFIG_PC_SYSFW=y CONFIG_XEN_I386=$(CONFIG_XEN) CONFIG_ISA_DEBUG=y +CONFIG_ISA_TESTDEV=y +CONFIG_VMPORT=y +CONFIG_SGA=y +CONFIG_LPC_ICH9=y
hw/i386/Makefile.objs +2 -5
@@ -1,10 +1,7 @@ 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 += debugexit.o -obj-y += lpc_ich9.o q35.o +obj-y += ioapic_common.o ioapic.o piix_pci.o +obj-y += q35.o obj-y += kvm/ -obj-y += pc-testdev.o obj-y := $(addprefix ../,$(obj-y))
hw/isa/Makefile.objs +6 -0
@@ -3,7 +3,13 @@ common-obj-$(CONFIG_APM) += apm.o common-obj-$(CONFIG_APPLESMC) += applesmc.o common-obj-$(CONFIG_I82378) += i82378.o common-obj-$(CONFIG_I82374) += i82374.o +common-obj-$(CONFIG_ISA_DEBUG) += debugexit.o common-obj-$(CONFIG_ISA_MMIO) += isa_mmio.o common-obj-$(CONFIG_PC87312) += pc87312.o common-obj-$(CONFIG_PIIX4) += piix4.o +common-obj-$(CONFIG_FULONG) += vt82c686.o +common-obj-$(CONFIG_SGA) += sga.o +common-obj-$(CONFIG_ISA_TESTDEV) += pc-testdev.o +obj-$(CONFIG_VMPORT) += vmport.o +obj-$(CONFIG_LPC_ICH9) += lpc_ich9.o
hw/isa/debugexit.c renamed from hw/debugexit.c +0 -0
hw/isa/lpc_ich9.c renamed from hw/lpc_ich9.c +0 -0
hw/isa/pc-testdev.c renamed from hw/pc-testdev.c +0 -0
hw/isa/sga.c renamed from hw/sga.c +0 -0
hw/isa/vmport.c renamed from hw/vmport.c +0 -0
hw/isa/vt82c686.c renamed from hw/vt82c686.c +0 -0
hw/mips/Makefile.objs +1 -1
@@ -1,5 +1,5 @@ obj-y += gt64xxx.o -obj-$(CONFIG_FULONG) += bonito.o vt82c686.o +obj-$(CONFIG_FULONG) += bonito.o obj-y := $(addprefix ../,$(obj-y))
Signature · 1 line
1.8.1.4