From 881db35d2af46d7f86c1cbd245f683d47bcdcacf Mon Sep 17 00:00:00 2001 From: Laura Peskin Date: Fri, 4 Nov 2022 11:24:12 -0700 Subject: sys/fuchsia: rename timers.txt -> timer.txt --- sys/fuchsia/timer.txt | 14 ++++++++++++++ sys/fuchsia/timer_amd64.const | 5 +++++ sys/fuchsia/timer_arm64.const | 5 +++++ sys/fuchsia/timers.txt | 12 ------------ sys/fuchsia/timers_amd64.const | 5 ----- sys/fuchsia/timers_arm64.const | 5 ----- 6 files changed, 24 insertions(+), 22 deletions(-) create mode 100644 sys/fuchsia/timer.txt create mode 100644 sys/fuchsia/timer_amd64.const create mode 100644 sys/fuchsia/timer_arm64.const delete mode 100644 sys/fuchsia/timers.txt delete mode 100644 sys/fuchsia/timers_amd64.const delete mode 100644 sys/fuchsia/timers_arm64.const (limited to 'sys') 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 + +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 diff --git a/sys/fuchsia/timer_amd64.const b/sys/fuchsia/timer_amd64.const new file mode 100644 index 000000000..fef6535a0 --- /dev/null +++ b/sys/fuchsia/timer_amd64.const @@ -0,0 +1,5 @@ +# AUTOGENERATED FILE +ZX_CLOCK_MONOTONIC = 0 +ZX_TIMER_SLACK_CENTER = 0 +ZX_TIMER_SLACK_EARLY = 1 +ZX_TIMER_SLACK_LATE = 2 diff --git a/sys/fuchsia/timer_arm64.const b/sys/fuchsia/timer_arm64.const new file mode 100644 index 000000000..fef6535a0 --- /dev/null +++ b/sys/fuchsia/timer_arm64.const @@ -0,0 +1,5 @@ +# AUTOGENERATED FILE +ZX_CLOCK_MONOTONIC = 0 +ZX_TIMER_SLACK_CENTER = 0 +ZX_TIMER_SLACK_EARLY = 1 +ZX_TIMER_SLACK_LATE = 2 diff --git a/sys/fuchsia/timers.txt b/sys/fuchsia/timers.txt deleted file mode 100644 index 12d7d6ea3..000000000 --- a/sys/fuchsia/timers.txt +++ /dev/null @@ -1,12 +0,0 @@ -# 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. - -include - -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 diff --git a/sys/fuchsia/timers_amd64.const b/sys/fuchsia/timers_amd64.const deleted file mode 100644 index fef6535a0..000000000 --- a/sys/fuchsia/timers_amd64.const +++ /dev/null @@ -1,5 +0,0 @@ -# AUTOGENERATED FILE -ZX_CLOCK_MONOTONIC = 0 -ZX_TIMER_SLACK_CENTER = 0 -ZX_TIMER_SLACK_EARLY = 1 -ZX_TIMER_SLACK_LATE = 2 diff --git a/sys/fuchsia/timers_arm64.const b/sys/fuchsia/timers_arm64.const deleted file mode 100644 index fef6535a0..000000000 --- a/sys/fuchsia/timers_arm64.const +++ /dev/null @@ -1,5 +0,0 @@ -# AUTOGENERATED FILE -ZX_CLOCK_MONOTONIC = 0 -ZX_TIMER_SLACK_CENTER = 0 -ZX_TIMER_SLACK_EARLY = 1 -ZX_TIMER_SLACK_LATE = 2 -- cgit mrf-deployment