diff options
| author | Richard Henderson | 2022-04-28 21:31:25 +0200 |
|---|---|---|
| committer | Richard Henderson | 2022-06-28 01:05:52 +0200 |
| commit | a2212474301bc354bea46e3bdc6c21e33e0b5b2b (patch) | |
| tree | f4fcc2215eea0b78cebd2cc7796df2d5e7213f68 /include/exec/memory.h | |
| parent | semihosting: Split out semihost_sys_lseek (diff) | |
| download | qemu-a2212474301bc354bea46e3bdc6c21e33e0b5b2b.tar.gz qemu-a2212474301bc354bea46e3bdc6c21e33e0b5b2b.tar.xz qemu-a2212474301bc354bea46e3bdc6c21e33e0b5b2b.zip | |
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>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions
