Re: [PATCH v4 30/53] semihosting: Split out semihost_sys_write

2022-06-22 Thread Luc Michel
On 13:45 Tue 07 Jun , Richard Henderson wrote: > Split out the non-ARM specific portions of SYS_WRITE to a > reusable function. This handles all GuestFD. This removes > the last use of common_semi_syscall_len. > > Note that gdb_do_syscall %x reads target_ulong, not int. > > Signed-off-by:

[PATCH v4 30/53] semihosting: Split out semihost_sys_write

2022-06-07 Thread Richard Henderson
Split out the non-ARM specific portions of SYS_WRITE to a reusable function. This handles all GuestFD. This removes the last use of common_semi_syscall_len. Note that gdb_do_syscall %x reads target_ulong, not int. Signed-off-by: Richard Henderson --- include/semihosting/syscalls.h | 6