Changes from v2: - Added semihosting support for ppc64 - Use semihosting calls to exit tests, instead of using Processor Attention instruction - Use semihosting calls for console output, instead of programming emulated serial hardware
Leandro Lupori (5): ppc64: Add semihosting support ppc64: Fix semihosting on ppc64le tests/tcg/ppc64: Add basic softmmu test support tests/tcg/ppc64: Add MMU test sources tests/tcg/ppc64: Build PowerNV and LE tests MAINTAINERS | 2 + configs/devices/ppc64-softmmu/default.mak | 3 + include/exec/softmmu-semi.h | 23 +- qemu-options.hx | 18 +- semihosting/arm-compat-semi.c | 33 + target/ppc/cpu.h | 3 +- target/ppc/excp_helper.c | 9 + target/ppc/translate.c | 14 + tests/tcg/ppc64/Makefile.softmmu-rules | 34 + tests/tcg/ppc64/Makefile.softmmu-target | 125 ++++ tests/tcg/ppc64/system/include/asm.h | 68 ++ tests/tcg/ppc64/system/lib/boot.S | 84 +++ tests/tcg/ppc64/system/lib/powerpc.lds | 27 + tests/tcg/ppc64/system/mmu-head.S | 142 ++++ tests/tcg/ppc64/system/mmu.c | 764 ++++++++++++++++++++++ tests/tcg/ppc64/system/mmu.h | 9 + 16 files changed, 1346 insertions(+), 12 deletions(-) create mode 100644 tests/tcg/ppc64/Makefile.softmmu-rules create mode 100644 tests/tcg/ppc64/Makefile.softmmu-target create mode 100644 tests/tcg/ppc64/system/include/asm.h create mode 100644 tests/tcg/ppc64/system/lib/boot.S create mode 100644 tests/tcg/ppc64/system/lib/powerpc.lds create mode 100644 tests/tcg/ppc64/system/mmu-head.S create mode 100644 tests/tcg/ppc64/system/mmu.c create mode 100644 tests/tcg/ppc64/system/mmu.h -- 2.25.1