aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/fuchsia/debug.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/fuchsia/debug.txt b/sys/fuchsia/debug.txt
new file mode 100644
index 000000000..1fbb0d950
--- /dev/null
+++ b/sys/fuchsia/debug.txt
@@ -0,0 +1,10 @@
+# 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/debug.fidl
+
+include <zircon/syscalls.h>
+
+zx_debug_read(handle zx_resource, buffer ptr[in, array[int8]], buffer_size len[buffer], actual ptr[out, int32])
+zx_debug_write(buffer ptr[in, array[int8]], buffer_size len[buffer])
+zx_debug_send_command(resource_ zx_resource, buffer ptr[in, array[int8]], buffer_size len[buffer])