From 02e930d1cf500e07180d940a700387b4dfcfd49f Mon Sep 17 00:00:00 2001 From: Ange Albertini Date: Fri, 7 Oct 2022 15:44:49 +0000 Subject: sys/fuchsia: add the profile syscalls definitions --- sys/fuchsia/profile.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sys/fuchsia/profile.txt diff --git a/sys/fuchsia/profile.txt b/sys/fuchsia/profile.txt new file mode 100644 index 000000000..a347e1710 --- /dev/null +++ b/sys/fuchsia/profile.txt @@ -0,0 +1,16 @@ +# 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/profile.fidl + +include + +resource zx_root[zx_handle] + +zx_profile_info { + flags int32 + priority int32 + cpu_affinity_mask array[int64, 8] +} + +zx_profile_create(root_job ptr[in, zx_root], options int32, profile ptr[in, zx_profile_info], out_handle ptr[out, zx_root]) -- cgit mrf-deployment