mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
linux-user: Add support for clock_adjtime() syscall
This patch implements Qemu user mode clock_adjtime() syscall support. The implementation is based on invocation of host's clock_adjtime(). Signed-off-by: Aleksandar Rikalo <aleksandar.rikalo@imgtec.com> Signed-off-by: Aleksandar Markovic <aleksandar.markovic@imgtec.com> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
parent
17351c3f11
commit
38860a0343
4 changed files with 115 additions and 0 deletions
|
@ -79,6 +79,9 @@
|
|||
#ifdef TARGET_NR_chroot
|
||||
{ TARGET_NR_chroot, "chroot" , NULL, NULL, NULL },
|
||||
#endif
|
||||
#ifdef TARGET_NR_clock_adjtime
|
||||
{ TARGET_NR_clock_adjtime, "clock_adjtime" , NULL, print_clock_adjtime, NULL },
|
||||
#endif
|
||||
#ifdef TARGET_NR_clock_getres
|
||||
{ TARGET_NR_clock_getres, "clock_getres" , NULL, NULL, NULL },
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue