diff options
author | Richard Henderson | 2022-04-29 18:29:27 +0200 |
---|---|---|
committer | Richard Henderson | 2022-06-28 01:05:52 +0200 |
commit | d49e79b8e276b56817509114a86b036358246af8 (patch) | |
tree | 5cbfe912438f0e2f9a2e98e754ffef4cac1688d5 /include/semihosting | |
parent | semihosting: Split out semihost_sys_flen (diff) | |
download | qemu-d49e79b8e276b56817509114a86b036358246af8.tar.gz qemu-d49e79b8e276b56817509114a86b036358246af8.tar.xz qemu-d49e79b8e276b56817509114a86b036358246af8.zip |
semihosting: Split out semihost_sys_remove
Split out the non-ARM specific portions of SYS_REMOVE to a
reusable function.
Reviewed-by: Luc Michel <lmichel@kalray.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/semihosting')
-rw-r--r-- | include/semihosting/syscalls.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/semihosting/syscalls.h b/include/semihosting/syscalls.h index 1ae5ba6716..748a4b5e47 100644 --- a/include/semihosting/syscalls.h +++ b/include/semihosting/syscalls.h @@ -49,4 +49,7 @@ void semihost_sys_flen(CPUState *cs, gdb_syscall_complete_cb fstat_cb, gdb_syscall_complete_cb flen_cb, int fd, target_ulong fstat_addr); +void semihost_sys_remove(CPUState *cs, gdb_syscall_complete_cb complete, + target_ulong fname, target_ulong fname_len); + #endif /* SEMIHOSTING_SYSCALLS_H */ |