[PATCH v5 0/8] target/mips: semihosting cleanup

Richard Henderson posted 8 patches 3 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220628111701.677216-1-richard.henderson@linaro.org
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Aurelien Jarno <aurelien@aurel32.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>
include/semihosting/console.h      |  13 -
semihosting/console.c              |   9 -
target/mips/tcg/sysemu/mips-semi.c | 397 ++++++++++++++---------------
3 files changed, 186 insertions(+), 233 deletions(-)
[PATCH v5 0/8] target/mips: semihosting cleanup
Posted by Richard Henderson 3 years, 7 months ago
Changes for v5:
  * Rebase on master, which includes all prereq and patches 1-3.

Not changed: Existing behaviour for exceptional conditions is to
use abort().  During review, Phil suggested to change that, but
I think the exit status of WTERMSIG(SIGABRT) is better than
overloading exit(EXIT_FAILURE).


r~


Richard Henderson (8):
  target/mips: Create report_fault for semihosting
  target/mips: Drop link syscall 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 -
 semihosting/console.c              |   9 -
 target/mips/tcg/sysemu/mips-semi.c | 397 ++++++++++++++---------------
 3 files changed, 186 insertions(+), 233 deletions(-)

-- 
2.34.1
Re: [PATCH v5 0/8] target/mips: semihosting cleanup
Posted by Philippe Mathieu-Daudé via 3 years, 7 months ago
On 28/6/22 13:16, Richard Henderson wrote:

> Richard Henderson (8):
>    target/mips: Create report_fault for semihosting
>    target/mips: Drop link syscall 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 -
>   semihosting/console.c              |   9 -
>   target/mips/tcg/sysemu/mips-semi.c | 397 ++++++++++++++---------------
>   3 files changed, 186 insertions(+), 233 deletions(-)
> 

Queued, thanks!