aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorAnge Albertini <105304039+corkamig@users.noreply.github.com>2022-08-29 20:33:10 +0200
committerGitHub <noreply@github.com>2022-08-29 11:33:10 -0700
commit88bbb6bc50461da17ccda89a5593db114b3660a6 (patch)
treeb85c4bf6d105edff7c7d4609316b7f00117b8553 /sys
parent828e3535440d0a7229af93d6b3b2bfdba510e7b6 (diff)
sys/fuchsia: add the debug syscalls definitions (#3301)
* sys/fuchsia: add the debug syscalls definitions * sys/fuchsia: update debug.txt
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])