summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorRichard Henderson2022-04-28 20:40:41 +0200
committerRichard Henderson2022-06-28 01:05:52 +0200
commitaf0484b5025f8b7c951428a00b5bb3f172a2da8d (patch)
treee60333711f6d6467f0a91fb295e74fda62d6a6f7 /include/exec
parentsemihosting: Split out semihost_sys_close (diff)
downloadqemu-af0484b5025f8b7c951428a00b5bb3f172a2da8d.tar.gz
qemu-af0484b5025f8b7c951428a00b5bb3f172a2da8d.tar.xz
qemu-af0484b5025f8b7c951428a00b5bb3f172a2da8d.zip
semihosting: Split out semihost_sys_read
Split out the non-ARM specific portions of SYS_READ to a reusable function. This handles all GuestFD. Isolate the curious ARM-specific return value processing to a new callback, common_semi_rw_cb. Note that gdb_do_syscall %x reads target_ulong, not int. Reviewed-by: Luc Michel <lmichel@kalray.eu> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions