qemu-e2k/semihosting
Richard Henderson 008e147572 semihosting: Add GuestFDConsole
Add a GuestFDType for connecting to the semihosting console.
Hook up to read, write, isatty, and fstat syscalls.

Note that the arm-specific syscall flen cannot be applied
to the console, because the console is not a descriptor
exposed to the guest.

Reviewed-by: Luc Michel <lmichel@kalray.eu>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-28 04:36:30 +05:30
..
arm-compat-semi.c semihosting: Expand qemu_semihosting_console_inc to read 2022-06-28 04:35:52 +05:30
config.c semihosting: Cleanup chardev init 2022-06-28 04:35:52 +05:30
console.c semihosting: Create qemu_semihosting_console_write 2022-06-28 04:35:52 +05:30
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: Add GuestFDConsole 2022-06-28 04:36:30 +05:30
uaccess.c semihosting: Simplify softmmu_lock_user_string 2022-06-28 04:35:06 +05:30