Explorar el Código

Move target-* CPU file into a target/ folder

We've currently got 18 architectures in QEMU, and thus 18 target-xxx
folders in the root folder of the QEMU source tree. More architectures
(e.g. RISC-V, AVR) are likely to be included soon, too, so the main
folder of the QEMU sources slowly gets quite overcrowded with the
target-xxx folders.
To disburden the main folder a little bit, let's move the target-xxx
folders into a dedicated target/ folder, so that target-xxx/ simply
becomes target/xxx/ instead.

Acked-by: Laurent Vivier <laurent@vivier.eu> [m68k part]
Acked-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> [tricore part]
Acked-by: Michael Walle <michael@walle.cc> [lm32 part]
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> [s390x part]
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> [s390x part]
Acked-by: Eduardo Habkost <ehabkost@redhat.com> [i386 part]
Acked-by: Artyom Tarasenko <atar4qemu@gmail.com> [sparc part]
Acked-by: Richard Henderson <rth@twiddle.net> [alpha part]
Acked-by: Max Filippov <jcmvbkbc@gmail.com> [xtensa part]
Reviewed-by: David Gibson <david@gibson.dropbear.id.au> [ppc part]
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> [cris&microblaze part]
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn> [unicore32 part]
Signed-off-by: Thomas Huth <thuth@redhat.com>
Thomas Huth hace 8 años
padre
commit
fcf5ef2ab5
Se han modificado 100 ficheros con 64 adiciones y 66 borrados
  1. 24 24
      MAINTAINERS
  2. 5 5
      Makefile.objs
  3. 2 2
      Makefile.target
  4. 1 3
      disas/cris.c
  5. 1 1
      hw/alpha/alpha_sys.h
  6. 1 1
      hw/arm/strongarm.h
  7. 1 1
      hw/arm/virt-acpi-build.c
  8. 1 1
      hw/i386/acpi-build.c
  9. 1 1
      hw/i386/kvm/apic.c
  10. 1 1
      hw/intc/ioapic.c
  11. 1 1
      hw/misc/hyperv_testdev.c
  12. 1 1
      hw/ppc/fdt.c
  13. 1 1
      hw/ppc/pnv.c
  14. 1 1
      hw/ppc/pnv_core.c
  15. 1 1
      hw/ppc/pnv_lpc.c
  16. 1 1
      hw/ppc/pnv_xscom.c
  17. 3 3
      hw/ppc/spapr_cpu_core.c
  18. 1 1
      hw/sh4/shix.c
  19. 1 1
      include/hw/arm/arm.h
  20. 1 1
      include/hw/arm/exynos4210.h
  21. 1 1
      include/hw/arm/omap.h
  22. 1 1
      include/hw/arm/pxa.h
  23. 1 1
      include/hw/m68k/mcf.h
  24. 1 1
      include/hw/mips/cpudevs.h
  25. 1 1
      include/hw/ppc/fdt.h
  26. 1 1
      include/hw/ppc/ppc.h
  27. 1 1
      include/hw/ppc/spapr_cpu_core.h
  28. 1 1
      include/hw/sh4/sh.h
  29. 4 4
      scripts/analyze-inclusions
  30. 0 0
      target/alpha/Makefile.objs
  31. 0 0
      target/alpha/STATUS
  32. 0 0
      target/alpha/cpu-qom.h
  33. 0 0
      target/alpha/cpu.c
  34. 0 0
      target/alpha/cpu.h
  35. 0 0
      target/alpha/fpu_helper.c
  36. 0 0
      target/alpha/gdbstub.c
  37. 0 0
      target/alpha/helper.c
  38. 0 0
      target/alpha/helper.h
  39. 0 0
      target/alpha/int_helper.c
  40. 0 0
      target/alpha/machine.c
  41. 0 0
      target/alpha/mem_helper.c
  42. 0 0
      target/alpha/sys_helper.c
  43. 0 0
      target/alpha/translate.c
  44. 0 0
      target/alpha/vax_helper.c
  45. 0 0
      target/arm/Makefile.objs
  46. 0 0
      target/arm/arch_dump.c
  47. 0 0
      target/arm/arm-powerctl.c
  48. 0 0
      target/arm/arm-powerctl.h
  49. 0 0
      target/arm/arm-semi.c
  50. 0 0
      target/arm/arm_ldst.h
  51. 0 0
      target/arm/cpu-qom.h
  52. 0 0
      target/arm/cpu.c
  53. 0 0
      target/arm/cpu.h
  54. 0 0
      target/arm/cpu64.c
  55. 0 0
      target/arm/crypto_helper.c
  56. 0 0
      target/arm/gdbstub.c
  57. 0 0
      target/arm/gdbstub64.c
  58. 0 0
      target/arm/helper-a64.c
  59. 0 0
      target/arm/helper-a64.h
  60. 0 0
      target/arm/helper.c
  61. 0 0
      target/arm/helper.h
  62. 1 1
      target/arm/internals.h
  63. 0 0
      target/arm/iwmmxt_helper.c
  64. 0 0
      target/arm/kvm-consts.h
  65. 0 0
      target/arm/kvm-stub.c
  66. 0 0
      target/arm/kvm.c
  67. 0 0
      target/arm/kvm32.c
  68. 0 0
      target/arm/kvm64.c
  69. 0 0
      target/arm/kvm_arm.h
  70. 0 0
      target/arm/machine.c
  71. 0 0
      target/arm/monitor.c
  72. 0 0
      target/arm/neon_helper.c
  73. 0 0
      target/arm/op_addsub.h
  74. 0 0
      target/arm/op_helper.c
  75. 0 0
      target/arm/psci.c
  76. 1 1
      target/arm/trace-events
  77. 0 0
      target/arm/translate-a64.c
  78. 0 0
      target/arm/translate.c
  79. 0 0
      target/arm/translate.h
  80. 0 0
      target/cris/Makefile.objs
  81. 0 0
      target/cris/cpu-qom.h
  82. 0 0
      target/cris/cpu.c
  83. 0 0
      target/cris/cpu.h
  84. 0 0
      target/cris/crisv10-decode.h
  85. 0 0
      target/cris/crisv32-decode.h
  86. 0 0
      target/cris/gdbstub.c
  87. 0 0
      target/cris/helper.c
  88. 0 0
      target/cris/helper.h
  89. 0 0
      target/cris/machine.c
  90. 0 0
      target/cris/mmu.c
  91. 0 0
      target/cris/mmu.h
  92. 0 0
      target/cris/op_helper.c
  93. 0 0
      target/cris/opcode-cris.h
  94. 0 0
      target/cris/translate.c
  95. 0 0
      target/cris/translate_v10.c
  96. 0 0
      target/i386/Makefile.objs
  97. 0 0
      target/i386/TODO
  98. 0 0
      target/i386/arch_dump.c
  99. 0 0
      target/i386/arch_memory_mapping.c
  100. 0 0
      target/i386/bpt_helper.c

