diff options
| author | Laura Peskin <pesk@google.com> | 2022-11-04 11:24:12 -0700 |
|---|---|---|
| committer | Chris Palmer <snackypants@gmail.com> | 2022-11-07 16:59:14 -0800 |
| commit | 881db35d2af46d7f86c1cbd245f683d47bcdcacf (patch) | |
| tree | 7260fe33c601a978b4a8a21d40f890e370895bff /sys/fuchsia/timer.txt | |
| parent | 2f4c24f7614025bb7514c00439c68933d03dd36d (diff) | |
sys/fuchsia: rename timers.txt -> timer.txt
Diffstat (limited to 'sys/fuchsia/timer.txt')
| -rw-r--r-- | sys/fuchsia/timer.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/fuchsia/timer.txt b/sys/fuchsia/timer.txt new file mode 100644 index 000000000..8696d1f7d --- /dev/null +++ b/sys/fuchsia/timer.txt @@ -0,0 +1,14 @@ +# Copyright 2017 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +# See https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/vdso/timer.fidl + +include <zircon/syscalls.h> + +resource zx_timer[zx_handle] + +zx_timer_create(options flags[timer_options], clock_id const[ZX_CLOCK_MONOTONIC], out ptr[out, zx_timer]) +zx_timer_set(handle zx_timer, deadline zx_time, slack int64) +zx_timer_cancel(handle zx_timer) + +timer_options = ZX_TIMER_SLACK_CENTER, ZX_TIMER_SLACK_EARLY, ZX_TIMER_SLACK_LATE |
