Our configure script was recently equipped with a new --disable-tcg
parameter, but this does unfortunately not work on s390x hosts yet. Fix
the build by moving some code around and by adding some few #ifdefs
in the right places.
Thomas Huth (5):
target/s390x: Move program_interrupt() & trigger_pgm_exception() to
interrupt.c
target/s390x: Move s390_cpu_dump_state() to helper.c
target/s390x: Move diag helpers to a separate file
target/s390x: Move exception-related functions to a new excp_helper.c
file
target/s390x: Add remaining switches to compile with --disable-tcg
target/s390x/Makefile.objs | 8 +-
target/s390x/cpu.c | 4 +
target/s390x/cpu.h | 13 +-
target/s390x/diag.c | 179 +++++++++++
target/s390x/{helper.c => excp_helper.c} | 257 +--------------
target/s390x/helper.c | 528 ++++---------------------------
target/s390x/interrupt.c | 36 +++
target/s390x/misc_helper.c | 193 -----------
target/s390x/translate.c | 60 ----
9 files changed, 291 insertions(+), 987 deletions(-)
create mode 100644 target/s390x/diag.c
copy target/s390x/{helper.c => excp_helper.c} (71%)
--
1.8.3.1