github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/fuchsia/resource.txt (about)

     1  # Copyright 2022 syzkaller project authors. All rights reserved.
     2  # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
     3  
     4  # See https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/vdso/resource.fidl
     5  
     6  include <zircon/syscalls.h>
     7  include <zircon/syscalls/resource.h>
     8  
     9  resource zx_resource[zx_handle]
    10  
    11  zx_resource_create(parent_rsrc zx_handle, options flags[res_create_options], base int64, size int64, name ptr[in, array[int8]], name_size len[name], resource_out ptr[out, zx_resource])
    12  
    13  res_create_options = ZX_RSRC_KIND_MMIO, ZX_RSRC_KIND_IRQ, ZX_RSRC_KIND_IOPORT, ZX_RSRC_KIND_ROOT, ZX_RSRC_KIND_HYPERVISOR, ZX_RSRC_KIND_VMEX, ZX_RSRC_KIND_SMC