aboutsummaryrefslogtreecommitdiffstats
path: root/sys/fuchsia/cache.txt
diff options
context:
space:
mode:
authorAnge Albertini <corkami@google.com>2022-10-29 13:47:30 +0000
committerChris Palmer <snackypants@gmail.com>2022-11-01 01:02:55 -0700
commitbf413db3be446607caf54a93eb856267aa719181 (patch)
treeeb0cd1b48305124166b4f9746ecb09d448f5a07d /sys/fuchsia/cache.txt
parenta1d8560a0437774e9da5f9e4bd86671acdd5b2ee (diff)
sys/fuchsia: updated cache syscalls definitions
Diffstat (limited to 'sys/fuchsia/cache.txt')
-rw-r--r--sys/fuchsia/cache.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/fuchsia/cache.txt b/sys/fuchsia/cache.txt
new file mode 100644
index 000000000..da94066a6
--- /dev/null
+++ b/sys/fuchsia/cache.txt
@@ -0,0 +1,11 @@
+# Copyright 2018-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/cache.fidl
+
+include <zircon/syscalls.h>
+include <zircon/types.h>
+
+zx_cache_flush(addr ptr[inout, intptr], size int64, options flags[cache_flush_options])
+
+cache_flush_options = ZX_CACHE_FLUSH_DATA, ZX_CACHE_FLUSH_INVALIDATE, ZX_CACHE_FLUSH_INSN