qemu-e2k/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
..
arm-compat-semi.c semihosting: Split out semihost_sys_isatty 2022-06-28 04:35:52 +05:30
config.c semihosting/config: Merge --semihosting-config option groups 2022-06-10 14:32:36 +01:00
console.c Do not include cpu.h if it's not really necessary 2021-05-02 17:24:51 +02:00
guestfd.c semihosting: Split out semihost_sys_close 2022-06-28 04:35:52 +05:30
Kconfig
meson.build semihosting: Split out semihost_sys_open 2022-06-28 04:35:39 +05:30
syscalls.c semihosting: Split out semihost_sys_isatty 2022-06-28 04:35:52 +05:30
uaccess.c semihosting: Simplify softmmu_lock_user_string 2022-06-28 04:35:06 +05:30