diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-04-29 09:29:27 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-06-28 04:35:52 +0530 |
commit | d49e79b8e276b56817509114a86b036358246af8 (patch) | |
tree | 5cbfe912438f0e2f9a2e98e754ffef4cac1688d5 /include/semihosting | |
parent | a6300ed6b7ecd19eb5ae0fd8a3eb876681cb8e6e (diff) | |
download | qemu-d49e79b8e276b56817509114a86b036358246af8.zip qemu-d49e79b8e276b56817509114a86b036358246af8.tar.gz qemu-d49e79b8e276b56817509114a86b036358246af8.tar.bz2 |
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 1ae5ba6..748a4b5 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 */ |