Hi, This patch series introduces the Unified Hosting Interface support to QEMU.
This is second version which uses new -semihosting-config arg and addresses Matthew's review comments. Regards, Leon v2: * use new -semihosting arg option, thus it applies on top of https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg01417.html * if semihosting args are not present, then fall back to old-style -kernel/-append * clean up SDBBP and remove identical code in different branch * fix overlooked microMIPS SDBBP * translate errno values which don't map 1:1 * update dates in the licence header * return -1 and fake errno when lock_user() fails in write_to_file() and read_from_file() Leon Alrae (3): target-mips: remove identical code in different branch target-mips: add Unified Hosting Interface (UHI) support target-mips: convert host to MIPS errno values when required Maciej W. Rozycki (1): include/softmmu-semi.h: Make semihosting support 64-bit clean Matthew Fortune (1): hw/mips: Do not clear BEV for MIPS malta kernel load hw/mips/mips_malta.c | 11 +- include/exec/softmmu-semi.h | 13 +- qemu-options.hx | 10 +- target-mips/Makefile.objs | 2 +- target-mips/helper.h | 2 + target-mips/mips-semi.c | 358 ++++++++++++++++++++++++++++++++++++++++++++ target-mips/translate.c | 70 +++++---- 7 files changed, 428 insertions(+), 38 deletions(-) create mode 100644 target-mips/mips-semi.c