+ 24 - 24
MAINTAINERS

@@ -106,7 +106,7 @@ F: include/fpu/
 Alpha
 M: Richard Henderson <rth@twiddle.net>
 S: Maintained
-F: target-alpha/
+F: target/alpha/
 F: hw/alpha/
 F: tests/tcg/alpha/
 F: disas/alpha.c
@@ -115,7 +115,7 @@ ARM
 M: Peter Maydell <peter.maydell@linaro.org>
 L: qemu-arm@nongnu.org
 S: Maintained
-F: target-arm/
+F: target/arm/
 F: hw/arm/
 F: hw/cpu/a*mpcore.c
 F: include/hw/cpu/a*mpcore.h
@@ -126,7 +126,7 @@ F: disas/libvixl/
 CRIS
 M: Edgar E. Iglesias <edgar.iglesias@gmail.com>
 S: Maintained
-F: target-cris/
+F: target/cris/
 F: hw/cris/
 F: include/hw/cris/
 F: tests/tcg/cris/
@@ -135,7 +135,7 @@ F: disas/cris.c
 LM32
 M: Michael Walle <michael@walle.cc>
 S: Maintained
-F: target-lm32/
+F: target/lm32/
 F: disas/lm32.c
 F: hw/lm32/
 F: hw/*/lm32_*
@@ -147,13 +147,13 @@ F: tests/tcg/lm32/
 M68K
 M: Laurent Vivier <laurent@vivier.eu>
 S: Maintained
-F: target-m68k/
+F: target/m68k/
 F: disas/m68k.c
 
 MicroBlaze
 M: Edgar E. Iglesias <edgar.iglesias@gmail.com>
 S: Maintained
-F: target-microblaze/
+F: target/microblaze/
 F: hw/microblaze/
 F: disas/microblaze.c
 
@@ -161,7 +161,7 @@ MIPS
 M: Aurelien Jarno <aurelien@aurel32.net>
 M: Yongbok Kim <yongbok.kim@imgtec.com>
 S: Maintained
-F: target-mips/
+F: target/mips/
 F: hw/mips/
 F: hw/misc/mips_*
 F: hw/intc/mips_gic.c
@@ -176,7 +176,7 @@ F: disas/mips.c
 Moxie
 M: Anthony Green <green@moxielogic.com>
 S: Maintained
-F: target-moxie/
+F: target/moxie/
 F: disas/moxie.c
 F: hw/moxie/
 F: default-configs/moxie-softmmu.mak
@@ -184,7 +184,7 @@ F: default-configs/moxie-softmmu.mak
 OpenRISC
 M: Jia Liu <proljc@gmail.com>
 S: Maintained
-F: target-openrisc/
+F: target/openrisc/
 F: hw/openrisc/
 F: tests/tcg/openrisc/
 
@@ -193,7 +193,7 @@ M: David Gibson <david@gibson.dropbear.id.au>
 M: Alexander Graf <agraf@suse.de>
 L: qemu-ppc@nongnu.org
 S: Maintained
-F: target-ppc/
+F: target/ppc/
 F: hw/ppc/
 F: include/hw/ppc/
 F: disas/ppc.c
@@ -202,14 +202,14 @@ S390
 M: Richard Henderson <rth@twiddle.net>
 M: Alexander Graf <agraf@suse.de>
 S: Maintained
-F: target-s390x/
+F: target/s390x/
 F: hw/s390x/
 F: disas/s390.c
 
 SH4
 M: Aurelien Jarno <aurelien@aurel32.net>
 S: Odd Fixes
-F: target-sh4/
+F: target/sh4/
 F: hw/sh4/
 F: disas/sh4.c
 F: include/hw/sh4/
@@ -218,7 +218,7 @@ SPARC
 M: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
 M: Artyom Tarasenko <atar4qemu@gmail.com>
 S: Maintained
-F: target-sparc/
+F: target/sparc/
 F: hw/sparc/
 F: hw/sparc64/
 F: disas/sparc.c
@@ -226,7 +226,7 @@ F: disas/sparc.c
 UniCore32
 M: Guan Xuetao <gxt@mprc.pku.edu.cn>
 S: Maintained
-F: target-unicore32/
+F: target/unicore32/
 F: hw/unicore32/
 F: include/hw/unicore32/
 
@@ -235,7 +235,7 @@ M: Paolo Bonzini <pbonzini@redhat.com>
 M: Richard Henderson <rth@twiddle.net>
 M: Eduardo Habkost <ehabkost@redhat.com>
 S: Maintained
-F: target-i386/
+F: target/i386/
 F: hw/i386/
 F: disas/i386.c
 
@@ -243,14 +243,14 @@ Xtensa
 M: Max Filippov <jcmvbkbc@gmail.com>
 W: http://wiki.osll.spb.ru/doku.php?id=etc:users:jcmvbkbc:qemu-target-xtensa
 S: Maintained
-F: target-xtensa/
+F: target/xtensa/
 F: hw/xtensa/
 F: tests/tcg/xtensa/
 
 TriCore
 M: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
 S: Maintained
-F: target-tricore/
+F: target/tricore/
 F: hw/tricore/
 F: include/hw/tricore/
 
@@ -269,26 +269,26 @@ ARM
 M: Peter Maydell <peter.maydell@linaro.org>
 L: qemu-arm@nongnu.org
 S: Maintained
-F: target-arm/kvm.c
+F: target/arm/kvm.c
 
 MIPS
 M: James Hogan <james.hogan@imgtec.com>
 S: Maintained
-F: target-mips/kvm.c
+F: target/mips/kvm.c
 
 PPC
 M: Alexander Graf <agraf@suse.de>
 S: Maintained
-F: target-ppc/kvm.c
+F: target/ppc/kvm.c
 
 S390
 M: Christian Borntraeger <borntraeger@de.ibm.com>
 M: Cornelia Huck <cornelia.huck@de.ibm.com>
 M: Alexander Graf <agraf@suse.de>
 S: Maintained
-F: target-s390x/kvm.c
-F: target-s390x/ioinst.[ch]
-F: target-s390x/machine.c
+F: target/s390x/kvm.c
+F: target/s390x/ioinst.[ch]
+F: target/s390x/machine.c
 F: hw/intc/s390_flic.c
 F: hw/intc/s390_flic_kvm.c
 F: include/hw/s390x/s390_flic.h
@@ -301,7 +301,7 @@ M: Paolo Bonzini <pbonzini@redhat.com>
 M: Marcelo Tosatti <mtosatti@redhat.com>
 L: kvm@vger.kernel.org
 S: Supported
-F: target-i386/kvm.c
+F: target/i386/kvm.c
 
 Guest CPU Cores (Xen):
 ----------------------

+ 5 - 5
Makefile.objs

@@ -155,11 +155,11 @@ trace-events-y += hw/alpha/trace-events
 trace-events-y += ui/trace-events
 trace-events-y += audio/trace-events
 trace-events-y += net/trace-events
-trace-events-y += target-arm/trace-events
-trace-events-y += target-i386/trace-events
-trace-events-y += target-sparc/trace-events
-trace-events-y += target-s390x/trace-events
-trace-events-y += target-ppc/trace-events
+trace-events-y += target/arm/trace-events
+trace-events-y += target/i386/trace-events
+trace-events-y += target/sparc/trace-events
+trace-events-y += target/s390x/trace-events
+trace-events-y += target/ppc/trace-events
 trace-events-y += qom/trace-events
 trace-events-y += linux-user/trace-events
 trace-events-y += qapi/trace-events

+ 2 - 2
Makefile.target

@@ -11,7 +11,7 @@ $(call set-vpath, $(SRC_PATH):$(BUILD_DIR))
 ifdef CONFIG_LINUX
 QEMU_CFLAGS += -I../linux-headers
 endif
-QEMU_CFLAGS += -I.. -I$(SRC_PATH)/target-$(TARGET_BASE_ARCH) -DNEED_CPU_H
+QEMU_CFLAGS += -I.. -I$(SRC_PATH)/target/$(TARGET_BASE_ARCH) -DNEED_CPU_H
 
 QEMU_CFLAGS+=-I$(SRC_PATH)/include
 
@@ -92,7 +92,7 @@ obj-$(CONFIG_TCG_INTERPRETER) += tci.o
 obj-y += tcg/tcg-common.o
 obj-$(CONFIG_TCG_INTERPRETER) += disas/tci.o
 obj-y += fpu/softfloat.o
-obj-y += target-$(TARGET_BASE_ARCH)/
+obj-y += target/$(TARGET_BASE_ARCH)/
 obj-y += disas.o
 obj-y += tcg-runtime.o
 obj-$(call notempty,$(TARGET_XML_FILES)) += gdbstub-xml.o

+ 1 - 3
disas/cris.c

@@ -21,9 +21,7 @@
 #include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "disas/bfd.h"
-//#include "sysdep.h"
-#include "target-cris/opcode-cris.h"
-//#include "libiberty.h"
+#include "target/cris/opcode-cris.h"
 
 #define CONST_STRNEQ(STR1,STR2) (strncmp ((STR1), (STR2), sizeof (STR2) - 1) == 0)
 

+ 1 - 1
hw/alpha/alpha_sys.h

@@ -3,7 +3,7 @@
 #ifndef HW_ALPHA_SYS_H
 #define HW_ALPHA_SYS_H
 
-#include "target-alpha/cpu-qom.h"
+#include "target/alpha/cpu-qom.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
 #include "hw/ide.h"

+ 1 - 1
hw/arm/strongarm.h

@@ -2,7 +2,7 @@
 #define STRONGARM_H
 
 #include "exec/memory.h"
-#include "target-arm/cpu-qom.h"
+#include "target/arm/cpu-qom.h"
 
 #define SA_CS0          0x00000000
 #define SA_CS1          0x08000000

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

@@ -33,7 +33,7 @@
 #include "qemu/bitmap.h"
 #include "trace.h"
 #include "qom/cpu.h"
-#include "target-arm/cpu.h"
+#include "target/arm/cpu.h"
 #include "hw/acpi/acpi-defs.h"
 #include "hw/acpi/acpi.h"
 #include "hw/nvram/fw_cfg.h"

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

@@ -29,7 +29,7 @@
 #include "hw/pci/pci.h"
 #include "qom/cpu.h"
 #include "hw/i386/pc.h"
-#include "target-i386/cpu.h"
+#include "target/i386/cpu.h"
 #include "hw/timer/hpet.h"
 #include "hw/acpi/acpi-defs.h"
 #include "hw/acpi/acpi.h"

+ 1 - 1
hw/i386/kvm/apic.c

@@ -15,7 +15,7 @@
 #include "hw/i386/apic_internal.h"
 #include "hw/pci/msi.h"
 #include "sysemu/kvm.h"
-#include "target-i386/kvm_i386.h"
+#include "target/i386/kvm_i386.h"
 
 static inline void kvm_apic_set_reg(struct kvm_lapic_state *kapic,
                                     int reg_id, uint32_t val)

+ 1 - 1
hw/intc/ioapic.c

@@ -30,7 +30,7 @@
 #include "hw/i386/ioapic_internal.h"
 #include "include/hw/pci/msi.h"
 #include "sysemu/kvm.h"
-#include "target-i386/cpu.h"
+#include "target/i386/cpu.h"
 #include "hw/i386/apic-msidef.h"
 #include "hw/i386/x86-iommu.h"
 

+ 1 - 1
hw/misc/hyperv_testdev.c

@@ -17,7 +17,7 @@
 #include "hw/qdev.h"
 #include "hw/isa/isa.h"
 #include "sysemu/kvm.h"
-#include "target-i386/hyperv.h"
+#include "target/i386/hyperv.h"
 #include "kvm_i386.h"
 
 #define HV_TEST_DEV_MAX_SINT_ROUTES 64

+ 1 - 1
hw/ppc/fdt.c

@@ -9,7 +9,7 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "target-ppc/cpu.h"
+#include "target/ppc/cpu.h"
 
 #include "hw/ppc/fdt.h"
 

+ 1 - 1
hw/ppc/pnv.c

@@ -22,7 +22,7 @@
 #include "sysemu/sysemu.h"
 #include "sysemu/numa.h"
 #include "hw/hw.h"
-#include "target-ppc/cpu.h"
+#include "target/ppc/cpu.h"
 #include "qemu/log.h"
 #include "hw/ppc/fdt.h"
 #include "hw/ppc/ppc.h"

+ 1 - 1
hw/ppc/pnv_core.c

@@ -20,7 +20,7 @@
 #include "sysemu/sysemu.h"
 #include "qapi/error.h"
 #include "qemu/log.h"
-#include "target-ppc/cpu.h"
+#include "target/ppc/cpu.h"
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/pnv.h"
 #include "hw/ppc/pnv_core.h"

+ 1 - 1
hw/ppc/pnv_lpc.c

@@ -19,7 +19,7 @@
 
 #include "qemu/osdep.h"
 #include "sysemu/sysemu.h"
-#include "target-ppc/cpu.h"
+#include "target/ppc/cpu.h"
 #include "qapi/error.h"
 #include "qemu/log.h"
 

+ 1 - 1
hw/ppc/pnv_xscom.c

@@ -21,7 +21,7 @@
 #include "hw/hw.h"
 #include "qemu/log.h"
 #include "sysemu/kvm.h"
-#include "target-ppc/cpu.h"
+#include "target/ppc/cpu.h"
 #include "hw/sysbus.h"
 
 #include "hw/ppc/fdt.h"

+ 3 - 3
hw/ppc/spapr_cpu_core.c

@@ -8,14 +8,14 @@
  */
 #include "hw/cpu/core.h"
 #include "hw/ppc/spapr_cpu_core.h"
