]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw: move private headers to hw/ subdirectories.
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Mar 2013 16:36:02 +0000 (17:36 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Apr 2013 16:13:16 +0000 (18:13 +0200)
Many headers are used only in a single directory.  These can be
kept in hw/.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
141 files changed:
hw/alpha/alpha_sys.h [moved from hw/alpha_sys.h with 100% similarity]
hw/alpha/dp264.c
hw/alpha/pci.c
hw/alpha/typhoon.c
hw/arm/collie.c
hw/arm/strongarm.c
hw/arm/strongarm.h [moved from hw/strongarm.h with 100% similarity]
hw/audio/adlib.c
hw/audio/fmopl.c
hw/audio/fmopl.h [moved from hw/fmopl.h with 100% similarity]
hw/audio/gus.c
hw/audio/gusemu.h [moved from hw/gusemu.h with 100% similarity]
hw/audio/gusemu_hal.c
hw/audio/gusemu_mixer.c
hw/audio/gustate.h [moved from hw/gustate.h with 100% similarity]
hw/audio/hda-codec.c
hw/audio/intel-hda-defs.h [moved from hw/intel-hda-defs.h with 100% similarity]
hw/audio/intel-hda.c
hw/audio/intel-hda.h [moved from hw/intel-hda.h with 100% similarity]
hw/audio/lm4549.c
hw/audio/lm4549.h [moved from hw/lm4549.h with 100% similarity]
hw/audio/pl041.c
hw/audio/pl041.h [moved from hw/pl041.h with 100% similarity]
hw/block/xen_blkif.h [moved from hw/xen_blkif.h with 100% similarity]
hw/block/xen_disk.c
hw/char/ipack.c
hw/char/ipack.h [moved from hw/ipack.h with 100% similarity]
hw/char/ipoctal232.c
hw/char/tpci200.c
hw/core/loader.c
hw/core/uboot_image.h [moved from hw/uboot_image.h with 100% similarity]
hw/cris/axis_dev88.c
hw/cris/boot.c
hw/cris/boot.h [moved from hw/cris-boot.h with 100% similarity]
hw/display/blizzard.c
hw/display/blizzard_template.h [moved from hw/blizzard_template.h with 100% similarity]
hw/display/cirrus_vga.c
hw/display/cirrus_vga_rop.h [moved from hw/cirrus_vga_rop.h with 97% similarity]
hw/display/cirrus_vga_rop2.h [moved from hw/cirrus_vga_rop2.h with 100% similarity]
hw/display/cirrus_vga_template.h [moved from hw/cirrus_vga_template.h with 100% similarity]
hw/display/framebuffer.c
hw/display/framebuffer.h [moved from hw/framebuffer.h with 100% similarity]
hw/display/milkymist-vgafb.c
hw/display/milkymist-vgafb_template.h [moved from hw/milkymist-vgafb_template.h with 100% similarity]
hw/display/omap_lcd_template.h [moved from hw/omap_lcd_template.h with 100% similarity]
hw/display/omap_lcdc.c
hw/display/pl110.c
hw/display/pl110_template.h [moved from hw/pl110_template.h with 98% similarity]
hw/display/pxa2xx_lcd.c
hw/display/pxa2xx_template.h [moved from hw/pxa2xx_template.h with 100% similarity]
hw/display/qxl-logger.c
hw/display/qxl-render.c
hw/display/qxl.c
hw/display/qxl.h [moved from hw/qxl.h with 99% similarity]
hw/display/sm501.c
hw/display/sm501_template.h [moved from hw/sm501_template.h with 100% similarity]
hw/display/tc6393xb.c
hw/display/tc6393xb_template.h [moved from hw/tc6393xb_template.h with 100% similarity]
hw/display/vga-isa-mm.c
hw/display/vga-isa.c
hw/display/vga-pci.c
hw/display/vga.c
hw/display/vga.h [moved from hw/vga.h with 100% similarity]
hw/display/vga_int.h [moved from hw/vga_int.h with 100% similarity]
hw/display/vga_template.h [moved from hw/vga_template.h with 100% similarity]
hw/display/vmware_vga.c
hw/i2c/bitbang_i2c.c
hw/i2c/bitbang_i2c.h [moved from hw/bitbang_i2c.h with 100% similarity]
hw/i2c/versatile_i2c.c
hw/i386/multiboot.c
hw/i386/multiboot.h [moved from hw/multiboot.h with 100% similarity]
hw/i386/pc.c
hw/i386/xen_domainbuild.c
hw/i386/xen_domainbuild.h [moved from hw/xen_domainbuild.h with 100% similarity]
hw/i386/xen_machine_pv.c
hw/intc/arm_gic.c
hw/intc/arm_gic_common.c
hw/intc/arm_gic_kvm.c
hw/intc/armv7m_nvic.c
hw/intc/gic_internal.h [moved from hw/arm_gic_internal.h with 100% similarity]
hw/lm32/lm32.h [moved from hw/lm32.h with 100% similarity]
hw/lm32/lm32_boards.c
hw/lm32/lm32_hwsetup.h [moved from hw/lm32_hwsetup.h with 100% similarity]
hw/lm32/milkymist-hw.h [moved from hw/milkymist-hw.h with 100% similarity]
hw/lm32/milkymist.c
hw/microblaze/boot.c
hw/microblaze/boot.h [moved from hw/microblaze_boot.h with 100% similarity]
hw/microblaze/petalogix_ml605_mmu.c
hw/microblaze/petalogix_s3adsp1800_mmu.c
hw/microblaze/pic_cpu.c
hw/microblaze/pic_cpu.h [moved from hw/microblaze_pic_cpu.h with 100% similarity]
hw/misc/tmp105.c
hw/misc/tmp105.h [moved from hw/tmp105.h with 100% similarity]
hw/net/e1000.c
hw/net/e1000_regs.h [moved from hw/e1000_hw.h with 100% similarity]
hw/net/lance.c
hw/net/ne2000-isa.c
hw/net/ne2000.c
hw/net/ne2000.h [moved from hw/ne2000.h with 100% similarity]
hw/net/pcnet-pci.c
hw/net/pcnet.c
hw/net/pcnet.h [moved from hw/pcnet.h with 100% similarity]
hw/pci-bridge/ioh3420.c
hw/pci-bridge/ioh3420.h [moved from hw/ioh3420.h with 100% similarity]
hw/pci-bridge/xio3130_downstream.c
hw/pci-bridge/xio3130_downstream.h [moved from hw/xio3130_downstream.h with 100% similarity]
hw/pci-bridge/xio3130_upstream.c
hw/pci-bridge/xio3130_upstream.h [moved from hw/xio3130_upstream.h with 100% similarity]
hw/pci-host/dec.c
hw/pci-host/dec.h [moved from hw/dec_pci.h with 100% similarity]
hw/ppc/ppc405.h [moved from hw/ppc405.h with 100% similarity]
hw/ppc/ppc405_boards.c
hw/ppc/ppc405_uc.c
hw/ppc/ppc440_bamboo.c
hw/ppc/virtex_ml507.c
hw/scsi/megasas.c
hw/scsi/mfi.h [moved from hw/mfi.h with 100% similarity]
hw/scsi/spapr_vscsi.c
hw/scsi/srp.h [moved from hw/srp.h with 100% similarity]
hw/scsi/viosrp.h [moved from hw/ppc-viosrp.h with 100% similarity]
hw/sd/sdhci.c
hw/sd/sdhci.h [moved from hw/sdhci.h with 100% similarity]
hw/sh4/r2d.c
hw/sh4/sh7750.c
hw/sh4/sh7750_regnames.c
hw/sh4/sh7750_regnames.h [moved from hw/sh7750_regnames.h with 100% similarity]
hw/sh4/sh7750_regs.h [moved from hw/sh7750_regs.h with 100% similarity]
hw/usb/ccid-card-emulated.c
hw/usb/ccid-card-passthru.c
hw/usb/ccid.h [moved from hw/ccid.h with 100% similarity]
hw/usb/dev-smartcard-reader.c
hw/virtio/virtio-pci.c
hw/virtio/virtio-pci.h [moved from hw/virtio-pci.h with 100% similarity]
hw/xen/xen-host-pci-device.c
hw/xen/xen-host-pci-device.h [moved from hw/xen-host-pci-device.h with 100% similarity]
hw/xen/xen_pt.c
hw/xen/xen_pt.h [moved from hw/xen_pt.h with 99% similarity]
hw/xen/xen_pt_config_init.c
hw/xen/xen_pt_msi.c
hw/xtensa/xtensa_bootparam.h [moved from hw/xtensa_bootparam.h with 100% similarity]
hw/xtensa/xtensa_lx60.c

similarity index 100%
rename from hw/alpha_sys.h
rename to hw/alpha/alpha_sys.h
index a0dd12ce79b6c3b4bac50bcbc43bb4d0abd986a1..8695efb8efe05adc45bfd04331853ef674cdbdf7 100644 (file)
@@ -10,7 +10,7 @@
 #include "elf.h"
 #include "hw/loader.h"
 #include "hw/boards.h"
-#include "hw/alpha_sys.h"
+#include "alpha_sys.h"
 #include "sysemu/sysemu.h"
 #include "hw/timer/mc146818rtc.h"
 #include "hw/ide.h"
index 84628686ad71c12cf0bef52676016adfdf88807c..7327d488fdb3bbdf7b6dee148c84e24320f55d14 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #include "config.h"
-#include "hw/alpha_sys.h"
+#include "alpha_sys.h"
 #include "qemu/log.h"
 #include "sysemu/sysemu.h"
 
index 41a0ebc7a3c303d398b5444fb2764164f4ba966c..faec8dcebd96a59bc4d29e20abec9663ff95d8c9 100644 (file)
@@ -11,7 +11,7 @@
 #include "hw/hw.h"
 #include "hw/arm/devices.h"
 #include "sysemu/sysemu.h"
-#include "hw/alpha_sys.h"
+#include "alpha_sys.h"
 #include "exec/address-spaces.h"
 
 
index 76eda8e8b06fd4a3da1809d97aaedf3b4476c208..5420bb4ba819b53f9c4b98f6839a864aa45fcf7d 100644 (file)
@@ -12,7 +12,7 @@
 #include "hw/sysbus.h"
 #include "hw/boards.h"
 #include "hw/arm/devices.h"
-#include "hw/strongarm.h"
+#include "strongarm.h"
 #include "hw/arm.h"
 #include "hw/block/flash.h"
 #include "sysemu/blockdev.h"
index 0e5262d9f527492d4f3ba2ef240fda3829abaa29..5873a3c9564409d61264878fba231316df11d530 100644 (file)
@@ -27,7 +27,7 @@
  *  GNU GPL, version 2 or (at your option) any later version.
  */
 #include "hw/sysbus.h"
-#include "hw/strongarm.h"
+#include "strongarm.h"
 #include "qemu/error-report.h"
 #include "hw/arm.h"
 #include "char/char.h"
similarity index 100%
rename from hw/strongarm.h
rename to hw/arm/strongarm.h
index 133c0ff7b11e58877fd4dd4baa1853f22f2ecfea..4a58e6efb74d3318fbbe67e9ca0834e3679e26e5 100644 (file)
@@ -47,7 +47,7 @@
 void YMF262UpdateOneQEMU (int which, INT16 *dst, int length);
 #define SHIFT 2
 #else
-#include "hw/fmopl.h"
+#include "fmopl.h"
 #define SHIFT 1
 #endif
 
index e50ba6c0ec06d50262dc40e8a12c8d560fdf1fe3..f0a023477db5f9074fc822179121ded489ee55ba 100644 (file)
@@ -39,7 +39,7 @@
 #include <stdarg.h>
 #include <math.h>
 //#include "driver.h"          /* use M.A.M.E. */
-#include "hw/fmopl.h"
+#include "fmopl.h"
 
 #ifndef PI
 #define PI 3.14159265358979323846
similarity index 100%
rename from hw/fmopl.h
rename to hw/audio/fmopl.h
index e44704b1cf84d12dca730facbed184dd595d84fd..0604d6eac3c485b92780458ea3d4224ca3eb9bef 100644 (file)
@@ -25,8 +25,8 @@
 #include "hw/audio/audio.h"
 #include "audio/audio.h"
 #include "hw/isa/isa.h"
-#include "hw/gusemu.h"
-#include "hw/gustate.h"
+#include "gusemu.h"
+#include "gustate.h"
 
 #define dolog(...) AUD_log ("audio", __VA_ARGS__)
 #ifdef DEBUG
similarity index 100%
rename from hw/gusemu.h
rename to hw/audio/gusemu.h
index 0eee6176529c8c674079874f89ddf58481196365..60966907351c8590f262ca6079665a0516424c25 100644 (file)
@@ -26,8 +26,8 @@
  * TODO: check mixer: see 7.20 of sdk for panning pos (applies to all gus models?)?
  */
 
-#include "hw/gustate.h"
-#include "hw/gusemu.h"
+#include "gustate.h"
+#include "gusemu.h"
 
 #define GUSregb(position) (*            (gusptr+(position)))
 #define GUSregw(position) (*(GUSword *) (gusptr+(position)))
index 816c58a7ed76eef33cf4c0356492de575190cafc..6d8d9ced1178c2bcf0ec9ace96f4f6c200c77c2b 100644 (file)
@@ -22,8 +22,8 @@
  * THE SOFTWARE.
  */
 
-#include "hw/gusemu.h"
-#include "hw/gustate.h"
+#include "gusemu.h"
+#include "gustate.h"
 
 #define GUSregb(position)  (*            (gusptr+(position)))
 #define GUSregw(position)  (*(GUSword *) (gusptr+(position)))
similarity index 100%
rename from hw/gustate.h
rename to hw/audio/gustate.h
index 6bdd8209fb963620523d3c49e1fd20c964f7f50f..362d8c0cc0fb80f5cfef1a03c288d3797c1a077f 100644 (file)
@@ -19,8 +19,8 @@
 
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
-#include "hw/intel-hda.h"
-#include "hw/intel-hda-defs.h"
+#include "intel-hda.h"
+#include "intel-hda-defs.h"
 #include "audio/audio.h"
 
 /* -------------------------------------------------------------------------- */
index 68201cd091a14834386e1f09f081d97e185f224c..3d8077ac0d4b964566def44f73629599e96046ff 100644 (file)
@@ -22,8 +22,8 @@
 #include "hw/pci/msi.h"
 #include "qemu/timer.h"
 #include "hw/audio/audio.h"
-#include "hw/intel-hda.h"
-#include "hw/intel-hda-defs.h"
+#include "intel-hda.h"
+#include "intel-hda-defs.h"
 #include "sysemu/dma.h"
 
 /* --------------------------------------------------------------------- */
similarity index 100%
rename from hw/intel-hda.h
rename to hw/audio/intel-hda.h
index 67335cba615b3af24de97bab7c303005d2e51cce..d75f7ec21f7b43769d5f4843e2ce0755f6872251 100644 (file)
@@ -15,7 +15,7 @@
 
 #include "hw/hw.h"
 #include "audio/audio.h"
-#include "hw/lm4549.h"
+#include "lm4549.h"
 
 #if 0
 #define LM4549_DEBUG  1
similarity index 100%
rename from hw/lm4549.h
rename to hw/audio/lm4549.h
index 92dddc2923ab527a6524a29d15a8c63f4ae76a19..653ab4fbb46777c289e0ea03ed74d5e89adf71f9 100644 (file)
@@ -22,8 +22,8 @@
 
 #include "hw/sysbus.h"
 
-#include "hw/pl041.h"
-#include "hw/lm4549.h"
+#include "pl041.h"
+#include "lm4549.h"
 
 #if 0
 #define PL041_DEBUG_LEVEL 1
similarity index 100%
rename from hw/pl041.h
rename to hw/audio/pl041.h
similarity index 100%
rename from hw/xen_blkif.h
rename to hw/block/xen_blkif.h
index 532347bf941fded4c7f51873d4ae799cd3b13ec2..0ac65d4e8f045e3ad311207ce1768f4b7ea8e237 100644 (file)
@@ -37,7 +37,7 @@
 
 #include "hw/hw.h"
 #include "hw/xen/xen_backend.h"
-#include "hw/xen_blkif.h"
+#include "xen_blkif.h"
 #include "sysemu/blockdev.h"
 
 /* ------------------------------------------------------------- */
index b1f46c10a42b7bddf12b4ea3e8e2802923d3b296..e15540d5cdbf1f52e3706c0b008e582764894230 100644 (file)
@@ -8,7 +8,7 @@
  * later version.
  */
 
-#include "hw/ipack.h"
+#include "ipack.h"
 
 IPackDevice *ipack_device_find(IPackBus *bus, int32_t slot)
 {
similarity index 100%
rename from hw/ipack.h
rename to hw/char/ipack.h
index 685fee2d2eaceed73803a40024af6838338dc56e..fcd0af31b4d8475e14baa5317a14074610403dff 100644 (file)
@@ -8,7 +8,7 @@
  * later version.
  */
 
-#include "hw/ipack.h"
+#include "ipack.h"
 #include "qemu/bitops.h"
 #include "char/char.h"
 
index e3408ef4bad584bfd7ccbbd6a6f97ced68c4af44..01706020bec0aa6c49af7d3f54a3a27271c439db 100644 (file)
@@ -8,7 +8,7 @@
  * later version.
  */
 
-#include "hw/ipack.h"
+#include "ipack.h"
 #include "hw/pci/pci.h"
 #include "qemu/bitops.h"
 #include <stdio.h>
index 2f5072dfa2816ebd044cb125f1c17950eb8f3302..750791429732d272bc9301bd191c79c00da85889 100644 (file)
@@ -46,7 +46,7 @@
 #include "disas/disas.h"
 #include "monitor/monitor.h"
 #include "sysemu/sysemu.h"
-#include "hw/uboot_image.h"
+#include "uboot_image.h"
 #include "hw/loader.h"
 #include "hw/nvram/fw_cfg.h"
 #include "exec/memory.h"
similarity index 100%
rename from hw/uboot_image.h
rename to hw/core/uboot_image.h
index 00daceb81392303a85e2b72dff2e9662080e914b..7475671308e582f3c60250b7a2bd7ac53ae5ad23 100644 (file)
@@ -29,7 +29,7 @@
 #include "hw/cris/etraxfs.h"
 #include "hw/loader.h"
 #include "elf.h"
-#include "hw/cris-boot.h"
+#include "boot.h"
 #include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
 
index c330e22a86cb387ded7e2a1443812d3c275f51a3..622f353c9a8becfe2e37f428d1bf0f58dc3f2bfc 100644 (file)
@@ -25,7 +25,7 @@
 #include "hw/hw.h"
 #include "hw/loader.h"
 #include "elf.h"
-#include "hw/cris-boot.h"
+#include "boot.h"
 
 static void main_cpu_reset(void *opaque)
 {
similarity index 100%
rename from hw/cris-boot.h
rename to hw/cris/boot.h
index bdb0b15ddb215a52a585d926500fbb3f69c3a484..175c5cdd009ec1479b030bd3d8c05c8a6b7a20f0 100644 (file)
@@ -21,7 +21,7 @@
 #include "qemu-common.h"
 #include "ui/console.h"
 #include "hw/arm/devices.h"
-#include "hw/vga_int.h"
+#include "vga_int.h"
 #include "ui/pixel_ops.h"
 
 typedef void (*blizzard_fn_t)(uint8_t *, const uint8_t *, unsigned int);
@@ -946,15 +946,15 @@ static void blizzard_screen_dump(void *opaque, const char *filename,
 }
 
 #define DEPTH 8
-#include "hw/blizzard_template.h"
+#include "blizzard_template.h"
 #define DEPTH 15
-#include "hw/blizzard_template.h"
+#include "blizzard_template.h"
 #define DEPTH 16
-#include "hw/blizzard_template.h"
+#include "blizzard_template.h"
 #define DEPTH 24
-#include "hw/blizzard_template.h"
+#include "blizzard_template.h"
 #define DEPTH 32
-#include "hw/blizzard_template.h"
+#include "blizzard_template.h"
 
 void *s1d13745_init(qemu_irq gpio_int)
 {
index 7a4d63436ea6d2cf54ecda2d1d7777887b63b63e..bf2181afd8ec66710c3b7454be9b645b35e22229 100644 (file)
@@ -29,7 +29,7 @@
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
 #include "ui/console.h"
-#include "hw/vga_int.h"
+#include "vga_int.h"
 #include "hw/loader.h"
 
 /*
@@ -288,63 +288,63 @@ static void cirrus_bitblt_fill_nop(CirrusVGAState *s,
 
 #define ROP_NAME 0
 #define ROP_FN(d, s) 0
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME src_and_dst
 #define ROP_FN(d, s) (s) & (d)
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME src_and_notdst
 #define ROP_FN(d, s) (s) & (~(d))
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME notdst
 #define ROP_FN(d, s) ~(d)
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME src
 #define ROP_FN(d, s) s
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME 1
 #define ROP_FN(d, s) ~0
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME notsrc_and_dst
 #define ROP_FN(d, s) (~(s)) & (d)
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME src_xor_dst
 #define ROP_FN(d, s) (s) ^ (d)
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME src_or_dst
 #define ROP_FN(d, s) (s) | (d)
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME notsrc_or_notdst
 #define ROP_FN(d, s) (~(s)) | (~(d))
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME src_notxor_dst
 #define ROP_FN(d, s) ~((s) ^ (d))
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME src_or_notdst
 #define ROP_FN(d, s) (s) | (~(d))
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME notsrc
 #define ROP_FN(d, s) (~(s))
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME notsrc_or_dst
 #define ROP_FN(d, s) (~(s)) | (d)
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 #define ROP_NAME notsrc_and_notdst
 #define ROP_FN(d, s) (~(s)) & (~(d))
-#include "hw/cirrus_vga_rop.h"
+#include "cirrus_vga_rop.h"
 
 static const cirrus_bitblt_rop_t cirrus_fwd_rop[16] = {
     cirrus_bitblt_rop_fwd_0,
@@ -2166,13 +2166,13 @@ static void cirrus_cursor_invalidate(VGACommonState *s1)
 }
 
 #define DEPTH 8
-#include "hw/cirrus_vga_template.h"
+#include "cirrus_vga_template.h"
 
 #define DEPTH 16
-#include "hw/cirrus_vga_template.h"
+#include "cirrus_vga_template.h"
 
 #define DEPTH 32
-#include "hw/cirrus_vga_template.h"
+#include "cirrus_vga_template.h"
 
 static void cirrus_cursor_draw_line(VGACommonState *s1, uint8_t *d1, int scr_y)
 {
similarity index 97%
rename from hw/cirrus_vga_rop.h
rename to hw/display/cirrus_vga_rop.h
index 894610cc22349a56b3fe7ab3a637159bb5761ea2..9c7bb092862cc5f9a49b9a3d22f82a0336af1387 100644 (file)
@@ -191,16 +191,16 @@ glue(glue(cirrus_bitblt_rop_bkwd_transp_, ROP_NAME),_16)(CirrusVGAState *s,
 }
 
 #define DEPTH 8
-#include "hw/cirrus_vga_rop2.h"
+#include "cirrus_vga_rop2.h"
 
 #define DEPTH 16
-#include "hw/cirrus_vga_rop2.h"
+#include "cirrus_vga_rop2.h"
 
 #define DEPTH 24
-#include "hw/cirrus_vga_rop2.h"
+#include "cirrus_vga_rop2.h"
 
 #define DEPTH 32
-#include "hw/cirrus_vga_rop2.h"
+#include "cirrus_vga_rop2.h"
 
 #undef ROP_NAME
 #undef ROP_OP
index 7326a98a41b581e490b3107ca279b81a736ef37e..6be31db2b5b3b29bc94eb9ebed9aa447c3882bca 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "hw/hw.h"
 #include "ui/console.h"
-#include "hw/framebuffer.h"
+#include "framebuffer.h"
 
 /* Render an image from a shared memory framebuffer.  */
    
similarity index 100%
rename from hw/framebuffer.h
rename to hw/display/framebuffer.h
index 98762ecd21438bdbb94b0e8d29f844231768f4c3..3219041c81af196b1c457bf9e9e48fc4c20b6044 100644 (file)
 #include "hw/sysbus.h"
 #include "trace.h"
 #include "ui/console.h"
-#include "hw/framebuffer.h"
+#include "framebuffer.h"
 #include "ui/pixel_ops.h"
 #include "qemu/error-report.h"
 
 #define BITS 8
-#include "hw/milkymist-vgafb_template.h"
+#include "milkymist-vgafb_template.h"
 #define BITS 15
-#include "hw/milkymist-vgafb_template.h"
+#include "milkymist-vgafb_template.h"
 #define BITS 16
-#include "hw/milkymist-vgafb_template.h"
+#include "milkymist-vgafb_template.h"
 #define BITS 24
-#include "hw/milkymist-vgafb_template.h"
+#include "milkymist-vgafb_template.h"
 #define BITS 32
-#include "hw/milkymist-vgafb_template.h"
+#include "milkymist-vgafb_template.h"
 
 enum {
     R_CTRL = 0,
index 4048cc102d9a1a694178b0fb5cf0f7aa168f7bab..be7e9c0d748a557726f1bebc07731ebca8b50be2 100644 (file)
@@ -19,7 +19,7 @@
 #include "hw/hw.h"
 #include "ui/console.h"
 #include "hw/arm/omap.h"
-#include "hw/framebuffer.h"
+#include "framebuffer.h"
 #include "ui/pixel_ops.h"
 
 struct omap_lcd_panel_s {
@@ -70,13 +70,13 @@ static void omap_lcd_interrupts(struct omap_lcd_panel_s *s)
 #define draw_line_func drawfn
 
 #define DEPTH 8
-#include "hw/omap_lcd_template.h"
+#include "omap_lcd_template.h"
 #define DEPTH 15
-#include "hw/omap_lcd_template.h"
+#include "omap_lcd_template.h"
 #define DEPTH 16
-#include "hw/omap_lcd_template.h"
+#include "omap_lcd_template.h"
 #define DEPTH 32
-#include "hw/omap_lcd_template.h"
+#include "omap_lcd_template.h"
 
 static draw_line_func draw_line_table2[33] = {
     [0 ... 32] = NULL,
index fbef675f9c4e3d0d6068cc2a5b99144577a19d88..295434edede9f190997460eafcf45269b83d7933 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "hw/sysbus.h"
 #include "ui/console.h"
-#include "hw/framebuffer.h"
+#include "framebuffer.h"
 #include "ui/pixel_ops.h"
 
 #define PL110_CR_EN   0x001
@@ -111,15 +111,15 @@ static const unsigned char *idregs[] = {
 };
 
 #define BITS 8
-#include "hw/pl110_template.h"
+#include "pl110_template.h"
 #define BITS 15
-#include "hw/pl110_template.h"
+#include "pl110_template.h"
 #define BITS 16
-#include "hw/pl110_template.h"
+#include "pl110_template.h"
 #define BITS 24
-#include "hw/pl110_template.h"
+#include "pl110_template.h"
 #define BITS 32
-#include "hw/pl110_template.h"
+#include "pl110_template.h"
 
 static int pl110_enabled(pl110_state *s)
 {
similarity index 98%
rename from hw/pl110_template.h
rename to hw/display/pl110_template.h
index ec4bfd6f8ccf5bdb7481bcddda584429c1678aa2..e738e4a241bf2eb268db26feb9f1edc7b17f356d 100644 (file)
 #undef RGB
 #define BORDER bgr
 #define ORDER 0
-#include "hw/pl110_template.h"
+#include "pl110_template.h"
 #define ORDER 1
-#include "hw/pl110_template.h"
+#include "pl110_template.h"
 #define ORDER 2
-#include "hw/pl110_template.h"
+#include "pl110_template.h"
 #undef BORDER
 #define RGB
 #define BORDER rgb
 #define ORDER 0
-#include "hw/pl110_template.h"
+#include "pl110_template.h"
 #define ORDER 1
-#include "hw/pl110_template.h"
+#include "pl110_template.h"
 #define ORDER 2
-#include "hw/pl110_template.h"
+#include "pl110_template.h"
 #undef BORDER
 
 static drawfn glue(pl110_draw_fn_,BITS)[48] =
index ee59bc2de3b36709ed0938ff9f3a4cacb46c0cb3..c9bd42e023c01481a429b9c9726ebe1c2920745c 100644 (file)
@@ -16,7 +16,7 @@
 #include "ui/pixel_ops.h"
 /* FIXME: For graphic_rotate. Should probably be done in common code.  */
 #include "sysemu/sysemu.h"
-#include "hw/framebuffer.h"
+#include "framebuffer.h"
 
 struct DMAChannel {
     uint32_t branch;
@@ -981,15 +981,15 @@ static const VMStateDescription vmstate_pxa2xx_lcdc = {
 };
 
 #define BITS 8
-#include "hw/pxa2xx_template.h"
+#include "pxa2xx_template.h"
 #define BITS 15
-#include "hw/pxa2xx_template.h"
+#include "pxa2xx_template.h"
 #define BITS 16
-#include "hw/pxa2xx_template.h"
+#include "pxa2xx_template.h"
 #define BITS 24
-#include "hw/pxa2xx_template.h"
+#include "pxa2xx_template.h"
 #define BITS 32
-#include "hw/pxa2xx_template.h"
+#include "pxa2xx_template.h"
 
 PXA2xxLCDState *pxa2xx_lcdc_init(MemoryRegion *sysmem,
                                  hwaddr base, qemu_irq irq)
index 84f9aa1eda63773bd3b3952d9428c9b401b0d083..3cd85d9b9786fcfa0d6a1e1763848c4b353a890e 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 #include "qemu/timer.h"
-#include "hw/qxl.h"
+#include "qxl.h"
 
 static const char *qxl_type[] = {
     [ QXL_CMD_NOP ]     = "nop",
index 8cd9be434de01d50a1345d4cd55bb7f1694d6551..f511a622c67021e616ac979fa4efa0387fffae99 100644 (file)
@@ -19,7 +19,7 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "hw/qxl.h"
+#include "qxl.h"
 
 static void qxl_blit(PCIQXLDevice *qxl, QXLRect *rect)
 {
index b66b41442a9a5da0bfc22107ab40a8a702bc1263..930b7cf2ad67c89b1def1fe4d50e77d014c12503 100644 (file)
@@ -27,7 +27,7 @@
 #include "sysemu/sysemu.h"
 #include "trace.h"
 
-#include "hw/qxl.h"
+#include "qxl.h"
 
 /*
  * NOTE: SPICE_RING_PROD_ITEM accesses memory on the pci bar and as
similarity index 99%
rename from hw/qxl.h
rename to hw/display/qxl.h
index 36f1a2502bf115618f34fc0ce00f973ec67e256c..8e9b0c299efc33b4d589121249812f1221d488e4 100644 (file)
--- a/hw/qxl.h
@@ -6,7 +6,7 @@
 #include "ui/console.h"
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
-#include "hw/vga_int.h"
+#include "vga_int.h"
 #include "qemu/thread.h"
 
 #include "ui/qemu-spice.h"
index d9fcead71923dddbc6daa2b5d3f343a96d9a55ba..6b660ac1c0d0eb3e2124c30ea1b7c70a3ea7f120 100644 (file)
@@ -1171,28 +1171,28 @@ typedef void draw_hwc_line_func(SM501State * s, int crt, uint8_t * palette,
                                 int c_y, uint8_t *d, int width);
 
 #define DEPTH 8
-#include "hw/sm501_template.h"
+#include "sm501_template.h"
 
 #define DEPTH 15
-#include "hw/sm501_template.h"
+#include "sm501_template.h"
 
 #define BGR_FORMAT
 #define DEPTH 15
-#include "hw/sm501_template.h"
+#include "sm501_template.h"
 
 #define DEPTH 16
-#include "hw/sm501_template.h"
+#include "sm501_template.h"
 
 #define BGR_FORMAT
 #define DEPTH 16
-#include "hw/sm501_template.h"
+#include "sm501_template.h"
 
 #define DEPTH 32
-#include "hw/sm501_template.h"
+#include "sm501_template.h"
 
 #define BGR_FORMAT
 #define DEPTH 32
-#include "hw/sm501_template.h"
+#include "sm501_template.h"
 
 static draw_line_func * draw_line8_funcs[] = {
     draw_line8_8,
index 2d5fa89e9b6f2f439d98868a22a28159e3b02e31..e252ce945fc2597b1447b228fab887889b09689e 100644 (file)
@@ -421,15 +421,15 @@ static void tc6393xb_nand_writeb(TC6393xbState *s, hwaddr addr, uint32_t value)
 }
 
 #define BITS 8
-#include "hw/tc6393xb_template.h"
+#include "tc6393xb_template.h"
 #define BITS 15
-#include "hw/tc6393xb_template.h"
+#include "tc6393xb_template.h"
 #define BITS 16
-#include "hw/tc6393xb_template.h"
+#include "tc6393xb_template.h"
 #define BITS 24
-#include "hw/tc6393xb_template.h"
+#include "tc6393xb_template.h"
 #define BITS 32
-#include "hw/tc6393xb_template.h"
+#include "tc6393xb_template.h"
 
 static void tc6393xb_draw_graphic(TC6393xbState *s, int full_update)
 {
index 3b08720cf4461b2a1b1ec5da16bd8790be91f7c3..1c50070216e7fad3e27018f8f3e97f533db4f825 100644 (file)
@@ -24,7 +24,7 @@
 #include "hw/hw.h"
 #include "ui/console.h"
 #include "hw/i386/pc.h"
-#include "hw/vga_int.h"
+#include "vga_int.h"
 #include "ui/pixel_ops.h"
 #include "qemu/timer.h"
 
index 89d7fa6c3cddcbe2d382dbf6560d07c912a756ea..90959ebc2ca1272c0eabf0467a0f9703604d85ec 100644 (file)
@@ -26,7 +26,7 @@
 #include "hw/hw.h"
 #include "ui/console.h"
 #include "hw/i386/pc.h"
-#include "hw/vga_int.h"
+#include "vga_int.h"
 #include "ui/pixel_ops.h"
 #include "qemu/timer.h"
 #include "hw/loader.h"
index 05fa9bcb6488c9a490749073a90db417bbb1f346..a9c69b6ac7b0e90b0968d2bf5d715d1b7ec5ee9c 100644 (file)
@@ -26,7 +26,7 @@
 #include "hw/hw.h"
 #include "ui/console.h"
 #include "hw/pci/pci.h"
-#include "hw/vga_int.h"
+#include "vga_int.h"
 #include "ui/pixel_ops.h"
 #include "qemu/timer.h"
 #include "hw/loader.h"
index dc31fd574c1078a7dc9cbae35af9c3b774d0a4d7..c1b67bbbf86f86e13831c9ee5e9d1b65983f8705 100644 (file)
  * THE SOFTWARE.
  */
 #include "hw/hw.h"
-#include "hw/vga.h"
+#include "vga.h"
 #include "ui/console.h"
 #include "hw/i386/pc.h"
 #include "hw/pci/pci.h"
-#include "hw/vga_int.h"
+#include "vga_int.h"
 #include "ui/pixel_ops.h"
 #include "qemu/timer.h"
 #include "hw/xen/xen.h"
@@ -986,28 +986,28 @@ typedef void vga_draw_line_func(VGACommonState *s1, uint8_t *d,
                                 const uint8_t *s, int width);
 
 #define DEPTH 8
-#include "hw/vga_template.h"
+#include "vga_template.h"
 
 #define DEPTH 15
-#include "hw/vga_template.h"
+#include "vga_template.h"
 
 #define BGR_FORMAT
 #define DEPTH 15
-#include "hw/vga_template.h"
+#include "vga_template.h"
 
 #define DEPTH 16
-#include "hw/vga_template.h"
+#include "vga_template.h"
 
 #define BGR_FORMAT
 #define DEPTH 16
-#include "hw/vga_template.h"
+#include "vga_template.h"
 
 #define DEPTH 32
-#include "hw/vga_template.h"
+#include "vga_template.h"
 
 #define BGR_FORMAT
 #define DEPTH 32
-#include "hw/vga_template.h"
+#include "vga_template.h"
 
 static unsigned int rgb_to_pixel8_dup(unsigned int r, unsigned int g, unsigned b)
 {
similarity index 100%
rename from hw/vga.h
rename to hw/display/vga.h
similarity index 100%
rename from hw/vga_int.h
rename to hw/display/vga_int.h
similarity index 100%
rename from hw/vga_template.h
rename to hw/display/vga_template.h
index 5b9ce8f96b02abb37fbe56b9976ed46db0f0ab4e..bcad47a68dcccc59d13d52183f69ae4542e96f93 100644 (file)
@@ -31,7 +31,7 @@
 #define HW_FILL_ACCEL
 #define HW_MOUSE_ACCEL
 
-#include "hw/vga_int.h"
+#include "vga_int.h"
 
 /* See http://vmware-svga.sf.net/ for some documentation on VMWare SVGA */
 
index b8e6d3a1033e03d8a1657da10fd0f5d85ec7d892..854b8e19408e0201f3f07dcc798dbd1b171c75e3 100644 (file)
@@ -10,7 +10,7 @@
  * GNU GPL, version 2 or (at your option) any later version.
  */
 #include "hw/hw.h"
-#include "hw/bitbang_i2c.h"
+#include "bitbang_i2c.h"
 #include "hw/sysbus.h"
 
 //#define DEBUG_BITBANG_I2C
similarity index 100%
rename from hw/bitbang_i2c.h
rename to hw/i2c/bitbang_i2c.h
index d0444aecac93ab326809e8b9d3152c476974cfa4..e09c83dda28d9f71ca6013fd516d275531b49a49 100644 (file)
@@ -22,7 +22,7 @@
  */
 
 #include "hw/sysbus.h"
-#include "hw/bitbang_i2c.h"
+#include "bitbang_i2c.h"
 
 typedef struct {
     SysBusDevice busdev;
index c7f01df4bfbbbe25ea332e1c38d2e56b1133a034..d696507940e57ed9fac9fe37d4118809e2dca87e 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "hw/hw.h"
 #include "hw/nvram/fw_cfg.h"
-#include "hw/multiboot.h"
+#include "multiboot.h"
 #include "hw/loader.h"
 #include "elf.h"
 #include "sysemu/sysemu.h"
similarity index 100%
rename from hw/multiboot.h
rename to hw/i386/multiboot.h
index a38fc95055a9158574c0c77b0763f1fe5fca5b0d..8d75b3421876f07f71f1238cf819c399913efbb2 100644 (file)
@@ -34,7 +34,7 @@
 #include "hw/i386/smbios.h"
 #include "hw/loader.h"
 #include "elf.h"
-#include "hw/multiboot.h"
+#include "multiboot.h"
 #include "hw/timer/mc146818rtc.h"
 #include "hw/timer/i8254.h"
 #include "hw/audio/pcspk.h"
index ed90b4b379d724afc9a54b26c3b9a7e0a22826e2..4e2cf95ae52b847051a186e4e32c28751af3fb26 100644 (file)
@@ -1,6 +1,6 @@
 #include <signal.h>
 #include "hw/xen/xen_backend.h"
-#include "hw/xen_domainbuild.h"
+#include "xen_domainbuild.h"
 #include "qemu/timer.h"
 #include "qemu/log.h"
 
index fdd93742d086c68b04db26f8e85954420e75d691..f829a52232c4f435465bf8b5bd8e360482571b78 100644 (file)
@@ -26,7 +26,7 @@
 #include "hw/i386/pc.h"
 #include "hw/boards.h"
 #include "hw/xen/xen_backend.h"
-#include "hw/xen_domainbuild.h"
+#include "xen_domainbuild.h"
 #include "sysemu/blockdev.h"
 
 static void xen_init_pv(QEMUMachineInitArgs *args)
index bcb072bbcfef064d796e7d32290b9f8f62be25c8..bae65721fd5e29ce66b580be43200fae998a0ef9 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 #include "hw/sysbus.h"
-#include "hw/arm_gic_internal.h"
+#include "gic_internal.h"
 
 //#define DEBUG_GIC
 
index 71594f1f87e2a9ce4a5a830feafafa8cf62919e1..08560f23a3881868c46213449cdc1150df403e41 100644 (file)
@@ -18,7 +18,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "hw/arm_gic_internal.h"
+#include "gic_internal.h"
 
 static void gic_pre_save(void *opaque)
 {
index 22b40b4f84ad73bc5224ca175e555d61c04c47ad..b7564568dc2454f8432dd0739ca559d67db31433 100644 (file)
@@ -21,7 +21,7 @@
 #include "hw/sysbus.h"
 #include "sysemu/kvm.h"
 #include "kvm_arm.h"
-#include "hw/arm_gic_internal.h"
+#include "gic_internal.h"
 
 #define TYPE_KVM_ARM_GIC "kvm-arm-gic"
 #define KVM_ARM_GIC(obj) \
index 75742601cb08eb26bb8c197b90c5edd97b859a97..566b4bfa413a8b845eb9d9a6a7d55ed0fdf0509a 100644 (file)
@@ -14,7 +14,7 @@
 #include "qemu/timer.h"
 #include "hw/arm.h"
 #include "exec/address-spaces.h"
-#include "hw/arm_gic_internal.h"
+#include "gic_internal.h"
 
 typedef struct {
     GICState gic;
similarity index 100%
rename from hw/arm_gic_internal.h
rename to hw/intc/gic_internal.h
similarity index 100%
rename from hw/lm32.h
rename to hw/lm32/lm32.h
index b22c94f85fffd2d3566b9b301b3fb48b4a9066ee..6555a97e2e99a151a5967ace35d564591eccf968 100644 (file)
@@ -25,8 +25,8 @@
 #include "hw/loader.h"
 #include "sysemu/blockdev.h"
 #include "elf.h"
-#include "hw/lm32_hwsetup.h"
-#include "hw/lm32.h"
+#include "lm32_hwsetup.h"
+#include "lm32.h"
 #include "exec/address-spaces.h"
 
 typedef struct {
similarity index 100%
rename from hw/lm32_hwsetup.h
rename to hw/lm32/lm32_hwsetup.h
similarity index 100%
rename from hw/milkymist-hw.h
rename to hw/lm32/milkymist-hw.h
index c3724dee0662bc9da8fda902137b6733ddbd4e26..d02ca0cc04ced9f83178b314cdfa5634d8c23eb8 100644 (file)
@@ -26,8 +26,8 @@
 #include "hw/loader.h"
 #include "elf.h"
 #include "sysemu/blockdev.h"
-#include "hw/milkymist-hw.h"
-#include "hw/lm32.h"
+#include "milkymist-hw.h"
+#include "lm32.h"
 #include "exec/address-spaces.h"
 
 #define BIOS_FILENAME    "mmone-bios.bin"
index e13b3e13bbf4838c2417ac872925ad30708cbb55..23cb11d70e69c5a8000997aac7824a1b1c080c42 100644 (file)
@@ -31,7 +31,7 @@
 #include "hw/loader.h"
 #include "elf.h"
 
-#include "hw/microblaze_boot.h"
+#include "boot.h"
 
 static struct
 {
similarity index 100%
rename from hw/microblaze_boot.h
rename to hw/microblaze/boot.h
index 79a8a0e17034bd9eb14fb44c8d663d37667fe99b..f61818b42bc77cee2ab9b7a3265b7a8d1ccd9572 100644 (file)
@@ -38,8 +38,8 @@
 #include "exec/address-spaces.h"
 #include "hw/ssi.h"
 
-#include "hw/microblaze_boot.h"
-#include "hw/microblaze_pic_cpu.h"
+#include "boot.h"
+#include "pic_cpu.h"
 
 #include "hw/stream.h"
 
index b38640321b7ae085a1575a8035e11dc4005ebd60..eedd60e38c56082bdf050d38bc91368368d7e0e6 100644 (file)
@@ -34,8 +34,8 @@
 #include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
 
-#include "hw/microblaze_boot.h"
-#include "hw/microblaze_pic_cpu.h"
+#include "boot.h"
+#include "pic_cpu.h"
 
 #define LMB_BRAM_SIZE  (128 * 1024)
 #define FLASH_SIZE     (16 * 1024 * 1024)
index 6248de92bbd5ca5a833c5edd9746130f02ec1410..16902f788088db7deaf9f8f5d7c1d55d7b5f01c4 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #include "hw/hw.h"
-#include "hw/microblaze_pic_cpu.h"
+#include "pic_cpu.h"
 
 #define D(x)
 
index 21a27a6f4435248aca31889acebe4c153e2fd096..155e03df8033e842230389d557a820df6473d2b1 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "hw/hw.h"
 #include "hw/i2c/i2c.h"
-#include "hw/tmp105.h"
+#include "tmp105.h"
 #include "qapi/visitor.h"
 
 static void tmp105_interrupt_update(TMP105State *s)
similarity index 100%
rename from hw/tmp105.h
rename to hw/misc/tmp105.h
index 3f18041b479df2d2a3d14e00a4784d2de40efd0c..e6f46f0c511e804e49589229fb2b78945f18e3d2 100644 (file)
@@ -33,7 +33,7 @@
 #include "sysemu/sysemu.h"
 #include "sysemu/dma.h"
 
-#include "hw/e1000_hw.h"
+#include "e1000_regs.h"
 
 #define E1000_DEBUG
 
similarity index 100%
rename from hw/e1000_hw.h
rename to hw/net/e1000_regs.h
index 0f4e808d141ace27632165a61b011ca4f71cf7db..187497c0ce30154495ea97ebcda003c424287526 100644 (file)
@@ -40,7 +40,7 @@
 #include "qemu/timer.h"
 #include "qemu/sockets.h"
 #include "hw/sparc/sun4m.h"
-#include "hw/pcnet.h"
+#include "pcnet.h"
 #include "trace.h"
 
 typedef struct {
index e4c10dbe25266caa11c3450c0aa419ee2a2fb088..a093aa8bea709588cd17791afdf12c126d380174 100644 (file)
@@ -26,7 +26,7 @@
 #include "hw/isa/isa.h"
 #include "hw/qdev.h"
 #include "net/net.h"
-#include "hw/ne2000.h"
+#include "ne2000.h"
 #include "exec/address-spaces.h"
 
 typedef struct ISANE2000State {
index 7f458311c6cd30cac87b7aa4b0b3b18d18b585a2..33ee03e68e78d668ab9b1ba3934846dea4a2ff71 100644 (file)
@@ -24,7 +24,7 @@
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
 #include "net/net.h"
-#include "hw/ne2000.h"
+#include "ne2000.h"
 #include "hw/loader.h"
 #include "sysemu/sysemu.h"
 
similarity index 100%
rename from hw/ne2000.h
rename to hw/net/ne2000.h
index 61af57ed51ca992cfd5921462bfa6c49246351d3..9df2b875434844cbdda6e821b1fc07f6e8a9f67d 100644 (file)
@@ -33,7 +33,7 @@
 #include "qemu/timer.h"
 #include "sysemu/dma.h"
 
-#include "hw/pcnet.h"
+#include "pcnet.h"
 
 //#define PCNET_DEBUG
 //#define PCNET_DEBUG_IO
index b0b462b02e3151b62f6ee386ac5e3ee0e1cf9c1a..b606d2be3b99ce67bbb42ab25d8db0f0f6973872 100644 (file)
@@ -41,7 +41,7 @@
 #include "qemu/sockets.h"
 #include "sysemu/sysemu.h"
 
-#include "hw/pcnet.h"
+#include "pcnet.h"
 
 //#define PCNET_DEBUG
 //#define PCNET_DEBUG_IO
similarity index 100%
rename from hw/pcnet.h
rename to hw/net/pcnet.h
index 5cff61e09576343532703090df878e7138f651b5..bb541ebb12964e1dc5d4a90319a5bf8a3fa8747a 100644 (file)
@@ -23,7 +23,7 @@
 #include "hw/pci/pci_ids.h"
 #include "hw/pci/msi.h"
 #include "hw/pci/pcie.h"
-#include "hw/ioh3420.h"
+#include "ioh3420.h"
 
 #define PCI_DEVICE_ID_IOH_EPORT         0x3420  /* D0:F0 express mode */
 #define PCI_DEVICE_ID_IOH_REV           0x2
similarity index 100%
rename from hw/ioh3420.h
rename to hw/pci-bridge/ioh3420.h
index b868f56ff9ab29d1c00a61487cc7573151881ca3..1810dd23f23b638744ccc62cb0a30aaeef92dbd4 100644 (file)
@@ -22,7 +22,7 @@
 #include "hw/pci/pci_ids.h"
 #include "hw/pci/msi.h"
 #include "hw/pci/pcie.h"
-#include "hw/xio3130_downstream.h"
+#include "xio3130_downstream.h"
 
 #define PCI_DEVICE_ID_TI_XIO3130D       0x8233  /* downstream port */
 #define XIO3130_REVISION                0x1
index cd5d97d2119397df1d930cabfa34620e9f9e91db..8e0d97a6448eabaee65b2de2ee3c89e9f2713495 100644 (file)
@@ -22,7 +22,7 @@
 #include "hw/pci/pci_ids.h"
 #include "hw/pci/msi.h"
 #include "hw/pci/pcie.h"
-#include "hw/xio3130_upstream.h"
+#include "xio3130_upstream.h"
 
 #define PCI_DEVICE_ID_TI_XIO3130U       0x8232  /* upstream port */
 #define XIO3130_REVISION                0x2
index 6ec3d226bde2e00f6935ac044a1d644002107612..cff458b57464d46c8c01484ee2da9b07024ef161 100644 (file)
@@ -23,7 +23,7 @@
  * THE SOFTWARE.
  */
 
-#include "hw/dec_pci.h"
+#include "dec.h"
 #include "hw/sysbus.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
similarity index 100%
rename from hw/dec_pci.h
rename to hw/pci-host/dec.h
similarity index 100%
rename from hw/ppc405.h
rename to hw/ppc/ppc405.h
index 18a29dbc6636679755c68a9310442a895b131525..8e56b16648f8085c5d643c14f041454cd072670c 100644 (file)
@@ -23,7 +23,7 @@
  */
 #include "hw/hw.h"
 #include "hw/ppc/ppc.h"
-#include "hw/ppc405.h"
+#include "ppc405.h"
 #include "hw/timer/m48t59.h"
 #include "hw/block/flash.h"
 #include "sysemu/sysemu.h"
index 82b8956ea83cbdd452dfec8f8d6baf43e77c3141..c6c909e05e325846433824519765351e6c75d39c 100644 (file)
@@ -23,7 +23,7 @@
  */
 #include "hw/hw.h"
 #include "hw/ppc/ppc.h"
-#include "hw/ppc405.h"
+#include "ppc405.h"
 #include "hw/char/serial.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
index 48a02183d4cb413f2dfb2bf4d3b4de45d4558a8a..a55e7170cc7c30f587a4b0002a41769b65a331ea 100644 (file)
@@ -25,7 +25,7 @@
 #include "exec/address-spaces.h"
 #include "hw/char/serial.h"
 #include "hw/ppc/ppc.h"
-#include "hw/ppc405.h"
+#include "ppc405.h"
 #include "sysemu/sysemu.h"
 #include "hw/sysbus.h"
 
index db52649208276a6971fecd6c3a98085843f7abb5..92b43947f74aaa1d80c3162e6d8d7316b89e604a 100644 (file)
@@ -37,7 +37,7 @@
 
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/ppc4xx.h"
-#include "hw/ppc405.h"
+#include "ppc405.h"
 
 #include "sysemu/blockdev.h"
 #include "hw/xilinx.h"
index f46f800355e50ab696aa885da714b795f161a4a8..14b05520452182a0f882397b5b3996fc12754e9f 100644 (file)
@@ -27,7 +27,7 @@
 #include "block/scsi.h"
 #include "trace.h"
 
-#include "hw/mfi.h"
+#include "mfi.h"
 
 #define MEGASAS_VERSION "1.70"
 #define MEGASAS_MAX_FRAMES 2048         /* Firmware limit at 65535 */
similarity index 100%
rename from hw/mfi.h
rename to hw/scsi/mfi.h
index e92b09a522f570771052597f6d761f7d31cf97a5..999a463a8457d21ad35c9fd0e570f900305b33a8 100644 (file)
 #include "hw/hw.h"
 #include "hw/scsi/scsi.h"
 #include "block/scsi.h"
-#include "hw/srp.h"
+#include "srp.h"
 #include "hw/qdev.h"
 #include "hw/ppc/spapr.h"
 #include "hw/ppc/spapr_vio.h"
-#include "hw/ppc-viosrp.h"
+#include "viosrp.h"
 
 #include <libfdt.h>
 
similarity index 100%
rename from hw/srp.h
rename to hw/scsi/srp.h
similarity index 100%
rename from hw/ppc-viosrp.h
rename to hw/scsi/viosrp.h
index 4a29e6cf7f24cbdd03fc95d810d1cd7e58cad880..91dc9b082db39e9538d09d6be57b3ca395a876e7 100644 (file)
@@ -29,7 +29,7 @@
 #include "block/block_int.h"
 #include "qemu/bitops.h"
 
-#include "hw/sdhci.h"
+#include "sdhci.h"
 
 /* host controller debug messages */
 #ifndef SDHC_DEBUG
similarity index 100%
rename from hw/sdhci.h
rename to hw/sd/sdhci.h
index bcc326a1e0e06ad1c87fee0604a793f9e0de5bd9..256a58c601340b0cf90a2063f163296d57a5b1bc 100644 (file)
@@ -31,7 +31,7 @@
 #include "hw/boards.h"
 #include "hw/pci/pci.h"
 #include "net/net.h"
-#include "hw/sh7750_regs.h"
+#include "sh7750_regs.h"
 #include "hw/ide.h"
 #include "hw/loader.h"
 #include "hw/usb.h"
index d72708ee2794c61b963dc11f99a4363b18fc3c7e..2218b9ce6ad992ef17bf5917de3fd3e37cb98faa 100644 (file)
@@ -26,8 +26,8 @@
 #include "hw/hw.h"
 #include "hw/sh4/sh.h"
 #include "sysemu/sysemu.h"
-#include "hw/sh7750_regs.h"
-#include "hw/sh7750_regnames.h"
+#include "sh7750_regs.h"
+#include "sh7750_regnames.h"
 #include "hw/sh4/sh_intc.h"
 #include "cpu.h"
 #include "exec/address-spaces.h"
index 7a3cdf3248e10e665aaf6a17025b69b932d5871f..52ac1cc781b5358d923d7bf02ed27cbf298e89a8 100644 (file)
@@ -1,7 +1,7 @@
 #include "hw/hw.h"
 #include "hw/sh4/sh.h"
-#include "hw/sh7750_regs.h"
-#include "hw/sh7750_regnames.h"
+#include "sh7750_regs.h"
+#include "sh7750_regnames.h"
 
 #define REGNAME(r) {r, #r},
 
similarity index 100%
rename from hw/sh7750_regs.h
rename to hw/sh4/sh7750_regs.h
index c8f8ba3792bfcf18e114b508858c77b9d118a3ff..29dcd7acbff59355f0a107dbe2330ab99d1d8ff4 100644 (file)
@@ -34,7 +34,7 @@
 #include "qemu/thread.h"
 #include "char/char.h"
 #include "monitor/monitor.h"
-#include "hw/ccid.h"
+#include "ccid.h"
 
 #define DPRINTF(card, lvl, fmt, ...) \
 do {\
index 984bd0bf4c76f7762a38ec22d97275c86e069bf4..5e017ae0ca29d79c756cdf9aaf2252b8a55d0a73 100644 (file)
@@ -11,7 +11,7 @@
 #include "char/char.h"
 #include "qemu/sockets.h"
 #include "monitor/monitor.h"
-#include "hw/ccid.h"
+#include "ccid.h"
 #include "libcacard/vscard_common.h"
 
 #define DPRINTF(card, lvl, fmt, ...)                    \
similarity index 100%
rename from hw/ccid.h
rename to hw/usb/ccid.h
index caebc1c3fffa8e27476184bb41b564a960a141cb..db8ce021514900acf9439929ac3aa42c6f822c07 100644 (file)
@@ -40,7 +40,7 @@
 #include "hw/usb/desc.h"
 #include "monitor/monitor.h"
 
-#include "hw/ccid.h"
+#include "ccid.h"
 
 #define DPRINTF(s, lvl, fmt, ...) \
 do { \
index 943b429d94878094ac81f0403fb8494677e8c722..2b2258809344f3910349dad7b66502935f33dc7c 100644 (file)
@@ -30,7 +30,7 @@
 #include "hw/loader.h"
 #include "sysemu/kvm.h"
 #include "sysemu/blockdev.h"
-#include "hw/virtio-pci.h"
+#include "virtio-pci.h"
 #include "qemu/range.h"
 #include "hw/virtio/virtio-bus.h"
 
similarity index 100%
rename from hw/virtio-pci.h
rename to hw/virtio/virtio-pci.h
index ff2e876b3d5e0ca6012694c240f98884d310837f..743b37b99109fd7c39e95be7f86abf9b259b5a1c 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #include "qemu-common.h"
-#include "hw/xen-host-pci-device.h"
+#include "xen-host-pci-device.h"
 
 #define XEN_HOST_PCI_MAX_EXT_CAP \
     ((PCIE_CONFIG_SPACE_SIZE - PCI_CONFIG_SPACE_SIZE) / (PCI_CAP_SIZEOF + 4))
index 0cc45387ba214a07ef8ef17b5a774eebc31cb51c..c199818dc619c23e49b7d1e6fa5f03178f150f17 100644 (file)
@@ -57,7 +57,7 @@
 #include "hw/pci/pci.h"
 #include "hw/xen/xen.h"
 #include "hw/xen/xen_backend.h"
-#include "hw/xen_pt.h"
+#include "xen_pt.h"
 #include "qemu/range.h"
 #include "exec/address-spaces.h"
 
similarity index 99%
rename from hw/xen_pt.h
rename to hw/xen/xen_pt.h
index d2cac18604f5be205c4a3564969df004394f1182..942dc60cc72f82e37eea03b46f50e6f15c08318a 100644 (file)
@@ -4,7 +4,7 @@
 #include "qemu-common.h"
 #include "hw/xen/xen_common.h"
 #include "hw/pci/pci.h"
-#include "hw/xen-host-pci-device.h"
+#include "xen-host-pci-device.h"
 
 void xen_pt_log(const PCIDevice *d, const char *f, ...) GCC_FMT_ATTR(2, 3);
 
index 3ee2adfb9ebf2097a79af794f6ceee14f999d697..01872db5b708c0f1ea0b0ed1d0ce36536d9c89db 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "qemu/timer.h"
 #include "hw/xen/xen_backend.h"
-#include "hw/xen_pt.h"
+#include "xen_pt.h"
 
 #define XEN_PT_MERGE_VALUE(value, data, val_mask) \
     (((value) & (val_mask)) | ((data) & ~(val_mask)))
index dcdfc5c64d5f07885cf39cf3424ed2b120520a1b..db2c84237f5302afe5c0a369cc76629599ff91e5 100644 (file)
@@ -12,7 +12,7 @@
 #include <sys/mman.h>
 
 #include "hw/xen/xen_backend.h"
-#include "hw/xen_pt.h"
+#include "xen_pt.h"
 #include "hw/i386/apic-msidef.h"
 
 
index 5695897b2337df4d0f8cba93c8c92ded518dddf2..2682eda2ad8728b17de9c24f367d8b95afd8e37e 100644 (file)
@@ -37,7 +37,7 @@
 #include "hw/block/flash.h"
 #include "sysemu/blockdev.h"
 #include "char/char.h"
-#include "hw/xtensa_bootparam.h"
+#include "xtensa_bootparam.h"
 
 typedef struct LxBoardDesc {
     size_t flash_size;