syzkaller/sys/fuchsia/ports.txt
Marco Vanotti 53199d6e8a Update syscalls (#1116)
* sys/fuchsia: update all syscalls.

This commit modifies all the existing syscalls definitions to match more
closely the documentation in the Fuchsia repo.

* run make extract && make generate
2019-04-22 11:08:29 -07:00

20 lines
646 B
Plaintext

# Copyright 2017 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.
include <zircon/syscalls.h>
include <zircon/syscalls/port.h>
resource zx_port[zx_handle]
zx_port_create(options const[0], out ptr[out, zx_port])
zx_port_queue(handle zx_port, packet ptr[in, zx_port_packet])
zx_port_wait(handle zx_port, deadline zx_time, packet ptr[out, zx_port_packet])
zx_port_cancel(port zx_port, source zx_handle, key proc[1000, 4])
zx_port_packet {
key proc[1000, 4, int64]
type const[ZX_PKT_TYPE_USER, int32]
status const[0, int32]
u64 array[int64, 4]
}