Move target-* CPU file into a target/ folder
Subsystems (2)
cover 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.
Thus I'd like to suggest that we move the target-xxx folders into a dedicated target/ folder, so that target-xxx/ simply becomes target/xxx/ instead.
The first patch is the most important one here, it prepares the build system to be able to deal with both, target-xxx and target/xxx folders. Once that has been applied, each target architecture could be moved to the target/ folder when it is convenient for the subsytem maintainer to do the move (i.e. we do not have to move all files immediately in one go). So if we agree to do this change and the first patch has been committed, I could rather send the following patches step by step to the maintainers so they can queue the patch for their subsystem for a good point in time. And new architectures like RISC-V and AVR could start in the target/ folder immediately instead.
So please provide some feedback: Is this a good idea? Or do you consider this rather just as unnecessary code churn instead?
(Note: This patch series does also not contain all targets yet, I first would like to get some feedback before continuing this work)
Thomas Huth (11):
Makefile: Allow CPU targets to reside in target/ folder, too
tilegx: Move CPU files to target/ folder
m68k: Move CPU files to target/ folder
alpha: Move CPU files to target/ folder
arm: Move CPU files to target/ folder
ppc: Move CPU files to target/ folder
i386: Move CPU files to target/ folder
microblaze: Move CPU files to target/ folder
mips: Move CPU files to target/ folder
s390x: Move CPU files to target/ folder
sparc: Move CPU files to target/ folder
MAINTAINERS | 32 +++++++++++-----------
Makefile.objs | 10 +++----
Makefile.target | 10 +++++--
hw/alpha/alpha_sys.h | 2 +-
hw/arm/strongarm.h | 2 +-
hw/arm/virt-acpi-build.c | 2 +-
hw/i386/acpi-build.c | 2 +-
hw/i386/kvm/apic.c | 2 +-
hw/intc/ioapic.c | 2 +-
hw/misc/hyperv_testdev.c | 2 +-
hw/ppc/fdt.c | 2 +-
hw/ppc/pnv.c | 2 +-
hw/ppc/pnv_core.c | 2 +-
hw/ppc/pnv_lpc.c | 2 +-
hw/ppc/pnv_xscom.c | 2 +-
hw/ppc/spapr_cpu_core.c | 6 ++--
include/hw/arm/arm.h | 2 +-
include/hw/arm/exynos4210.h | 2 +-
include/hw/arm/omap.h | 2 +-
include/hw/arm/pxa.h | 2 +-
include/hw/m68k/mcf.h | 2 +-
include/hw/mips/cpudevs.h | 2 +-
include/hw/ppc/fdt.h | 2 +-
include/hw/ppc/ppc.h | 2 +-
include/hw/ppc/spapr_cpu_core.h | 2 +-
scripts/analyze-inclusions | 6 ++--
{target-alpha => target/alpha}/Makefile.objs | 0
{target-alpha => target/alpha}/STATUS | 0
{target-alpha => target/alpha}/cpu-qom.h | 0
{target-alpha => target/alpha}/cpu.c | 0
{target-alpha => target/alpha}/cpu.h | 0
{target-alpha => target/alpha}/fpu_helper.c | 0
{target-alpha => target/alpha}/gdbstub.c | 0
{target-alpha => target/alpha}/helper.c | 0
{target-alpha => target/alpha}/helper.h | 0
{target-alpha => target/alpha}/int_helper.c | 0
{target-alpha => target/alpha}/machine.c | 0
{target-alpha => target/alpha}/mem_helper.c | 0
{target-alpha => target/alpha}/sys_helper.c | 0
{target-alpha => target/alpha}/translate.c | 0
{target-alpha => target/alpha}/vax_helper.c | 0
{target-arm => target/arm}/Makefile.objs | 0
{target-arm => target/arm}/arch_dump.c | 0
{target-arm => target/arm}/arm-powerctl.c | 0
{target-arm => target/arm}/arm-powerctl.h | 0
{target-arm => target/arm}/arm-semi.c | 0
{target-arm => target/arm}/arm_ldst.h | 0
{target-arm => target/arm}/cpu-qom.h | 0
{target-arm => target/arm}/cpu.c | 0
{target-arm => target/arm}/cpu.h | 0
{target-arm => target/arm}/cpu64.c | 0
{target-arm => target/arm}/crypto_helper.c | 0
{target-arm => target/arm}/gdbstub.c | 0
{target-arm => target/arm}/gdbstub64.c | 0
{target-arm => target/arm}/helper-a64.c | 0
{target-arm => target/arm}/helper-a64.h | 0
{target-arm => target/arm}/helper.c | 0
{target-arm => target/arm}/helper.h | 0
{target-arm => target/arm}/internals.h | 0
{target-arm => target/arm}/iwmmxt_helper.c | 0
{target-arm => target/arm}/kvm-consts.h | 0
{target-arm => target/arm}/kvm-stub.c | 0
{target-arm => target/arm}/kvm.c | 0
{target-arm => target/arm}/kvm32.c | 0
{target-arm => target/arm}/kvm64.c | 0
{target-arm => target/arm}/kvm_arm.h | 0
{target-arm => target/arm}/machine.c | 0
{target-arm => target/arm}/monitor.c | 0
{target-arm => target/arm}/neon_helper.c | 0
{target-arm => target/arm}/op_addsub.h | 0
{target-arm => target/arm}/op_helper.c | 0
{target-arm => target/arm}/psci.c | 0
{target-arm => target/arm}/trace-events | 2 +-
{target-arm => target/arm}/translate-a64.c | 0
{target-arm => target/arm}/translate.c | 0
{target-arm => target/arm}/translate.h | 0
{target-i386 => target/i386}/Makefile.objs | 0
{target-i386 => target/i386}/TODO | 0
{target-i386 => target/i386}/arch_dump.c | 0
{target-i386 => target/i386}/arch_memory_mapping.c | 0
{target-i386 => target/i386}/bpt_helper.c | 0
{target-i386 => target/i386}/cc_helper.c | 0
{target-i386 => target/i386}/cc_helper_template.h | 0
{target-i386 => target/i386}/cpu-qom.h | 0
{target-i386 => target/i386}/cpu.c | 0
{target-i386 => target/i386}/cpu.h | 0
{target-i386 => target/i386}/excp_helper.c | 0
{target-i386 => target/i386}/fpu_helper.c | 0
{target-i386 => target/i386}/gdbstub.c | 0
{target-i386 => target/i386}/helper.c | 0
{target-i386 => target/i386}/helper.h | 0
{target-i386 => target/i386}/hyperv.c | 0
{target-i386 => target/i386}/hyperv.h | 0
{target-i386 => target/i386}/int_helper.c | 0
{target-i386 => target/i386}/kvm-stub.c | 0
{target-i386 => target/i386}/kvm.c | 0
{target-i386 => target/i386}/kvm_i386.h | 0
{target-i386 => target/i386}/machine.c | 0
{target-i386 => target/i386}/mem_helper.c | 0
{target-i386 => target/i386}/misc_helper.c | 0
{target-i386 => target/i386}/monitor.c | 0
{target-i386 => target/i386}/mpx_helper.c | 0
{target-i386 => target/i386}/ops_sse.h | 0
{target-i386 => target/i386}/ops_sse_header.h | 0
{target-i386 => target/i386}/seg_helper.c | 0
.../i386}/shift_helper_template.h | 0
{target-i386 => target/i386}/smm_helper.c | 0
{target-i386 => target/i386}/svm.h | 0
{target-i386 => target/i386}/svm_helper.c | 0
{target-i386 => target/i386}/trace-events | 2 +-
{target-i386 => target/i386}/translate.c | 0
{target-m68k => target/m68k}/Makefile.objs | 0
{target-m68k => target/m68k}/cpu-qom.h | 0
{target-m68k => target/m68k}/cpu.c | 0
{target-m68k => target/m68k}/cpu.h | 0
{target-m68k => target/m68k}/gdbstub.c | 0
{target-m68k => target/m68k}/helper.c | 0
{target-m68k => target/m68k}/helper.h | 0
{target-m68k => target/m68k}/m68k-semi.c | 0
{target-m68k => target/m68k}/op_helper.c | 0
{target-m68k => target/m68k}/qregs.def | 0
{target-m68k => target/m68k}/translate.c | 0
.../microblaze}/Makefile.objs | 0
{target-microblaze => target/microblaze}/cpu-qom.h | 0
{target-microblaze => target/microblaze}/cpu.c | 0
{target-microblaze => target/microblaze}/cpu.h | 0
{target-microblaze => target/microblaze}/gdbstub.c | 0
{target-microblaze => target/microblaze}/helper.c | 0
{target-microblaze => target/microblaze}/helper.h | 0
.../microblaze}/microblaze-decode.h | 0
{target-microblaze => target/microblaze}/mmu.c | 0
{target-microblaze => target/microblaze}/mmu.h | 0
.../microblaze}/op_helper.c | 0
.../microblaze}/translate.c | 0
{target-mips => target/mips}/Makefile.objs | 0
{target-mips => target/mips}/TODO | 0
{target-mips => target/mips}/cpu-qom.h | 0
{target-mips => target/mips}/cpu.c | 0
{target-mips => target/mips}/cpu.h | 0
{target-mips => target/mips}/dsp_helper.c | 0
{target-mips => target/mips}/gdbstub.c | 0
{target-mips => target/mips}/helper.c | 0
{target-mips => target/mips}/helper.h | 0
{target-mips => target/mips}/kvm.c | 0
{target-mips => target/mips}/kvm_mips.h | 0
{target-mips => target/mips}/lmi_helper.c | 0
{target-mips => target/mips}/machine.c | 0
{target-mips => target/mips}/mips-defs.h | 0
{target-mips => target/mips}/mips-semi.c | 0
{target-mips => target/mips}/msa_helper.c | 0
{target-mips => target/mips}/op_helper.c | 0
{target-mips => target/mips}/translate.c | 0
{target-mips => target/mips}/translate_init.c | 0
{target-ppc => target/ppc}/Makefile.objs | 0
{target-ppc => target/ppc}/STATUS | 0
{target-ppc => target/ppc}/arch_dump.c | 0
{target-ppc => target/ppc}/cpu-models.c | 0
{target-ppc => target/ppc}/cpu-models.h | 0
{target-ppc => target/ppc}/cpu-qom.h | 0
{target-ppc => target/ppc}/cpu.h | 0
{target-ppc => target/ppc}/dfp_helper.c | 0
{target-ppc => target/ppc}/excp_helper.c | 0
{target-ppc => target/ppc}/fpu_helper.c | 0
{target-ppc => target/ppc}/gdbstub.c | 0
{target-ppc => target/ppc}/helper.h | 0
{target-ppc => target/ppc}/helper_regs.h | 0
{target-ppc => target/ppc}/int_helper.c | 0
{target-ppc => target/ppc}/internal.h | 0
{target-ppc => target/ppc}/kvm-stub.c | 0
{target-ppc => target/ppc}/kvm.c | 0
{target-ppc => target/ppc}/kvm_ppc.h | 0
{target-ppc => target/ppc}/machine.c | 0
{target-ppc => target/ppc}/mem_helper.c | 0
{target-ppc => target/ppc}/mfrom_table.c | 0
{target-ppc => target/ppc}/mfrom_table_gen.c | 0
{target-ppc => target/ppc}/misc_helper.c | 0
{target-ppc => target/ppc}/mmu-hash32.c | 0
{target-ppc => target/ppc}/mmu-hash32.h | 0
{target-ppc => target/ppc}/mmu-hash64.c | 0
{target-ppc => target/ppc}/mmu-hash64.h | 0
{target-ppc => target/ppc}/mmu_helper.c | 0
{target-ppc => target/ppc}/monitor.c | 0
{target-ppc => target/ppc}/timebase_helper.c | 0
{target-ppc => target/ppc}/trace-events | 2 +-
{target-ppc => target/ppc}/translate.c | 0
.../ppc}/translate/dfp-impl.inc.c | 0
{target-ppc => target/ppc}/translate/dfp-ops.inc.c | 0
{target-ppc => target/ppc}/translate/fp-impl.inc.c | 0
{target-ppc => target/ppc}/translate/fp-ops.inc.c | 0
.../ppc}/translate/spe-impl.inc.c | 0
{target-ppc => target/ppc}/translate/spe-ops.inc.c | 0
.../ppc}/translate/vmx-impl.inc.c | 0
{target-ppc => target/ppc}/translate/vmx-ops.inc.c | 0
.../ppc}/translate/vsx-impl.inc.c | 0
{target-ppc => target/ppc}/translate/vsx-ops.inc.c | 0
{target-ppc => target/ppc}/translate_init.c | 0
{target-ppc => target/ppc}/user_only_helper.c | 0
{target-s390x => target/s390x}/Makefile.objs | 2 +-
{target-s390x => target/s390x}/arch_dump.c | 0
{target-s390x => target/s390x}/cc_helper.c | 0
{target-s390x => target/s390x}/cpu-qom.h | 0
{target-s390x => target/s390x}/cpu.c | 0
{target-s390x => target/s390x}/cpu.h | 0
{target-s390x => target/s390x}/cpu_features.c | 0
{target-s390x => target/s390x}/cpu_features.h | 0
{target-s390x => target/s390x}/cpu_features_def.h | 0
{target-s390x => target/s390x}/cpu_models.c | 0
{target-s390x => target/s390x}/cpu_models.h | 0
{target-s390x => target/s390x}/fpu_helper.c | 0
{target-s390x => target/s390x}/gdbstub.c | 0
{target-s390x => target/s390x}/gen-features.c | 0
{target-s390x => target/s390x}/helper.c | 0
{target-s390x => target/s390x}/helper.h | 0
{target-s390x => target/s390x}/insn-data.def | 0
{target-s390x => target/s390x}/insn-format.def | 0
{target-s390x => target/s390x}/int_helper.c | 0
{target-s390x => target/s390x}/interrupt.c | 0
{target-s390x => target/s390x}/ioinst.c | 0
{target-s390x => target/s390x}/kvm.c | 0
{target-s390x => target/s390x}/machine.c | 0
{target-s390x => target/s390x}/mem_helper.c | 0
{target-s390x => target/s390x}/misc_helper.c | 0
{target-s390x => target/s390x}/mmu_helper.c | 0
{target-s390x => target/s390x}/trace-events | 8 +++---
{target-s390x => target/s390x}/translate.c | 0
{target-sparc => target/sparc}/Makefile.objs | 0
{target-sparc => target/sparc}/TODO | 0
{target-sparc => target/sparc}/asi.h | 0
{target-sparc => target/sparc}/cc_helper.c | 0
{target-sparc => target/sparc}/cpu-qom.h | 0
{target-sparc => target/sparc}/cpu.c | 0
{target-sparc => target/sparc}/cpu.h | 0
{target-sparc => target/sparc}/fop_helper.c | 0
{target-sparc => target/sparc}/gdbstub.c | 0
{target-sparc => target/sparc}/helper.c | 0
{target-sparc => target/sparc}/helper.h | 0
{target-sparc => target/sparc}/int32_helper.c | 0
{target-sparc => target/sparc}/int64_helper.c | 0
{target-sparc => target/sparc}/ldst_helper.c | 0
{target-sparc => target/sparc}/machine.c | 0
{target-sparc => target/sparc}/mmu_helper.c | 0
{target-sparc => target/sparc}/monitor.c | 0
{target-sparc => target/sparc}/trace-events | 8 +++---
{target-sparc => target/sparc}/translate.c | 0
{target-sparc => target/sparc}/vis_helper.c | 0
{target-sparc => target/sparc}/win_helper.c | 0
{target-tilegx => target/tilegx}/Makefile.objs | 0
{target-tilegx => target/tilegx}/cpu.c | 0
{target-tilegx => target/tilegx}/cpu.h | 0
{target-tilegx => target/tilegx}/helper.c | 0
{target-tilegx => target/tilegx}/helper.h | 0
{target-tilegx => target/tilegx}/opcode_tilegx.h | 0
{target-tilegx => target/tilegx}/simd_helper.c | 0
{target-tilegx => target/tilegx}/spr_def_64.h | 0
{target-tilegx => target/tilegx}/translate.c | 0
255 files changed, 68 insertions(+), 62 deletions(-)
rename {target-alpha => target/alpha}/Makefile.objs (100%)
rename {target-alpha => target/alpha}/STATUS (100%)
rename {target-alpha => target/alpha}/cpu-qom.h (100%)
rename {target-alpha => target/alpha}/cpu.c (100%)
rename {target-alpha => target/alpha}/cpu.h (100%)
rename {target-alpha => target/alpha}/fpu_helper.c (100%)
rename {target-alpha => target/alpha}/gdbstub.c (100%)
rename {target-alpha => target/alpha}/helper.c (100%)
rename {target-alpha => target/alpha}/helper.h (100%)
rename {target-alpha => target/alpha}/int_helper.c (100%)
rename {target-alpha => target/alpha}/machine.c (100%)
rename {target-alpha => target/alpha}/mem_helper.c (100%)
rename {target-alpha => target/alpha}/sys_helper.c (100%)
rename {target-alpha => target/alpha}/translate.c (100%)
rename {target-alpha => target/alpha}/vax_helper.c (100%)
rename {target-arm => target/arm}/Makefile.objs (100%)
rename {target-arm => target/arm}/arch_dump.c (100%)
rename {target-arm => target/arm}/arm-powerctl.c (100%)
rename {target-arm => target/arm}/arm-powerctl.h (100%)
rename {target-arm => target/arm}/arm-semi.c (100%)
rename {target-arm => target/arm}/arm_ldst.h (100%)
rename {target-arm => target/arm}/cpu-qom.h (100%)
rename {target-arm => target/arm}/cpu.c (100%)
rename {target-arm => target/arm}/cpu.h (100%)
rename {target-arm => target/arm}/cpu64.c (100%)
rename {target-arm => target/arm}/crypto_helper.c (100%)
rename {target-arm => target/arm}/gdbstub.c (100%)
rename {target-arm => target/arm}/gdbstub64.c (100%)
rename {target-arm => target/arm}/helper-a64.c (100%)
rename {target-arm => target/arm}/helper-a64.h (100%)
rename {target-arm => target/arm}/helper.c (100%)
rename {target-arm => target/arm}/helper.h (100%)
rename {target-arm => target/arm}/internals.h (100%)
rename {target-arm => target/arm}/iwmmxt_helper.c (100%)
rename {target-arm => target/arm}/kvm-consts.h (100%)
rename {target-arm => target/arm}/kvm-stub.c (100%)
rename {target-arm => target/arm}/kvm.c (100%)
rename {target-arm => target/arm}/kvm32.c (100%)
rename {target-arm => target/arm}/kvm64.c (100%)
rename {target-arm => target/arm}/kvm_arm.h (100%)
rename {target-arm => target/arm}/machine.c (100%)
rename {target-arm => target/arm}/monitor.c (100%)
rename {target-arm => target/arm}/neon_helper.c (100%)
rename {target-arm => target/arm}/op_addsub.h (100%)
rename {target-arm => target/arm}/op_helper.c (100%)
rename {target-arm => target/arm}/psci.c (100%)
rename {target-arm => target/arm}/trace-events (96%)
rename {target-arm => target/arm}/translate-a64.c (100%)
rename {target-arm => target/arm}/translate.c (100%)
rename {target-arm => target/arm}/translate.h (100%)
rename {target-i386 => target/i386}/Makefile.objs (100%)
rename {target-i386 => target/i386}/TODO (100%)
rename {target-i386 => target/i386}/arch_dump.c (100%)
rename {target-i386 => target/i386}/arch_memory_mapping.c (100%)
rename {target-i386 => target/i386}/bpt_helper.c (100%)
rename {target-i386 => target/i386}/cc_helper.c (100%)
rename {target-i386 => target/i386}/cc_helper_template.h (100%)
rename {target-i386 => target/i386}/cpu-qom.h (100%)
rename {target-i386 => target/i386}/cpu.c (100%)
rename {target-i386 => target/i386}/cpu.h (100%)
rename {target-i386 => target/i386}/excp_helper.c (100%)
rename {target-i386 => target/i386}/fpu_helper.c (100%)
rename {target-i386 => target/i386}/gdbstub.c (100%)
rename {target-i386 => target/i386}/helper.c (100%)
rename {target-i386 => target/i386}/helper.h (100%)
rename {target-i386 => target/i386}/hyperv.c (100%)
rename {target-i386 => target/i386}/hyperv.h (100%)
rename {target-i386 => target/i386}/int_helper.c (100%)
rename {target-i386 => target/i386}/kvm-stub.c (100%)
rename {target-i386 => target/i386}/kvm.c (100%)
rename {target-i386 => target/i386}/kvm_i386.h (100%)
rename {target-i386 => target/i386}/machine.c (100%)
rename {target-i386 => target/i386}/mem_helper.c (100%)
rename {target-i386 => target/i386}/misc_helper.c (100%)
rename {target-i386 => target/i386}/monitor.c (100%)
rename {target-i386 => target/i386}/mpx_helper.c (100%)
rename {target-i386 => target/i386}/ops_sse.h (100%)
rename {target-i386 => target/i386}/ops_sse_header.h (100%)
rename {target-i386 => target/i386}/seg_helper.c (100%)
rename {target-i386 => target/i386}/shift_helper_template.h (100%)
rename {target-i386 => target/i386}/smm_helper.c (100%)
rename {target-i386 => target/i386}/svm.h (100%)
rename {target-i386 => target/i386}/svm_helper.c (100%)
rename {target-i386 => target/i386}/trace-events (94%)
rename {target-i386 => target/i386}/translate.c (100%)
rename {target-m68k => target/m68k}/Makefile.objs (100%)
rename {target-m68k => target/m68k}/cpu-qom.h (100%)
rename {target-m68k => target/m68k}/cpu.c (100%)
rename {target-m68k => target/m68k}/cpu.h (100%)
rename {target-m68k => target/m68k}/gdbstub.c (100%)
rename {target-m68k => target/m68k}/helper.c (100%)
rename {target-m68k => target/m68k}/helper.h (100%)
rename {target-m68k => target/m68k}/m68k-semi.c (100%)
rename {target-m68k => target/m68k}/op_helper.c (100%)
rename {target-m68k => target/m68k}/qregs.def (100%)
rename {target-m68k => target/m68k}/translate.c (100%)
rename {target-microblaze => target/microblaze}/Makefile.objs (100%)
rename {target-microblaze => target/microblaze}/cpu-qom.h (100%)
rename {target-microblaze => target/microblaze}/cpu.c (100%)
rename {target-microblaze => target/microblaze}/cpu.h (100%)
rename {target-microblaze => target/microblaze}/gdbstub.c (100%)
rename {target-microblaze => target/microblaze}/helper.c (100%)
rename {target-microblaze => target/microblaze}/helper.h (100%)
rename {target-microblaze => target/microblaze}/microblaze-decode.h (100%)
rename {target-microblaze => target/microblaze}/mmu.c (100%)
rename {target-microblaze => target/microblaze}/mmu.h (100%)
rename {target-microblaze => target/microblaze}/op_helper.c (100%)
rename {target-microblaze => target/microblaze}/translate.c (100%)
rename {target-mips => target/mips}/Makefile.objs (100%)
rename {target-mips => target/mips}/TODO (100%)
rename {target-mips => target/mips}/cpu-qom.h (100%)
rename {target-mips => target/mips}/cpu.c (100%)
rename {target-mips => target/mips}/cpu.h (100%)
rename {target-mips => target/mips}/dsp_helper.c (100%)
rename {target-mips => target/mips}/gdbstub.c (100%)
rename {target-mips => target/mips}/helper.c (100%)
rename {target-mips => target/mips}/helper.h (100%)
rename {target-mips => target/mips}/kvm.c (100%)
rename {target-mips => target/mips}/kvm_mips.h (100%)
rename {target-mips => target/mips}/lmi_helper.c (100%)
rename {target-mips => target/mips}/machine.c (100%)
rename {target-mips => target/mips}/mips-defs.h (100%)
rename {target-mips => target/mips}/mips-semi.c (100%)
rename {target-mips => target/mips}/msa_helper.c (100%)
rename {target-mips => target/mips}/op_helper.c (100%)
rename {target-mips => target/mips}/translate.c (100%)
rename {target-mips => target/mips}/translate_init.c (100%)
rename {target-ppc => target/ppc}/Makefile.objs (100%)
rename {target-ppc => target/ppc}/STATUS (100%)
rename {target-ppc => target/ppc}/arch_dump.c (100%)
rename {target-ppc => target/ppc}/cpu-models.c (100%)
rename {target-ppc => target/ppc}/cpu-models.h (100%)
rename {target-ppc => target/ppc}/cpu-qom.h (100%)
rename {target-ppc => target/ppc}/cpu.h (100%)
rename {target-ppc => target/ppc}/dfp_helper.c (100%)
rename {target-ppc => target/ppc}/excp_helper.c (100%)
rename {target-ppc => target/ppc}/fpu_helper.c (100%)
rename {target-ppc => target/ppc}/gdbstub.c (100%)
rename {target-ppc => target/ppc}/helper.h (100%)
rename {target-ppc => target/ppc}/helper_regs.h (100%)
rename {target-ppc => target/ppc}/int_helper.c (100%)
rename {target-ppc => target/ppc}/internal.h (100%)
rename {target-ppc => target/ppc}/kvm-stub.c (100%)
rename {target-ppc => target/ppc}/kvm.c (100%)
rename {target-ppc => target/ppc}/kvm_ppc.h (100%)
rename {target-ppc => target/ppc}/machine.c (100%)
rename {target-ppc => target/ppc}/mem_helper.c (100%)
rename {target-ppc => target/ppc}/mfrom_table.c (100%)
rename {target-ppc => target/ppc}/mfrom_table_gen.c (100%)
rename {target-ppc => target/ppc}/misc_helper.c (100%)
rename {target-ppc => target/ppc}/mmu-hash32.c (100%)
rename {target-ppc => target/ppc}/mmu-hash32.h (100%)
rename {target-ppc => target/ppc}/mmu-hash64.c (100%)
rename {target-ppc => target/ppc}/mmu-hash64.h (100%)
rename {target-ppc => target/ppc}/mmu_helper.c (100%)
rename {target-ppc => target/ppc}/monitor.c (100%)
rename {target-ppc => target/ppc}/timebase_helper.c (100%)
rename {target-ppc => target/ppc}/trace-events (92%)
rename {target-ppc => target/ppc}/translate.c (100%)
rename {target-ppc => target/ppc}/translate/dfp-impl.inc.c (100%)
rename {target-ppc => target/ppc}/translate/dfp-ops.inc.c (100%)
rename {target-ppc => target/ppc}/translate/fp-impl.inc.c (100%)
rename {target-ppc => target/ppc}/translate/fp-ops.inc.c (100%)
rename {target-ppc => target/ppc}/translate/spe-impl.inc.c (100%)
rename {target-ppc => target/ppc}/translate/spe-ops.inc.c (100%)
rename {target-ppc => target/ppc}/translate/vmx-impl.inc.c (100%)
rename {target-ppc => target/ppc}/translate/vmx-ops.inc.c (100%)
rename {target-ppc => target/ppc}/translate/vsx-impl.inc.c (100%)
rename {target-ppc => target/ppc}/translate/vsx-ops.inc.c (100%)
rename {target-ppc => target/ppc}/translate_init.c (100%)
rename {target-ppc => target/ppc}/user_only_helper.c (100%)
rename {target-s390x => target/s390x}/Makefile.objs (94%)
rename {target-s390x => target/s390x}/arch_dump.c (100%)
rename {target-s390x => target/s390x}/cc_helper.c (100%)
rename {target-s390x => target/s390x}/cpu-qom.h (100%)
rename {target-s390x => target/s390x}/cpu.c (100%)
rename {target-s390x => target/s390x}/cpu.h (100%)
rename {target-s390x => target/s390x}/cpu_features.c (100%)
rename {target-s390x => target/s390x}/cpu_features.h (100%)
rename {target-s390x => target/s390x}/cpu_features_def.h (100%)
rename {target-s390x => target/s390x}/cpu_models.c (100%)
rename {target-s390x => target/s390x}/cpu_models.h (100%)
rename {target-s390x => target/s390x}/fpu_helper.c (100%)
rename {target-s390x => target/s390x}/gdbstub.c (100%)
rename {target-s390x => target/s390x}/gen-features.c (100%)
rename {target-s390x => target/s390x}/helper.c (100%)
rename {target-s390x => target/s390x}/helper.h (100%)
rename {target-s390x => target/s390x}/insn-data.def (100%)
rename {target-s390x => target/s390x}/insn-format.def (100%)
rename {target-s390x => target/s390x}/int_helper.c (100%)
rename {target-s390x => target/s390x}/interrupt.c (100%)
rename {target-s390x => target/s390x}/ioinst.c (100%)
rename {target-s390x => target/s390x}/kvm.c (100%)
rename {target-s390x => target/s390x}/machine.c (100%)
rename {target-s390x => target/s390x}/mem_helper.c (100%)
rename {target-s390x => target/s390x}/misc_helper.c (100%)
rename {target-s390x => target/s390x}/mmu_helper.c (100%)
rename {target-s390x => target/s390x}/trace-events (91%)
rename {target-s390x => target/s390x}/translate.c (100%)
rename {target-sparc => target/sparc}/Makefile.objs (100%)
rename {target-sparc => target/sparc}/TODO (100%)
rename {target-sparc => target/sparc}/asi.h (100%)
rename {target-sparc => target/sparc}/cc_helper.c (100%)
rename {target-sparc => target/sparc}/cpu-qom.h (100%)
rename {target-sparc => target/sparc}/cpu.c (100%)
rename {target-sparc => target/sparc}/cpu.h (100%)
rename {target-sparc => target/sparc}/fop_helper.c (100%)
rename {target-sparc => target/sparc}/gdbstub.c (100%)
rename {target-sparc => target/sparc}/helper.c (100%)
rename {target-sparc => target/sparc}/helper.h (100%)
rename {target-sparc => target/sparc}/int32_helper.c (100%)
rename {target-sparc => target/sparc}/int64_helper.c (100%)
rename {target-sparc => target/sparc}/ldst_helper.c (100%)
rename {target-sparc => target/sparc}/machine.c (100%)
rename {target-sparc => target/sparc}/mmu_helper.c (100%)
rename {target-sparc => target/sparc}/monitor.c (100%)
rename {target-sparc => target/sparc}/trace-events (94%)
rename {target-sparc => target/sparc}/translate.c (100%)
rename {target-sparc => target/sparc}/vis_helper.c (100%)
rename {target-sparc => target/sparc}/win_helper.c (100%)
rename {target-tilegx => target/tilegx}/Makefile.objs (100%)
rename {target-tilegx => target/tilegx}/cpu.c (100%)
rename {target-tilegx => target/tilegx}/cpu.h (100%)
rename {target-tilegx => target/tilegx}/helper.c (100%)
rename {target-tilegx => target/tilegx}/helper.h (100%)
rename {target-tilegx => target/tilegx}/opcode_tilegx.h (100%)
rename {target-tilegx => target/tilegx}/simd_helper.c (100%)
rename {target-tilegx => target/tilegx}/spr_def_64.h (100%)
rename {target-tilegx => target/tilegx}/translate.c (100%)Signature · 1 line
1.8.3.1
RFC 1/11 Makefile: Allow CPU targets to reside in target/ folder, too
To be able to compile the CPU targets from within a subfolder of the target/ folder, we've got to adapt the Makefile.target a little bit first.
--- Makefile.target | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
Makefile.target +8 -2
@@ -7,11 +7,17 @@ include config-target.mak include config-devices.mak include $(SRC_PATH)/rules.mak +ifneq ($(wildcard $(SRC_PATH)/target/$(TARGET_BASE_ARCH)),) +TARGET_FOLDER=target/$(TARGET_BASE_ARCH) +else +TARGET_FOLDER=target-$(TARGET_BASE_ARCH) +endif + $(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_FOLDER) -DNEED_CPU_H QEMU_CFLAGS+=-I$(SRC_PATH)/include
@@ -92,7 +98,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_FOLDER)/ obj-y += disas.o obj-y += tcg-runtime.o obj-$(call notempty,$(TARGET_XML_FILES)) += gdbstub-xml.o
Signature · 1 line
1.8.3.1
RFC 2/11 tilegx: Move CPU files to target/ folder
In reply to Thomas Huth---
{target-tilegx => target/tilegx}/Makefile.objs | 0
{target-tilegx => target/tilegx}/cpu.c | 0
{target-tilegx => target/tilegx}/cpu.h | 0
{target-tilegx => target/tilegx}/helper.c | 0
{target-tilegx => target/tilegx}/helper.h | 0
{target-tilegx => target/tilegx}/opcode_tilegx.h | 0
{target-tilegx => target/tilegx}/simd_helper.c | 0
{target-tilegx => target/tilegx}/spr_def_64.h | 0
{target-tilegx => target/tilegx}/translate.c | 0
9 files changed, 0 insertions(+), 0 deletions(-)
rename {target-tilegx => target/tilegx}/Makefile.objs (100%)
rename {target-tilegx => target/tilegx}/cpu.c (100%)
rename {target-tilegx => target/tilegx}/cpu.h (100%)
rename {target-tilegx => target/tilegx}/helper.c (100%)
rename {target-tilegx => target/tilegx}/helper.h (100%)
rename {target-tilegx => target/tilegx}/opcode_tilegx.h (100%)
rename {target-tilegx => target/tilegx}/simd_helper.c (100%)
rename {target-tilegx => target/tilegx}/spr_def_64.h (100%)
rename {target-tilegx => target/tilegx}/translate.c (100%)target/tilegx/Makefile.objs renamed from target-tilegx/Makefile.objs +0 -0
target/tilegx/cpu.c renamed from target-tilegx/cpu.c +0 -0
target/tilegx/cpu.h renamed from target-tilegx/cpu.h +0 -0
target/tilegx/helper.c renamed from target-tilegx/helper.c +0 -0
target/tilegx/helper.h renamed from target-tilegx/helper.h +0 -0
target/tilegx/opcode_tilegx.h renamed from target-tilegx/opcode_tilegx.h +0 -0
target/tilegx/simd_helper.c renamed from target-tilegx/simd_helper.c +0 -0
target/tilegx/spr_def_64.h renamed from target-tilegx/spr_def_64.h +0 -0
target/tilegx/translate.c renamed from target-tilegx/translate.c +0 -0
Signature · 1 line
1.8.3.1
RFC 3/11 m68k: Move CPU files to target/ folder
In reply to Thomas Huth---
MAINTAINERS | 2 +-
include/hw/m68k/mcf.h | 2 +-
{target-m68k => target/m68k}/Makefile.objs | 0
{target-m68k => target/m68k}/cpu-qom.h | 0
{target-m68k => target/m68k}/cpu.c | 0
{target-m68k => target/m68k}/cpu.h | 0
{target-m68k => target/m68k}/gdbstub.c | 0
{target-m68k => target/m68k}/helper.c | 0
{target-m68k => target/m68k}/helper.h | 0
{target-m68k => target/m68k}/m68k-semi.c | 0
{target-m68k => target/m68k}/op_helper.c | 0
{target-m68k => target/m68k}/qregs.def | 0
{target-m68k => target/m68k}/translate.c | 0
13 files changed, 2 insertions(+), 2 deletions(-)
rename {target-m68k => target/m68k}/Makefile.objs (100%)
rename {target-m68k => target/m68k}/cpu-qom.h (100%)
rename {target-m68k => target/m68k}/cpu.c (100%)
rename {target-m68k => target/m68k}/cpu.h (100%)
rename {target-m68k => target/m68k}/gdbstub.c (100%)
rename {target-m68k => target/m68k}/helper.c (100%)
rename {target-m68k => target/m68k}/helper.h (100%)
rename {target-m68k => target/m68k}/m68k-semi.c (100%)
rename {target-m68k => target/m68k}/op_helper.c (100%)
rename {target-m68k => target/m68k}/qregs.def (100%)
rename {target-m68k => target/m68k}/translate.c (100%)MAINTAINERS +1 -1
@@ -147,7 +147,7 @@ F: tests/tcg/lm32/ M68K M: Laurent Vivier <[email protected]> S: Maintained -F: target-m68k/ +F: target/m68k/ F: disas/m68k.c MicroBlaze
include/hw/m68k/mcf.h +1 -1
@@ -2,7 +2,7 @@#define HW_MCF_H /* Motorola ColdFire device prototypes. */ -#include "target-m68k/cpu-qom.h" +#include "cpu-qom.h" struct MemoryRegion ;
target/m68k/Makefile.objs renamed from target-m68k/Makefile.objs +0 -0
target/m68k/cpu-qom.h renamed from target-m68k/cpu-qom.h +0 -0
target/m68k/cpu.c renamed from target-m68k/cpu.c +0 -0
target/m68k/cpu.h renamed from target-m68k/cpu.h +0 -0
target/m68k/gdbstub.c renamed from target-m68k/gdbstub.c +0 -0
target/m68k/helper.c renamed from target-m68k/helper.c +0 -0
target/m68k/helper.h renamed from target-m68k/helper.h +0 -0
target/m68k/m68k-semi.c renamed from target-m68k/m68k-semi.c +0 -0
target/m68k/op_helper.c renamed from target-m68k/op_helper.c +0 -0
target/m68k/qregs.def renamed from target-m68k/qregs.def +0 -0
target/m68k/translate.c renamed from target-m68k/translate.c +0 -0
Signature · 1 line
1.8.3.1
RFC 4/11 alpha: Move CPU files to target/ folder
In reply to Thomas Huth---
MAINTAINERS | 2 +-
hw/alpha/alpha_sys.h | 2 +-
{target-alpha => target/alpha}/Makefile.objs | 0
{target-alpha => target/alpha}/STATUS | 0
{target-alpha => target/alpha}/cpu-qom.h | 0
{target-alpha => target/alpha}/cpu.c | 0
{target-alpha => target/alpha}/cpu.h | 0
{target-alpha => target/alpha}/fpu_helper.c | 0
{target-alpha => target/alpha}/gdbstub.c | 0
{target-alpha => target/alpha}/helper.c | 0
{target-alpha => target/alpha}/helper.h | 0
{target-alpha => target/alpha}/int_helper.c | 0
{target-alpha => target/alpha}/machine.c | 0
{target-alpha => target/alpha}/mem_helper.c | 0
{target-alpha => target/alpha}/sys_helper.c | 0
{target-alpha => target/alpha}/translate.c | 0
{target-alpha => target/alpha}/vax_helper.c | 0
17 files changed, 2 insertions(+), 2 deletions(-)
rename {target-alpha => target/alpha}/Makefile.objs (100%)
rename {target-alpha => target/alpha}/STATUS (100%)
rename {target-alpha => target/alpha}/cpu-qom.h (100%)
rename {target-alpha => target/alpha}/cpu.c (100%)
rename {target-alpha => target/alpha}/cpu.h (100%)
rename {target-alpha => target/alpha}/fpu_helper.c (100%)
rename {target-alpha => target/alpha}/gdbstub.c (100%)
rename {target-alpha => target/alpha}/helper.c (100%)
rename {target-alpha => target/alpha}/helper.h (100%)
rename {target-alpha => target/alpha}/int_helper.c (100%)
rename {target-alpha => target/alpha}/machine.c (100%)
rename {target-alpha => target/alpha}/mem_helper.c (100%)
rename {target-alpha => target/alpha}/sys_helper.c (100%)
rename {target-alpha => target/alpha}/translate.c (100%)
rename {target-alpha => target/alpha}/vax_helper.c (100%)MAINTAINERS +1 -1
@@ -106,7 +106,7 @@ F: include/fpu/ Alpha M: Richard Henderson <[email protected]> S: Maintained -F: target-alpha/ +F: target/alpha/ F: hw/alpha/ F: tests/tcg/alpha/ F: disas/alpha.c
hw/alpha/alpha_sys.h +1 -1
@@ -3,7 +3,7 @@#ifndef HW_ALPHA_SYS_H #define HW_ALPHA_SYS_H -#include "target-alpha/cpu-qom.h" +#include "cpu-qom.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" #include "hw/ide.h"
target/alpha/Makefile.objs renamed from target-alpha/Makefile.objs +0 -0
target/alpha/STATUS renamed from target-alpha/STATUS +0 -0
target/alpha/cpu-qom.h renamed from target-alpha/cpu-qom.h +0 -0
target/alpha/cpu.c renamed from target-alpha/cpu.c +0 -0
target/alpha/cpu.h renamed from target-alpha/cpu.h +0 -0
target/alpha/fpu_helper.c renamed from target-alpha/fpu_helper.c +0 -0
target/alpha/gdbstub.c renamed from target-alpha/gdbstub.c +0 -0
target/alpha/helper.c renamed from target-alpha/helper.c +0 -0
target/alpha/helper.h renamed from target-alpha/helper.h +0 -0
target/alpha/int_helper.c renamed from target-alpha/int_helper.c +0 -0
target/alpha/machine.c renamed from target-alpha/machine.c +0 -0
target/alpha/mem_helper.c renamed from target-alpha/mem_helper.c +0 -0
target/alpha/sys_helper.c renamed from target-alpha/sys_helper.c +0 -0
target/alpha/translate.c renamed from target-alpha/translate.c +0 -0
target/alpha/vax_helper.c renamed from target-alpha/vax_helper.c +0 -0
Signature · 1 line
1.8.3.1
RFC 5/11 arm: Move CPU files to target/ folder
In reply to Thomas Huth---
MAINTAINERS | 4 ++--
Makefile.objs | 2 +-
hw/arm/strongarm.h | 2 +-
hw/arm/virt-acpi-build.c | 2 +-
include/hw/arm/arm.h | 2 +-
include/hw/arm/exynos4210.h | 2 +-
include/hw/arm/omap.h | 2 +-
include/hw/arm/pxa.h | 2 +-
{target-arm => target/arm}/Makefile.objs | 0
{target-arm => target/arm}/arch_dump.c | 0
{target-arm => target/arm}/arm-powerctl.c | 0
{target-arm => target/arm}/arm-powerctl.h | 0
{target-arm => target/arm}/arm-semi.c | 0
{target-arm => target/arm}/arm_ldst.h | 0
{target-arm => target/arm}/cpu-qom.h | 0
{target-arm => target/arm}/cpu.c | 0
{target-arm => target/arm}/cpu.h | 0
{target-arm => target/arm}/cpu64.c | 0
{target-arm => target/arm}/crypto_helper.c | 0
{target-arm => target/arm}/gdbstub.c | 0
{target-arm => target/arm}/gdbstub64.c | 0
{target-arm => target/arm}/helper-a64.c | 0
{target-arm => target/arm}/helper-a64.h | 0
{target-arm => target/arm}/helper.c | 0
{target-arm => target/arm}/helper.h | 0
{target-arm => target/arm}/internals.h | 0
{target-arm => target/arm}/iwmmxt_helper.c | 0
{target-arm => target/arm}/kvm-consts.h | 0
{target-arm => target/arm}/kvm-stub.c | 0
{target-arm => target/arm}/kvm.c | 0
{target-arm => target/arm}/kvm32.c | 0
{target-arm => target/arm}/kvm64.c | 0
{target-arm => target/arm}/kvm_arm.h | 0
{target-arm => target/arm}/machine.c | 0
{target-arm => target/arm}/monitor.c | 0
{target-arm => target/arm}/neon_helper.c | 0
{target-arm => target/arm}/op_addsub.h | 0
{target-arm => target/arm}/op_helper.c | 0
{target-arm => target/arm}/psci.c | 0
{target-arm => target/arm}/trace-events | 2 +-
{target-arm => target/arm}/translate-a64.c | 0
{target-arm => target/arm}/translate.c | 0
{target-arm => target/arm}/translate.h | 0
43 files changed, 10 insertions(+), 10 deletions(-)
rename {target-arm => target/arm}/Makefile.objs (100%)
rename {target-arm => target/arm}/arch_dump.c (100%)
rename {target-arm => target/arm}/arm-powerctl.c (100%)
rename {target-arm => target/arm}/arm-powerctl.h (100%)
rename {target-arm => target/arm}/arm-semi.c (100%)
rename {target-arm => target/arm}/arm_ldst.h (100%)
rename {target-arm => target/arm}/cpu-qom.h (100%)
rename {target-arm => target/arm}/cpu.c (100%)
rename {target-arm => target/arm}/cpu.h (100%)
rename {target-arm => target/arm}/cpu64.c (100%)
rename {target-arm => target/arm}/crypto_helper.c (100%)
rename {target-arm => target/arm}/gdbstub.c (100%)
rename {target-arm => target/arm}/gdbstub64.c (100%)
rename {target-arm => target/arm}/helper-a64.c (100%)
rename {target-arm => target/arm}/helper-a64.h (100%)
rename {target-arm => target/arm}/helper.c (100%)
rename {target-arm => target/arm}/helper.h (100%)
rename {target-arm => target/arm}/internals.h (100%)
rename {target-arm => target/arm}/iwmmxt_helper.c (100%)
rename {target-arm => target/arm}/kvm-consts.h (100%)
rename {target-arm => target/arm}/kvm-stub.c (100%)
rename {target-arm => target/arm}/kvm.c (100%)
rename {target-arm => target/arm}/kvm32.c (100%)
rename {target-arm => target/arm}/kvm64.c (100%)
rename {target-arm => target/arm}/kvm_arm.h (100%)
rename {target-arm => target/arm}/machine.c (100%)
rename {target-arm => target/arm}/monitor.c (100%)
rename {target-arm => target/arm}/neon_helper.c (100%)
rename {target-arm => target/arm}/op_addsub.h (100%)
rename {target-arm => target/arm}/op_helper.c (100%)
rename {target-arm => target/arm}/psci.c (100%)
rename {target-arm => target/arm}/trace-events (96%)
rename {target-arm => target/arm}/translate-a64.c (100%)
rename {target-arm => target/arm}/translate.c (100%)
rename {target-arm => target/arm}/translate.h (100%)MAINTAINERS +2 -2
@@ -115,7 +115,7 @@ ARM M: Peter Maydell <[email protected]> L: [email protected] S: Maintained -F: target-arm/ +F: target/arm/ F: hw/arm/ F: hw/cpu/a*mpcore.c F: include/hw/cpu/a*mpcore.h
@@ -269,7 +269,7 @@ ARM M: Peter Maydell <[email protected]> L: [email protected] S: Maintained -F: target-arm/kvm.c +F: target/arm/kvm.c MIPS M: James Hogan <[email protected]>
Makefile.objs +1 -1
@@ -155,7 +155,7 @@ 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/arm/trace-events trace-events-y += target-i386/trace-events trace-events-y += target-sparc/trace-events trace-events-y += target-s390x/trace-events
hw/arm/strongarm.h +1 -1
@@ -2,7 +2,7 @@#define STRONGARM_H #include "exec/memory.h" -#include "target-arm/cpu-qom.h" +#include "cpu-qom.h" #define SA_CS0 0x00000000#define SA_CS1 0x08000000
hw/arm/virt-acpi-build.c +1 -1
@@ -33,7 +33,7 @@#include "qemu/bitmap.h" #include "trace.h" #include "qom/cpu.h" -#include "target-arm/cpu.h" +#include "cpu.h" #include "hw/acpi/acpi-defs.h" #include "hw/acpi/acpi.h" #include "hw/nvram/fw_cfg.h"
include/hw/arm/arm.h +1 -1
@@ -12,7 +12,7 @@#define HW_ARM_H #include "exec/memory.h" -#include "target-arm/cpu-qom.h" +#include "cpu-qom.h" #include "hw/irq.h" #include "qemu/notify.h"
include/hw/arm/exynos4210.h +1 -1
@@ -27,7 +27,7 @@#include "qemu-common.h" #include "exec/memory.h" -#include "target-arm/cpu-qom.h" +#include "cpu-qom.h" #define EXYNOS4210_NCPUS 2
include/hw/arm/omap.h +1 -1
@@ -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 "cpu-qom.h" # define OMAP_EMIFS_BASE 0x00000000# define OMAP2_Q0_BASE 0x00000000
include/hw/arm/pxa.h +1 -1
@@ -11,7 +11,7 @@#define PXA_H #include "exec/memory.h" -#include "target-arm/cpu-qom.h" +#include "cpu-qom.h" /* Interrupt numbers */ # define PXA2XX_PIC_SSP3 0
target/arm/Makefile.objs renamed from target-arm/Makefile.objs +0 -0
target/arm/arch_dump.c renamed from target-arm/arch_dump.c +0 -0
target/arm/arm-powerctl.c renamed from target-arm/arm-powerctl.c +0 -0
target/arm/arm-powerctl.h renamed from target-arm/arm-powerctl.h +0 -0
target/arm/arm-semi.c renamed from target-arm/arm-semi.c +0 -0
target/arm/arm_ldst.h renamed from target-arm/arm_ldst.h +0 -0
target/arm/cpu-qom.h renamed from target-arm/cpu-qom.h +0 -0
target/arm/cpu.c renamed from target-arm/cpu.c +0 -0
target/arm/cpu.h renamed from target-arm/cpu.h +0 -0
target/arm/cpu64.c renamed from target-arm/cpu64.c +0 -0
target/arm/crypto_helper.c renamed from target-arm/crypto_helper.c +0 -0
target/arm/gdbstub.c renamed from target-arm/gdbstub.c +0 -0
target/arm/gdbstub64.c renamed from target-arm/gdbstub64.c +0 -0
target/arm/helper-a64.c renamed from target-arm/helper-a64.c +0 -0
target/arm/helper-a64.h renamed from target-arm/helper-a64.h +0 -0
target/arm/helper.c renamed from target-arm/helper.c +0 -0
target/arm/helper.h renamed from target-arm/helper.h +0 -0
target/arm/internals.h renamed from target-arm/internals.h +0 -0
target/arm/iwmmxt_helper.c renamed from target-arm/iwmmxt_helper.c +0 -0
target/arm/kvm-consts.h renamed from target-arm/kvm-consts.h +0 -0
target/arm/kvm-stub.c renamed from target-arm/kvm-stub.c +0 -0
target/arm/kvm.c renamed from target-arm/kvm.c +0 -0
target/arm/kvm32.c renamed from target-arm/kvm32.c +0 -0
target/arm/kvm64.c renamed from target-arm/kvm64.c +0 -0
target/arm/kvm_arm.h renamed from target-arm/kvm_arm.h +0 -0
target/arm/machine.c renamed from target-arm/machine.c +0 -0
target/arm/monitor.c renamed from target-arm/monitor.c +0 -0
target/arm/neon_helper.c renamed from target-arm/neon_helper.c +0 -0
target/arm/op_addsub.h renamed from target-arm/op_addsub.h +0 -0
target/arm/op_helper.c renamed from target-arm/op_helper.c +0 -0
target/arm/psci.c renamed from target-arm/psci.c +0 -0
target/arm/trace-events renamed from target-arm/trace-events +1 -1
@@ -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
target/arm/translate-a64.c renamed from target-arm/translate-a64.c +0 -0
target/arm/translate.c renamed from target-arm/translate.c +0 -0
target/arm/translate.h renamed from target-arm/translate.h +0 -0
Signature · 1 line
1.8.3.1
RFC 6/11 ppc: Move CPU files to target/ folder
In reply to Thomas Huth---
MAINTAINERS | 4 ++--
Makefile.objs | 2 +-
hw/ppc/fdt.c | 2 +-
hw/ppc/pnv.c | 2 +-
hw/ppc/pnv_core.c | 2 +-
hw/ppc/pnv_lpc.c | 2 +-
hw/ppc/pnv_xscom.c | 2 +-
hw/ppc/spapr_cpu_core.c | 6 +++---
include/hw/ppc/fdt.h | 2 +-
include/hw/ppc/ppc.h | 2 +-
include/hw/ppc/spapr_cpu_core.h | 2 +-
{target-ppc => target/ppc}/Makefile.objs | 0
{target-ppc => target/ppc}/STATUS | 0
{target-ppc => target/ppc}/arch_dump.c | 0
{target-ppc => target/ppc}/cpu-models.c | 0
{target-ppc => target/ppc}/cpu-models.h | 0
{target-ppc => target/ppc}/cpu-qom.h | 0
{target-ppc => target/ppc}/cpu.h | 0
{target-ppc => target/ppc}/dfp_helper.c | 0
{target-ppc => target/ppc}/excp_helper.c | 0
{target-ppc => target/ppc}/fpu_helper.c | 0
{target-ppc => target/ppc}/gdbstub.c | 0
{target-ppc => target/ppc}/helper.h | 0
{target-ppc => target/ppc}/helper_regs.h | 0
{target-ppc => target/ppc}/int_helper.c | 0
{target-ppc => target/ppc}/internal.h | 0
{target-ppc => target/ppc}/kvm-stub.c | 0
{target-ppc => target/ppc}/kvm.c | 0
{target-ppc => target/ppc}/kvm_ppc.h | 0
{target-ppc => target/ppc}/machine.c | 0
{target-ppc => target/ppc}/mem_helper.c | 0
{target-ppc => target/ppc}/mfrom_table.c | 0
{target-ppc => target/ppc}/mfrom_table_gen.c | 0
{target-ppc => target/ppc}/misc_helper.c | 0
{target-ppc => target/ppc}/mmu-hash32.c | 0
{target-ppc => target/ppc}/mmu-hash32.h | 0
{target-ppc => target/ppc}/mmu-hash64.c | 0
{target-ppc => target/ppc}/mmu-hash64.h | 0
{target-ppc => target/ppc}/mmu_helper.c | 0
{target-ppc => target/ppc}/monitor.c | 0
{target-ppc => target/ppc}/timebase_helper.c | 0
{target-ppc => target/ppc}/trace-events | 2 +-
{target-ppc => target/ppc}/translate.c | 0
{target-ppc => target/ppc}/translate/dfp-impl.inc.c | 0
{target-ppc => target/ppc}/translate/dfp-ops.inc.c | 0
{target-ppc => target/ppc}/translate/fp-impl.inc.c | 0
{target-ppc => target/ppc}/translate/fp-ops.inc.c | 0
{target-ppc => target/ppc}/translate/spe-impl.inc.c | 0
{target-ppc => target/ppc}/translate/spe-ops.inc.c | 0
{target-ppc => target/ppc}/translate/vmx-impl.inc.c | 0
{target-ppc => target/ppc}/translate/vmx-ops.inc.c | 0
{target-ppc => target/ppc}/translate/vsx-impl.inc.c | 0
{target-ppc => target/ppc}/translate/vsx-ops.inc.c | 0
{target-ppc => target/ppc}/translate_init.c | 0
{target-ppc => target/ppc}/user_only_helper.c | 0
55 files changed, 15 insertions(+), 15 deletions(-)
rename {target-ppc => target/ppc}/Makefile.objs (100%)
rename {target-ppc => target/ppc}/STATUS (100%)
rename {target-ppc => target/ppc}/arch_dump.c (100%)
rename {target-ppc => target/ppc}/cpu-models.c (100%)
rename {target-ppc => target/ppc}/cpu-models.h (100%)
rename {target-ppc => target/ppc}/cpu-qom.h (100%)
rename {target-ppc => target/ppc}/cpu.h (100%)
rename {target-ppc => target/ppc}/dfp_helper.c (100%)
rename {target-ppc => target/ppc}/excp_helper.c (100%)
rename {target-ppc => target/ppc}/fpu_helper.c (100%)
rename {target-ppc => target/ppc}/gdbstub.c (100%)
rename {target-ppc => target/ppc}/helper.h (100%)
rename {target-ppc => target/ppc}/helper_regs.h (100%)
rename {target-ppc => target/ppc}/int_helper.c (100%)
rename {target-ppc => target/ppc}/internal.h (100%)
rename {target-ppc => target/ppc}/kvm-stub.c (100%)
rename {target-ppc => target/ppc}/kvm.c (100%)
rename {target-ppc => target/ppc}/kvm_ppc.h (100%)
rename {target-ppc => target/ppc}/machine.c (100%)
rename {target-ppc => target/ppc}/mem_helper.c (100%)
rename {target-ppc => target/ppc}/mfrom_table.c (100%)
rename {target-ppc => target/ppc}/mfrom_table_gen.c (100%)
rename {target-ppc => target/ppc}/misc_helper.c (100%)
rename {target-ppc => target/ppc}/mmu-hash32.c (100%)
rename {target-ppc => target/ppc}/mmu-hash32.h (100%)
rename {target-ppc => target/ppc}/mmu-hash64.c (100%)
rename {target-ppc => target/ppc}/mmu-hash64.h (100%)
rename {target-ppc => target/ppc}/mmu_helper.c (100%)
rename {target-ppc => target/ppc}/monitor.c (100%)
rename {target-ppc => target/ppc}/timebase_helper.c (100%)
rename {target-ppc => target/ppc}/trace-events (92%)
rename {target-ppc => target/ppc}/translate.c (100%)
rename {target-ppc => target/ppc}/translate/dfp-impl.inc.c (100%)
rename {target-ppc => target/ppc}/translate/dfp-ops.inc.c (100%)
rename {target-ppc => target/ppc}/translate/fp-impl.inc.c (100%)
rename {target-ppc => target/ppc}/translate/fp-ops.inc.c (100%)
rename {target-ppc => target/ppc}/translate/spe-impl.inc.c (100%)
rename {target-ppc => target/ppc}/translate/spe-ops.inc.c (100%)
rename {target-ppc => target/ppc}/translate/vmx-impl.inc.c (100%)
rename {target-ppc => target/ppc}/translate/vmx-ops.inc.c (100%)
rename {target-ppc => target/ppc}/translate/vsx-impl.inc.c (100%)
rename {target-ppc => target/ppc}/translate/vsx-ops.inc.c (100%)
rename {target-ppc => target/ppc}/translate_init.c (100%)
rename {target-ppc => target/ppc}/user_only_helper.c (100%)MAINTAINERS +2 -2
@@ -193,7 +193,7 @@ M: David Gibson <[email protected]> M: Alexander Graf <[email protected]> L: [email protected] S: Maintained -F: target-ppc/ +F: target/ppc/ F: hw/ppc/ F: include/hw/ppc/ F: disas/ppc.c
@@ -279,7 +279,7 @@ F: target-mips/kvm.c PPC M: Alexander Graf <[email protected]> S: Maintained -F: target-ppc/kvm.c +F: target/ppc/kvm.c S390 M: Christian Borntraeger <[email protected]>
Makefile.objs +1 -1
@@ -159,7 +159,7 @@ 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/ppc/trace-events trace-events-y += qom/trace-events trace-events-y += linux-user/trace-events trace-events-y += qapi/trace-events
hw/ppc/fdt.c +1 -1
@@ -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"
hw/ppc/pnv.c +1 -1
@@ -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"
hw/ppc/pnv_core.c +1 -1
@@ -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"
hw/ppc/pnv_lpc.c +1 -1
@@ -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"
hw/ppc/pnv_xscom.c +1 -1
@@ -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"
hw/ppc/spapr_cpu_core.c +3 -3
@@ -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 "kvm_ppc.h" #include "hw/ppc/ppc.h" -#include "target-ppc/mmu-hash64.h" +#include "mmu-hash64.h" #include "sysemu/numa.h" static void spapr_cpu_reset (void *opaque)
include/hw/ppc/fdt.h +1 -1
@@ -11,7 +11,7 @@#define PPC_FDT_H #include "qemu/error-report.h" -#include "target-ppc/cpu-qom.h" +#include "cpu-qom.h" #define _FDT (exp) \ do { \
include/hw/ppc/ppc.h +1 -1
@@ -1,7 +1,7 @@#ifndef HW_PPC_H #define HW_PPC_H -#include "target-ppc/cpu-qom.h" +#include "cpu-qom.h" void ppc_set_irq (PowerPCCPU *cpu,int n_IRQ,int level);
include/hw/ppc/spapr_cpu_core.h +1 -1
@@ -11,7 +11,7 @@#include "hw/qdev.h" #include "hw/cpu/core.h" -#include "target-ppc/cpu-qom.h" +#include "cpu-qom.h" #define TYPE_SPAPR_CPU_CORE "spapr-cpu-core"#define SPAPR_CPU_CORE (obj) \
target/ppc/Makefile.objs renamed from target-ppc/Makefile.objs +0 -0
target/ppc/STATUS renamed from target-ppc/STATUS +0 -0
target/ppc/arch_dump.c renamed from target-ppc/arch_dump.c +0 -0
target/ppc/cpu-models.c renamed from target-ppc/cpu-models.c +0 -0
target/ppc/cpu-models.h renamed from target-ppc/cpu-models.h +0 -0
target/ppc/cpu-qom.h renamed from target-ppc/cpu-qom.h +0 -0
target/ppc/cpu.h renamed from target-ppc/cpu.h +0 -0
target/ppc/dfp_helper.c renamed from target-ppc/dfp_helper.c +0 -0
target/ppc/excp_helper.c renamed from target-ppc/excp_helper.c +0 -0
target/ppc/fpu_helper.c renamed from target-ppc/fpu_helper.c +0 -0
target/ppc/gdbstub.c renamed from target-ppc/gdbstub.c +0 -0
target/ppc/helper.h renamed from target-ppc/helper.h +0 -0
target/ppc/helper_regs.h renamed from target-ppc/helper_regs.h +0 -0
target/ppc/int_helper.c renamed from target-ppc/int_helper.c +0 -0
target/ppc/internal.h renamed from target-ppc/internal.h +0 -0
target/ppc/kvm-stub.c renamed from target-ppc/kvm-stub.c +0 -0
target/ppc/kvm.c renamed from target-ppc/kvm.c +0 -0
target/ppc/kvm_ppc.h renamed from target-ppc/kvm_ppc.h +0 -0
target/ppc/machine.c renamed from target-ppc/machine.c +0 -0
target/ppc/mem_helper.c renamed from target-ppc/mem_helper.c +0 -0
target/ppc/mfrom_table.c renamed from target-ppc/mfrom_table.c +0 -0
target/ppc/mfrom_table_gen.c renamed from target-ppc/mfrom_table_gen.c +0 -0
target/ppc/misc_helper.c renamed from target-ppc/misc_helper.c +0 -0
target/ppc/mmu-hash32.c renamed from target-ppc/mmu-hash32.c +0 -0
target/ppc/mmu-hash32.h renamed from target-ppc/mmu-hash32.h +0 -0
target/ppc/mmu-hash64.c renamed from target-ppc/mmu-hash64.c +0 -0
target/ppc/mmu-hash64.h renamed from target-ppc/mmu-hash64.h +0 -0
target/ppc/mmu_helper.c renamed from target-ppc/mmu_helper.c +0 -0
target/ppc/monitor.c renamed from target-ppc/monitor.c +0 -0
target/ppc/timebase_helper.c renamed from target-ppc/timebase_helper.c +0 -0
target/ppc/trace-events renamed from target-ppc/trace-events +1 -1
@@ -1,5 +1,5 @@ # See docs/tracing.txt for syntax documentation. -# target-ppc/kvm.c +# target/ppc/kvm.c kvm_failed_spr_set(int str, const char *msg) "Warning: Unable to set SPR %d to KVM: %s" kvm_failed_spr_get(int str, const char *msg) "Warning: Unable to retrieve SPR %d from KVM: %s"
target/ppc/translate.c renamed from target-ppc/translate.c +0 -0
target/ppc/translate/dfp-impl.inc.c renamed from target-ppc/translate/dfp-impl.inc.c +0 -0
target/ppc/translate/dfp-ops.inc.c renamed from target-ppc/translate/dfp-ops.inc.c +0 -0
target/ppc/translate/fp-impl.inc.c renamed from target-ppc/translate/fp-impl.inc.c +0 -0
target/ppc/translate/fp-ops.inc.c renamed from target-ppc/translate/fp-ops.inc.c +0 -0
target/ppc/translate/spe-impl.inc.c renamed from target-ppc/translate/spe-impl.inc.c +0 -0
target/ppc/translate/spe-ops.inc.c renamed from target-ppc/translate/spe-ops.inc.c +0 -0
target/ppc/translate/vmx-impl.inc.c renamed from target-ppc/translate/vmx-impl.inc.c +0 -0
target/ppc/translate/vmx-ops.inc.c renamed from target-ppc/translate/vmx-ops.inc.c +0 -0
target/ppc/translate/vsx-impl.inc.c renamed from target-ppc/translate/vsx-impl.inc.c +0 -0
target/ppc/translate/vsx-ops.inc.c renamed from target-ppc/translate/vsx-ops.inc.c +0 -0
target/ppc/translate_init.c renamed from target-ppc/translate_init.c +0 -0
target/ppc/user_only_helper.c renamed from target-ppc/user_only_helper.c +0 -0
Signature · 1 line
1.8.3.1
RFC 7/11 i386: Move CPU files to target/ folder
In reply to Thomas Huth---
MAINTAINERS | 4 ++--
Makefile.objs | 2 +-
hw/i386/acpi-build.c | 2 +-
hw/i386/kvm/apic.c | 2 +-
hw/intc/ioapic.c | 2 +-
hw/misc/hyperv_testdev.c | 2 +-
scripts/analyze-inclusions | 6 +++---
{target-i386 => target/i386}/Makefile.objs | 0
{target-i386 => target/i386}/TODO | 0
{target-i386 => target/i386}/arch_dump.c | 0
{target-i386 => target/i386}/arch_memory_mapping.c | 0
{target-i386 => target/i386}/bpt_helper.c | 0
{target-i386 => target/i386}/cc_helper.c | 0
{target-i386 => target/i386}/cc_helper_template.h | 0
{target-i386 => target/i386}/cpu-qom.h | 0
{target-i386 => target/i386}/cpu.c | 0
{target-i386 => target/i386}/cpu.h | 0
{target-i386 => target/i386}/excp_helper.c | 0
{target-i386 => target/i386}/fpu_helper.c | 0
{target-i386 => target/i386}/gdbstub.c | 0
{target-i386 => target/i386}/helper.c | 0
{target-i386 => target/i386}/helper.h | 0
{target-i386 => target/i386}/hyperv.c | 0
{target-i386 => target/i386}/hyperv.h | 0
{target-i386 => target/i386}/int_helper.c | 0
{target-i386 => target/i386}/kvm-stub.c | 0
{target-i386 => target/i386}/kvm.c | 0
{target-i386 => target/i386}/kvm_i386.h | 0
{target-i386 => target/i386}/machine.c | 0
{target-i386 => target/i386}/mem_helper.c | 0
{target-i386 => target/i386}/misc_helper.c | 0
{target-i386 => target/i386}/monitor.c | 0
{target-i386 => target/i386}/mpx_helper.c | 0
{target-i386 => target/i386}/ops_sse.h | 0
{target-i386 => target/i386}/ops_sse_header.h | 0
{target-i386 => target/i386}/seg_helper.c | 0
{target-i386 => target/i386}/shift_helper_template.h | 0
{target-i386 => target/i386}/smm_helper.c | 0
{target-i386 => target/i386}/svm.h | 0
{target-i386 => target/i386}/svm_helper.c | 0
{target-i386 => target/i386}/trace-events | 2 +-
{target-i386 => target/i386}/translate.c | 0
42 files changed, 11 insertions(+), 11 deletions(-)
rename {target-i386 => target/i386}/Makefile.objs (100%)
rename {target-i386 => target/i386}/TODO (100%)
rename {target-i386 => target/i386}/arch_dump.c (100%)
rename {target-i386 => target/i386}/arch_memory_mapping.c (100%)
rename {target-i386 => target/i386}/bpt_helper.c (100%)
rename {target-i386 => target/i386}/cc_helper.c (100%)
rename {target-i386 => target/i386}/cc_helper_template.h (100%)
rename {target-i386 => target/i386}/cpu-qom.h (100%)
rename {target-i386 => target/i386}/cpu.c (100%)
rename {target-i386 => target/i386}/cpu.h (100%)
rename {target-i386 => target/i386}/excp_helper.c (100%)
rename {target-i386 => target/i386}/fpu_helper.c (100%)
rename {target-i386 => target/i386}/gdbstub.c (100%)
rename {target-i386 => target/i386}/helper.c (100%)
rename {target-i386 => target/i386}/helper.h (100%)
rename {target-i386 => target/i386}/hyperv.c (100%)
rename {target-i386 => target/i386}/hyperv.h (100%)
rename {target-i386 => target/i386}/int_helper.c (100%)
rename {target-i386 => target/i386}/kvm-stub.c (100%)
rename {target-i386 => target/i386}/kvm.c (100%)
rename {target-i386 => target/i386}/kvm_i386.h (100%)
rename {target-i386 => target/i386}/machine.c (100%)
rename {target-i386 => target/i386}/mem_helper.c (100%)
rename {target-i386 => target/i386}/misc_helper.c (100%)
rename {target-i386 => target/i386}/monitor.c (100%)
rename {target-i386 => target/i386}/mpx_helper.c (100%)
rename {target-i386 => target/i386}/ops_sse.h (100%)
rename {target-i386 => target/i386}/ops_sse_header.h (100%)
rename {target-i386 => target/i386}/seg_helper.c (100%)
rename {target-i386 => target/i386}/shift_helper_template.h (100%)
rename {target-i386 => target/i386}/smm_helper.c (100%)
rename {target-i386 => target/i386}/svm.h (100%)
rename {target-i386 => target/i386}/svm_helper.c (100%)
rename {target-i386 => target/i386}/trace-events (94%)
rename {target-i386 => target/i386}/translate.c (100%)MAINTAINERS +2 -2
@@ -235,7 +235,7 @@ M: Paolo Bonzini <[email protected]> M: Richard Henderson <[email protected]> M: Eduardo Habkost <[email protected]> S: Maintained -F: target-i386/ +F: target/i386/ F: hw/i386/ F: disas/i386.c
@@ -301,7 +301,7 @@ M: Paolo Bonzini <[email protected]> M: Marcelo Tosatti <[email protected]> L: [email protected] S: Supported -F: target-i386/kvm.c +F: target/i386/kvm.c Guest CPU Cores (Xen): ----------------------
Makefile.objs +1 -1
@@ -156,7 +156,7 @@ 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/i386/trace-events trace-events-y += target-sparc/trace-events trace-events-y += target-s390x/trace-events trace-events-y += target/ppc/trace-events
hw/i386/acpi-build.c +1 -1
@@ -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"
hw/i386/kvm/apic.c +1 -1
@@ -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)
hw/intc/ioapic.c +1 -1
@@ -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"
hw/misc/hyperv_testdev.c +1 -1
@@ -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
scripts/analyze-inclusions +3 -3
@@ -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
target/i386/Makefile.objs renamed from target-i386/Makefile.objs +0 -0
target/i386/TODO renamed from target-i386/TODO +0 -0
target/i386/arch_dump.c renamed from target-i386/arch_dump.c +0 -0
target/i386/arch_memory_mapping.c renamed from target-i386/arch_memory_mapping.c +0 -0
target/i386/bpt_helper.c renamed from target-i386/bpt_helper.c +0 -0
target/i386/cc_helper.c renamed from target-i386/cc_helper.c +0 -0
target/i386/cc_helper_template.h renamed from target-i386/cc_helper_template.h +0 -0
target/i386/cpu-qom.h renamed from target-i386/cpu-qom.h +0 -0
target/i386/cpu.c renamed from target-i386/cpu.c +0 -0
target/i386/cpu.h renamed from target-i386/cpu.h +0 -0
target/i386/excp_helper.c renamed from target-i386/excp_helper.c +0 -0
target/i386/fpu_helper.c renamed from target-i386/fpu_helper.c +0 -0
target/i386/gdbstub.c renamed from target-i386/gdbstub.c +0 -0
target/i386/helper.c renamed from target-i386/helper.c +0 -0
target/i386/helper.h renamed from target-i386/helper.h +0 -0
target/i386/hyperv.c renamed from target-i386/hyperv.c +0 -0
target/i386/hyperv.h renamed from target-i386/hyperv.h +0 -0
target/i386/int_helper.c renamed from target-i386/int_helper.c +0 -0
target/i386/kvm-stub.c renamed from target-i386/kvm-stub.c +0 -0
target/i386/kvm.c renamed from target-i386/kvm.c +0 -0
target/i386/kvm_i386.h renamed from target-i386/kvm_i386.h +0 -0
target/i386/machine.c renamed from target-i386/machine.c +0 -0
target/i386/mem_helper.c renamed from target-i386/mem_helper.c +0 -0
target/i386/misc_helper.c renamed from target-i386/misc_helper.c +0 -0
target/i386/monitor.c renamed from target-i386/monitor.c +0 -0
target/i386/mpx_helper.c renamed from target-i386/mpx_helper.c +0 -0
target/i386/ops_sse.h renamed from target-i386/ops_sse.h +0 -0
target/i386/ops_sse_header.h renamed from target-i386/ops_sse_header.h +0 -0
target/i386/seg_helper.c renamed from target-i386/seg_helper.c +0 -0
target/i386/shift_helper_template.h renamed from target-i386/shift_helper_template.h +0 -0
target/i386/smm_helper.c renamed from target-i386/smm_helper.c +0 -0
target/i386/svm.h renamed from target-i386/svm.h +0 -0
target/i386/svm_helper.c renamed from target-i386/svm_helper.c +0 -0
target/i386/trace-events renamed from target-i386/trace-events +1 -1
@@ -1,6 +1,6 @@ # See docs/tracing.txt for syntax documentation. -# target-i386/kvm.c +# target/i386/kvm.c kvm_x86_fixup_msi_error(uint32_t gsi) "VT-d failed to remap interrupt for GSI %" PRIu32 kvm_x86_add_msi_route(int virq) "Adding route entry for virq %d" kvm_x86_remove_msi_route(int virq) "Removing route entry for virq %d"
target/i386/translate.c renamed from target-i386/translate.c +0 -0
Signature · 1 line
1.8.3.1
RFC 8/11 microblaze: Move CPU files to target/ folder
In reply to Thomas Huth---
MAINTAINERS | 2 +-
{target-microblaze => target/microblaze}/Makefile.objs | 0
{target-microblaze => target/microblaze}/cpu-qom.h | 0
{target-microblaze => target/microblaze}/cpu.c | 0
{target-microblaze => target/microblaze}/cpu.h | 0
{target-microblaze => target/microblaze}/gdbstub.c | 0
{target-microblaze => target/microblaze}/helper.c | 0
{target-microblaze => target/microblaze}/helper.h | 0
{target-microblaze => target/microblaze}/microblaze-decode.h | 0
{target-microblaze => target/microblaze}/mmu.c | 0
{target-microblaze => target/microblaze}/mmu.h | 0
{target-microblaze => target/microblaze}/op_helper.c | 0
{target-microblaze => target/microblaze}/translate.c | 0
13 files changed, 1 insertion(+), 1 deletion(-)
rename {target-microblaze => target/microblaze}/Makefile.objs (100%)
rename {target-microblaze => target/microblaze}/cpu-qom.h (100%)
rename {target-microblaze => target/microblaze}/cpu.c (100%)
rename {target-microblaze => target/microblaze}/cpu.h (100%)
rename {target-microblaze => target/microblaze}/gdbstub.c (100%)
rename {target-microblaze => target/microblaze}/helper.c (100%)
rename {target-microblaze => target/microblaze}/helper.h (100%)
rename {target-microblaze => target/microblaze}/microblaze-decode.h (100%)
rename {target-microblaze => target/microblaze}/mmu.c (100%)
rename {target-microblaze => target/microblaze}/mmu.h (100%)
rename {target-microblaze => target/microblaze}/op_helper.c (100%)
rename {target-microblaze => target/microblaze}/translate.c (100%)MAINTAINERS +1 -1
@@ -153,7 +153,7 @@ F: disas/m68k.c MicroBlaze M: Edgar E. Iglesias <[email protected]> S: Maintained -F: target-microblaze/ +F: target/microblaze/ F: hw/microblaze/ F: disas/microblaze.c
target/microblaze/Makefile.objs renamed from target-microblaze/Makefile.objs +0 -0
target/microblaze/cpu-qom.h renamed from target-microblaze/cpu-qom.h +0 -0
target/microblaze/cpu.c renamed from target-microblaze/cpu.c +0 -0
target/microblaze/cpu.h renamed from target-microblaze/cpu.h +0 -0
target/microblaze/gdbstub.c renamed from target-microblaze/gdbstub.c +0 -0
target/microblaze/helper.c renamed from target-microblaze/helper.c +0 -0
target/microblaze/helper.h renamed from target-microblaze/helper.h +0 -0
target/microblaze/microblaze-decode.h renamed from target-microblaze/microblaze-decode.h +0 -0
target/microblaze/mmu.c renamed from target-microblaze/mmu.c +0 -0
target/microblaze/mmu.h renamed from target-microblaze/mmu.h +0 -0
target/microblaze/op_helper.c renamed from target-microblaze/op_helper.c +0 -0
target/microblaze/translate.c renamed from target-microblaze/translate.c +0 -0
Signature · 1 line
1.8.3.1
RFC 9/11 mips: Move CPU files to target/ folder
In reply to Thomas Huth---
MAINTAINERS | 4 ++--
include/hw/mips/cpudevs.h | 2 +-
{target-mips => target/mips}/Makefile.objs | 0
{target-mips => target/mips}/TODO | 0
{target-mips => target/mips}/cpu-qom.h | 0
{target-mips => target/mips}/cpu.c | 0
{target-mips => target/mips}/cpu.h | 0
{target-mips => target/mips}/dsp_helper.c | 0
{target-mips => target/mips}/gdbstub.c | 0
{target-mips => target/mips}/helper.c | 0
{target-mips => target/mips}/helper.h | 0
{target-mips => target/mips}/kvm.c | 0
{target-mips => target/mips}/kvm_mips.h | 0
{target-mips => target/mips}/lmi_helper.c | 0
{target-mips => target/mips}/machine.c | 0
{target-mips => target/mips}/mips-defs.h | 0
{target-mips => target/mips}/mips-semi.c | 0
{target-mips => target/mips}/msa_helper.c | 0
{target-mips => target/mips}/op_helper.c | 0
{target-mips => target/mips}/translate.c | 0
{target-mips => target/mips}/translate_init.c | 0
21 files changed, 3 insertions(+), 3 deletions(-)
rename {target-mips => target/mips}/Makefile.objs (100%)
rename {target-mips => target/mips}/TODO (100%)
rename {target-mips => target/mips}/cpu-qom.h (100%)
rename {target-mips => target/mips}/cpu.c (100%)
rename {target-mips => target/mips}/cpu.h (100%)
rename {target-mips => target/mips}/dsp_helper.c (100%)
rename {target-mips => target/mips}/gdbstub.c (100%)
rename {target-mips => target/mips}/helper.c (100%)
rename {target-mips => target/mips}/helper.h (100%)
rename {target-mips => target/mips}/kvm.c (100%)
rename {target-mips => target/mips}/kvm_mips.h (100%)
rename {target-mips => target/mips}/lmi_helper.c (100%)
rename {target-mips => target/mips}/machine.c (100%)
rename {target-mips => target/mips}/mips-defs.h (100%)
rename {target-mips => target/mips}/mips-semi.c (100%)
rename {target-mips => target/mips}/msa_helper.c (100%)
rename {target-mips => target/mips}/op_helper.c (100%)
rename {target-mips => target/mips}/translate.c (100%)
rename {target-mips => target/mips}/translate_init.c (100%)MAINTAINERS +2 -2
@@ -161,7 +161,7 @@ MIPS M: Aurelien Jarno <[email protected]> M: Yongbok Kim <[email protected]> S: Maintained -F: target-mips/ +F: target/mips/ F: hw/mips/ F: hw/misc/mips_* F: hw/intc/mips_gic.c
@@ -274,7 +274,7 @@ F: target/arm/kvm.c MIPS M: James Hogan <[email protected]> S: Maintained -F: target-mips/kvm.c +F: target/mips/kvm.c PPC M: Alexander Graf <[email protected]>
include/hw/mips/cpudevs.h +1 -1
@@ -1,7 +1,7 @@#ifndef HW_MIPS_CPUDEVS_H #define HW_MIPS_CPUDEVS_H -#include "target-mips/cpu-qom.h" +#include "cpu-qom.h" /* Definitions for MIPS CPU internal devices. */
target/mips/Makefile.objs renamed from target-mips/Makefile.objs +0 -0
target/mips/TODO renamed from target-mips/TODO +0 -0
target/mips/cpu-qom.h renamed from target-mips/cpu-qom.h +0 -0
target/mips/cpu.c renamed from target-mips/cpu.c +0 -0
target/mips/cpu.h renamed from target-mips/cpu.h +0 -0
target/mips/dsp_helper.c renamed from target-mips/dsp_helper.c +0 -0
target/mips/gdbstub.c renamed from target-mips/gdbstub.c +0 -0
target/mips/helper.c renamed from target-mips/helper.c +0 -0
target/mips/helper.h renamed from target-mips/helper.h +0 -0
target/mips/kvm.c renamed from target-mips/kvm.c +0 -0
target/mips/kvm_mips.h renamed from target-mips/kvm_mips.h +0 -0
target/mips/lmi_helper.c renamed from target-mips/lmi_helper.c +0 -0
target/mips/machine.c renamed from target-mips/machine.c +0 -0
target/mips/mips-defs.h renamed from target-mips/mips-defs.h +0 -0
target/mips/mips-semi.c renamed from target-mips/mips-semi.c +0 -0
target/mips/msa_helper.c renamed from target-mips/msa_helper.c +0 -0
target/mips/op_helper.c renamed from target-mips/op_helper.c +0 -0
target/mips/translate.c renamed from target-mips/translate.c +0 -0
target/mips/translate_init.c renamed from target-mips/translate_init.c +0 -0
Signature · 1 line
1.8.3.1
RFC 10/11 s390x: Move CPU files to target/ folder
In reply to Thomas Huth---
MAINTAINERS | 8 ++++----
Makefile.objs | 2 +-
{target-s390x => target/s390x}/Makefile.objs | 2 +-
{target-s390x => target/s390x}/arch_dump.c | 0
{target-s390x => target/s390x}/cc_helper.c | 0
{target-s390x => target/s390x}/cpu-qom.h | 0
{target-s390x => target/s390x}/cpu.c | 0
{target-s390x => target/s390x}/cpu.h | 0
{target-s390x => target/s390x}/cpu_features.c | 0
{target-s390x => target/s390x}/cpu_features.h | 0
{target-s390x => target/s390x}/cpu_features_def.h | 0
{target-s390x => target/s390x}/cpu_models.c | 0
{target-s390x => target/s390x}/cpu_models.h | 0
{target-s390x => target/s390x}/fpu_helper.c | 0
{target-s390x => target/s390x}/gdbstub.c | 0
{target-s390x => target/s390x}/gen-features.c | 0
{target-s390x => target/s390x}/helper.c | 0
{target-s390x => target/s390x}/helper.h | 0
{target-s390x => target/s390x}/insn-data.def | 0
{target-s390x => target/s390x}/insn-format.def | 0
{target-s390x => target/s390x}/int_helper.c | 0
{target-s390x => target/s390x}/interrupt.c | 0
{target-s390x => target/s390x}/ioinst.c | 0
{target-s390x => target/s390x}/kvm.c | 0
{target-s390x => target/s390x}/machine.c | 0
{target-s390x => target/s390x}/mem_helper.c | 0
{target-s390x => target/s390x}/misc_helper.c | 0
{target-s390x => target/s390x}/mmu_helper.c | 0
{target-s390x => target/s390x}/trace-events | 8 ++++----
{target-s390x => target/s390x}/translate.c | 0
30 files changed, 10 insertions(+), 10 deletions(-)
rename {target-s390x => target/s390x}/Makefile.objs (94%)
rename {target-s390x => target/s390x}/arch_dump.c (100%)
rename {target-s390x => target/s390x}/cc_helper.c (100%)
rename {target-s390x => target/s390x}/cpu-qom.h (100%)
rename {target-s390x => target/s390x}/cpu.c (100%)
rename {target-s390x => target/s390x}/cpu.h (100%)
rename {target-s390x => target/s390x}/cpu_features.c (100%)
rename {target-s390x => target/s390x}/cpu_features.h (100%)
rename {target-s390x => target/s390x}/cpu_features_def.h (100%)
rename {target-s390x => target/s390x}/cpu_models.c (100%)
rename {target-s390x => target/s390x}/cpu_models.h (100%)
rename {target-s390x => target/s390x}/fpu_helper.c (100%)
rename {target-s390x => target/s390x}/gdbstub.c (100%)
rename {target-s390x => target/s390x}/gen-features.c (100%)
rename {target-s390x => target/s390x}/helper.c (100%)
rename {target-s390x => target/s390x}/helper.h (100%)
rename {target-s390x => target/s390x}/insn-data.def (100%)
rename {target-s390x => target/s390x}/insn-format.def (100%)
rename {target-s390x => target/s390x}/int_helper.c (100%)
rename {target-s390x => target/s390x}/interrupt.c (100%)
rename {target-s390x => target/s390x}/ioinst.c (100%)
rename {target-s390x => target/s390x}/kvm.c (100%)
rename {target-s390x => target/s390x}/machine.c (100%)
rename {target-s390x => target/s390x}/mem_helper.c (100%)
rename {target-s390x => target/s390x}/misc_helper.c (100%)
rename {target-s390x => target/s390x}/mmu_helper.c (100%)
rename {target-s390x => target/s390x}/trace-events (91%)
rename {target-s390x => target/s390x}/translate.c (100%)MAINTAINERS +4 -4
@@ -202,7 +202,7 @@ S390 M: Richard Henderson <[email protected]> M: Alexander Graf <[email protected]> S: Maintained -F: target-s390x/ +F: target/s390x/ F: hw/s390x/ F: disas/s390.c
@@ -286,9 +286,9 @@ M: Christian Borntraeger <[email protected]> M: Cornelia Huck <[email protected]> M: Alexander Graf <[email protected]> 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
Makefile.objs +1 -1
@@ -158,7 +158,7 @@ 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/s390x/trace-events trace-events-y += target/ppc/trace-events trace-events-y += qom/trace-events trace-events-y += linux-user/trace-events
target/s390x/Makefile.objs renamed from target-s390x/Makefile.objs +1 -1
@@ -5,7 +5,7 @@ obj-$(CONFIG_SOFTMMU) += machine.o ioinst.o arch_dump.o mmu_helper.o obj-$(CONFIG_KVM) += kvm.o # build and run feature list generator -feat-src = $(SRC_PATH)/target-$(TARGET_BASE_ARCH)/ +feat-src = $(SRC_PATH)/target/$(TARGET_BASE_ARCH)/ feat-dst = $(BUILD_DIR)/$(TARGET_DIR) ifneq ($(MAKECMDGOALS),clean) GENERATED_HEADERS += $(feat-dst)gen-features.h
target/s390x/arch_dump.c renamed from target-s390x/arch_dump.c +0 -0
target/s390x/cc_helper.c renamed from target-s390x/cc_helper.c +0 -0
target/s390x/cpu-qom.h renamed from target-s390x/cpu-qom.h +0 -0
target/s390x/cpu.c renamed from target-s390x/cpu.c +0 -0
target/s390x/cpu.h renamed from target-s390x/cpu.h +0 -0
target/s390x/cpu_features.c renamed from target-s390x/cpu_features.c +0 -0
target/s390x/cpu_features.h renamed from target-s390x/cpu_features.h +0 -0
target/s390x/cpu_features_def.h renamed from target-s390x/cpu_features_def.h +0 -0
target/s390x/cpu_models.c renamed from target-s390x/cpu_models.c +0 -0
target/s390x/cpu_models.h renamed from target-s390x/cpu_models.h +0 -0
target/s390x/fpu_helper.c renamed from target-s390x/fpu_helper.c +0 -0
target/s390x/gdbstub.c renamed from target-s390x/gdbstub.c +0 -0
target/s390x/gen-features.c renamed from target-s390x/gen-features.c +0 -0
target/s390x/helper.c renamed from target-s390x/helper.c +0 -0
target/s390x/helper.h renamed from target-s390x/helper.h +0 -0
target/s390x/insn-data.def renamed from target-s390x/insn-data.def +0 -0
target/s390x/insn-format.def renamed from target-s390x/insn-format.def +0 -0
target/s390x/int_helper.c renamed from target-s390x/int_helper.c +0 -0
target/s390x/interrupt.c renamed from target-s390x/interrupt.c +0 -0
target/s390x/ioinst.c renamed from target-s390x/ioinst.c +0 -0
target/s390x/kvm.c renamed from target-s390x/kvm.c +0 -0
target/s390x/machine.c renamed from target-s390x/machine.c +0 -0
target/s390x/mem_helper.c renamed from target-s390x/mem_helper.c +0 -0
target/s390x/misc_helper.c renamed from target-s390x/misc_helper.c +0 -0
target/s390x/mmu_helper.c renamed from target-s390x/mmu_helper.c +0 -0
target/s390x/trace-events renamed from target-s390x/trace-events +4 -4
@@ -1,22 +1,22 @@ # See docs/tracing.txt for syntax documentation. -# target-s390x/mmu_helper.c +# target/s390x/mmu_helper.c get_skeys_nonzero(int rc) "SKEY: Call to get_skeys unexpectedly returned %d" set_skeys_nonzero(int rc) "SKEY: Call to set_skeys unexpectedly returned %d" -# target-s390x/ioinst.c +# target/s390x/ioinst.c ioinst(const char *insn) "IOINST: %s" ioinst_sch_id(const char *insn, int cssid, int ssid, int schid) "IOINST: %s (%x.%x.%04x)" ioinst_chp_id(const char *insn, int cssid, int chpid) "IOINST: %s (%x.%02x)" ioinst_chsc_cmd(uint16_t cmd, uint16_t len) "IOINST: chsc command %04x, len %04x" -# target-s390x/kvm.c +# target/s390x/kvm.c kvm_enable_cmma(int rc) "CMMA: enabling with result code %d" kvm_clear_cmma(int rc) "CMMA: clearing with result code %d" kvm_failed_cpu_state_set(int cpu_index, uint8_t state, const char *msg) "Warning: Unable to set cpu %d state %" PRIu8 " to KVM: %s" kvm_sigp_finished(uint8_t order, int cpu_index, int dst_index, int cc) "SIGP: Finished order %u on cpu %d -> cpu %d with cc=%d" -# target-s390x/cpu.c +# target/s390x/cpu.c cpu_set_state(int cpu_index, uint8_t state) "setting cpu %d state to %" PRIu8 cpu_halt(int cpu_index) "halting cpu %d" cpu_unhalt(int cpu_index) "unhalting cpu %d"
target/s390x/translate.c renamed from target-s390x/translate.c +0 -0
Signature · 1 line
1.8.3.1
RFC 11/11 sparc: Move CPU files to target/ folder
In reply to Thomas Huth---
MAINTAINERS | 2 +-
Makefile.objs | 2 +-
{target-sparc => target/sparc}/Makefile.objs | 0
{target-sparc => target/sparc}/TODO | 0
{target-sparc => target/sparc}/asi.h | 0
{target-sparc => target/sparc}/cc_helper.c | 0
{target-sparc => target/sparc}/cpu-qom.h | 0
{target-sparc => target/sparc}/cpu.c | 0
{target-sparc => target/sparc}/cpu.h | 0
{target-sparc => target/sparc}/fop_helper.c | 0
{target-sparc => target/sparc}/gdbstub.c | 0
{target-sparc => target/sparc}/helper.c | 0
{target-sparc => target/sparc}/helper.h | 0
{target-sparc => target/sparc}/int32_helper.c | 0
{target-sparc => target/sparc}/int64_helper.c | 0
{target-sparc => target/sparc}/ldst_helper.c | 0
{target-sparc => target/sparc}/machine.c | 0
{target-sparc => target/sparc}/mmu_helper.c | 0
{target-sparc => target/sparc}/monitor.c | 0
{target-sparc => target/sparc}/trace-events | 8 ++++----
{target-sparc => target/sparc}/translate.c | 0
{target-sparc => target/sparc}/vis_helper.c | 0
{target-sparc => target/sparc}/win_helper.c | 0
23 files changed, 6 insertions(+), 6 deletions(-)
rename {target-sparc => target/sparc}/Makefile.objs (100%)
rename {target-sparc => target/sparc}/TODO (100%)
rename {target-sparc => target/sparc}/asi.h (100%)
rename {target-sparc => target/sparc}/cc_helper.c (100%)
rename {target-sparc => target/sparc}/cpu-qom.h (100%)
rename {target-sparc => target/sparc}/cpu.c (100%)
rename {target-sparc => target/sparc}/cpu.h (100%)
rename {target-sparc => target/sparc}/fop_helper.c (100%)
rename {target-sparc => target/sparc}/gdbstub.c (100%)
rename {target-sparc => target/sparc}/helper.c (100%)
rename {target-sparc => target/sparc}/helper.h (100%)
rename {target-sparc => target/sparc}/int32_helper.c (100%)
rename {target-sparc => target/sparc}/int64_helper.c (100%)
rename {target-sparc => target/sparc}/ldst_helper.c (100%)
rename {target-sparc => target/sparc}/machine.c (100%)
rename {target-sparc => target/sparc}/mmu_helper.c (100%)
rename {target-sparc => target/sparc}/monitor.c (100%)
rename {target-sparc => target/sparc}/trace-events (94%)
rename {target-sparc => target/sparc}/translate.c (100%)
rename {target-sparc => target/sparc}/vis_helper.c (100%)
rename {target-sparc => target/sparc}/win_helper.c (100%)MAINTAINERS +1 -1
@@ -218,7 +218,7 @@ SPARC M: Mark Cave-Ayland <[email protected]> M: Artyom Tarasenko <[email protected]> S: Maintained -F: target-sparc/ +F: target/sparc/ F: hw/sparc/ F: hw/sparc64/ F: disas/sparc.c
Makefile.objs +1 -1
@@ -157,7 +157,7 @@ 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/sparc/trace-events trace-events-y += target/s390x/trace-events trace-events-y += target/ppc/trace-events trace-events-y += qom/trace-events
target/sparc/Makefile.objs renamed from target-sparc/Makefile.objs +0 -0
target/sparc/TODO renamed from target-sparc/TODO +0 -0
target/sparc/asi.h renamed from target-sparc/asi.h +0 -0
target/sparc/cc_helper.c renamed from target-sparc/cc_helper.c +0 -0
target/sparc/cpu-qom.h renamed from target-sparc/cpu-qom.h +0 -0
target/sparc/cpu.c renamed from target-sparc/cpu.c +0 -0
target/sparc/cpu.h renamed from target-sparc/cpu.h +0 -0
target/sparc/fop_helper.c renamed from target-sparc/fop_helper.c +0 -0
target/sparc/gdbstub.c renamed from target-sparc/gdbstub.c +0 -0
target/sparc/helper.c renamed from target-sparc/helper.c +0 -0
target/sparc/helper.h renamed from target-sparc/helper.h +0 -0
target/sparc/int32_helper.c renamed from target-sparc/int32_helper.c +0 -0
target/sparc/int64_helper.c renamed from target-sparc/int64_helper.c +0 -0
target/sparc/ldst_helper.c renamed from target-sparc/ldst_helper.c +0 -0
target/sparc/machine.c renamed from target-sparc/machine.c +0 -0
target/sparc/mmu_helper.c renamed from target-sparc/mmu_helper.c +0 -0
target/sparc/monitor.c renamed from target-sparc/monitor.c +0 -0
target/sparc/trace-events renamed from target-sparc/trace-events +4 -4
@@ -1,6 +1,6 @@ # See docs/tracing.txt for syntax documentation. -# target-sparc/mmu_helper.c +# target/sparc/mmu_helper.c mmu_helper_dfault(uint64_t address, uint64_t context, int mmu_idx, uint32_t tl) "DFAULT at %"PRIx64" context %"PRIx64" mmu_idx=%d tl=%d" mmu_helper_dprot(uint64_t address, uint64_t context, int mmu_idx, uint32_t tl) "DPROT at %"PRIx64" context %"PRIx64" mmu_idx=%d tl=%d" mmu_helper_dmiss(uint64_t address, uint64_t context) "DMISS at %"PRIx64" context %"PRIx64
@@ -10,16 +10,16 @@ mmu_helper_get_phys_addr_code(uint32_t tl, int mmu_idx, uint64_t prim_context, u mmu_helper_get_phys_addr_data(uint32_t tl, int mmu_idx, uint64_t prim_context, uint64_t sec_context, uint64_t address) "tl=%d mmu_idx=%d primary context=%"PRIx64" secondary context=%"PRIx64" address=%"PRIx64 mmu_helper_mmu_fault(uint64_t address, uint64_t paddr, int mmu_idx, uint32_t tl, uint64_t prim_context, uint64_t sec_context) "Translate at %"PRIx64" -> %"PRIx64", mmu_idx=%d tl=%d primary context=%"PRIx64" secondary context=%"PRIx64 -# target-sparc/int64_helper.c +# target/sparc/int64_helper.c int_helper_set_softint(uint32_t softint) "new %08x" int_helper_clear_softint(uint32_t softint) "new %08x" int_helper_write_softint(uint32_t softint) "new %08x" -# target-sparc/int32_helper.c +# target/sparc/int32_helper.c int_helper_icache_freeze(void) "Instruction cache: freeze" int_helper_dcache_freeze(void) "Data cache: freeze" -# target-sparc/win_helper.c +# target/sparc/win_helper.c win_helper_gregset_error(uint32_t pstate) "ERROR in get_gregset: active pstate bits=%x" win_helper_switch_pstate(uint32_t pstate_regs, uint32_t new_pstate_regs) "change_pstate: switching regs old=%x new=%x" win_helper_no_switch_pstate(uint32_t new_pstate_regs) "change_pstate: regs new=%x (unchanged)"
target/sparc/translate.c renamed from target-sparc/translate.c +0 -0
target/sparc/vis_helper.c renamed from target-sparc/vis_helper.c +0 -0
target/sparc/win_helper.c renamed from target-sparc/win_helper.c +0 -0
Signature · 1 line
1.8.3.1
Quoted 21 lines · Thomas Huth
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.
Thus I'd like to suggest that we move the target-xxx folders into a dedicated target/ folder, so that target-xxx/ simply becomes target/xxx/ instead.The first patch is the most important one here, it prepares the build system to be able to deal with both, target-xxx and target/xxx folders. Once that has been applied, each target architecture could be moved to the target/ folder when it is convenient for the subsytem maintainer to do the move (i.e. we do not have to move all files immediately in one go). So if we agree to do this change and the first patch has been committed, I could rather send the following patches step by step to the maintainers so they can queue the patch for their subsystem for a good point in time. And new architectures like RISC-V and AVR could start in the target/ folder immediately instead.
Quoted 2 lines
So please provide some feedback: Is this a good idea? Or do you consider this rather just as unnecessary code churn instead?
Given the low amount of manpower for the stable work, I think this will cause more harm than it helps. So my gut feeling is to keep it as is.
Christian
Quoted 21 lines · Thomas Huth
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.
Thus I'd like to suggest that we move the target-xxx folders into a dedicated target/ folder, so that target-xxx/ simply becomes target/xxx/ instead.The first patch is the most important one here, it prepares the build system to be able to deal with both, target-xxx and target/xxx folders. Once that has been applied, each target architecture could be moved to the target/ folder when it is convenient for the subsytem maintainer to do the move (i.e. we do not have to move all files immediately in one go). So if we agree to do this change and the first patch has been committed, I could rather send the following patches step by step to the maintainers so they can queue the patch for their subsystem for a good point in time. And new architectures like RISC-V and AVR could start in the target/ folder immediately instead.
Quoted 3 lines
So please provide some feedback: Is this a good idea? Or do you consider this rather just as unnecessary code churn instead?
IMHO, it seems a good idea.
Nevertheless, I'm not sure to be able to manage both in the makefile is a good idea: it can become a little bit messy.
Thanks,
Laurent
Quoted 22 lines · Laurent Vivier
Quoted 21 lines · Thomas Huth
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.
Thus I'd like to suggest that we move the target-xxx folders into a dedicated target/ folder, so that target-xxx/ simply becomes target/xxx/ instead.The first patch is the most important one here, it prepares the build system to be able to deal with both, target-xxx and target/xxx folders. Once that has been applied, each target architecture could be moved to the target/ folder when it is convenient for the subsytem maintainer to do the move (i.e. we do not have to move all files immediately in one go). So if we agree to do this change and the first patch has been committed, I could rather send the following patches step by step to the maintainers so they can queue the patch for their subsystem for a good point in time. And new architectures like RISC-V and AVR could start in the target/ folder immediately instead.
Quoted 8 lines
Quoted 3 lines
So please provide some feedback: Is this a good idea? Or do you consider this rather just as unnecessary code churn instead?
IMHO, it seems a good idea.
Nevertheless, I'm not sure to be able to manage both in the makefile is a good idea: it can become a little bit messy.
That's of course only a temporary solution. Once all targets have been moved, the Makefile should be changed to only look into the target/xxx folders.
Thomas
Quoted 11 lines · Thomas Huth
The first patch is the most important one here, it prepares the build system to be able to deal with both, target-xxx and target/xxx folders. Once that has been applied, each target architecture could be moved to the target/ folder when it is convenient for the subsytem maintainer to do the move (i.e. we do not have to move all files immediately in one go). So if we agree to do this change and the first patch has been committed, I could rather send the following patches step by step to the maintainers so they can queue the patch for their subsystem for a good point in time. And new architectures like RISC-V and AVR could start in the target/ folder immediately instead.
I don't see why we need to support both target-xxx and target/xxx/. Let's just move everything all at once.
r~
Quoted 13 lines · Richard Henderson
Quoted 11 lines · Thomas Huth
The first patch is the most important one here, it prepares the build system to be able to deal with both, target-xxx and target/xxx folders. Once that has been applied, each target architecture could be moved to the target/ folder when it is convenient for the subsytem maintainer to do the move (i.e. we do not have to move all files immediately in one go). So if we agree to do this change and the first patch has been committed, I could rather send the following patches step by step to the maintainers so they can queue the patch for their subsystem for a good point in time. And new architectures like RISC-V and AVR could start in the target/ folder immediately instead.
Quoted 2 lines
I don't see why we need to support both target-xxx and target/xxx/. Let's just move everything all at once.
As a hack introduced at the start of the series and pulled out at the end, it makes total sense, in order to divide the series into more manageable and reviewable chunks. But I agree that by the end of the series, we should be back to only one naming convention, not two, otherwise this is just another unfinished project.
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Quoted 6 lines · Christian Borntraeger
Quoted 2 lines
So please provide some feedback: Is this a good idea? Or do you consider this rather just as unnecessary code churn instead?
Given the low amount of manpower for the stable work, I think this will cause more harm than it helps. So my gut feeling is to keep it as is.
Git rename detection does a phenomenally good job at rebasing patches across file renames. I don't think backporting patches to stable branches is going to be as difficult problem as you make it out to be, and I'm in favor of the rename for better organization.
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org