commit | 5eadbbfca6232710036ccb9f5cf1481be537c0e7 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Thu Apr 28 09:22:18 2022 -0700 |
committer | Richard Henderson <richard.henderson@linaro.org> | Tue Jun 28 04:35:52 2022 +0530 |
tree | 3ba27eedd3c34826c8e778ab1955fcc0fc601f33 | |
parent | 5b3f39cb04fda32226e84502f858bab06d83e5c1 [diff] |
semihosting: Split out semihost_sys_close Split out the non-ARM specific portions of SYS_CLOSE to a reusable function. This handles all GuestFD. 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>