mbox series

[v4,00/11] target/mips: semihosting cleanup

Message ID 20220608051945.802339-1-richard.henderson@linaro.org
Headers show
Series target/mips: semihosting cleanup | expand

Message

Richard Henderson June 8, 2022, 5:19 a.m. UTC
Based-on: <20220607204557.658541-1-richard.henderson@linaro.org>
("[PATCH v4 00/53] semihosting cleanup")

Changes for v4:
  * Split out of v2.
  * Undo the gdb errno thing; continue to convert between host and uhi.


r~


Richard Henderson (11):
  target/mips: Use an exception for semihosting
  target/mips: Add UHI errno values
  target/mips: Create report_fault for semihosting
  target/mips: Drop link syscall from semihosting
  target/mips: Drop pread and pwrite syscalls from semihosting
  target/mips: Use semihosting/syscalls.h
  target/mips: Avoid qemu_semihosting_log_out for UHI_plog
  target/mips: Use error_report for UHI_assert
  semihosting: Remove qemu_semihosting_log_out
  target/mips: Simplify UHI_argnlen and UHI_argn
  target/mips: Remove GET_TARGET_STRING and FREE_TARGET_STRING

 include/semihosting/console.h             |  13 -
 target/mips/cpu.h                         |   3 +-
 target/mips/tcg/tcg-internal.h            |   2 +
 target/mips/tcg/sysemu_helper.h.inc       |   2 -
 semihosting/console.c                     |   9 -
 target/mips/tcg/exception.c               |   1 +
 target/mips/tcg/sysemu/mips-semi.c        | 466 +++++++++++-----------
 target/mips/tcg/sysemu/tlb_helper.c       |   4 +
 target/mips/tcg/translate.c               |  12 +-
 target/mips/tcg/micromips_translate.c.inc |   6 +-
 target/mips/tcg/mips16e_translate.c.inc   |   2 +-
 target/mips/tcg/nanomips_translate.c.inc  |   4 +-
 12 files changed, 245 insertions(+), 279 deletions(-)