This patch series finishes the the changes required to support disabling TCG for ppc targets.
With the current version of the patch, the project compiles and runs ok, but we need some more testing to ensure that no regressions happened, especially with relation to gdb. For patch 7, if we were to avoid ifdef'ing the header files, we'd need to change the configure script, and we wanted to restrict the amount of subsystems touched. We can add it to the list of future cleanup if everything is merged. Based-on: <20210518201146.794854-1-richard.hender...@linaro.org> Changelog for v3: * undone split, since rth's patch fixes what we needed * changed commit message for patch 1 * added some fixes suggested by dgibson for patch 7 Changelog for v2: * split the patch series * added a fix for 5d145639e, which no longer compiles with linux-user * removed patches ther were already accepted * applied rth's cleanup to ppc_store_sdr1 * changed destination of ppc_store_msr * undone change to helper-proto, now fewer files include it Bruno Larsen (billionai) (9): target/ppc: cleaned error_report from ppc_store_sdr1 target/ppc: moved ppc_store_lpcr and ppc_store_msr to cpu.c target/ppc: reduce usage of fpscr_set_rounding_mode target/ppc: overhauled and moved logic of storing fpscr target/ppc: removed unnecessary inclusion of helper-proto.h target/ppc: moved ppc_cpu_do_interrupt to cpu.c target/ppc: Added options to disable many TCG-only functions target/ppc: created tcg-stub.c file target/ppc: updated meson.build to support disable-tcg target/ppc/cpu.c | 88 +++++++++++++- target/ppc/cpu.h | 13 ++- target/ppc/cpu_init.c | 12 +- target/ppc/excp_helper.c | 104 ++++++++--------- target/ppc/fpu_helper.c | 246 +++------------------------------------ target/ppc/gdbstub.c | 7 +- target/ppc/meson.build | 11 +- target/ppc/misc_helper.c | 16 --- target/ppc/mmu-hash32.c | 1 - target/ppc/mmu-hash64.c | 11 +- target/ppc/mmu-radix64.c | 1 - target/ppc/mmu_helper.c | 16 ++- target/ppc/tcg-stub.c | 25 ++++ 13 files changed, 225 insertions(+), 326 deletions(-) create mode 100644 target/ppc/tcg-stub.c -- 2.17.1