xemu/include/semihosting
Richard Henderson a221247430 semihosting: Split out semihost_sys_isatty
Split out the non-ARM specific portions of SYS_ISTTY to a
reusable function.  This handles all GuestFD.

Add a common_semi_istty_cb helper to translate the Posix
error return, 0+ENOTTY, to the Arm semihosting not-a-file
success result.

Reviewed-by: Luc Michel <lmichel@kalray.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-28 04:35:52 +05:30
..
common-semi.h semihosting: Move common-semi.h to include/semihosting/ 2022-06-28 04:35:07 +05:30
console.h semihosting: Move include/hw/semihosting/ -> include/semihosting/ 2021-03-10 15:34:12 +00:00
guestfd.h semihosting: Split out guestfd.c 2022-06-28 04:35:07 +05:30
semihost.h semihosting: Move include/hw/semihosting/ -> include/semihosting/ 2021-03-10 15:34:12 +00:00
softmmu-uaccess.h semihosting: Add target_strlen for softmmu-uaccess.h 2022-06-28 04:35:06 +05:30
syscalls.h semihosting: Split out semihost_sys_isatty 2022-06-28 04:35:52 +05:30