-#include "target-ppc/cpu.h"
+#include "target/ppc/cpu.h"
 #include "hw/ppc/spapr.h"
 #include "hw/boards.h"
 #include "qapi/error.h"
 #include "sysemu/cpus.h"
-#include "target-ppc/kvm_ppc.h"
+#include "target/ppc/kvm_ppc.h"
 #include "hw/ppc/ppc.h"
-#include "target-ppc/mmu-hash64.h"
+#include "target/ppc/mmu-hash64.h"
 #include "sysemu/numa.h"
 
 static void spapr_cpu_reset(void *opaque)

+ 1 - 1
hw/sh4/shix.c

@@ -25,7 +25,7 @@
    Shix 2.0 board by Alexis Polti, described at
    https://web.archive.org/web/20070917001736/perso.enst.fr/~polti/realisations/shix20
 
-   More information in target-sh4/README.sh4
+   More information in target/sh4/README.sh4
 */
 #include "qemu/osdep.h"
 #include "qapi/error.h"

+ 1 - 1
include/hw/arm/arm.h

@@ -12,7 +12,7 @@
 #define HW_ARM_H
 
 #include "exec/memory.h"
-#include "target-arm/cpu-qom.h"
+#include "target/arm/cpu-qom.h"
 #include "hw/irq.h"
 #include "qemu/notify.h"
 

