aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorChris Palmer <snackypants@gmail.com>2022-10-26 10:34:35 -0700
committerGitHub <noreply@github.com>2022-10-26 10:34:35 -0700
commit86777b7fb4a452ebbd7430a2c4add0486734922b (patch)
tree880d88e8ac3e281e1dc338b212776406f9bfe732 /sys
parent2159e4d29f58ffa1107fc2213dbc87185ff4498f (diff)
sys/fuchsia: define the framebuffer system calls (#3472)
Co-authored-by: Chris Palmer <palmer@google.com>
Diffstat (limited to 'sys')
-rw-r--r--sys/fuchsia/framebuffer.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/fuchsia/framebuffer.txt b/sys/fuchsia/framebuffer.txt
new file mode 100644
index 000000000..5f5be07e1
--- /dev/null
+++ b/sys/fuchsia/framebuffer.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/framebuffer.fidl
+
+zx_framebuffer_get_info(resource_ zx_resource, format ptr[out, int32], width ptr[out, int32], height ptr[out, int32], stride ptr[out, int32])
+
+zx_framebuffer_set_range(resource_ zx_resource, vmo zx_vmo, length int32, format int32, width int32, height int32, stride int32)