target/mips: Use an exception for semihosting
Within do_interrupt, we hold the iothread lock, which is required for Chardev access for the console, and for the round trip for use_gdb_syscalls(). Reviewed-by:Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Showing
- target/mips/cpu.h 2 additions, 1 deletiontarget/mips/cpu.h
- target/mips/tcg/exception.c 1 addition, 0 deletionstarget/mips/tcg/exception.c
- target/mips/tcg/micromips_translate.c.inc 3 additions, 3 deletionstarget/mips/tcg/micromips_translate.c.inc
- target/mips/tcg/mips16e_translate.c.inc 1 addition, 1 deletiontarget/mips/tcg/mips16e_translate.c.inc
- target/mips/tcg/nanomips_translate.c.inc 2 additions, 2 deletionstarget/mips/tcg/nanomips_translate.c.inc
- target/mips/tcg/sysemu/mips-semi.c 2 additions, 2 deletionstarget/mips/tcg/sysemu/mips-semi.c
- target/mips/tcg/sysemu/tlb_helper.c 4 additions, 0 deletionstarget/mips/tcg/sysemu/tlb_helper.c
- target/mips/tcg/sysemu_helper.h.inc 0 additions, 2 deletionstarget/mips/tcg/sysemu_helper.h.inc
- target/mips/tcg/tcg-internal.h 2 additions, 0 deletionstarget/mips/tcg/tcg-internal.h
- target/mips/tcg/translate.c 2 additions, 10 deletionstarget/mips/tcg/translate.c
Loading
Please register or sign in to comment