+ 1 - 1
include/hw/arm/exynos4210.h

@@ -27,7 +27,7 @@
 
 #include "qemu-common.h"
 #include "exec/memory.h"
-#include "target-arm/cpu-qom.h"
+#include "target/arm/cpu-qom.h"
 
 #define EXYNOS4210_NCPUS                    2
 

+ 1 - 1
include/hw/arm/omap.h

@@ -20,7 +20,7 @@
 #include "exec/memory.h"
 # define hw_omap_h		"omap.h"
 #include "hw/irq.h"
-#include "target-arm/cpu-qom.h"
+#include "target/arm/cpu-qom.h"
 
 # define OMAP_EMIFS_BASE	0x00000000
 # define OMAP2_Q0_BASE		0x00000000

+ 1 - 1
include/hw/arm/pxa.h

@@ -11,7 +11,7 @@
 #define PXA_H
 
 #include "exec/memory.h"
-#include "target-arm/cpu-qom.h"
+#include "target/arm/cpu-qom.h"
 
 /* Interrupt numbers */
 # define PXA2XX_PIC_SSP3	0

+ 1 - 1
include/hw/m68k/mcf.h

@@ -2,7 +2,7 @@
 #define HW_MCF_H
 /* Motorola ColdFire device prototypes.  */
 
