aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/fuchsia/mtrace.txt8
-rw-r--r--sys/fuchsia/resource.txt12
2 files changed, 20 insertions, 0 deletions
diff --git a/sys/fuchsia/mtrace.txt b/sys/fuchsia/mtrace.txt
new file mode 100644
index 000000000..01b856adc
--- /dev/null
+++ b/sys/fuchsia/mtrace.txt
@@ -0,0 +1,8 @@
+# Copyright 2022 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/mtrace.fidl
+
+include <zircon/syscalls.h>
+
+zx_mtrace_control(handle zx_resource, kind int32, action int32, options int32, ptr ptr[in, array[int8]], ptr_size len[ptr])
diff --git a/sys/fuchsia/resource.txt b/sys/fuchsia/resource.txt
new file mode 100644
index 000000000..c59e69d6b
--- /dev/null
+++ b/sys/fuchsia/resource.txt
@@ -0,0 +1,12 @@
+# Copyright 2022 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/resource.fidl
+
+include <zircon/syscalls.h>
+
+resource zx_resource[zx_handle]
+
+zx_resource_create(parent_rsrc zx_handle, options int32, base int64, size int64, name ptr[in, int8], name_size len[name], resource_out ptr[out, zx_resource])
+
+# TODO: The rest of the resource.fidl calls