summaryrefslogtreecommitdiffstats
path: root/include/semihosting
diff options
context:
space:
mode:
authorRichard Henderson2022-04-30 01:05:49 +0200
committerRichard Henderson2022-06-28 01:05:52 +0200
commit1875dab0eea908b2ceaf74d1204f1e72c69d3a73 (patch)
tree8b9dc43564a4724a614c7d0e5f66d62cd80b2c18 /include/semihosting
parentsemihosting: Create semihost_sys_{stat,fstat} (diff)
downloadqemu-1875dab0eea908b2ceaf74d1204f1e72c69d3a73.tar.gz
qemu-1875dab0eea908b2ceaf74d1204f1e72c69d3a73.tar.xz
qemu-1875dab0eea908b2ceaf74d1204f1e72c69d3a73.zip
semihosting: Create semihost_sys_gettimeofday
This syscall will be used by m68k and nios2 semihosting. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/semihosting/syscalls.h b/include/semihosting/syscalls.h
index ecc97751a9..347200cb9f 100644
--- a/include/semihosting/syscalls.h
+++ b/include/semihosting/syscalls.h
@@ -66,4 +66,7 @@ void semihost_sys_rename(CPUState *cs, gdb_syscall_complete_cb complete,
void semihost_sys_system(CPUState *cs, gdb_syscall_complete_cb complete,
target_ulong cmd, target_ulong cmd_len);
+void semihost_sys_gettimeofday(CPUState *cs, gdb_syscall_complete_cb complete,
+ target_ulong tv_addr, target_ulong tz_addr);
+
#endif /* SEMIHOSTING_SYSCALLS_H */