-#include "target-m68k/cpu-qom.h"
+#include "target/m68k/cpu-qom.h"
 
 struct MemoryRegion;
 

+ 1 - 1
include/hw/mips/cpudevs.h

@@ -1,7 +1,7 @@
 #ifndef HW_MIPS_CPUDEVS_H
 #define HW_MIPS_CPUDEVS_H
 
-#include "target-mips/cpu-qom.h"
+#include "target/mips/cpu-qom.h"
 
 /* Definitions for MIPS CPU internal devices.  */
 

+ 1 - 1
include/hw/ppc/fdt.h

@@ -11,7 +11,7 @@
 #define PPC_FDT_H
 
 #include "qemu/error-report.h"
-#include "target-ppc/cpu-qom.h"
+#include "target/ppc/cpu-qom.h"
 
 #define _FDT(exp)                                                  \
     do {                                                           \

+ 1 - 1
include/hw/ppc/ppc.h

@@ -1,7 +1,7 @@
 #ifndef HW_PPC_H
 #define HW_PPC_H
 
-#include "target-ppc/cpu-qom.h"
+#include "target/ppc/cpu-qom.h"
 
 void ppc_set_irq(PowerPCCPU *cpu, int n_IRQ, int level);
 

+ 1 - 1
include/hw/ppc/spapr_cpu_core.h

@@ -11,7 +11,7 @@
 
 #include "hw/qdev.h"
 #include "hw/cpu/core.h"
-#include "target-ppc/cpu-qom.h"
+#include "target/ppc/cpu-qom.h"
 
 #define TYPE_SPAPR_CPU_CORE "spapr-cpu-core"
 #define SPAPR_CPU_CORE(obj) \

+ 1 - 1
include/hw/sh4/sh.h

@@ -3,7 +3,7 @@
 /* Definitions for SH board emulation.  */
 
 #include "hw/sh4/sh_intc.h"
-#include "target-sh4/cpu-qom.h"
+#include "target/sh4/cpu-qom.h"
 
 #define A7ADDR(x) ((x) & 0x1fffffff)
 #define P4ADDR(x) ((x) | 0xe0000000)

+ 4 - 4
scripts/analyze-inclusions

@@ -48,7 +48,7 @@ grep_include() {
 echo Found $(find . -name "*.d" | wc -l) object files
 echo $(grep_include -F 'include/qemu-common.h') files include qemu-common.h
 echo $(grep_include -F 'hw/hw.h') files include hw/hw.h
-echo $(grep_include 'target-[a-z0-9]*/cpu\.h') files include cpu.h
+echo $(grep_include 'target/[a-z0-9]*/cpu\.h') files include cpu.h
 echo $(grep_include -F 'qapi-types.h') files include qapi-types.h
 echo $(grep_include -F 'trace/generated-tracers.h') files include generated-tracers.h
 echo $(grep_include -F 'qapi/error.h') files include qapi/error.h
@@ -95,8 +95,8 @@ analyze -include ../include/qemu/osdep.h ../include/hw/hw.h
 echo trace/generated-tracers.h:
 analyze -include ../include/qemu/osdep.h trace/generated-tracers.h
 
-echo target-i386/cpu.h:
-analyze -DNEED_CPU_H -I../target-i386 -Ii386-softmmu -include ../include/qemu/osdep.h ../target-i386/cpu.h
+echo target/i386/cpu.h:
+analyze -DNEED_CPU_H -I../target/i386 -Ii386-softmmu -include ../include/qemu/osdep.h ../target/i386/cpu.h
 
 echo hw/hw.h + NEED_CPU_H:
-analyze -DNEED_CPU_H -I../target-i386 -Ii386-softmmu -include ../include/qemu/osdep.h ../include/hw/hw.h
+analyze -DNEED_CPU_H -I../target/i386 -Ii386-softmmu -include ../include/qemu/osdep.h ../include/hw/hw.h

+ 0 - 0
target-alpha/Makefile.objs → target/alpha/Makefile.objs


+ 0 - 0
target-alpha/STATUS → target/alpha/STATUS


+ 0 - 0
target-alpha/cpu-qom.h → target/alpha/cpu-qom.h


+ 0 - 0
target-alpha/cpu.c → target/alpha/cpu.c


+ 0 - 0
target-alpha/cpu.h → target/alpha/cpu.h


+ 0 - 0
target-alpha/fpu_helper.c → target/alpha/fpu_helper.c


+ 0 - 0
target-alpha/gdbstub.c → target/alpha/gdbstub.c


+ 0 - 0
target-alpha/helper.c → target/alpha/helper.c


+ 0 - 0
target-alpha/helper.h → target/alpha/helper.h


+ 0 - 0
target-alpha/int_helper.c → target/alpha/int_helper.c


+ 0 - 0
target-alpha/machine.c → target/alpha/machine.c


+ 0 - 0
target-alpha/mem_helper.c → target/alpha/mem_helper.c


+ 0 - 0
target-alpha/sys_helper.c → target/alpha/sys_helper.c


+ 0 - 0
target-alpha/translate.c → target/alpha/translate.c


+ 0 - 0
target-alpha/vax_helper.c → target/alpha/vax_helper.c


+ 0 - 0
target-arm/Makefile.objs → target/arm/Makefile.objs


+ 0 - 0
target-arm/arch_dump.c → target/arm/arch_dump.c


+ 0 - 0
target-arm/arm-powerctl.c → target/arm/arm-powerctl.c


+ 0 - 0
target-arm/arm-powerctl.h → target/arm/arm-powerctl.h


+ 0 - 0
target-arm/arm-semi.c → target/arm/arm-semi.c


+ 0 - 0
target-arm/arm_ldst.h → target/arm/arm_ldst.h


+ 0 - 0
target-arm/cpu-qom.h → target/arm/cpu-qom.h


+ 0 - 0
target-arm/cpu.c → target/arm/cpu.c


+ 0 - 0
target-arm/cpu.h → target/arm/cpu.h


+ 0 - 0
target-arm/cpu64.c → target/arm/cpu64.c


+ 0 - 0
target-arm/crypto_helper.c → target/arm/crypto_helper.c


+ 0 - 0
target-arm/gdbstub.c → target/arm/gdbstub.c


+ 0 - 0
target-arm/gdbstub64.c → target/arm/gdbstub64.c


+ 0 - 0
target-arm/helper-a64.c → target/arm/helper-a64.c


+ 0 - 0
target-arm/helper-a64.h → target/arm/helper-a64.h


+ 0 - 0
target-arm/helper.c → target/arm/helper.c


+ 0 - 0
target-arm/helper.h → target/arm/helper.h


+ 1 - 1
target-arm/internals.h → target/arm/internals.h

@@ -18,7 +18,7 @@
  * <http://www.gnu.org/licenses/gpl-2.0.html>
  *
  * This header defines functions, types, etc which need to be shared
- * between different source files within target-arm/ but which are
+ * between different source files within target/arm/ but which are
  * private to it and not required by the rest of QEMU.
  */
 

+ 0 - 0
target-arm/iwmmxt_helper.c → target/arm/iwmmxt_helper.c


+ 0 - 0
target-arm/kvm-consts.h → target/arm/kvm-consts.h


+ 0 - 0
target-arm/kvm-stub.c → target/arm/kvm-stub.c


+ 0 - 0
target-arm/kvm.c → target/arm/kvm.c


+ 0 - 0
target-arm/kvm32.c → target/arm/kvm32.c


+ 0 - 0
target-arm/kvm64.c → target/arm/kvm64.c


+ 0 - 0
target-arm/kvm_arm.h → target/arm/kvm_arm.h


+ 0 - 0
target-arm/machine.c → target/arm/machine.c


+ 0 - 0
target-arm/monitor.c → target/arm/monitor.c


+ 0 - 0
target-arm/neon_helper.c → target/arm/neon_helper.c


+ 0 - 0
target-arm/op_addsub.h → target/arm/op_addsub.h


+ 0 - 0
target-arm/op_helper.c → target/arm/op_helper.c


+ 0 - 0
target-arm/psci.c → target/arm/psci.c


+ 1 - 1
target-arm/trace-events → target/arm/trace-events

@@ -1,6 +1,6 @@
 # See docs/tracing.txt for syntax documentation.
 
-# target-arm/helper.c
+# target/arm/helper.c
 arm_gt_recalc(int timer, int irqstate, uint64_t nexttick) "gt recalc: timer %d irqstate %d next tick %" PRIx64
 arm_gt_recalc_disabled(int timer) "gt recalc: timer %d irqstate 0 timer disabled"
 arm_gt_cval_write(int timer, uint64_t value) "gt_cval_write: timer %d value %" PRIx64

+ 0 - 0
target-arm/translate-a64.c → target/arm/translate-a64.c


+ 0 - 0
target-arm/translate.c → target/arm/translate.c


+ 0 - 0
target-arm/translate.h → target/arm/translate.h


+ 0 - 0
target-cris/Makefile.objs → target/cris/Makefile.objs


+ 0 - 0
target-cris/cpu-qom.h → target/cris/cpu-qom.h


+ 0 - 0
target-cris/cpu.c → target/cris/cpu.c


+ 0 - 0
target-cris/cpu.h → target/cris/cpu.h


+ 0 - 0
target-cris/crisv10-decode.h → target/cris/crisv10-decode.h


+ 0 - 0
target-cris/crisv32-decode.h → target/cris/crisv32-decode.h


+ 0 - 0
target-cris/gdbstub.c → target/cris/gdbstub.c


+ 0 - 0
target-cris/helper.c → target/cris/helper.c


+ 0 - 0
target-cris/helper.h → target/cris/helper.h


+ 0 - 0
target-cris/machine.c → target/cris/machine.c


+ 0 - 0
target-cris/mmu.c → target/cris/mmu.c


+ 0 - 0
target-cris/mmu.h → target/cris/mmu.h


+ 0 - 0
target-cris/op_helper.c → target/cris/op_helper.c


+ 0 - 0
target-cris/opcode-cris.h → target/cris/opcode-cris.h


+ 0 - 0
target-cris/translate.c → target/cris/translate.c


+ 0 - 0
target-cris/translate_v10.c → target/cris/translate_v10.c


+ 0 - 0
target-i386/Makefile.objs → target/i386/Makefile.objs


+ 0 - 0
target-i386/TODO → target/i386/TODO


+ 0 - 0
target-i386/arch_dump.c → target/i386/arch_dump.c


+ 0 - 0
target-i386/arch_memory_mapping.c → target/i386/arch_memory_mapping.c


+ 0 - 0
target-i386/bpt_helper.c → target/i386/bpt_helper.c


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio