github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/fuchsia/msi.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/msi.fidl
     5  
     6  include <zircon/syscalls.h>
     7  include <zircon/types.h>
     8  
     9  resource zx_msi[zx_handle]
    10  
    11  zx_msi_allocate(handle zx_resource, count flags[msi_count], out_allocation ptr[out, zx_msi])
    12  zx_msi_create(handle zx_msi, options const[0], msi_id int32, vmo zx_vmo, vmo_offset int32, out_interrupt ptr[out, zx_interrupt])
    13  
    14  msi_count = 1, 2, 4, 8, 16, 32