More work toward single-binary. Some files have external dependencies for the single-binary: - target/arm/machine.c: migration - target/arm/gdbstub.c: gdbhelpers - target/arm/arm-qmp-cmds.c: qapi They will not be ported in this series.
Built on {linux, windows, macos} x {x86_64, aarch64} Fully tested on linux-x86_64 v1 -- - target/arm/cpu.c v2 -- - Remove duplication of kvm struct and constant (Alex) - Use target_big_endian() (Anton) v3 -- CI: https://github.com/pbo-linaro/qemu/actions/runs/14765763846/job/41456754153 - Add missing license for new files (Richard) - target/arm/debug_helper.c - target/arm/helper.c - target/arm/vfp_fpscr.c - target/arm/arch_dump.c - target/arm/arm-powerctl.c - target/arm/cortex-regs.c - target/arm/ptw.c - target/arm/kvm-stub.c Philippe Mathieu-Daudé (1): target/arm: Replace target_ulong -> uint64_t for HWBreakpoint Pierrick Bouvier (32): include/system/hvf: missing vaddr include meson: add common libs for target and target_system target/arm: move kvm stubs and remove CONFIG_KVM from kvm_arm.h target/arm/kvm-stub: add kvm_arm_reset_vcpu stub target/arm/cpu: move arm_cpu_kvm_set_irq to kvm.c accel/hvf: add hvf_enabled() for common code target/arm/cpu: remove TARGET_BIG_ENDIAN dependency target/arm/cpu: remove TARGET_AARCH64 around aarch64_cpu_dump_state common target/arm/cpu: remove TARGET_AARCH64 in arm_cpu_finalize_features target/arm/cpu: compile file twice (user, system) only target/arm/cpu32-stubs.c: compile file twice (user, system) target/arm/helper: use i64 for exception_pc_alignment target/arm/helper: user i64 for probe_access target/arm/helper: extract common helpers target/arm/debug_helper: only include common helpers target/arm/debug_helper: remove target_ulong target/arm/debug_helper: compile file twice (user, system) target/arm/helper: restrict include to common helpers target/arm/helper: replace target_ulong by vaddr target/arm/helper: expose aarch64 cpu registration target/arm/helper: remove remaining TARGET_AARCH64 target/arm/helper: compile file twice (user, system) target/arm/vfp_fpscr: compile file twice (user, system) target/arm/arch_dump: remove TARGET_AARCH64 conditionals target/arm/arch_dump: compile file once (system) target/arm/arm-powerctl: compile file once (system) target/arm/cortex-regs: compile file once (system) target/arm/ptw: replace target_ulong with uint64_t target/arm/ptw: remove TARGET_AARCH64 from arm_casq_ptw target/arm/ptw: compile file once (system) target/arm/meson: accelerator files are not needed in user mode target/arm/kvm-stub: compile file once (system) meson.build | 78 ++- include/system/hvf.h | 15 +- target/arm/helper.h | 1152 +------------------------------ target/arm/internals.h | 6 +- target/arm/kvm_arm.h | 83 +-- target/arm/tcg/helper.h | 1153 ++++++++++++++++++++++++++++++++ accel/hvf/hvf-stub.c | 5 + target/arm/arch_dump.c | 6 - target/arm/cpu.c | 47 +- target/arm/cpu32-stubs.c | 26 + target/arm/debug_helper.c | 6 +- target/arm/helper.c | 21 +- target/arm/hyp_gdbstub.c | 6 +- target/arm/kvm-stub.c | 87 +++ target/arm/kvm.c | 29 + target/arm/ptw.c | 17 +- target/arm/tcg/op_helper.c | 2 +- target/arm/tcg/tlb_helper.c | 2 +- target/arm/tcg/translate-a64.c | 2 +- target/arm/tcg/translate.c | 2 +- accel/hvf/meson.build | 1 + target/arm/meson.build | 43 +- 22 files changed, 1436 insertions(+), 1353 deletions(-) create mode 100644 target/arm/tcg/helper.h create mode 100644 accel/hvf/hvf-stub.c create mode 100644 target/arm/cpu32-stubs.c -- 2.47.2