blob: 6be91ec243acbd0d3d216e51b0591d95b71e5e34 [file] [edit]
----- c-ulib-header.h START -----
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// WARNING: THIS FILE IS MACHINE GENERATED BY //tools/kazoo. DO NOT EDIT.
#ifndef LIB_ZXIO_TYPES_H_
#define LIB_ZXIO_TYPES_H_
#include <stdbool.h>
#include <stdint.h>
#include <zircon/compiler.h>
// This header defines the public types used in the zxio and zxio_ops interface.
__BEGIN_CDECLS
// Rights ----------------------------------------------------------------------
typedef uint32_t zx_rights_t;
#define ZX_RIGHT_NONE ((zx_rights_t)0x0u)
#define ZX_RIGHT_DUPLICATE ((zx_rights_t)0x1u)
#define ZX_RIGHT_TRANSFER ((zx_rights_t)0x2u)
#define ZX_RIGHT_READ ((zx_rights_t)0x4u)
#define ZX_RIGHT_WRITE ((zx_rights_t)0x8u)
#define ZX_RIGHT_EXECUTE ((zx_rights_t)0x10u)
#define ZX_RIGHT_MAP ((zx_rights_t)0x20u)
#define ZX_RIGHT_GET_PROPERTY ((zx_rights_t)0x40u)
#define ZX_RIGHT_SET_PROPERTY ((zx_rights_t)0x80u)
#define ZX_RIGHT_ENUMERATE ((zx_rights_t)0x100u)
#define ZX_RIGHT_DESTROY ((zx_rights_t)0x200u)
#define ZX_RIGHT_SET_POLICY ((zx_rights_t)0x400u)
#define ZX_RIGHT_GET_POLICY ((zx_rights_t)0x800u)
#define ZX_RIGHT_SIGNAL ((zx_rights_t)0x1000u)
#define ZX_RIGHT_SIGNAL_PEER ((zx_rights_t)0x2000u)
#define ZX_RIGHT_WAIT ((zx_rights_t)0x4000u)
#define ZX_RIGHT_INSPECT ((zx_rights_t)0x8000u)
#define ZX_RIGHT_MANAGE_JOB ((zx_rights_t)0x10000u)
#define ZX_RIGHT_MANAGE_PROCESS ((zx_rights_t)0x20000u)
#define ZX_RIGHT_MANAGE_THREAD ((zx_rights_t)0x40000u)
#define ZX_RIGHT_APPLY_PROFILE ((zx_rights_t)0x80000u)
#define ZX_RIGHT_SAME_RIGHTS ((zx_rights_t)0x80000000u)
#define ZX_RIGHT_ALL ((zx_rights_t)0x800fffffu)
// Clock -----------------------------------------------------------------------
typedef uint32_t zx_clock_t;
#define ZX_CLOCK_MONOTONIC ((zx_clock_t)0x0u)
#define ZX_CLOCK_UTC ((zx_clock_t)0x1u)
#define ZX_CLOCK_THREAD ((zx_clock_t)0x2u)
// Profile Info Type -----------------------------------------------------------
typedef uint32_t zx_profile_info_type_t;
#define ZX_PROFILE_INFO_TYPE_ZX_PROFILE_INFO_SCHEDULER ((zx_profile_info_type_t)0x1u)
// Stream Seek Origin ----------------------------------------------------------
typedef uint32_t zx_stream_seek_origin_t;
#define ZX_STREAM_SEEK_ORIGIN_START ((zx_stream_seek_origin_t)0x0u)
#define ZX_STREAM_SEEK_ORIGIN_CURRENT ((zx_stream_seek_origin_t)0x1u)
#define ZX_STREAM_SEEK_ORIGIN_END ((zx_stream_seek_origin_t)0x2u)
typedef uint32_t zx_handle_op_t;
typedef int32_t zx_futex_t;
typedef uint32_t zx_vm_option_t;
typedef int32_t zx_status_t;
typedef int64_t zx_time_t;
typedef int64_t zx_duration_t;
typedef int64_t zx_ticks_t;
typedef uint64_t zx_koid_t;
typedef uint64_t zx_vaddr_t;
typedef uint64_t zx_paddr_t;
typedef uint32_t zx_paddr32_t;
typedef uint64_t zx_gpaddr_t;
typedef uint64_t zx_off_t;
typedef uint32_t zx_procarg_t;
typedef uint32_t zx_signals_t;
typedef uint64_t zx_usize_t;
typedef uint64_t zx_uintptr_t;
__END_CDECLS
#endif // LIB_ZXIO_TYPES_H_
----- c-ulib-header.h END -----
----- category.h START -----
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// WARNING: THIS FILE IS MACHINE GENERATED BY //tools/kazoo. DO NOT EDIT.
#define HAVE_SYSCALL_CATEGORY_blocking 1
SYSCALL_CATEGORY_BEGIN(blocking)
SYSCALL_IN_CATEGORY(channel_call)
SYSCALL_IN_CATEGORY(channel_call_etc)
SYSCALL_IN_CATEGORY(futex_wait)
SYSCALL_IN_CATEGORY(interrupt_wait)
SYSCALL_IN_CATEGORY(nanosleep)
SYSCALL_IN_CATEGORY(object_wait_one)
SYSCALL_IN_CATEGORY(object_wait_many)
SYSCALL_IN_CATEGORY(port_wait)
SYSCALL_IN_CATEGORY(vcpu_resume)
SYSCALL_IN_CATEGORY(vmo_read)
SYSCALL_IN_CATEGORY(vmo_write)
SYSCALL_IN_CATEGORY(vmo_op_range)
SYSCALL_CATEGORY_END(blocking)
#define HAVE_SYSCALL_CATEGORY_const 1
SYSCALL_CATEGORY_BEGIN(const)
SYSCALL_IN_CATEGORY(ticks_per_second)
SYSCALL_IN_CATEGORY(system_get_dcache_line_size)
SYSCALL_IN_CATEGORY(system_get_num_cpus)
SYSCALL_IN_CATEGORY(system_get_version_string)
SYSCALL_CATEGORY_END(const)
#define HAVE_SYSCALL_CATEGORY_noreturn 1
SYSCALL_CATEGORY_BEGIN(noreturn)
SYSCALL_IN_CATEGORY(futex_wake_handle_close_thread_exit)
SYSCALL_IN_CATEGORY(process_exit)
SYSCALL_IN_CATEGORY(thread_exit)
SYSCALL_CATEGORY_END(noreturn)
#define HAVE_SYSCALL_CATEGORY_test_category1 1
SYSCALL_CATEGORY_BEGIN(test_category1)
SYSCALL_IN_CATEGORY(syscall_test_1)
SYSCALL_IN_CATEGORY(syscall_test_2)
SYSCALL_CATEGORY_END(test_category1)
#define HAVE_SYSCALL_CATEGORY_test_category2 1
SYSCALL_CATEGORY_BEGIN(test_category2)
SYSCALL_IN_CATEGORY(syscall_test_3)
SYSCALL_CATEGORY_END(test_category2)
#define HAVE_SYSCALL_CATEGORY_vdsocall 1
SYSCALL_CATEGORY_BEGIN(vdsocall)
SYSCALL_IN_CATEGORY(cache_flush)
SYSCALL_IN_CATEGORY(channel_call)
SYSCALL_IN_CATEGORY(channel_call_etc)
SYSCALL_IN_CATEGORY(clock_get_monotonic)
SYSCALL_IN_CATEGORY(cprng_draw)
SYSCALL_IN_CATEGORY(ticks_get)
SYSCALL_IN_CATEGORY(ticks_per_second)
SYSCALL_IN_CATEGORY(deadline_after)
SYSCALL_IN_CATEGORY(vmar_unmap_handle_close_thread_exit)
SYSCALL_IN_CATEGORY(futex_wake_handle_close_thread_exit)
SYSCALL_IN_CATEGORY(system_get_dcache_line_size)
SYSCALL_IN_CATEGORY(system_get_num_cpus)
SYSCALL_IN_CATEGORY(system_get_version_string)
SYSCALL_IN_CATEGORY(system_get_physmem)
SYSCALL_IN_CATEGORY(system_get_features)
SYSCALL_CATEGORY_END(vdsocall)
----- category.h END -----
----- go-syscall-arm64-asm.go START -----
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// WARNING: THIS FILE IS MACHINE GENERATED BY //tools/kazoo. DO NOT EDIT.
#include "textflag.h"
// func Sys_bti_create(iommu Handle, options uint32, bti_id uint64, out *Handle) Status
TEXT ·Sys_bti_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_bti_create(SB)
// func Sys_bti_pin(handle Handle, options uint32, vmo Handle, offset uint64, size uint64, addrs *Paddr, num_addrs uint, pmt *Handle) Status
TEXT ·Sys_bti_pin(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_bti_pin(SB)
// func Sys_bti_release_quarantine(handle Handle) Status
TEXT ·Sys_bti_release_quarantine(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_bti_release_quarantine(SB)
// func Sys_cache_flush(addr unsafe.Pointer, size uint, options uint32) Status
TEXT ·Sys_cache_flush(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_cache_flush(SB)
// func Sys_channel_create(options uint32, out0 *Handle, out1 *Handle) Status
TEXT ·Sys_channel_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_create(SB)
// func Sys_channel_read(handle Handle, options uint32, bytes unsafe.Pointer, handles *Handle, num_bytes uint32, num_handles uint32, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_read(SB)
// func Sys_channel_read_etc(handle Handle, options uint32, bytes unsafe.Pointer, handles *HandleInfo, num_bytes uint32, num_handles uint32, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_read_etc(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_read_etc(SB)
// func Sys_channel_write(handle Handle, options uint32, bytes unsafe.Pointer, num_bytes uint32, handles *Handle, num_handles uint32) Status
TEXT ·Sys_channel_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_write(SB)
// func Sys_channel_write_etc(handle Handle, options uint32, bytes unsafe.Pointer, num_bytes uint32, handles *HandleDisposition, num_handles uint32) Status
TEXT ·Sys_channel_write_etc(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_write_etc(SB)
// func Sys_channel_call_noretry(handle Handle, options uint32, deadline Time, args *ChannelCallArgs, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_call_noretry(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_call_noretry(SB)
// func Sys_channel_call_finish(deadline Time, args *ChannelCallArgs, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_call_finish(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_call_finish(SB)
// func Sys_channel_call(handle Handle, options uint32, deadline Time, args *ChannelCallArgs, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_call(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_call(SB)
// func Sys_channel_call_etc_noretry(handle Handle, options uint32, deadline Time, args *ChannelCallEtcArgs, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_call_etc_noretry(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_call_etc_noretry(SB)
// func Sys_channel_call_etc_finish(deadline Time, args *ChannelCallEtcArgs, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_call_etc_finish(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_call_etc_finish(SB)
// func Sys_channel_call_etc(handle Handle, options uint32, deadline Time, args *ChannelCallEtcArgs, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_call_etc(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_call_etc(SB)
// func Sys_clock_get(clock_id uint32, out *Time) Status
TEXT ·Sys_clock_get(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_get(SB)
// func Sys_clock_get_monotonic() Time
TEXT ·Sys_clock_get_monotonic(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_get_monotonic(SB)
// func Sys_clock_adjust(handle Handle, clock_id uint32, offset int64) Status
TEXT ·Sys_clock_adjust(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_adjust(SB)
// func Sys_clock_get_monotonic_via_kernel() Time
TEXT ·Sys_clock_get_monotonic_via_kernel(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_get_monotonic_via_kernel(SB)
// func Sys_clock_create(options uint64, args unsafe.Pointer, out *Handle) Status
TEXT ·Sys_clock_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_create(SB)
// func Sys_clock_read(handle Handle, now *Time) Status
TEXT ·Sys_clock_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_read(SB)
// func Sys_clock_get_details(handle Handle, options uint64, details unsafe.Pointer) Status
TEXT ·Sys_clock_get_details(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_get_details(SB)
// func Sys_clock_update(handle Handle, options uint64, args unsafe.Pointer) Status
TEXT ·Sys_clock_update(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_update(SB)
// func Sys_cprng_draw_once(buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_cprng_draw_once(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_cprng_draw_once(SB)
// func Sys_cprng_draw(buffer unsafe.Pointer, buffer_size uint)
TEXT ·Sys_cprng_draw(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_cprng_draw(SB)
// func Sys_cprng_add_entropy(buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_cprng_add_entropy(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_cprng_add_entropy(SB)
// func Sys_debug_read(handle Handle, buffer *uint8, buffer_size uint, actual *uint) Status
TEXT ·Sys_debug_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_debug_read(SB)
// func Sys_debug_write(buffer *uint8, buffer_size uint) Status
TEXT ·Sys_debug_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_debug_write(SB)
// func Sys_debug_send_command(resource Handle, buffer *uint8, buffer_size uint) Status
TEXT ·Sys_debug_send_command(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_debug_send_command(SB)
// func Sys_debuglog_create(resource Handle, options uint32, out *Handle) Status
TEXT ·Sys_debuglog_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_debuglog_create(SB)
// func Sys_debuglog_write(handle Handle, options uint32, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_debuglog_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_debuglog_write(SB)
// func Sys_debuglog_read(handle Handle, options uint32, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_debuglog_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_debuglog_read(SB)
// func Sys_event_create(options uint32, out *Handle) Status
TEXT ·Sys_event_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_event_create(SB)
// func Sys_eventpair_create(options uint32, out0 *Handle, out1 *Handle) Status
TEXT ·Sys_eventpair_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_eventpair_create(SB)
// func Sys_exception_get_thread(handle Handle, out *Handle) Status
TEXT ·Sys_exception_get_thread(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_exception_get_thread(SB)
// func Sys_exception_get_process(handle Handle, out *Handle) Status
TEXT ·Sys_exception_get_process(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_exception_get_process(SB)
// func Sys_fifo_create(elem_count uint, elem_size uint, options uint32, out0 *Handle, out1 *Handle) Status
TEXT ·Sys_fifo_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_fifo_create(SB)
// func Sys_fifo_read(handle Handle, elem_size uint, data unsafe.Pointer, data_size uint, actual_count *uint) Status
TEXT ·Sys_fifo_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_fifo_read(SB)
// func Sys_fifo_write(handle Handle, elem_size uint, data unsafe.Pointer, count uint, actual_count *uint) Status
TEXT ·Sys_fifo_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_fifo_write(SB)
// func Sys_framebuffer_get_info(resource Handle, format *uint32, width *uint32, height *uint32, stride *uint32) Status
TEXT ·Sys_framebuffer_get_info(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_framebuffer_get_info(SB)
// func Sys_framebuffer_set_range(resource Handle, vmo Handle, len uint32, format uint32, width uint32, height uint32, stride uint32) Status
TEXT ·Sys_framebuffer_set_range(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_framebuffer_set_range(SB)
// func Sys_futex_wait(value_ptr *int32, current_value int32, new_futex_owner Handle, deadline Time) Status
TEXT ·Sys_futex_wait(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_wait(SB)
// func Sys_futex_wake(value_ptr *int32, wake_count uint32) Status
TEXT ·Sys_futex_wake(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_wake(SB)
// func Sys_futex_requeue(value_ptr *int32, wake_count uint32, current_value int32, requeue_ptr *int32, requeue_count uint32, new_requeue_owner Handle) Status
TEXT ·Sys_futex_requeue(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_requeue(SB)
// func Sys_futex_wake_single_owner(value_ptr *int32) Status
TEXT ·Sys_futex_wake_single_owner(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_wake_single_owner(SB)
// func Sys_futex_requeue_single_owner(value_ptr *int32, current_value int32, requeue_ptr *int32, requeue_count uint32, new_requeue_owner Handle) Status
TEXT ·Sys_futex_requeue_single_owner(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_requeue_single_owner(SB)
// func Sys_futex_get_owner(value_ptr *int32, koid *uint64) Status
TEXT ·Sys_futex_get_owner(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_get_owner(SB)
// func Sys_guest_create(resource Handle, options uint32, guest_handle *Handle, vmar_handle *Handle) Status
TEXT ·Sys_guest_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_guest_create(SB)
// func Sys_guest_set_trap(handle Handle, kind uint32, addr Vaddr, size uint, port_handle Handle, key uint64) Status
TEXT ·Sys_guest_set_trap(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_guest_set_trap(SB)
// func Sys_handle_close(handle Handle) Status
TEXT ·Sys_handle_close(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_handle_close(SB)
// func Sys_handle_close_many(handles *Handle, num_handles uint) Status
TEXT ·Sys_handle_close_many(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_handle_close_many(SB)
// func Sys_handle_duplicate(handle Handle, rights Rights, out *Handle) Status
TEXT ·Sys_handle_duplicate(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_handle_duplicate(SB)
// func Sys_handle_replace(handle Handle, rights Rights, out *Handle) Status
TEXT ·Sys_handle_replace(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_handle_replace(SB)
// func Sys_interrupt_create(src_obj Handle, src_num uint32, options uint32, out_handle *Handle) Status
TEXT ·Sys_interrupt_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_create(SB)
// func Sys_interrupt_bind(handle Handle, port_handle Handle, key uint64, options uint32) Status
TEXT ·Sys_interrupt_bind(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_bind(SB)
// func Sys_interrupt_wait(handle Handle, out_timestamp *Time) Status
TEXT ·Sys_interrupt_wait(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_wait(SB)
// func Sys_interrupt_destroy(handle Handle) Status
TEXT ·Sys_interrupt_destroy(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_destroy(SB)
// func Sys_interrupt_ack(handle Handle) Status
TEXT ·Sys_interrupt_ack(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_ack(SB)
// func Sys_interrupt_trigger(handle Handle, options uint32, timestamp Time) Status
TEXT ·Sys_interrupt_trigger(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_trigger(SB)
// func Sys_interrupt_bind_vcpu(handle Handle, vcpu Handle, options uint32) Status
TEXT ·Sys_interrupt_bind_vcpu(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_bind_vcpu(SB)
// func Sys_iommu_create(resource Handle, typ uint32, desc unsafe.Pointer, desc_size uint, out *Handle) Status
TEXT ·Sys_iommu_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_iommu_create(SB)
// func Sys_ioports_request(resource Handle, io_addr uint16, len uint32) Status
TEXT ·Sys_ioports_request(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ioports_request(SB)
// func Sys_ioports_release(resource Handle, io_addr uint16, len uint32) Status
TEXT ·Sys_ioports_release(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ioports_release(SB)
// func Sys_job_create(parent_job Handle, options uint32, out *Handle) Status
TEXT ·Sys_job_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_job_create(SB)
// func Sys_job_set_policy(handle Handle, options uint32, topic uint32, policy unsafe.Pointer, policy_size uint32) Status
TEXT ·Sys_job_set_policy(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_job_set_policy(SB)
// func Sys_job_set_critical(job Handle, options uint32, process Handle) Status
TEXT ·Sys_job_set_critical(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_job_set_critical(SB)
// func Sys_ktrace_read(handle Handle, data unsafe.Pointer, offset uint32, data_size uint, actual *uint) Status
TEXT ·Sys_ktrace_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ktrace_read(SB)
// func Sys_ktrace_control(handle Handle, action uint32, options uint32, ptr unsafe.Pointer) Status
TEXT ·Sys_ktrace_control(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ktrace_control(SB)
// func Sys_ktrace_write(handle Handle, id uint32, arg0 uint32, arg1 uint32) Status
TEXT ·Sys_ktrace_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ktrace_write(SB)
// func Sys_nanosleep(deadline Time) Status
TEXT ·Sys_nanosleep(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_nanosleep(SB)
// func Sys_ticks_get() int64
TEXT ·Sys_ticks_get(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ticks_get(SB)
// func Sys_ticks_per_second() int64
TEXT ·Sys_ticks_per_second(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ticks_per_second(SB)
// func Sys_deadline_after(nanoseconds Duration) Time
TEXT ·Sys_deadline_after(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_deadline_after(SB)
// func Sys_vmar_unmap_handle_close_thread_exit(vmar_handle Handle, addr Vaddr, size uint, close_handle Handle) Status
TEXT ·Sys_vmar_unmap_handle_close_thread_exit(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_unmap_handle_close_thread_exit(SB)
// func Sys_futex_wake_handle_close_thread_exit(value_ptr *int32, wake_count uint32, new_value int32, close_handle Handle)
TEXT ·Sys_futex_wake_handle_close_thread_exit(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_wake_handle_close_thread_exit(SB)
// func Sys_ticks_get_via_kernel() int64
TEXT ·Sys_ticks_get_via_kernel(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ticks_get_via_kernel(SB)
// func Sys_msi_allocate(handle Handle, count uint32, out_allocation *Handle) Status
TEXT ·Sys_msi_allocate(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_msi_allocate(SB)
// func Sys_msi_create(handle Handle, options uint32, msi_id uint32, vmo Handle, vmo_offset uint, out_interrupt *Handle) Status
TEXT ·Sys_msi_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_msi_create(SB)
// func Sys_mtrace_control(handle Handle, kind uint32, action uint32, options uint32, ptr unsafe.Pointer, ptr_size uint) Status
TEXT ·Sys_mtrace_control(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_mtrace_control(SB)
// func Sys_object_wait_one(handle Handle, signals Signals, deadline Time, observed *Signals) Status
TEXT ·Sys_object_wait_one(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_wait_one(SB)
// func Sys_object_wait_many(items *WaitItem, num_items uint, deadline Time) Status
TEXT ·Sys_object_wait_many(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_wait_many(SB)
// func Sys_object_wait_async(handle Handle, port Handle, key uint64, signals Signals, options uint32) Status
TEXT ·Sys_object_wait_async(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_wait_async(SB)
// func Sys_object_signal(handle Handle, clear_mask uint32, set_mask uint32) Status
TEXT ·Sys_object_signal(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_signal(SB)
// func Sys_object_signal_peer(handle Handle, clear_mask uint32, set_mask uint32) Status
TEXT ·Sys_object_signal_peer(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_signal_peer(SB)
// func Sys_object_get_property(handle Handle, property uint32, value unsafe.Pointer, value_size uint) Status
TEXT ·Sys_object_get_property(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_get_property(SB)
// func Sys_object_set_property(handle Handle, property uint32, value unsafe.Pointer, value_size uint) Status
TEXT ·Sys_object_set_property(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_set_property(SB)
// func Sys_object_get_info(handle Handle, topic uint32, buffer unsafe.Pointer, buffer_size uint, actual *uint, avail *uint) Status
TEXT ·Sys_object_get_info(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_get_info(SB)
// func Sys_object_get_child(handle Handle, koid uint64, rights Rights, out *Handle) Status
TEXT ·Sys_object_get_child(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_get_child(SB)
// func Sys_object_set_profile(handle Handle, profile Handle, options uint32) Status
TEXT ·Sys_object_set_profile(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_set_profile(SB)
// func Sys_pager_create(options uint32, out *Handle) Status
TEXT ·Sys_pager_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pager_create(SB)
// func Sys_pager_create_vmo(pager Handle, options uint32, port Handle, key uint64, size uint64, out *Handle) Status
TEXT ·Sys_pager_create_vmo(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pager_create_vmo(SB)
// func Sys_pager_detach_vmo(pager Handle, vmo Handle) Status
TEXT ·Sys_pager_detach_vmo(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pager_detach_vmo(SB)
// func Sys_pager_supply_pages(pager Handle, pager_vmo Handle, offset uint64, length uint64, aux_vmo Handle, aux_offset uint64) Status
TEXT ·Sys_pager_supply_pages(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pager_supply_pages(SB)
// func Sys_pager_op_range(pager Handle, op uint32, pager_vmo Handle, offset uint64, length uint64, data uint64) Status
TEXT ·Sys_pager_op_range(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pager_op_range(SB)
// func Sys_pc_firmware_tables(handle Handle, acpi_rsdp *Paddr, smbios *Paddr) Status
TEXT ·Sys_pc_firmware_tables(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pc_firmware_tables(SB)
// func Sys_pci_get_nth_device(handle Handle, index uint32, out_info *uintptr, out_handle *Handle) Status
TEXT ·Sys_pci_get_nth_device(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_get_nth_device(SB)
// func Sys_pci_enable_bus_master(handle Handle, enable uint32) Status
TEXT ·Sys_pci_enable_bus_master(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_enable_bus_master(SB)
// func Sys_pci_reset_device(handle Handle) Status
TEXT ·Sys_pci_reset_device(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_reset_device(SB)
// func Sys_pci_config_read(handle Handle, offset uint16, width uint, out_val *uint32) Status
TEXT ·Sys_pci_config_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_config_read(SB)
// func Sys_pci_config_write(handle Handle, offset uint16, width uint, val uint32) Status
TEXT ·Sys_pci_config_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_config_write(SB)
// func Sys_pci_cfg_pio_rw(handle Handle, bus uint8, dev uint8, funk uint8, offset uint8, val *uint32, width uint, write uint32) Status
TEXT ·Sys_pci_cfg_pio_rw(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_cfg_pio_rw(SB)
// func Sys_pci_get_bar(handle Handle, bar_num uint32, out_bar *uintptr, out_handle *Handle) Status
TEXT ·Sys_pci_get_bar(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_get_bar(SB)
// func Sys_pci_map_interrupt(handle Handle, which_irq int32, out_handle *Handle) Status
TEXT ·Sys_pci_map_interrupt(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_map_interrupt(SB)
// func Sys_pci_query_irq_mode(handle Handle, mode uint32, out_max_irqs *uint32) Status
TEXT ·Sys_pci_query_irq_mode(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_query_irq_mode(SB)
// func Sys_pci_set_irq_mode(handle Handle, mode uint32, requested_irq_count uint32) Status
TEXT ·Sys_pci_set_irq_mode(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_set_irq_mode(SB)
// func Sys_pci_init(handle Handle, init_buf *uintptr, len uint32) Status
TEXT ·Sys_pci_init(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_init(SB)
// func Sys_pci_add_subtract_io_range(handle Handle, mmio uint32, base uint64, len uint64, add uint32) Status
TEXT ·Sys_pci_add_subtract_io_range(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_add_subtract_io_range(SB)
// func Sys_pmt_unpin(handle Handle) Status
TEXT ·Sys_pmt_unpin(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pmt_unpin(SB)
// func Sys_port_create(options uint32, out *Handle) Status
TEXT ·Sys_port_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_port_create(SB)
// func Sys_port_queue(handle Handle, packet *int) Status
TEXT ·Sys_port_queue(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_port_queue(SB)
// func Sys_port_wait(handle Handle, deadline Time, packet *int) Status
TEXT ·Sys_port_wait(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_port_wait(SB)
// func Sys_port_cancel(handle Handle, source Handle, key uint64) Status
TEXT ·Sys_port_cancel(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_port_cancel(SB)
// func Sys_process_exit(retcode int64)
TEXT ·Sys_process_exit(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_process_exit(SB)
// func Sys_process_create(job Handle, name *uint8, name_size uint, options uint32, proc_handle *Handle, vmar_handle *Handle) Status
TEXT ·Sys_process_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_process_create(SB)
// func Sys_process_start(handle Handle, thread Handle, entry Vaddr, stack Vaddr, arg1 Handle, arg2 uintptr) Status
TEXT ·Sys_process_start(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_process_start(SB)
// func Sys_process_read_memory(handle Handle, vaddr Vaddr, buffer unsafe.Pointer, buffer_size uint, actual *uint) Status
TEXT ·Sys_process_read_memory(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_process_read_memory(SB)
// func Sys_process_write_memory(handle Handle, vaddr Vaddr, buffer unsafe.Pointer, buffer_size uint, actual *uint) Status
TEXT ·Sys_process_write_memory(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_process_write_memory(SB)
// func Sys_profile_create(root_job Handle, options uint32, profile *int, out *Handle) Status
TEXT ·Sys_profile_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_profile_create(SB)
// func Sys_resource_create(parent_rsrc Handle, options uint32, base uint64, size uint, name *uint8, name_size uint, resource_out *Handle) Status
TEXT ·Sys_resource_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_resource_create(SB)
// func Sys_smc_call(handle Handle, parameters *SMCParameters, out_smc_result *SMCResult) Status
TEXT ·Sys_smc_call(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_smc_call(SB)
// func Sys_socket_create(options uint32, out0 *Handle, out1 *Handle) Status
TEXT ·Sys_socket_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_socket_create(SB)
// func Sys_socket_write(handle Handle, options uint32, buffer unsafe.Pointer, buffer_size uint, actual *uint) Status
TEXT ·Sys_socket_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_socket_write(SB)
// func Sys_socket_read(handle Handle, options uint32, buffer unsafe.Pointer, buffer_size uint, actual *uint) Status
TEXT ·Sys_socket_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_socket_read(SB)
// func Sys_socket_shutdown(handle Handle, options uint32) Status
TEXT ·Sys_socket_shutdown(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_socket_shutdown(SB)
// func Sys_stream_create(options uint32, vmo Handle, seek uint64, out_stream *Handle) Status
TEXT ·Sys_stream_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_stream_create(SB)
// func Sys_stream_writev(handle Handle, options uint32, vector *uintptr, num_vector uint, actual *uint) Status
TEXT ·Sys_stream_writev(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_stream_writev(SB)
// func Sys_stream_writev_at(handle Handle, options uint32, offset uint64, vector *uintptr, num_vector uint, actual *uint) Status
TEXT ·Sys_stream_writev_at(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_stream_writev_at(SB)
// func Sys_stream_readv(handle Handle, options uint32, vector *uintptr, num_vector uint, actual *uint) Status
TEXT ·Sys_stream_readv(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_stream_readv(SB)
// func Sys_stream_readv_at(handle Handle, options uint32, offset uint64, vector *uintptr, num_vector uint, actual *uint) Status
TEXT ·Sys_stream_readv_at(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_stream_readv_at(SB)
// func Sys_stream_seek(handle Handle, whence uint32, offset int64, out_seek *uint64) Status
TEXT ·Sys_stream_seek(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_stream_seek(SB)
// func Sys_syscall_test_0() Status
TEXT ·Sys_syscall_test_0(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_0(SB)
// func Sys_syscall_test_1(a int32) Status
TEXT ·Sys_syscall_test_1(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_1(SB)
// func Sys_syscall_test_2(a int32, b int32) Status
TEXT ·Sys_syscall_test_2(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_2(SB)
// func Sys_syscall_test_3(a int32, b int32, c int32) Status
TEXT ·Sys_syscall_test_3(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_3(SB)
// func Sys_syscall_test_4(a int32, b int32, c int32, d int32) Status
TEXT ·Sys_syscall_test_4(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_4(SB)
// func Sys_syscall_test_5(a int32, b int32, c int32, d int32, e int32) Status
TEXT ·Sys_syscall_test_5(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_5(SB)
// func Sys_syscall_test_6(a int32, b int32, c int32, d int32, e int32, f int32) Status
TEXT ·Sys_syscall_test_6(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_6(SB)
// func Sys_syscall_test_7(a int32, b int32, c int32, d int32, e int32, f int32, g_ int32) Status
TEXT ·Sys_syscall_test_7(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_7(SB)
// func Sys_syscall_test_8(a int32, b int32, c int32, d int32, e int32, f int32, g_ int32, h int32) Status
TEXT ·Sys_syscall_test_8(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_8(SB)
// func Sys_syscall_test_wrapper(a int32, b int32, c int32) Status
TEXT ·Sys_syscall_test_wrapper(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_wrapper(SB)
// func Sys_syscall_test_handle_create(return_value Status, out *Handle) Status
TEXT ·Sys_syscall_test_handle_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_handle_create(SB)
// func Sys_system_get_dcache_line_size() uint32
TEXT ·Sys_system_get_dcache_line_size(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_get_dcache_line_size(SB)
// func Sys_system_get_num_cpus() uint32
TEXT ·Sys_system_get_num_cpus(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_get_num_cpus(SB)
// func Sys_system_get_version_string() unsafe.Pointer
TEXT ·Sys_system_get_version_string(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_get_version_string(SB)
// func Sys_system_get_physmem() uint64
TEXT ·Sys_system_get_physmem(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_get_physmem(SB)
// func Sys_system_get_features(kind uint32, features *uint32) Status
TEXT ·Sys_system_get_features(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_get_features(SB)
// func Sys_system_get_event(root_job Handle, kind uint32, event *Handle) Status
TEXT ·Sys_system_get_event(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_get_event(SB)
// func Sys_system_mexec(resource Handle, kernel_vmo Handle, bootimage_vmo Handle) Status
TEXT ·Sys_system_mexec(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_mexec(SB)
// func Sys_system_mexec_payload_get(resource Handle, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_system_mexec_payload_get(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_mexec_payload_get(SB)
// func Sys_system_powerctl(resource Handle, cmd uint32, arg *int) Status
TEXT ·Sys_system_powerctl(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_powerctl(SB)
// func Sys_task_suspend(handle Handle, token *Handle) Status
TEXT ·Sys_task_suspend(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_task_suspend(SB)
// func Sys_task_suspend_token(handle Handle, token *Handle) Status
TEXT ·Sys_task_suspend_token(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_task_suspend_token(SB)
// func Sys_task_create_exception_channel(handle Handle, options uint32, out *Handle) Status
TEXT ·Sys_task_create_exception_channel(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_task_create_exception_channel(SB)
// func Sys_task_kill(handle Handle) Status
TEXT ·Sys_task_kill(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_task_kill(SB)
// func Sys_thread_exit()
TEXT ·Sys_thread_exit(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_thread_exit(SB)
// func Sys_thread_create(process Handle, name *uint8, name_size uint, options uint32, out *Handle) Status
TEXT ·Sys_thread_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_thread_create(SB)
// func Sys_thread_start(handle Handle, thread_entry Vaddr, stack Vaddr, arg1 uintptr, arg2 uintptr) Status
TEXT ·Sys_thread_start(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_thread_start(SB)
// func Sys_thread_read_state(handle Handle, kind uint32, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_thread_read_state(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_thread_read_state(SB)
// func Sys_thread_write_state(handle Handle, kind uint32, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_thread_write_state(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_thread_write_state(SB)
// func Sys_timer_create(options uint32, clock_id uint32, out *Handle) Status
TEXT ·Sys_timer_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_timer_create(SB)
// func Sys_timer_set(handle Handle, deadline Time, slack Duration) Status
TEXT ·Sys_timer_set(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_timer_set(SB)
// func Sys_timer_cancel(handle Handle) Status
TEXT ·Sys_timer_cancel(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_timer_cancel(SB)
// func Sys_vcpu_create(guest Handle, options uint32, entry Vaddr, out *Handle) Status
TEXT ·Sys_vcpu_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vcpu_create(SB)
// func Sys_vcpu_resume(handle Handle, packet *int) Status
TEXT ·Sys_vcpu_resume(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vcpu_resume(SB)
// func Sys_vcpu_interrupt(handle Handle, vector uint32) Status
TEXT ·Sys_vcpu_interrupt(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vcpu_interrupt(SB)
// func Sys_vcpu_read_state(handle Handle, kind uint32, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_vcpu_read_state(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vcpu_read_state(SB)
// func Sys_vcpu_write_state(handle Handle, kind uint32, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_vcpu_write_state(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vcpu_write_state(SB)
// func Sys_vmar_allocate(parent_vmar Handle, options VMFlag, offset uint, size uint, child_vmar *Handle, child_addr *Vaddr) Status
TEXT ·Sys_vmar_allocate(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_allocate(SB)
// func Sys_vmar_destroy(handle Handle) Status
TEXT ·Sys_vmar_destroy(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_destroy(SB)
// func Sys_vmar_map(handle Handle, options VMFlag, vmar_offset uint, vmo Handle, vmo_offset uint64, len uint, mapped_addr *Vaddr) Status
TEXT ·Sys_vmar_map(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_map(SB)
// func Sys_vmar_unmap(handle Handle, addr Vaddr, len uint) Status
TEXT ·Sys_vmar_unmap(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_unmap(SB)
// func Sys_vmar_protect(handle Handle, options VMFlag, addr Vaddr, len uint) Status
TEXT ·Sys_vmar_protect(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_protect(SB)
// func Sys_vmar_op_range(handle Handle, op uint32, address Vaddr, size uint, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_vmar_op_range(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_op_range(SB)
// func Sys_vmo_create(size uint64, options uint32, out *Handle) Status
TEXT ·Sys_vmo_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_create(SB)
// func Sys_vmo_read(handle Handle, buffer unsafe.Pointer, offset uint64, buffer_size uint) Status
TEXT ·Sys_vmo_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_read(SB)
// func Sys_vmo_write(handle Handle, buffer unsafe.Pointer, offset uint64, buffer_size uint) Status
TEXT ·Sys_vmo_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_write(SB)
// func Sys_vmo_get_size(handle Handle, size *uint64) Status
TEXT ·Sys_vmo_get_size(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_get_size(SB)
// func Sys_vmo_set_size(handle Handle, size uint64) Status
TEXT ·Sys_vmo_set_size(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_set_size(SB)
// func Sys_vmo_op_range(handle Handle, op uint32, offset uint64, size uint64, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_vmo_op_range(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_op_range(SB)
// func Sys_vmo_create_child(handle Handle, options uint32, offset uint64, size uint64, out *Handle) Status
TEXT ·Sys_vmo_create_child(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_create_child(SB)
// func Sys_vmo_set_cache_policy(handle Handle, cache_policy uint32) Status
TEXT ·Sys_vmo_set_cache_policy(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_set_cache_policy(SB)
// func Sys_vmo_replace_as_executable(handle Handle, vmex Handle, out *Handle) Status
TEXT ·Sys_vmo_replace_as_executable(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_replace_as_executable(SB)
// func Sys_vmo_create_contiguous(bti Handle, size uint, alignment_log2 uint32, out *Handle) Status
TEXT ·Sys_vmo_create_contiguous(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_create_contiguous(SB)
// func Sys_vmo_create_physical(resource Handle, paddr Paddr, size uint, out *Handle) Status
TEXT ·Sys_vmo_create_physical(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_create_physical(SB)
----- go-syscall-arm64-asm.go END -----
----- go-syscall-stubs.go START -----
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// WARNING: THIS FILE IS MACHINE GENERATED BY //tools/kazoo. DO NOT EDIT.
package zx
import "unsafe"
//go:noescape
//go:nosplit
func Sys_bti_create(iommu Handle, options uint32, bti_id uint64, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_bti_pin(handle Handle, options uint32, vmo Handle, offset uint64, size uint64, addrs *Paddr, num_addrs uint, pmt *Handle) Status
//go:noescape
//go:nosplit
func Sys_bti_release_quarantine(handle Handle) Status
//go:noescape
//go:nosplit
func Sys_cache_flush(addr unsafe.Pointer, size uint, options uint32) Status
//go:noescape
//go:nosplit
func Sys_channel_create(options uint32, out0 *Handle, out1 *Handle) Status
//go:noescape
//go:nosplit
func Sys_channel_read(handle Handle, options uint32, bytes unsafe.Pointer, handles *Handle, num_bytes uint32, num_handles uint32, actual_bytes *uint32, actual_handles *uint32) Status
//go:noescape
//go:nosplit
func Sys_channel_read_etc(handle Handle, options uint32, bytes unsafe.Pointer, handles *HandleInfo, num_bytes uint32, num_handles uint32, actual_bytes *uint32, actual_handles *uint32) Status
//go:noescape
//go:nosplit
func Sys_channel_write(handle Handle, options uint32, bytes unsafe.Pointer, num_bytes uint32, handles *Handle, num_handles uint32) Status
//go:noescape
//go:nosplit
func Sys_channel_write_etc(handle Handle, options uint32, bytes unsafe.Pointer, num_bytes uint32, handles *HandleDisposition, num_handles uint32) Status
//go:noescape
//go:nosplit
func Sys_channel_call_noretry(handle Handle, options uint32, deadline Time, args *ChannelCallArgs, actual_bytes *uint32, actual_handles *uint32) Status
//go:noescape
//go:nosplit
func Sys_channel_call_finish(deadline Time, args *ChannelCallArgs, actual_bytes *uint32, actual_handles *uint32) Status
//go:noescape
//go:nosplit
func Sys_channel_call(handle Handle, options uint32, deadline Time, args *ChannelCallArgs, actual_bytes *uint32, actual_handles *uint32) Status
//go:noescape
//go:nosplit
func Sys_channel_call_etc_noretry(handle Handle, options uint32, deadline Time, args *ChannelCallEtcArgs, actual_bytes *uint32, actual_handles *uint32) Status
//go:noescape
//go:nosplit
func Sys_channel_call_etc_finish(deadline Time, args *ChannelCallEtcArgs, actual_bytes *uint32, actual_handles *uint32) Status
//go:noescape
//go:nosplit
func Sys_channel_call_etc(handle Handle, options uint32, deadline Time, args *ChannelCallEtcArgs, actual_bytes *uint32, actual_handles *uint32) Status
//go:noescape
//go:nosplit
func Sys_clock_get(clock_id uint32, out *Time) Status
//go:noescape
//go:nosplit
func Sys_clock_get_monotonic() Time
//go:noescape
//go:nosplit
func Sys_clock_adjust(handle Handle, clock_id uint32, offset int64) Status
//go:noescape
//go:nosplit
func Sys_clock_get_monotonic_via_kernel() Time
//go:noescape
//go:nosplit
func Sys_clock_create(options uint64, args unsafe.Pointer, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_clock_read(handle Handle, now *Time) Status
//go:noescape
//go:nosplit
func Sys_clock_get_details(handle Handle, options uint64, details unsafe.Pointer) Status
//go:noescape
//go:nosplit
func Sys_clock_update(handle Handle, options uint64, args unsafe.Pointer) Status
//go:noescape
//go:nosplit
func Sys_cprng_draw_once(buffer unsafe.Pointer, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_cprng_draw(buffer unsafe.Pointer, buffer_size uint)
//go:noescape
//go:nosplit
func Sys_cprng_add_entropy(buffer unsafe.Pointer, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_debug_read(handle Handle, buffer *uint8, buffer_size uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_debug_write(buffer *uint8, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_debug_send_command(resource Handle, buffer *uint8, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_debuglog_create(resource Handle, options uint32, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_debuglog_write(handle Handle, options uint32, buffer unsafe.Pointer, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_debuglog_read(handle Handle, options uint32, buffer unsafe.Pointer, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_event_create(options uint32, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_eventpair_create(options uint32, out0 *Handle, out1 *Handle) Status
//go:noescape
//go:nosplit
func Sys_exception_get_thread(handle Handle, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_exception_get_process(handle Handle, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_fifo_create(elem_count uint, elem_size uint, options uint32, out0 *Handle, out1 *Handle) Status
//go:noescape
//go:nosplit
func Sys_fifo_read(handle Handle, elem_size uint, data unsafe.Pointer, data_size uint, actual_count *uint) Status
//go:noescape
//go:nosplit
func Sys_fifo_write(handle Handle, elem_size uint, data unsafe.Pointer, count uint, actual_count *uint) Status
//go:noescape
//go:nosplit
func Sys_framebuffer_get_info(resource Handle, format *uint32, width *uint32, height *uint32, stride *uint32) Status
//go:noescape
//go:nosplit
func Sys_framebuffer_set_range(resource Handle, vmo Handle, len uint32, format uint32, width uint32, height uint32, stride uint32) Status
//go:noescape
//go:nosplit
func Sys_futex_wait(value_ptr *int32, current_value int32, new_futex_owner Handle, deadline Time) Status
//go:noescape
//go:nosplit
func Sys_futex_wake(value_ptr *int32, wake_count uint32) Status
//go:noescape
//go:nosplit
func Sys_futex_requeue(value_ptr *int32, wake_count uint32, current_value int32, requeue_ptr *int32, requeue_count uint32, new_requeue_owner Handle) Status
//go:noescape
//go:nosplit
func Sys_futex_wake_single_owner(value_ptr *int32) Status
//go:noescape
//go:nosplit
func Sys_futex_requeue_single_owner(value_ptr *int32, current_value int32, requeue_ptr *int32, requeue_count uint32, new_requeue_owner Handle) Status
//go:noescape
//go:nosplit
func Sys_futex_get_owner(value_ptr *int32, koid *uint64) Status
//go:noescape
//go:nosplit
func Sys_guest_create(resource Handle, options uint32, guest_handle *Handle, vmar_handle *Handle) Status
//go:noescape
//go:nosplit
func Sys_guest_set_trap(handle Handle, kind uint32, addr Vaddr, size uint, port_handle Handle, key uint64) Status
//go:noescape
//go:nosplit
func Sys_handle_close(handle Handle) Status
//go:noescape
//go:nosplit
func Sys_handle_close_many(handles *Handle, num_handles uint) Status
//go:noescape
//go:nosplit
func Sys_handle_duplicate(handle Handle, rights Rights, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_handle_replace(handle Handle, rights Rights, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_interrupt_create(src_obj Handle, src_num uint32, options uint32, out_handle *Handle) Status
//go:noescape
//go:nosplit
func Sys_interrupt_bind(handle Handle, port_handle Handle, key uint64, options uint32) Status
//go:noescape
//go:nosplit
func Sys_interrupt_wait(handle Handle, out_timestamp *Time) Status
//go:noescape
//go:nosplit
func Sys_interrupt_destroy(handle Handle) Status
//go:noescape
//go:nosplit
func Sys_interrupt_ack(handle Handle) Status
//go:noescape
//go:nosplit
func Sys_interrupt_trigger(handle Handle, options uint32, timestamp Time) Status
//go:noescape
//go:nosplit
func Sys_interrupt_bind_vcpu(handle Handle, vcpu Handle, options uint32) Status
//go:noescape
//go:nosplit
func Sys_iommu_create(resource Handle, typ uint32, desc unsafe.Pointer, desc_size uint, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_ioports_request(resource Handle, io_addr uint16, len uint32) Status
//go:noescape
//go:nosplit
func Sys_ioports_release(resource Handle, io_addr uint16, len uint32) Status
//go:noescape
//go:nosplit
func Sys_job_create(parent_job Handle, options uint32, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_job_set_policy(handle Handle, options uint32, topic uint32, policy unsafe.Pointer, policy_size uint32) Status
//go:noescape
//go:nosplit
func Sys_job_set_critical(job Handle, options uint32, process Handle) Status
//go:noescape
//go:nosplit
func Sys_ktrace_read(handle Handle, data unsafe.Pointer, offset uint32, data_size uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_ktrace_control(handle Handle, action uint32, options uint32, ptr unsafe.Pointer) Status
//go:noescape
//go:nosplit
func Sys_ktrace_write(handle Handle, id uint32, arg0 uint32, arg1 uint32) Status
//go:noescape
//go:nosplit
func Sys_nanosleep(deadline Time) Status
//go:noescape
//go:nosplit
func Sys_ticks_get() int64
//go:noescape
//go:nosplit
func Sys_ticks_per_second() int64
//go:noescape
//go:nosplit
func Sys_deadline_after(nanoseconds Duration) Time
//go:noescape
//go:nosplit
func Sys_vmar_unmap_handle_close_thread_exit(vmar_handle Handle, addr Vaddr, size uint, close_handle Handle) Status
//go:noescape
//go:nosplit
func Sys_futex_wake_handle_close_thread_exit(value_ptr *int32, wake_count uint32, new_value int32, close_handle Handle)
//go:noescape
//go:nosplit
func Sys_ticks_get_via_kernel() int64
//go:noescape
//go:nosplit
func Sys_msi_allocate(handle Handle, count uint32, out_allocation *Handle) Status
//go:noescape
//go:nosplit
func Sys_msi_create(handle Handle, options uint32, msi_id uint32, vmo Handle, vmo_offset uint, out_interrupt *Handle) Status
//go:noescape
//go:nosplit
func Sys_mtrace_control(handle Handle, kind uint32, action uint32, options uint32, ptr unsafe.Pointer, ptr_size uint) Status
//go:noescape
//go:nosplit
func Sys_object_wait_one(handle Handle, signals Signals, deadline Time, observed *Signals) Status
//go:noescape
//go:nosplit
func Sys_object_wait_many(items *WaitItem, num_items uint, deadline Time) Status
//go:noescape
//go:nosplit
func Sys_object_wait_async(handle Handle, port Handle, key uint64, signals Signals, options uint32) Status
//go:noescape
//go:nosplit
func Sys_object_signal(handle Handle, clear_mask uint32, set_mask uint32) Status
//go:noescape
//go:nosplit
func Sys_object_signal_peer(handle Handle, clear_mask uint32, set_mask uint32) Status
//go:noescape
//go:nosplit
func Sys_object_get_property(handle Handle, property uint32, value unsafe.Pointer, value_size uint) Status
//go:noescape
//go:nosplit
func Sys_object_set_property(handle Handle, property uint32, value unsafe.Pointer, value_size uint) Status
//go:noescape
//go:nosplit
func Sys_object_get_info(handle Handle, topic uint32, buffer unsafe.Pointer, buffer_size uint, actual *uint, avail *uint) Status
//go:noescape
//go:nosplit
func Sys_object_get_child(handle Handle, koid uint64, rights Rights, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_object_set_profile(handle Handle, profile Handle, options uint32) Status
//go:noescape
//go:nosplit
func Sys_pager_create(options uint32, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_pager_create_vmo(pager Handle, options uint32, port Handle, key uint64, size uint64, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_pager_detach_vmo(pager Handle, vmo Handle) Status
//go:noescape
//go:nosplit
func Sys_pager_supply_pages(pager Handle, pager_vmo Handle, offset uint64, length uint64, aux_vmo Handle, aux_offset uint64) Status
//go:noescape
//go:nosplit
func Sys_pager_op_range(pager Handle, op uint32, pager_vmo Handle, offset uint64, length uint64, data uint64) Status
//go:noescape
//go:nosplit
func Sys_pc_firmware_tables(handle Handle, acpi_rsdp *Paddr, smbios *Paddr) Status
//go:noescape
//go:nosplit
func Sys_pci_get_nth_device(handle Handle, index uint32, out_info *uintptr, out_handle *Handle) Status
//go:noescape
//go:nosplit
func Sys_pci_enable_bus_master(handle Handle, enable uint32) Status
//go:noescape
//go:nosplit
func Sys_pci_reset_device(handle Handle) Status
//go:noescape
//go:nosplit
func Sys_pci_config_read(handle Handle, offset uint16, width uint, out_val *uint32) Status
//go:noescape
//go:nosplit
func Sys_pci_config_write(handle Handle, offset uint16, width uint, val uint32) Status
//go:noescape
//go:nosplit
func Sys_pci_cfg_pio_rw(handle Handle, bus uint8, dev uint8, funk uint8, offset uint8, val *uint32, width uint, write uint32) Status
//go:noescape
//go:nosplit
func Sys_pci_get_bar(handle Handle, bar_num uint32, out_bar *uintptr, out_handle *Handle) Status
//go:noescape
//go:nosplit
func Sys_pci_map_interrupt(handle Handle, which_irq int32, out_handle *Handle) Status
//go:noescape
//go:nosplit
func Sys_pci_query_irq_mode(handle Handle, mode uint32, out_max_irqs *uint32) Status
//go:noescape
//go:nosplit
func Sys_pci_set_irq_mode(handle Handle, mode uint32, requested_irq_count uint32) Status
//go:noescape
//go:nosplit
func Sys_pci_init(handle Handle, init_buf *uintptr, len uint32) Status
//go:noescape
//go:nosplit
func Sys_pci_add_subtract_io_range(handle Handle, mmio uint32, base uint64, len uint64, add uint32) Status
//go:noescape
//go:nosplit
func Sys_pmt_unpin(handle Handle) Status
//go:noescape
//go:nosplit
func Sys_port_create(options uint32, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_port_queue(handle Handle, packet *int) Status
//go:noescape
//go:nosplit
func Sys_port_wait(handle Handle, deadline Time, packet *int) Status
//go:noescape
//go:nosplit
func Sys_port_cancel(handle Handle, source Handle, key uint64) Status
//go:noescape
//go:nosplit
func Sys_process_exit(retcode int64)
//go:noescape
//go:nosplit
func Sys_process_create(job Handle, name *uint8, name_size uint, options uint32, proc_handle *Handle, vmar_handle *Handle) Status
//go:noescape
//go:nosplit
func Sys_process_start(handle Handle, thread Handle, entry Vaddr, stack Vaddr, arg1 Handle, arg2 uintptr) Status
//go:noescape
//go:nosplit
func Sys_process_read_memory(handle Handle, vaddr Vaddr, buffer unsafe.Pointer, buffer_size uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_process_write_memory(handle Handle, vaddr Vaddr, buffer unsafe.Pointer, buffer_size uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_profile_create(root_job Handle, options uint32, profile *int, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_resource_create(parent_rsrc Handle, options uint32, base uint64, size uint, name *uint8, name_size uint, resource_out *Handle) Status
//go:noescape
//go:nosplit
func Sys_smc_call(handle Handle, parameters *SMCParameters, out_smc_result *SMCResult) Status
//go:noescape
//go:nosplit
func Sys_socket_create(options uint32, out0 *Handle, out1 *Handle) Status
//go:noescape
//go:nosplit
func Sys_socket_write(handle Handle, options uint32, buffer unsafe.Pointer, buffer_size uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_socket_read(handle Handle, options uint32, buffer unsafe.Pointer, buffer_size uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_socket_shutdown(handle Handle, options uint32) Status
//go:noescape
//go:nosplit
func Sys_stream_create(options uint32, vmo Handle, seek uint64, out_stream *Handle) Status
//go:noescape
//go:nosplit
func Sys_stream_writev(handle Handle, options uint32, vector *uintptr, num_vector uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_stream_writev_at(handle Handle, options uint32, offset uint64, vector *uintptr, num_vector uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_stream_readv(handle Handle, options uint32, vector *uintptr, num_vector uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_stream_readv_at(handle Handle, options uint32, offset uint64, vector *uintptr, num_vector uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_stream_seek(handle Handle, whence uint32, offset int64, out_seek *uint64) Status
//go:noescape
//go:nosplit
func Sys_syscall_test_0() Status
//go:noescape
//go:nosplit
func Sys_syscall_test_1(a int32) Status
//go:noescape
//go:nosplit
func Sys_syscall_test_2(a int32, b int32) Status
//go:noescape
//go:nosplit
func Sys_syscall_test_3(a int32, b int32, c int32) Status
//go:noescape
//go:nosplit
func Sys_syscall_test_4(a int32, b int32, c int32, d int32) Status
//go:noescape
//go:nosplit
func Sys_syscall_test_5(a int32, b int32, c int32, d int32, e int32) Status
//go:noescape
//go:nosplit
func Sys_syscall_test_6(a int32, b int32, c int32, d int32, e int32, f int32) Status
//go:noescape
//go:nosplit
func Sys_syscall_test_7(a int32, b int32, c int32, d int32, e int32, f int32, g_ int32) Status
//go:noescape
//go:nosplit
func Sys_syscall_test_8(a int32, b int32, c int32, d int32, e int32, f int32, g_ int32, h int32) Status
//go:noescape
//go:nosplit
func Sys_syscall_test_wrapper(a int32, b int32, c int32) Status
//go:noescape
//go:nosplit
func Sys_syscall_test_handle_create(return_value Status, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_system_get_dcache_line_size() uint32
//go:noescape
//go:nosplit
func Sys_system_get_num_cpus() uint32
//go:noescape
//go:nosplit
func Sys_system_get_version_string() unsafe.Pointer
//go:noescape
//go:nosplit
func Sys_system_get_physmem() uint64
//go:noescape
//go:nosplit
func Sys_system_get_features(kind uint32, features *uint32) Status
//go:noescape
//go:nosplit
func Sys_system_get_event(root_job Handle, kind uint32, event *Handle) Status
//go:noescape
//go:nosplit
func Sys_system_mexec(resource Handle, kernel_vmo Handle, bootimage_vmo Handle) Status
//go:noescape
//go:nosplit
func Sys_system_mexec_payload_get(resource Handle, buffer unsafe.Pointer, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_system_powerctl(resource Handle, cmd uint32, arg *int) Status
//go:noescape
//go:nosplit
func Sys_task_suspend(handle Handle, token *Handle) Status
//go:noescape
//go:nosplit
func Sys_task_suspend_token(handle Handle, token *Handle) Status
//go:noescape
//go:nosplit
func Sys_task_create_exception_channel(handle Handle, options uint32, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_task_kill(handle Handle) Status
//go:noescape
//go:nosplit
func Sys_thread_exit()
//go:noescape
//go:nosplit
func Sys_thread_create(process Handle, name *uint8, name_size uint, options uint32, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_thread_start(handle Handle, thread_entry Vaddr, stack Vaddr, arg1 uintptr, arg2 uintptr) Status
//go:noescape
//go:nosplit
func Sys_thread_read_state(handle Handle, kind uint32, buffer unsafe.Pointer, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_thread_write_state(handle Handle, kind uint32, buffer unsafe.Pointer, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_timer_create(options uint32, clock_id uint32, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_timer_set(handle Handle, deadline Time, slack Duration) Status
//go:noescape
//go:nosplit
func Sys_timer_cancel(handle Handle) Status
//go:noescape
//go:nosplit
func Sys_vcpu_create(guest Handle, options uint32, entry Vaddr, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_vcpu_resume(handle Handle, packet *int) Status
//go:noescape
//go:nosplit
func Sys_vcpu_interrupt(handle Handle, vector uint32) Status
//go:noescape
//go:nosplit
func Sys_vcpu_read_state(handle Handle, kind uint32, buffer unsafe.Pointer, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_vcpu_write_state(handle Handle, kind uint32, buffer unsafe.Pointer, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_vmar_allocate(parent_vmar Handle, options VMFlag, offset uint, size uint, child_vmar *Handle, child_addr *Vaddr) Status
//go:noescape
//go:nosplit
func Sys_vmar_destroy(handle Handle) Status
//go:noescape
//go:nosplit
func Sys_vmar_map(handle Handle, options VMFlag, vmar_offset uint, vmo Handle, vmo_offset uint64, len uint, mapped_addr *Vaddr) Status
//go:noescape
//go:nosplit
func Sys_vmar_unmap(handle Handle, addr Vaddr, len uint) Status
//go:noescape
//go:nosplit
func Sys_vmar_protect(handle Handle, options VMFlag, addr Vaddr, len uint) Status
//go:noescape
//go:nosplit
func Sys_vmar_op_range(handle Handle, op uint32, address Vaddr, size uint, buffer unsafe.Pointer, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_vmo_create(size uint64, options uint32, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_vmo_read(handle Handle, buffer unsafe.Pointer, offset uint64, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_vmo_write(handle Handle, buffer unsafe.Pointer, offset uint64, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_vmo_get_size(handle Handle, size *uint64) Status
//go:noescape
//go:nosplit
func Sys_vmo_set_size(handle Handle, size uint64) Status
//go:noescape
//go:nosplit
func Sys_vmo_op_range(handle Handle, op uint32, offset uint64, size uint64, buffer unsafe.Pointer, buffer_size uint) Status
//go:noescape
//go:nosplit
func Sys_vmo_create_child(handle Handle, options uint32, offset uint64, size uint64, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_vmo_set_cache_policy(handle Handle, cache_policy uint32) Status
//go:noescape
//go:nosplit
func Sys_vmo_replace_as_executable(handle Handle, vmex Handle, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_vmo_create_contiguous(bti Handle, size uint, alignment_log2 uint32, out *Handle) Status
//go:noescape
//go:nosplit
func Sys_vmo_create_physical(resource Handle, paddr Paddr, size uint, out *Handle) Status
----- go-syscall-stubs.go END -----
----- go-syscall-x86-asm.go START -----
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// WARNING: THIS FILE IS MACHINE GENERATED BY //tools/kazoo. DO NOT EDIT.
#include "textflag.h"
// func Sys_bti_create(iommu Handle, options uint32, bti_id uint64, out *Handle) Status
TEXT ·Sys_bti_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_bti_create(SB)
// func Sys_bti_pin(handle Handle, options uint32, vmo Handle, offset uint64, size uint64, addrs *Paddr, num_addrs uint, pmt *Handle) Status
TEXT ·Sys_bti_pin(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_bti_pin(SB)
// func Sys_bti_release_quarantine(handle Handle) Status
TEXT ·Sys_bti_release_quarantine(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_bti_release_quarantine(SB)
// func Sys_cache_flush(addr unsafe.Pointer, size uint, options uint32) Status
TEXT ·Sys_cache_flush(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_cache_flush(SB)
// func Sys_channel_create(options uint32, out0 *Handle, out1 *Handle) Status
TEXT ·Sys_channel_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_create(SB)
// func Sys_channel_read(handle Handle, options uint32, bytes unsafe.Pointer, handles *Handle, num_bytes uint32, num_handles uint32, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_read(SB)
// func Sys_channel_read_etc(handle Handle, options uint32, bytes unsafe.Pointer, handles *HandleInfo, num_bytes uint32, num_handles uint32, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_read_etc(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_read_etc(SB)
// func Sys_channel_write(handle Handle, options uint32, bytes unsafe.Pointer, num_bytes uint32, handles *Handle, num_handles uint32) Status
TEXT ·Sys_channel_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_write(SB)
// func Sys_channel_write_etc(handle Handle, options uint32, bytes unsafe.Pointer, num_bytes uint32, handles *HandleDisposition, num_handles uint32) Status
TEXT ·Sys_channel_write_etc(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_write_etc(SB)
// func Sys_channel_call_noretry(handle Handle, options uint32, deadline Time, args *ChannelCallArgs, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_call_noretry(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_call_noretry(SB)
// func Sys_channel_call_finish(deadline Time, args *ChannelCallArgs, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_call_finish(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_call_finish(SB)
// func Sys_channel_call(handle Handle, options uint32, deadline Time, args *ChannelCallArgs, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_call(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_call(SB)
// func Sys_channel_call_etc_noretry(handle Handle, options uint32, deadline Time, args *ChannelCallEtcArgs, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_call_etc_noretry(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_call_etc_noretry(SB)
// func Sys_channel_call_etc_finish(deadline Time, args *ChannelCallEtcArgs, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_call_etc_finish(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_call_etc_finish(SB)
// func Sys_channel_call_etc(handle Handle, options uint32, deadline Time, args *ChannelCallEtcArgs, actual_bytes *uint32, actual_handles *uint32) Status
TEXT ·Sys_channel_call_etc(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_channel_call_etc(SB)
// func Sys_clock_get(clock_id uint32, out *Time) Status
TEXT ·Sys_clock_get(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_get(SB)
// func Sys_clock_get_monotonic() Time
TEXT ·Sys_clock_get_monotonic(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_get_monotonic(SB)
// func Sys_clock_adjust(handle Handle, clock_id uint32, offset int64) Status
TEXT ·Sys_clock_adjust(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_adjust(SB)
// func Sys_clock_get_monotonic_via_kernel() Time
TEXT ·Sys_clock_get_monotonic_via_kernel(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_get_monotonic_via_kernel(SB)
// func Sys_clock_create(options uint64, args unsafe.Pointer, out *Handle) Status
TEXT ·Sys_clock_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_create(SB)
// func Sys_clock_read(handle Handle, now *Time) Status
TEXT ·Sys_clock_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_read(SB)
// func Sys_clock_get_details(handle Handle, options uint64, details unsafe.Pointer) Status
TEXT ·Sys_clock_get_details(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_get_details(SB)
// func Sys_clock_update(handle Handle, options uint64, args unsafe.Pointer) Status
TEXT ·Sys_clock_update(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_clock_update(SB)
// func Sys_cprng_draw_once(buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_cprng_draw_once(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_cprng_draw_once(SB)
// func Sys_cprng_draw(buffer unsafe.Pointer, buffer_size uint)
TEXT ·Sys_cprng_draw(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_cprng_draw(SB)
// func Sys_cprng_add_entropy(buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_cprng_add_entropy(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_cprng_add_entropy(SB)
// func Sys_debug_read(handle Handle, buffer *uint8, buffer_size uint, actual *uint) Status
TEXT ·Sys_debug_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_debug_read(SB)
// func Sys_debug_write(buffer *uint8, buffer_size uint) Status
TEXT ·Sys_debug_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_debug_write(SB)
// func Sys_debug_send_command(resource Handle, buffer *uint8, buffer_size uint) Status
TEXT ·Sys_debug_send_command(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_debug_send_command(SB)
// func Sys_debuglog_create(resource Handle, options uint32, out *Handle) Status
TEXT ·Sys_debuglog_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_debuglog_create(SB)
// func Sys_debuglog_write(handle Handle, options uint32, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_debuglog_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_debuglog_write(SB)
// func Sys_debuglog_read(handle Handle, options uint32, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_debuglog_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_debuglog_read(SB)
// func Sys_event_create(options uint32, out *Handle) Status
TEXT ·Sys_event_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_event_create(SB)
// func Sys_eventpair_create(options uint32, out0 *Handle, out1 *Handle) Status
TEXT ·Sys_eventpair_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_eventpair_create(SB)
// func Sys_exception_get_thread(handle Handle, out *Handle) Status
TEXT ·Sys_exception_get_thread(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_exception_get_thread(SB)
// func Sys_exception_get_process(handle Handle, out *Handle) Status
TEXT ·Sys_exception_get_process(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_exception_get_process(SB)
// func Sys_fifo_create(elem_count uint, elem_size uint, options uint32, out0 *Handle, out1 *Handle) Status
TEXT ·Sys_fifo_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_fifo_create(SB)
// func Sys_fifo_read(handle Handle, elem_size uint, data unsafe.Pointer, data_size uint, actual_count *uint) Status
TEXT ·Sys_fifo_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_fifo_read(SB)
// func Sys_fifo_write(handle Handle, elem_size uint, data unsafe.Pointer, count uint, actual_count *uint) Status
TEXT ·Sys_fifo_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_fifo_write(SB)
// func Sys_framebuffer_get_info(resource Handle, format *uint32, width *uint32, height *uint32, stride *uint32) Status
TEXT ·Sys_framebuffer_get_info(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_framebuffer_get_info(SB)
// func Sys_framebuffer_set_range(resource Handle, vmo Handle, len uint32, format uint32, width uint32, height uint32, stride uint32) Status
TEXT ·Sys_framebuffer_set_range(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_framebuffer_set_range(SB)
// func Sys_futex_wait(value_ptr *int32, current_value int32, new_futex_owner Handle, deadline Time) Status
TEXT ·Sys_futex_wait(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_wait(SB)
// func Sys_futex_wake(value_ptr *int32, wake_count uint32) Status
TEXT ·Sys_futex_wake(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_wake(SB)
// func Sys_futex_requeue(value_ptr *int32, wake_count uint32, current_value int32, requeue_ptr *int32, requeue_count uint32, new_requeue_owner Handle) Status
TEXT ·Sys_futex_requeue(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_requeue(SB)
// func Sys_futex_wake_single_owner(value_ptr *int32) Status
TEXT ·Sys_futex_wake_single_owner(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_wake_single_owner(SB)
// func Sys_futex_requeue_single_owner(value_ptr *int32, current_value int32, requeue_ptr *int32, requeue_count uint32, new_requeue_owner Handle) Status
TEXT ·Sys_futex_requeue_single_owner(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_requeue_single_owner(SB)
// func Sys_futex_get_owner(value_ptr *int32, koid *uint64) Status
TEXT ·Sys_futex_get_owner(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_get_owner(SB)
// func Sys_guest_create(resource Handle, options uint32, guest_handle *Handle, vmar_handle *Handle) Status
TEXT ·Sys_guest_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_guest_create(SB)
// func Sys_guest_set_trap(handle Handle, kind uint32, addr Vaddr, size uint, port_handle Handle, key uint64) Status
TEXT ·Sys_guest_set_trap(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_guest_set_trap(SB)
// func Sys_handle_close(handle Handle) Status
TEXT ·Sys_handle_close(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_handle_close(SB)
// func Sys_handle_close_many(handles *Handle, num_handles uint) Status
TEXT ·Sys_handle_close_many(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_handle_close_many(SB)
// func Sys_handle_duplicate(handle Handle, rights Rights, out *Handle) Status
TEXT ·Sys_handle_duplicate(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_handle_duplicate(SB)
// func Sys_handle_replace(handle Handle, rights Rights, out *Handle) Status
TEXT ·Sys_handle_replace(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_handle_replace(SB)
// func Sys_interrupt_create(src_obj Handle, src_num uint32, options uint32, out_handle *Handle) Status
TEXT ·Sys_interrupt_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_create(SB)
// func Sys_interrupt_bind(handle Handle, port_handle Handle, key uint64, options uint32) Status
TEXT ·Sys_interrupt_bind(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_bind(SB)
// func Sys_interrupt_wait(handle Handle, out_timestamp *Time) Status
TEXT ·Sys_interrupt_wait(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_wait(SB)
// func Sys_interrupt_destroy(handle Handle) Status
TEXT ·Sys_interrupt_destroy(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_destroy(SB)
// func Sys_interrupt_ack(handle Handle) Status
TEXT ·Sys_interrupt_ack(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_ack(SB)
// func Sys_interrupt_trigger(handle Handle, options uint32, timestamp Time) Status
TEXT ·Sys_interrupt_trigger(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_trigger(SB)
// func Sys_interrupt_bind_vcpu(handle Handle, vcpu Handle, options uint32) Status
TEXT ·Sys_interrupt_bind_vcpu(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_interrupt_bind_vcpu(SB)
// func Sys_iommu_create(resource Handle, typ uint32, desc unsafe.Pointer, desc_size uint, out *Handle) Status
TEXT ·Sys_iommu_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_iommu_create(SB)
// func Sys_ioports_request(resource Handle, io_addr uint16, len uint32) Status
TEXT ·Sys_ioports_request(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ioports_request(SB)
// func Sys_ioports_release(resource Handle, io_addr uint16, len uint32) Status
TEXT ·Sys_ioports_release(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ioports_release(SB)
// func Sys_job_create(parent_job Handle, options uint32, out *Handle) Status
TEXT ·Sys_job_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_job_create(SB)
// func Sys_job_set_policy(handle Handle, options uint32, topic uint32, policy unsafe.Pointer, policy_size uint32) Status
TEXT ·Sys_job_set_policy(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_job_set_policy(SB)
// func Sys_job_set_critical(job Handle, options uint32, process Handle) Status
TEXT ·Sys_job_set_critical(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_job_set_critical(SB)
// func Sys_ktrace_read(handle Handle, data unsafe.Pointer, offset uint32, data_size uint, actual *uint) Status
TEXT ·Sys_ktrace_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ktrace_read(SB)
// func Sys_ktrace_control(handle Handle, action uint32, options uint32, ptr unsafe.Pointer) Status
TEXT ·Sys_ktrace_control(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ktrace_control(SB)
// func Sys_ktrace_write(handle Handle, id uint32, arg0 uint32, arg1 uint32) Status
TEXT ·Sys_ktrace_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ktrace_write(SB)
// func Sys_nanosleep(deadline Time) Status
TEXT ·Sys_nanosleep(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_nanosleep(SB)
// func Sys_ticks_get() int64
TEXT ·Sys_ticks_get(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ticks_get(SB)
// func Sys_ticks_per_second() int64
TEXT ·Sys_ticks_per_second(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ticks_per_second(SB)
// func Sys_deadline_after(nanoseconds Duration) Time
TEXT ·Sys_deadline_after(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_deadline_after(SB)
// func Sys_vmar_unmap_handle_close_thread_exit(vmar_handle Handle, addr Vaddr, size uint, close_handle Handle) Status
TEXT ·Sys_vmar_unmap_handle_close_thread_exit(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_unmap_handle_close_thread_exit(SB)
// func Sys_futex_wake_handle_close_thread_exit(value_ptr *int32, wake_count uint32, new_value int32, close_handle Handle)
TEXT ·Sys_futex_wake_handle_close_thread_exit(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_futex_wake_handle_close_thread_exit(SB)
// func Sys_ticks_get_via_kernel() int64
TEXT ·Sys_ticks_get_via_kernel(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_ticks_get_via_kernel(SB)
// func Sys_msi_allocate(handle Handle, count uint32, out_allocation *Handle) Status
TEXT ·Sys_msi_allocate(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_msi_allocate(SB)
// func Sys_msi_create(handle Handle, options uint32, msi_id uint32, vmo Handle, vmo_offset uint, out_interrupt *Handle) Status
TEXT ·Sys_msi_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_msi_create(SB)
// func Sys_mtrace_control(handle Handle, kind uint32, action uint32, options uint32, ptr unsafe.Pointer, ptr_size uint) Status
TEXT ·Sys_mtrace_control(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_mtrace_control(SB)
// func Sys_object_wait_one(handle Handle, signals Signals, deadline Time, observed *Signals) Status
TEXT ·Sys_object_wait_one(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_wait_one(SB)
// func Sys_object_wait_many(items *WaitItem, num_items uint, deadline Time) Status
TEXT ·Sys_object_wait_many(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_wait_many(SB)
// func Sys_object_wait_async(handle Handle, port Handle, key uint64, signals Signals, options uint32) Status
TEXT ·Sys_object_wait_async(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_wait_async(SB)
// func Sys_object_signal(handle Handle, clear_mask uint32, set_mask uint32) Status
TEXT ·Sys_object_signal(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_signal(SB)
// func Sys_object_signal_peer(handle Handle, clear_mask uint32, set_mask uint32) Status
TEXT ·Sys_object_signal_peer(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_signal_peer(SB)
// func Sys_object_get_property(handle Handle, property uint32, value unsafe.Pointer, value_size uint) Status
TEXT ·Sys_object_get_property(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_get_property(SB)
// func Sys_object_set_property(handle Handle, property uint32, value unsafe.Pointer, value_size uint) Status
TEXT ·Sys_object_set_property(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_set_property(SB)
// func Sys_object_get_info(handle Handle, topic uint32, buffer unsafe.Pointer, buffer_size uint, actual *uint, avail *uint) Status
TEXT ·Sys_object_get_info(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_get_info(SB)
// func Sys_object_get_child(handle Handle, koid uint64, rights Rights, out *Handle) Status
TEXT ·Sys_object_get_child(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_get_child(SB)
// func Sys_object_set_profile(handle Handle, profile Handle, options uint32) Status
TEXT ·Sys_object_set_profile(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_object_set_profile(SB)
// func Sys_pager_create(options uint32, out *Handle) Status
TEXT ·Sys_pager_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pager_create(SB)
// func Sys_pager_create_vmo(pager Handle, options uint32, port Handle, key uint64, size uint64, out *Handle) Status
TEXT ·Sys_pager_create_vmo(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pager_create_vmo(SB)
// func Sys_pager_detach_vmo(pager Handle, vmo Handle) Status
TEXT ·Sys_pager_detach_vmo(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pager_detach_vmo(SB)
// func Sys_pager_supply_pages(pager Handle, pager_vmo Handle, offset uint64, length uint64, aux_vmo Handle, aux_offset uint64) Status
TEXT ·Sys_pager_supply_pages(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pager_supply_pages(SB)
// func Sys_pager_op_range(pager Handle, op uint32, pager_vmo Handle, offset uint64, length uint64, data uint64) Status
TEXT ·Sys_pager_op_range(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pager_op_range(SB)
// func Sys_pc_firmware_tables(handle Handle, acpi_rsdp *Paddr, smbios *Paddr) Status
TEXT ·Sys_pc_firmware_tables(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pc_firmware_tables(SB)
// func Sys_pci_get_nth_device(handle Handle, index uint32, out_info *uintptr, out_handle *Handle) Status
TEXT ·Sys_pci_get_nth_device(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_get_nth_device(SB)
// func Sys_pci_enable_bus_master(handle Handle, enable uint32) Status
TEXT ·Sys_pci_enable_bus_master(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_enable_bus_master(SB)
// func Sys_pci_reset_device(handle Handle) Status
TEXT ·Sys_pci_reset_device(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_reset_device(SB)
// func Sys_pci_config_read(handle Handle, offset uint16, width uint, out_val *uint32) Status
TEXT ·Sys_pci_config_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_config_read(SB)
// func Sys_pci_config_write(handle Handle, offset uint16, width uint, val uint32) Status
TEXT ·Sys_pci_config_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_config_write(SB)
// func Sys_pci_cfg_pio_rw(handle Handle, bus uint8, dev uint8, funk uint8, offset uint8, val *uint32, width uint, write uint32) Status
TEXT ·Sys_pci_cfg_pio_rw(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_cfg_pio_rw(SB)
// func Sys_pci_get_bar(handle Handle, bar_num uint32, out_bar *uintptr, out_handle *Handle) Status
TEXT ·Sys_pci_get_bar(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_get_bar(SB)
// func Sys_pci_map_interrupt(handle Handle, which_irq int32, out_handle *Handle) Status
TEXT ·Sys_pci_map_interrupt(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_map_interrupt(SB)
// func Sys_pci_query_irq_mode(handle Handle, mode uint32, out_max_irqs *uint32) Status
TEXT ·Sys_pci_query_irq_mode(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_query_irq_mode(SB)
// func Sys_pci_set_irq_mode(handle Handle, mode uint32, requested_irq_count uint32) Status
TEXT ·Sys_pci_set_irq_mode(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_set_irq_mode(SB)
// func Sys_pci_init(handle Handle, init_buf *uintptr, len uint32) Status
TEXT ·Sys_pci_init(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_init(SB)
// func Sys_pci_add_subtract_io_range(handle Handle, mmio uint32, base uint64, len uint64, add uint32) Status
TEXT ·Sys_pci_add_subtract_io_range(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pci_add_subtract_io_range(SB)
// func Sys_pmt_unpin(handle Handle) Status
TEXT ·Sys_pmt_unpin(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_pmt_unpin(SB)
// func Sys_port_create(options uint32, out *Handle) Status
TEXT ·Sys_port_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_port_create(SB)
// func Sys_port_queue(handle Handle, packet *int) Status
TEXT ·Sys_port_queue(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_port_queue(SB)
// func Sys_port_wait(handle Handle, deadline Time, packet *int) Status
TEXT ·Sys_port_wait(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_port_wait(SB)
// func Sys_port_cancel(handle Handle, source Handle, key uint64) Status
TEXT ·Sys_port_cancel(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_port_cancel(SB)
// func Sys_process_exit(retcode int64)
TEXT ·Sys_process_exit(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_process_exit(SB)
// func Sys_process_create(job Handle, name *uint8, name_size uint, options uint32, proc_handle *Handle, vmar_handle *Handle) Status
TEXT ·Sys_process_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_process_create(SB)
// func Sys_process_start(handle Handle, thread Handle, entry Vaddr, stack Vaddr, arg1 Handle, arg2 uintptr) Status
TEXT ·Sys_process_start(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_process_start(SB)
// func Sys_process_read_memory(handle Handle, vaddr Vaddr, buffer unsafe.Pointer, buffer_size uint, actual *uint) Status
TEXT ·Sys_process_read_memory(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_process_read_memory(SB)
// func Sys_process_write_memory(handle Handle, vaddr Vaddr, buffer unsafe.Pointer, buffer_size uint, actual *uint) Status
TEXT ·Sys_process_write_memory(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_process_write_memory(SB)
// func Sys_profile_create(root_job Handle, options uint32, profile *int, out *Handle) Status
TEXT ·Sys_profile_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_profile_create(SB)
// func Sys_resource_create(parent_rsrc Handle, options uint32, base uint64, size uint, name *uint8, name_size uint, resource_out *Handle) Status
TEXT ·Sys_resource_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_resource_create(SB)
// func Sys_smc_call(handle Handle, parameters *SMCParameters, out_smc_result *SMCResult) Status
TEXT ·Sys_smc_call(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_smc_call(SB)
// func Sys_socket_create(options uint32, out0 *Handle, out1 *Handle) Status
TEXT ·Sys_socket_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_socket_create(SB)
// func Sys_socket_write(handle Handle, options uint32, buffer unsafe.Pointer, buffer_size uint, actual *uint) Status
TEXT ·Sys_socket_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_socket_write(SB)
// func Sys_socket_read(handle Handle, options uint32, buffer unsafe.Pointer, buffer_size uint, actual *uint) Status
TEXT ·Sys_socket_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_socket_read(SB)
// func Sys_socket_shutdown(handle Handle, options uint32) Status
TEXT ·Sys_socket_shutdown(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_socket_shutdown(SB)
// func Sys_stream_create(options uint32, vmo Handle, seek uint64, out_stream *Handle) Status
TEXT ·Sys_stream_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_stream_create(SB)
// func Sys_stream_writev(handle Handle, options uint32, vector *uintptr, num_vector uint, actual *uint) Status
TEXT ·Sys_stream_writev(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_stream_writev(SB)
// func Sys_stream_writev_at(handle Handle, options uint32, offset uint64, vector *uintptr, num_vector uint, actual *uint) Status
TEXT ·Sys_stream_writev_at(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_stream_writev_at(SB)
// func Sys_stream_readv(handle Handle, options uint32, vector *uintptr, num_vector uint, actual *uint) Status
TEXT ·Sys_stream_readv(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_stream_readv(SB)
// func Sys_stream_readv_at(handle Handle, options uint32, offset uint64, vector *uintptr, num_vector uint, actual *uint) Status
TEXT ·Sys_stream_readv_at(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_stream_readv_at(SB)
// func Sys_stream_seek(handle Handle, whence uint32, offset int64, out_seek *uint64) Status
TEXT ·Sys_stream_seek(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_stream_seek(SB)
// func Sys_syscall_test_0() Status
TEXT ·Sys_syscall_test_0(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_0(SB)
// func Sys_syscall_test_1(a int32) Status
TEXT ·Sys_syscall_test_1(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_1(SB)
// func Sys_syscall_test_2(a int32, b int32) Status
TEXT ·Sys_syscall_test_2(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_2(SB)
// func Sys_syscall_test_3(a int32, b int32, c int32) Status
TEXT ·Sys_syscall_test_3(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_3(SB)
// func Sys_syscall_test_4(a int32, b int32, c int32, d int32) Status
TEXT ·Sys_syscall_test_4(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_4(SB)
// func Sys_syscall_test_5(a int32, b int32, c int32, d int32, e int32) Status
TEXT ·Sys_syscall_test_5(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_5(SB)
// func Sys_syscall_test_6(a int32, b int32, c int32, d int32, e int32, f int32) Status
TEXT ·Sys_syscall_test_6(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_6(SB)
// func Sys_syscall_test_7(a int32, b int32, c int32, d int32, e int32, f int32, g_ int32) Status
TEXT ·Sys_syscall_test_7(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_7(SB)
// func Sys_syscall_test_8(a int32, b int32, c int32, d int32, e int32, f int32, g_ int32, h int32) Status
TEXT ·Sys_syscall_test_8(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_8(SB)
// func Sys_syscall_test_wrapper(a int32, b int32, c int32) Status
TEXT ·Sys_syscall_test_wrapper(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_wrapper(SB)
// func Sys_syscall_test_handle_create(return_value Status, out *Handle) Status
TEXT ·Sys_syscall_test_handle_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_syscall_test_handle_create(SB)
// func Sys_system_get_dcache_line_size() uint32
TEXT ·Sys_system_get_dcache_line_size(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_get_dcache_line_size(SB)
// func Sys_system_get_num_cpus() uint32
TEXT ·Sys_system_get_num_cpus(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_get_num_cpus(SB)
// func Sys_system_get_version_string() unsafe.Pointer
TEXT ·Sys_system_get_version_string(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_get_version_string(SB)
// func Sys_system_get_physmem() uint64
TEXT ·Sys_system_get_physmem(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_get_physmem(SB)
// func Sys_system_get_features(kind uint32, features *uint32) Status
TEXT ·Sys_system_get_features(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_get_features(SB)
// func Sys_system_get_event(root_job Handle, kind uint32, event *Handle) Status
TEXT ·Sys_system_get_event(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_get_event(SB)
// func Sys_system_mexec(resource Handle, kernel_vmo Handle, bootimage_vmo Handle) Status
TEXT ·Sys_system_mexec(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_mexec(SB)
// func Sys_system_mexec_payload_get(resource Handle, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_system_mexec_payload_get(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_mexec_payload_get(SB)
// func Sys_system_powerctl(resource Handle, cmd uint32, arg *int) Status
TEXT ·Sys_system_powerctl(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_system_powerctl(SB)
// func Sys_task_suspend(handle Handle, token *Handle) Status
TEXT ·Sys_task_suspend(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_task_suspend(SB)
// func Sys_task_suspend_token(handle Handle, token *Handle) Status
TEXT ·Sys_task_suspend_token(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_task_suspend_token(SB)
// func Sys_task_create_exception_channel(handle Handle, options uint32, out *Handle) Status
TEXT ·Sys_task_create_exception_channel(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_task_create_exception_channel(SB)
// func Sys_task_kill(handle Handle) Status
TEXT ·Sys_task_kill(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_task_kill(SB)
// func Sys_thread_exit()
TEXT ·Sys_thread_exit(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_thread_exit(SB)
// func Sys_thread_create(process Handle, name *uint8, name_size uint, options uint32, out *Handle) Status
TEXT ·Sys_thread_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_thread_create(SB)
// func Sys_thread_start(handle Handle, thread_entry Vaddr, stack Vaddr, arg1 uintptr, arg2 uintptr) Status
TEXT ·Sys_thread_start(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_thread_start(SB)
// func Sys_thread_read_state(handle Handle, kind uint32, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_thread_read_state(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_thread_read_state(SB)
// func Sys_thread_write_state(handle Handle, kind uint32, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_thread_write_state(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_thread_write_state(SB)
// func Sys_timer_create(options uint32, clock_id uint32, out *Handle) Status
TEXT ·Sys_timer_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_timer_create(SB)
// func Sys_timer_set(handle Handle, deadline Time, slack Duration) Status
TEXT ·Sys_timer_set(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_timer_set(SB)
// func Sys_timer_cancel(handle Handle) Status
TEXT ·Sys_timer_cancel(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_timer_cancel(SB)
// func Sys_vcpu_create(guest Handle, options uint32, entry Vaddr, out *Handle) Status
TEXT ·Sys_vcpu_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vcpu_create(SB)
// func Sys_vcpu_resume(handle Handle, packet *int) Status
TEXT ·Sys_vcpu_resume(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vcpu_resume(SB)
// func Sys_vcpu_interrupt(handle Handle, vector uint32) Status
TEXT ·Sys_vcpu_interrupt(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vcpu_interrupt(SB)
// func Sys_vcpu_read_state(handle Handle, kind uint32, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_vcpu_read_state(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vcpu_read_state(SB)
// func Sys_vcpu_write_state(handle Handle, kind uint32, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_vcpu_write_state(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vcpu_write_state(SB)
// func Sys_vmar_allocate(parent_vmar Handle, options VMFlag, offset uint, size uint, child_vmar *Handle, child_addr *Vaddr) Status
TEXT ·Sys_vmar_allocate(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_allocate(SB)
// func Sys_vmar_destroy(handle Handle) Status
TEXT ·Sys_vmar_destroy(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_destroy(SB)
// func Sys_vmar_map(handle Handle, options VMFlag, vmar_offset uint, vmo Handle, vmo_offset uint64, len uint, mapped_addr *Vaddr) Status
TEXT ·Sys_vmar_map(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_map(SB)
// func Sys_vmar_unmap(handle Handle, addr Vaddr, len uint) Status
TEXT ·Sys_vmar_unmap(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_unmap(SB)
// func Sys_vmar_protect(handle Handle, options VMFlag, addr Vaddr, len uint) Status
TEXT ·Sys_vmar_protect(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_protect(SB)
// func Sys_vmar_op_range(handle Handle, op uint32, address Vaddr, size uint, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_vmar_op_range(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmar_op_range(SB)
// func Sys_vmo_create(size uint64, options uint32, out *Handle) Status
TEXT ·Sys_vmo_create(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_create(SB)
// func Sys_vmo_read(handle Handle, buffer unsafe.Pointer, offset uint64, buffer_size uint) Status
TEXT ·Sys_vmo_read(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_read(SB)
// func Sys_vmo_write(handle Handle, buffer unsafe.Pointer, offset uint64, buffer_size uint) Status
TEXT ·Sys_vmo_write(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_write(SB)
// func Sys_vmo_get_size(handle Handle, size *uint64) Status
TEXT ·Sys_vmo_get_size(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_get_size(SB)
// func Sys_vmo_set_size(handle Handle, size uint64) Status
TEXT ·Sys_vmo_set_size(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_set_size(SB)
// func Sys_vmo_op_range(handle Handle, op uint32, offset uint64, size uint64, buffer unsafe.Pointer, buffer_size uint) Status
TEXT ·Sys_vmo_op_range(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_op_range(SB)
// func Sys_vmo_create_child(handle Handle, options uint32, offset uint64, size uint64, out *Handle) Status
TEXT ·Sys_vmo_create_child(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_create_child(SB)
// func Sys_vmo_set_cache_policy(handle Handle, cache_policy uint32) Status
TEXT ·Sys_vmo_set_cache_policy(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_set_cache_policy(SB)
// func Sys_vmo_replace_as_executable(handle Handle, vmex Handle, out *Handle) Status
TEXT ·Sys_vmo_replace_as_executable(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_replace_as_executable(SB)
// func Sys_vmo_create_contiguous(bti Handle, size uint, alignment_log2 uint32, out *Handle) Status
TEXT ·Sys_vmo_create_contiguous(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_create_contiguous(SB)
// func Sys_vmo_create_physical(resource Handle, paddr Paddr, size uint, out *Handle) Status
TEXT ·Sys_vmo_create_physical(SB),NOSPLIT,$0
JMP runtime·vdsoCall_zx_vmo_create_physical(SB)
----- go-syscall-x86-asm.go END -----
----- go-vdso-arm64-calls.s START -----
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// WARNING: THIS FILE IS MACHINE GENERATED BY //tools/kazoo. DO NOT EDIT.
#include "go_asm.h"
#include "go_tls.h"
#include "textflag.h"
#include "funcdata.h"
// func vdsoCall_zx_bti_create(iommu uint32, options uint32, bti_id uint64, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_bti_create(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW iommu+0(FP), R0
MOVW options+4(FP), R1
MOVD bti_id+8(FP), R2
MOVD out+16(FP), R3
BL vdso_zx_bti_create(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_bti_pin(handle uint32, options uint32, vmo uint32, offset uint64, size uint64, addrs unsafe.Pointer, num_addrs uint, pmt unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_bti_pin(SB),NOSPLIT,$0-60
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVW vmo+8(FP), R2
MOVD offset+16(FP), R3
MOVD size+24(FP), R4
MOVD addrs+32(FP), R5
MOVD num_addrs+40(FP), R6
MOVD pmt+48(FP), R7
BL vdso_zx_bti_pin(SB)
MOVW R0, ret+56(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_bti_release_quarantine(handle uint32) int32
TEXT runtime·vdsoCall_zx_bti_release_quarantine(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
BL vdso_zx_bti_release_quarantine(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_cache_flush(addr unsafe.Pointer, size uint, options uint32) int32
TEXT runtime·vdsoCall_zx_cache_flush(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD addr+0(FP), R0
MOVD size+8(FP), R1
MOVW options+16(FP), R2
BL vdso_zx_cache_flush(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_channel_create(options uint32, out0 unsafe.Pointer, out1 unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_create(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW options+0(FP), R0
MOVD out0+8(FP), R1
MOVD out1+16(FP), R2
BL vdso_zx_channel_create(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_channel_read(handle uint32, options uint32, bytes unsafe.Pointer, handles unsafe.Pointer, num_bytes uint32, num_handles uint32, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_read(SB),NOSPLIT,$0-52
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD bytes+8(FP), R2
MOVD handles+16(FP), R3
MOVW num_bytes+24(FP), R4
MOVW num_handles+28(FP), R5
MOVD actual_bytes+32(FP), R6
MOVD actual_handles+40(FP), R7
BL vdso_zx_channel_read(SB)
MOVW R0, ret+48(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_channel_read_etc(handle uint32, options uint32, bytes unsafe.Pointer, handles unsafe.Pointer, num_bytes uint32, num_handles uint32, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_read_etc(SB),NOSPLIT,$0-52
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD bytes+8(FP), R2
MOVD handles+16(FP), R3
MOVW num_bytes+24(FP), R4
MOVW num_handles+28(FP), R5
MOVD actual_bytes+32(FP), R6
MOVD actual_handles+40(FP), R7
BL vdso_zx_channel_read_etc(SB)
MOVW R0, ret+48(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_channel_write(handle uint32, options uint32, bytes unsafe.Pointer, num_bytes uint32, handles unsafe.Pointer, num_handles uint32) int32
TEXT runtime·vdsoCall_zx_channel_write(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD bytes+8(FP), R2
MOVW num_bytes+16(FP), R3
MOVD handles+24(FP), R4
MOVW num_handles+32(FP), R5
BL vdso_zx_channel_write(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_channel_write_etc(handle uint32, options uint32, bytes unsafe.Pointer, num_bytes uint32, handles unsafe.Pointer, num_handles uint32) int32
TEXT runtime·vdsoCall_zx_channel_write_etc(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD bytes+8(FP), R2
MOVW num_bytes+16(FP), R3
MOVD handles+24(FP), R4
MOVW num_handles+32(FP), R5
BL vdso_zx_channel_write_etc(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_channel_call_noretry(handle uint32, options uint32, deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_call_noretry(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD deadline+8(FP), R2
MOVD args+16(FP), R3
MOVD actual_bytes+24(FP), R4
MOVD actual_handles+32(FP), R5
BL vdso_zx_channel_call_noretry(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_channel_call_finish(deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_call_finish(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD deadline+0(FP), R0
MOVD args+8(FP), R1
MOVD actual_bytes+16(FP), R2
MOVD actual_handles+24(FP), R3
BL vdso_zx_channel_call_finish(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_channel_call(handle uint32, options uint32, deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_call(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
CALL runtime·entersyscall(SB)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD deadline+8(FP), R2
MOVD args+16(FP), R3
MOVD actual_bytes+24(FP), R4
MOVD actual_handles+32(FP), R5
BL vdso_zx_channel_call(SB)
MOVW R0, ret+40(FP)
BL runtime·exitsyscall(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_channel_call_etc_noretry(handle uint32, options uint32, deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_call_etc_noretry(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD deadline+8(FP), R2
MOVD args+16(FP), R3
MOVD actual_bytes+24(FP), R4
MOVD actual_handles+32(FP), R5
BL vdso_zx_channel_call_etc_noretry(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_channel_call_etc_finish(deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_call_etc_finish(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD deadline+0(FP), R0
MOVD args+8(FP), R1
MOVD actual_bytes+16(FP), R2
MOVD actual_handles+24(FP), R3
BL vdso_zx_channel_call_etc_finish(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_channel_call_etc(handle uint32, options uint32, deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_call_etc(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
CALL runtime·entersyscall(SB)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD deadline+8(FP), R2
MOVD args+16(FP), R3
MOVD actual_bytes+24(FP), R4
MOVD actual_handles+32(FP), R5
BL vdso_zx_channel_call_etc(SB)
MOVW R0, ret+40(FP)
BL runtime·exitsyscall(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_clock_get(clock_id uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_clock_get(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW clock_id+0(FP), R0
MOVD out+8(FP), R1
BL vdso_zx_clock_get(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_clock_get_monotonic() int64
TEXT runtime·vdsoCall_zx_clock_get_monotonic(SB),NOSPLIT,$0-8
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
BL vdso_zx_clock_get_monotonic(SB)
MOVD R0, ret+0(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_clock_adjust(handle uint32, clock_id uint32, offset int64) int32
TEXT runtime·vdsoCall_zx_clock_adjust(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW clock_id+4(FP), R1
MOVD offset+8(FP), R2
BL vdso_zx_clock_adjust(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_clock_get_monotonic_via_kernel() int64
TEXT runtime·vdsoCall_zx_clock_get_monotonic_via_kernel(SB),NOSPLIT,$0-8
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
BL vdso_zx_clock_get_monotonic_via_kernel(SB)
MOVD R0, ret+0(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_clock_create(options uint64, args unsafe.Pointer, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_clock_create(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD options+0(FP), R0
MOVD args+8(FP), R1
MOVD out+16(FP), R2
BL vdso_zx_clock_create(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_clock_read(handle uint32, now unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_clock_read(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD now+8(FP), R1
BL vdso_zx_clock_read(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_clock_get_details(handle uint32, options uint64, details unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_clock_get_details(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD options+8(FP), R1
MOVD details+16(FP), R2
BL vdso_zx_clock_get_details(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_clock_update(handle uint32, options uint64, args unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_clock_update(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD options+8(FP), R1
MOVD args+16(FP), R2
BL vdso_zx_clock_update(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_cprng_draw_once(buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_cprng_draw_once(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD buffer+0(FP), R0
MOVD buffer_size+8(FP), R1
BL vdso_zx_cprng_draw_once(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_cprng_draw(buffer unsafe.Pointer, buffer_size uint)
TEXT runtime·vdsoCall_zx_cprng_draw(SB),NOSPLIT,$0-16
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD buffer+0(FP), R0
MOVD buffer_size+8(FP), R1
BL vdso_zx_cprng_draw(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_cprng_add_entropy(buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_cprng_add_entropy(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD buffer+0(FP), R0
MOVD buffer_size+8(FP), R1
BL vdso_zx_cprng_add_entropy(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_debug_read(handle uint32, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_debug_read(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD buffer+8(FP), R1
MOVD buffer_size+16(FP), R2
MOVD actual+24(FP), R3
BL vdso_zx_debug_read(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_debug_write(buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_debug_write(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD buffer+0(FP), R0
MOVD buffer_size+8(FP), R1
BL vdso_zx_debug_write(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_debug_send_command(resource uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_debug_send_command(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW resource+0(FP), R0
MOVD buffer+8(FP), R1
MOVD buffer_size+16(FP), R2
BL vdso_zx_debug_send_command(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_debuglog_create(resource uint32, options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_debuglog_create(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW resource+0(FP), R0
MOVW options+4(FP), R1
MOVD out+8(FP), R2
BL vdso_zx_debuglog_create(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_debuglog_write(handle uint32, options uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_debuglog_write(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD buffer+8(FP), R2
MOVD buffer_size+16(FP), R3
BL vdso_zx_debuglog_write(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_debuglog_read(handle uint32, options uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_debuglog_read(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD buffer+8(FP), R2
MOVD buffer_size+16(FP), R3
BL vdso_zx_debuglog_read(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_event_create(options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_event_create(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW options+0(FP), R0
MOVD out+8(FP), R1
BL vdso_zx_event_create(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_eventpair_create(options uint32, out0 unsafe.Pointer, out1 unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_eventpair_create(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW options+0(FP), R0
MOVD out0+8(FP), R1
MOVD out1+16(FP), R2
BL vdso_zx_eventpair_create(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_exception_get_thread(handle uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_exception_get_thread(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD out+8(FP), R1
BL vdso_zx_exception_get_thread(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_exception_get_process(handle uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_exception_get_process(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD out+8(FP), R1
BL vdso_zx_exception_get_process(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_fifo_create(elem_count uint, elem_size uint, options uint32, out0 unsafe.Pointer, out1 unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_fifo_create(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD elem_count+0(FP), R0
MOVD elem_size+8(FP), R1
MOVW options+16(FP), R2
MOVD out0+24(FP), R3
MOVD out1+32(FP), R4
BL vdso_zx_fifo_create(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_fifo_read(handle uint32, elem_size uint, data unsafe.Pointer, data_size uint, actual_count unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_fifo_read(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD elem_size+8(FP), R1
MOVD data+16(FP), R2
MOVD data_size+24(FP), R3
MOVD actual_count+32(FP), R4
BL vdso_zx_fifo_read(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_fifo_write(handle uint32, elem_size uint, data unsafe.Pointer, count uint, actual_count unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_fifo_write(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD elem_size+8(FP), R1
MOVD data+16(FP), R2
MOVD count+24(FP), R3
MOVD actual_count+32(FP), R4
BL vdso_zx_fifo_write(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_framebuffer_get_info(resource uint32, format unsafe.Pointer, width unsafe.Pointer, height unsafe.Pointer, stride unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_framebuffer_get_info(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW resource+0(FP), R0
MOVD format+8(FP), R1
MOVD width+16(FP), R2
MOVD height+24(FP), R3
MOVD stride+32(FP), R4
BL vdso_zx_framebuffer_get_info(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_framebuffer_set_range(resource uint32, vmo uint32, len uint32, format uint32, width uint32, height uint32, stride uint32) int32
TEXT runtime·vdsoCall_zx_framebuffer_set_range(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW resource+0(FP), R0
MOVW vmo+4(FP), R1
MOVW len+8(FP), R2
MOVW format+12(FP), R3
MOVW width+16(FP), R4
MOVW height+20(FP), R5
MOVW stride+24(FP), R6
BL vdso_zx_framebuffer_set_range(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_futex_wait(value_ptr unsafe.Pointer, current_value int32, new_futex_owner uint32, deadline int64) int32
TEXT runtime·vdsoCall_zx_futex_wait(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD value_ptr+0(FP), R0
MOVW current_value+8(FP), R1
MOVW new_futex_owner+12(FP), R2
MOVD deadline+16(FP), R3
BL vdso_zx_futex_wait(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_futex_wake(value_ptr unsafe.Pointer, wake_count uint32) int32
TEXT runtime·vdsoCall_zx_futex_wake(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD value_ptr+0(FP), R0
MOVW wake_count+8(FP), R1
BL vdso_zx_futex_wake(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_futex_requeue(value_ptr unsafe.Pointer, wake_count uint32, current_value int32, requeue_ptr unsafe.Pointer, requeue_count uint32, new_requeue_owner uint32) int32
TEXT runtime·vdsoCall_zx_futex_requeue(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD value_ptr+0(FP), R0
MOVW wake_count+8(FP), R1
MOVW current_value+12(FP), R2
MOVD requeue_ptr+16(FP), R3
MOVW requeue_count+24(FP), R4
MOVW new_requeue_owner+28(FP), R5
BL vdso_zx_futex_requeue(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_futex_wake_single_owner(value_ptr unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_futex_wake_single_owner(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD value_ptr+0(FP), R0
BL vdso_zx_futex_wake_single_owner(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_futex_requeue_single_owner(value_ptr unsafe.Pointer, current_value int32, requeue_ptr unsafe.Pointer, requeue_count uint32, new_requeue_owner uint32) int32
TEXT runtime·vdsoCall_zx_futex_requeue_single_owner(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD value_ptr+0(FP), R0
MOVW current_value+8(FP), R1
MOVD requeue_ptr+16(FP), R2
MOVW requeue_count+24(FP), R3
MOVW new_requeue_owner+28(FP), R4
BL vdso_zx_futex_requeue_single_owner(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_futex_get_owner(value_ptr unsafe.Pointer, koid unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_futex_get_owner(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD value_ptr+0(FP), R0
MOVD koid+8(FP), R1
BL vdso_zx_futex_get_owner(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_guest_create(resource uint32, options uint32, guest_handle unsafe.Pointer, vmar_handle unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_guest_create(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW resource+0(FP), R0
MOVW options+4(FP), R1
MOVD guest_handle+8(FP), R2
MOVD vmar_handle+16(FP), R3
BL vdso_zx_guest_create(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_guest_set_trap(handle uint32, kind uint32, addr uintptr, size uint, port_handle uint32, key uint64) int32
TEXT runtime·vdsoCall_zx_guest_set_trap(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW kind+4(FP), R1
MOVD addr+8(FP), R2
MOVD size+16(FP), R3
MOVW port_handle+24(FP), R4
MOVD key+32(FP), R5
BL vdso_zx_guest_set_trap(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_handle_close(handle uint32) int32
TEXT runtime·vdsoCall_zx_handle_close(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
BL vdso_zx_handle_close(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_handle_close_many(handles unsafe.Pointer, num_handles uint) int32
TEXT runtime·vdsoCall_zx_handle_close_many(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD handles+0(FP), R0
MOVD num_handles+8(FP), R1
BL vdso_zx_handle_close_many(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_handle_duplicate(handle uint32, rights uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_handle_duplicate(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW rights+4(FP), R1
MOVD out+8(FP), R2
BL vdso_zx_handle_duplicate(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_handle_replace(handle uint32, rights uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_handle_replace(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW rights+4(FP), R1
MOVD out+8(FP), R2
BL vdso_zx_handle_replace(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_interrupt_create(src_obj uint32, src_num uint32, options uint32, out_handle unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_interrupt_create(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW src_obj+0(FP), R0
MOVW src_num+4(FP), R1
MOVW options+8(FP), R2
MOVD out_handle+16(FP), R3
BL vdso_zx_interrupt_create(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_interrupt_bind(handle uint32, port_handle uint32, key uint64, options uint32) int32
TEXT runtime·vdsoCall_zx_interrupt_bind(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW port_handle+4(FP), R1
MOVD key+8(FP), R2
MOVW options+16(FP), R3
BL vdso_zx_interrupt_bind(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_interrupt_wait(handle uint32, out_timestamp unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_interrupt_wait(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
CALL runtime·entersyscall(SB)
MOVW handle+0(FP), R0
MOVD out_timestamp+8(FP), R1
BL vdso_zx_interrupt_wait(SB)
MOVW R0, ret+16(FP)
BL runtime·exitsyscall(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_interrupt_destroy(handle uint32) int32
TEXT runtime·vdsoCall_zx_interrupt_destroy(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
BL vdso_zx_interrupt_destroy(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_interrupt_ack(handle uint32) int32
TEXT runtime·vdsoCall_zx_interrupt_ack(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
BL vdso_zx_interrupt_ack(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_interrupt_trigger(handle uint32, options uint32, timestamp int64) int32
TEXT runtime·vdsoCall_zx_interrupt_trigger(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD timestamp+8(FP), R2
BL vdso_zx_interrupt_trigger(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_interrupt_bind_vcpu(handle uint32, vcpu uint32, options uint32) int32
TEXT runtime·vdsoCall_zx_interrupt_bind_vcpu(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW vcpu+4(FP), R1
MOVW options+8(FP), R2
BL vdso_zx_interrupt_bind_vcpu(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_iommu_create(resource uint32, typ uint32, desc unsafe.Pointer, desc_size uint, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_iommu_create(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW resource+0(FP), R0
MOVW typ+4(FP), R1
MOVD desc+8(FP), R2
MOVD desc_size+16(FP), R3
MOVD out+24(FP), R4
BL vdso_zx_iommu_create(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_ioports_request(resource uint32, io_addr uint16, len uint32) int32
TEXT runtime·vdsoCall_zx_ioports_request(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW resource+0(FP), R0
MOVD io_addr+4(FP), R1
MOVW len+8(FP), R2
BL vdso_zx_ioports_request(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_ioports_release(resource uint32, io_addr uint16, len uint32) int32
TEXT runtime·vdsoCall_zx_ioports_release(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW resource+0(FP), R0
MOVD io_addr+4(FP), R1
MOVW len+8(FP), R2
BL vdso_zx_ioports_release(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_job_create(parent_job uint32, options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_job_create(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW parent_job+0(FP), R0
MOVW options+4(FP), R1
MOVD out+8(FP), R2
BL vdso_zx_job_create(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_job_set_policy(handle uint32, options uint32, topic uint32, policy unsafe.Pointer, policy_size uint32) int32
TEXT runtime·vdsoCall_zx_job_set_policy(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVW topic+8(FP), R2
MOVD policy+16(FP), R3
MOVW policy_size+24(FP), R4
BL vdso_zx_job_set_policy(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_job_set_critical(job uint32, options uint32, process uint32) int32
TEXT runtime·vdsoCall_zx_job_set_critical(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW job+0(FP), R0
MOVW options+4(FP), R1
MOVW process+8(FP), R2
BL vdso_zx_job_set_critical(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_ktrace_read(handle uint32, data unsafe.Pointer, offset uint32, data_size uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_ktrace_read(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD data+8(FP), R1
MOVW offset+16(FP), R2
MOVD data_size+24(FP), R3
MOVD actual+32(FP), R4
BL vdso_zx_ktrace_read(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_ktrace_control(handle uint32, action uint32, options uint32, ptr unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_ktrace_control(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW action+4(FP), R1
MOVW options+8(FP), R2
MOVD ptr+16(FP), R3
BL vdso_zx_ktrace_control(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_ktrace_write(handle uint32, id uint32, arg0 uint32, arg1 uint32) int32
TEXT runtime·vdsoCall_zx_ktrace_write(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW id+4(FP), R1
MOVW arg0+8(FP), R2
MOVW arg1+12(FP), R3
BL vdso_zx_ktrace_write(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_nanosleep(deadline int64) int32
TEXT runtime·vdsoCall_zx_nanosleep(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD deadline+0(FP), R0
BL vdso_zx_nanosleep(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_ticks_get() int64
TEXT runtime·vdsoCall_zx_ticks_get(SB),NOSPLIT,$0-8
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
BL vdso_zx_ticks_get(SB)
MOVD R0, ret+0(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_ticks_per_second() int64
TEXT runtime·vdsoCall_zx_ticks_per_second(SB),NOSPLIT,$0-8
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
BL vdso_zx_ticks_per_second(SB)
MOVD R0, ret+0(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_deadline_after(nanoseconds int64) int64
TEXT runtime·vdsoCall_zx_deadline_after(SB),NOSPLIT,$0-16
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD nanoseconds+0(FP), R0
BL vdso_zx_deadline_after(SB)
MOVD R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmar_unmap_handle_close_thread_exit(vmar_handle uint32, addr uintptr, size uint, close_handle uint32) int32
TEXT runtime·vdsoCall_zx_vmar_unmap_handle_close_thread_exit(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW vmar_handle+0(FP), R0
MOVD addr+8(FP), R1
MOVD size+16(FP), R2
MOVW close_handle+24(FP), R3
BL vdso_zx_vmar_unmap_handle_close_thread_exit(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_futex_wake_handle_close_thread_exit(value_ptr unsafe.Pointer, wake_count uint32, new_value int32, close_handle uint32)
TEXT runtime·vdsoCall_zx_futex_wake_handle_close_thread_exit(SB),NOSPLIT,$0-24
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD value_ptr+0(FP), R0
MOVW wake_count+8(FP), R1
MOVW new_value+12(FP), R2
MOVW close_handle+16(FP), R3
BL vdso_zx_futex_wake_handle_close_thread_exit(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_ticks_get_via_kernel() int64
TEXT runtime·vdsoCall_zx_ticks_get_via_kernel(SB),NOSPLIT,$0-8
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
BL vdso_zx_ticks_get_via_kernel(SB)
MOVD R0, ret+0(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_msi_allocate(handle uint32, count uint32, out_allocation unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_msi_allocate(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW count+4(FP), R1
MOVD out_allocation+8(FP), R2
BL vdso_zx_msi_allocate(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_msi_create(handle uint32, options uint32, msi_id uint32, vmo uint32, vmo_offset uint, out_interrupt unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_msi_create(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVW msi_id+8(FP), R2
MOVW vmo+12(FP), R3
MOVD vmo_offset+16(FP), R4
MOVD out_interrupt+24(FP), R5
BL vdso_zx_msi_create(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_mtrace_control(handle uint32, kind uint32, action uint32, options uint32, ptr unsafe.Pointer, ptr_size uint) int32
TEXT runtime·vdsoCall_zx_mtrace_control(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW kind+4(FP), R1
MOVW action+8(FP), R2
MOVW options+12(FP), R3
MOVD ptr+16(FP), R4
MOVD ptr_size+24(FP), R5
BL vdso_zx_mtrace_control(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_object_wait_one(handle uint32, signals uint32, deadline int64, observed unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_object_wait_one(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
CALL runtime·entersyscall(SB)
MOVW handle+0(FP), R0
MOVW signals+4(FP), R1
MOVD deadline+8(FP), R2
MOVD observed+16(FP), R3
BL vdso_zx_object_wait_one(SB)
MOVW R0, ret+24(FP)
BL runtime·exitsyscall(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_object_wait_many(items unsafe.Pointer, num_items uint, deadline int64) int32
TEXT runtime·vdsoCall_zx_object_wait_many(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
CALL runtime·entersyscall(SB)
MOVD items+0(FP), R0
MOVD num_items+8(FP), R1
MOVD deadline+16(FP), R2
BL vdso_zx_object_wait_many(SB)
MOVW R0, ret+24(FP)
BL runtime·exitsyscall(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_object_wait_async(handle uint32, port uint32, key uint64, signals uint32, options uint32) int32
TEXT runtime·vdsoCall_zx_object_wait_async(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW port+4(FP), R1
MOVD key+8(FP), R2
MOVW signals+16(FP), R3
MOVW options+20(FP), R4
BL vdso_zx_object_wait_async(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_object_signal(handle uint32, clear_mask uint32, set_mask uint32) int32
TEXT runtime·vdsoCall_zx_object_signal(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW clear_mask+4(FP), R1
MOVW set_mask+8(FP), R2
BL vdso_zx_object_signal(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_object_signal_peer(handle uint32, clear_mask uint32, set_mask uint32) int32
TEXT runtime·vdsoCall_zx_object_signal_peer(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW clear_mask+4(FP), R1
MOVW set_mask+8(FP), R2
BL vdso_zx_object_signal_peer(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_object_get_property(handle uint32, property uint32, value unsafe.Pointer, value_size uint) int32
TEXT runtime·vdsoCall_zx_object_get_property(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW property+4(FP), R1
MOVD value+8(FP), R2
MOVD value_size+16(FP), R3
BL vdso_zx_object_get_property(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_object_set_property(handle uint32, property uint32, value unsafe.Pointer, value_size uint) int32
TEXT runtime·vdsoCall_zx_object_set_property(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW property+4(FP), R1
MOVD value+8(FP), R2
MOVD value_size+16(FP), R3
BL vdso_zx_object_set_property(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_object_get_info(handle uint32, topic uint32, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer, avail unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_object_get_info(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW topic+4(FP), R1
MOVD buffer+8(FP), R2
MOVD buffer_size+16(FP), R3
MOVD actual+24(FP), R4
MOVD avail+32(FP), R5
BL vdso_zx_object_get_info(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_object_get_child(handle uint32, koid uint64, rights uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_object_get_child(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD koid+8(FP), R1
MOVW rights+16(FP), R2
MOVD out+24(FP), R3
BL vdso_zx_object_get_child(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_object_set_profile(handle uint32, profile uint32, options uint32) int32
TEXT runtime·vdsoCall_zx_object_set_profile(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW profile+4(FP), R1
MOVW options+8(FP), R2
BL vdso_zx_object_set_profile(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pager_create(options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pager_create(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW options+0(FP), R0
MOVD out+8(FP), R1
BL vdso_zx_pager_create(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pager_create_vmo(pager uint32, options uint32, port uint32, key uint64, size uint64, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pager_create_vmo(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW pager+0(FP), R0
MOVW options+4(FP), R1
MOVW port+8(FP), R2
MOVD key+16(FP), R3
MOVD size+24(FP), R4
MOVD out+32(FP), R5
BL vdso_zx_pager_create_vmo(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pager_detach_vmo(pager uint32, vmo uint32) int32
TEXT runtime·vdsoCall_zx_pager_detach_vmo(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW pager+0(FP), R0
MOVW vmo+4(FP), R1
BL vdso_zx_pager_detach_vmo(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pager_supply_pages(pager uint32, pager_vmo uint32, offset uint64, length uint64, aux_vmo uint32, aux_offset uint64) int32
TEXT runtime·vdsoCall_zx_pager_supply_pages(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW pager+0(FP), R0
MOVW pager_vmo+4(FP), R1
MOVD offset+8(FP), R2
MOVD length+16(FP), R3
MOVW aux_vmo+24(FP), R4
MOVD aux_offset+32(FP), R5
BL vdso_zx_pager_supply_pages(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pager_op_range(pager uint32, op uint32, pager_vmo uint32, offset uint64, length uint64, data uint64) int32
TEXT runtime·vdsoCall_zx_pager_op_range(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW pager+0(FP), R0
MOVW op+4(FP), R1
MOVW pager_vmo+8(FP), R2
MOVD offset+16(FP), R3
MOVD length+24(FP), R4
MOVD data+32(FP), R5
BL vdso_zx_pager_op_range(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pc_firmware_tables(handle uint32, acpi_rsdp unsafe.Pointer, smbios unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pc_firmware_tables(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD acpi_rsdp+8(FP), R1
MOVD smbios+16(FP), R2
BL vdso_zx_pc_firmware_tables(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pci_get_nth_device(handle uint32, index uint32, out_info unsafe.Pointer, out_handle unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pci_get_nth_device(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW index+4(FP), R1
MOVD out_info+8(FP), R2
MOVD out_handle+16(FP), R3
BL vdso_zx_pci_get_nth_device(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pci_enable_bus_master(handle uint32, enable uint32) int32
TEXT runtime·vdsoCall_zx_pci_enable_bus_master(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW enable+4(FP), R1
BL vdso_zx_pci_enable_bus_master(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pci_reset_device(handle uint32) int32
TEXT runtime·vdsoCall_zx_pci_reset_device(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
BL vdso_zx_pci_reset_device(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pci_config_read(handle uint32, offset uint16, width uint, out_val unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pci_config_read(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD offset+4(FP), R1
MOVD width+8(FP), R2
MOVD out_val+16(FP), R3
BL vdso_zx_pci_config_read(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pci_config_write(handle uint32, offset uint16, width uint, val uint32) int32
TEXT runtime·vdsoCall_zx_pci_config_write(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD offset+4(FP), R1
MOVD width+8(FP), R2
MOVW val+16(FP), R3
BL vdso_zx_pci_config_write(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pci_cfg_pio_rw(handle uint32, bus uint8, dev uint8, funk uint8, offset uint8, val unsafe.Pointer, width uint, write uint32) int32
TEXT runtime·vdsoCall_zx_pci_cfg_pio_rw(SB),NOSPLIT,$0-68
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD bus+8(FP), R1
MOVD dev+16(FP), R2
MOVD funk+24(FP), R3
MOVD offset+32(FP), R4
MOVD val+40(FP), R5
MOVD width+48(FP), R6
MOVW write+56(FP), R7
BL vdso_zx_pci_cfg_pio_rw(SB)
MOVW R0, ret+64(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pci_get_bar(handle uint32, bar_num uint32, out_bar unsafe.Pointer, out_handle unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pci_get_bar(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW bar_num+4(FP), R1
MOVD out_bar+8(FP), R2
MOVD out_handle+16(FP), R3
BL vdso_zx_pci_get_bar(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pci_map_interrupt(handle uint32, which_irq int32, out_handle unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pci_map_interrupt(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW which_irq+4(FP), R1
MOVD out_handle+8(FP), R2
BL vdso_zx_pci_map_interrupt(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pci_query_irq_mode(handle uint32, mode uint32, out_max_irqs unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pci_query_irq_mode(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW mode+4(FP), R1
MOVD out_max_irqs+8(FP), R2
BL vdso_zx_pci_query_irq_mode(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pci_set_irq_mode(handle uint32, mode uint32, requested_irq_count uint32) int32
TEXT runtime·vdsoCall_zx_pci_set_irq_mode(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW mode+4(FP), R1
MOVW requested_irq_count+8(FP), R2
BL vdso_zx_pci_set_irq_mode(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pci_init(handle uint32, init_buf unsafe.Pointer, len uint32) int32
TEXT runtime·vdsoCall_zx_pci_init(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD init_buf+8(FP), R1
MOVW len+16(FP), R2
BL vdso_zx_pci_init(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pci_add_subtract_io_range(handle uint32, mmio uint32, base uint64, len uint64, add uint32) int32
TEXT runtime·vdsoCall_zx_pci_add_subtract_io_range(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW mmio+4(FP), R1
MOVD base+8(FP), R2
MOVD len+16(FP), R3
MOVW add+24(FP), R4
BL vdso_zx_pci_add_subtract_io_range(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_pmt_unpin(handle uint32) int32
TEXT runtime·vdsoCall_zx_pmt_unpin(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
BL vdso_zx_pmt_unpin(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_port_create(options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_port_create(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW options+0(FP), R0
MOVD out+8(FP), R1
BL vdso_zx_port_create(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_port_queue(handle uint32, packet unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_port_queue(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD packet+8(FP), R1
BL vdso_zx_port_queue(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_port_wait(handle uint32, deadline int64, packet unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_port_wait(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
CALL runtime·entersyscall(SB)
MOVW handle+0(FP), R0
MOVD deadline+8(FP), R1
MOVD packet+16(FP), R2
BL vdso_zx_port_wait(SB)
MOVW R0, ret+24(FP)
BL runtime·exitsyscall(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_port_cancel(handle uint32, source uint32, key uint64) int32
TEXT runtime·vdsoCall_zx_port_cancel(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW source+4(FP), R1
MOVD key+8(FP), R2
BL vdso_zx_port_cancel(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_process_exit(retcode int64)
TEXT runtime·vdsoCall_zx_process_exit(SB),NOSPLIT,$0-8
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD retcode+0(FP), R0
BL vdso_zx_process_exit(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_process_create(job uint32, name unsafe.Pointer, name_size uint, options uint32, proc_handle unsafe.Pointer, vmar_handle unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_process_create(SB),NOSPLIT,$0-52
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW job+0(FP), R0
MOVD name+8(FP), R1
MOVD name_size+16(FP), R2
MOVW options+24(FP), R3
MOVD proc_handle+32(FP), R4
MOVD vmar_handle+40(FP), R5
BL vdso_zx_process_create(SB)
MOVW R0, ret+48(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_process_start(handle uint32, thread uint32, entry uintptr, stack uintptr, arg1 uint32, arg2 uintptr) int32
TEXT runtime·vdsoCall_zx_process_start(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW thread+4(FP), R1
MOVD entry+8(FP), R2
MOVD stack+16(FP), R3
MOVW arg1+24(FP), R4
MOVD arg2+32(FP), R5
BL vdso_zx_process_start(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_process_read_memory(handle uint32, vaddr uintptr, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_process_read_memory(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD vaddr+8(FP), R1
MOVD buffer+16(FP), R2
MOVD buffer_size+24(FP), R3
MOVD actual+32(FP), R4
BL vdso_zx_process_read_memory(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_process_write_memory(handle uint32, vaddr uintptr, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_process_write_memory(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD vaddr+8(FP), R1
MOVD buffer+16(FP), R2
MOVD buffer_size+24(FP), R3
MOVD actual+32(FP), R4
BL vdso_zx_process_write_memory(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_profile_create(root_job uint32, options uint32, profile unsafe.Pointer, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_profile_create(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW root_job+0(FP), R0
MOVW options+4(FP), R1
MOVD profile+8(FP), R2
MOVD out+16(FP), R3
BL vdso_zx_profile_create(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_resource_create(parent_rsrc uint32, options uint32, base uint64, size uint, name unsafe.Pointer, name_size uint, resource_out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_resource_create(SB),NOSPLIT,$0-52
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW parent_rsrc+0(FP), R0
MOVW options+4(FP), R1
MOVD base+8(FP), R2
MOVD size+16(FP), R3
MOVD name+24(FP), R4
MOVD name_size+32(FP), R5
MOVD resource_out+40(FP), R6
BL vdso_zx_resource_create(SB)
MOVW R0, ret+48(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_smc_call(handle uint32, parameters unsafe.Pointer, out_smc_result unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_smc_call(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD parameters+8(FP), R1
MOVD out_smc_result+16(FP), R2
BL vdso_zx_smc_call(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_socket_create(options uint32, out0 unsafe.Pointer, out1 unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_socket_create(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW options+0(FP), R0
MOVD out0+8(FP), R1
MOVD out1+16(FP), R2
BL vdso_zx_socket_create(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_socket_write(handle uint32, options uint32, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_socket_write(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD buffer+8(FP), R2
MOVD buffer_size+16(FP), R3
MOVD actual+24(FP), R4
BL vdso_zx_socket_write(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_socket_read(handle uint32, options uint32, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_socket_read(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD buffer+8(FP), R2
MOVD buffer_size+16(FP), R3
MOVD actual+24(FP), R4
BL vdso_zx_socket_read(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_socket_shutdown(handle uint32, options uint32) int32
TEXT runtime·vdsoCall_zx_socket_shutdown(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
BL vdso_zx_socket_shutdown(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_stream_create(options uint32, vmo uint32, seek uint64, out_stream unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_stream_create(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW options+0(FP), R0
MOVW vmo+4(FP), R1
MOVD seek+8(FP), R2
MOVD out_stream+16(FP), R3
BL vdso_zx_stream_create(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_stream_writev(handle uint32, options uint32, vector unsafe.Pointer, num_vector uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_stream_writev(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD vector+8(FP), R2
MOVD num_vector+16(FP), R3
MOVD actual+24(FP), R4
BL vdso_zx_stream_writev(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_stream_writev_at(handle uint32, options uint32, offset uint64, vector unsafe.Pointer, num_vector uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_stream_writev_at(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD offset+8(FP), R2
MOVD vector+16(FP), R3
MOVD num_vector+24(FP), R4
MOVD actual+32(FP), R5
BL vdso_zx_stream_writev_at(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_stream_readv(handle uint32, options uint32, vector unsafe.Pointer, num_vector uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_stream_readv(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD vector+8(FP), R2
MOVD num_vector+16(FP), R3
MOVD actual+24(FP), R4
BL vdso_zx_stream_readv(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_stream_readv_at(handle uint32, options uint32, offset uint64, vector unsafe.Pointer, num_vector uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_stream_readv_at(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD offset+8(FP), R2
MOVD vector+16(FP), R3
MOVD num_vector+24(FP), R4
MOVD actual+32(FP), R5
BL vdso_zx_stream_readv_at(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_stream_seek(handle uint32, whence uint32, offset int64, out_seek unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_stream_seek(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW whence+4(FP), R1
MOVD offset+8(FP), R2
MOVD out_seek+16(FP), R3
BL vdso_zx_stream_seek(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_syscall_test_0() int32
TEXT runtime·vdsoCall_zx_syscall_test_0(SB),NOSPLIT,$0-4
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
BL vdso_zx_syscall_test_0(SB)
MOVW R0, ret+0(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_syscall_test_1(a int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_1(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW a+0(FP), R0
BL vdso_zx_syscall_test_1(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_syscall_test_2(a int32, b int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_2(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW a+0(FP), R0
MOVW b+4(FP), R1
BL vdso_zx_syscall_test_2(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_syscall_test_3(a int32, b int32, c int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_3(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW a+0(FP), R0
MOVW b+4(FP), R1
MOVW c+8(FP), R2
BL vdso_zx_syscall_test_3(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_syscall_test_4(a int32, b int32, c int32, d int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_4(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW a+0(FP), R0
MOVW b+4(FP), R1
MOVW c+8(FP), R2
MOVW d+12(FP), R3
BL vdso_zx_syscall_test_4(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_syscall_test_5(a int32, b int32, c int32, d int32, e int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_5(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW a+0(FP), R0
MOVW b+4(FP), R1
MOVW c+8(FP), R2
MOVW d+12(FP), R3
MOVW e+16(FP), R4
BL vdso_zx_syscall_test_5(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_syscall_test_6(a int32, b int32, c int32, d int32, e int32, f int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_6(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW a+0(FP), R0
MOVW b+4(FP), R1
MOVW c+8(FP), R2
MOVW d+12(FP), R3
MOVW e+16(FP), R4
MOVW f+20(FP), R5
BL vdso_zx_syscall_test_6(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_syscall_test_7(a int32, b int32, c int32, d int32, e int32, f int32, g_ int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_7(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW a+0(FP), R0
MOVW b+4(FP), R1
MOVW c+8(FP), R2
MOVW d+12(FP), R3
MOVW e+16(FP), R4
MOVW f+20(FP), R5
MOVW g_+24(FP), R6
BL vdso_zx_syscall_test_7(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_syscall_test_8(a int32, b int32, c int32, d int32, e int32, f int32, g_ int32, h int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_8(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW a+0(FP), R0
MOVW b+4(FP), R1
MOVW c+8(FP), R2
MOVW d+12(FP), R3
MOVW e+16(FP), R4
MOVW f+20(FP), R5
MOVW g_+24(FP), R6
MOVW h+28(FP), R7
BL vdso_zx_syscall_test_8(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_syscall_test_wrapper(a int32, b int32, c int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_wrapper(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW a+0(FP), R0
MOVW b+4(FP), R1
MOVW c+8(FP), R2
BL vdso_zx_syscall_test_wrapper(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_syscall_test_handle_create(return_value int32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_syscall_test_handle_create(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW return_value+0(FP), R0
MOVD out+8(FP), R1
BL vdso_zx_syscall_test_handle_create(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_system_get_dcache_line_size() uint32
TEXT runtime·vdsoCall_zx_system_get_dcache_line_size(SB),NOSPLIT,$0-4
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
BL vdso_zx_system_get_dcache_line_size(SB)
MOVW R0, ret+0(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_system_get_num_cpus() uint32
TEXT runtime·vdsoCall_zx_system_get_num_cpus(SB),NOSPLIT,$0-4
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
BL vdso_zx_system_get_num_cpus(SB)
MOVW R0, ret+0(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_system_get_version_string() unsafe.Pointer
TEXT runtime·vdsoCall_zx_system_get_version_string(SB),NOSPLIT,$0-8
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
BL vdso_zx_system_get_version_string(SB)
MOVD R0, ret+0(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_system_get_physmem() uint64
TEXT runtime·vdsoCall_zx_system_get_physmem(SB),NOSPLIT,$0-8
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
BL vdso_zx_system_get_physmem(SB)
MOVD R0, ret+0(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_system_get_features(kind uint32, features unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_system_get_features(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW kind+0(FP), R0
MOVD features+8(FP), R1
BL vdso_zx_system_get_features(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_system_get_event(root_job uint32, kind uint32, event unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_system_get_event(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW root_job+0(FP), R0
MOVW kind+4(FP), R1
MOVD event+8(FP), R2
BL vdso_zx_system_get_event(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_system_mexec(resource uint32, kernel_vmo uint32, bootimage_vmo uint32) int32
TEXT runtime·vdsoCall_zx_system_mexec(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW resource+0(FP), R0
MOVW kernel_vmo+4(FP), R1
MOVW bootimage_vmo+8(FP), R2
BL vdso_zx_system_mexec(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_system_mexec_payload_get(resource uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_system_mexec_payload_get(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW resource+0(FP), R0
MOVD buffer+8(FP), R1
MOVD buffer_size+16(FP), R2
BL vdso_zx_system_mexec_payload_get(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_system_powerctl(resource uint32, cmd uint32, arg unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_system_powerctl(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW resource+0(FP), R0
MOVW cmd+4(FP), R1
MOVD arg+8(FP), R2
BL vdso_zx_system_powerctl(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_task_suspend(handle uint32, token unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_task_suspend(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD token+8(FP), R1
BL vdso_zx_task_suspend(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_task_suspend_token(handle uint32, token unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_task_suspend_token(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD token+8(FP), R1
BL vdso_zx_task_suspend_token(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_task_create_exception_channel(handle uint32, options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_task_create_exception_channel(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD out+8(FP), R2
BL vdso_zx_task_create_exception_channel(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_task_kill(handle uint32) int32
TEXT runtime·vdsoCall_zx_task_kill(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
BL vdso_zx_task_kill(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_thread_exit()
TEXT runtime·vdsoCall_zx_thread_exit(SB),NOSPLIT,$0-0
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
BL vdso_zx_thread_exit(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_thread_create(process uint32, name unsafe.Pointer, name_size uint, options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_thread_create(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW process+0(FP), R0
MOVD name+8(FP), R1
MOVD name_size+16(FP), R2
MOVW options+24(FP), R3
MOVD out+32(FP), R4
BL vdso_zx_thread_create(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_thread_start(handle uint32, thread_entry uintptr, stack uintptr, arg1 uintptr, arg2 uintptr) int32
TEXT runtime·vdsoCall_zx_thread_start(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD thread_entry+8(FP), R1
MOVD stack+16(FP), R2
MOVD arg1+24(FP), R3
MOVD arg2+32(FP), R4
BL vdso_zx_thread_start(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_thread_read_state(handle uint32, kind uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_thread_read_state(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW kind+4(FP), R1
MOVD buffer+8(FP), R2
MOVD buffer_size+16(FP), R3
BL vdso_zx_thread_read_state(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_thread_write_state(handle uint32, kind uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_thread_write_state(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW kind+4(FP), R1
MOVD buffer+8(FP), R2
MOVD buffer_size+16(FP), R3
BL vdso_zx_thread_write_state(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_timer_create(options uint32, clock_id uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_timer_create(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW options+0(FP), R0
MOVW clock_id+4(FP), R1
MOVD out+8(FP), R2
BL vdso_zx_timer_create(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_timer_set(handle uint32, deadline int64, slack int64) int32
TEXT runtime·vdsoCall_zx_timer_set(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD deadline+8(FP), R1
MOVD slack+16(FP), R2
BL vdso_zx_timer_set(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_timer_cancel(handle uint32) int32
TEXT runtime·vdsoCall_zx_timer_cancel(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
BL vdso_zx_timer_cancel(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vcpu_create(guest uint32, options uint32, entry uintptr, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vcpu_create(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW guest+0(FP), R0
MOVW options+4(FP), R1
MOVD entry+8(FP), R2
MOVD out+16(FP), R3
BL vdso_zx_vcpu_create(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vcpu_resume(handle uint32, packet unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vcpu_resume(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
CALL runtime·entersyscall(SB)
MOVW handle+0(FP), R0
MOVD packet+8(FP), R1
BL vdso_zx_vcpu_resume(SB)
MOVW R0, ret+16(FP)
BL runtime·exitsyscall(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vcpu_interrupt(handle uint32, vector uint32) int32
TEXT runtime·vdsoCall_zx_vcpu_interrupt(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW vector+4(FP), R1
BL vdso_zx_vcpu_interrupt(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vcpu_read_state(handle uint32, kind uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_vcpu_read_state(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW kind+4(FP), R1
MOVD buffer+8(FP), R2
MOVD buffer_size+16(FP), R3
BL vdso_zx_vcpu_read_state(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vcpu_write_state(handle uint32, kind uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_vcpu_write_state(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW kind+4(FP), R1
MOVD buffer+8(FP), R2
MOVD buffer_size+16(FP), R3
BL vdso_zx_vcpu_write_state(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmar_allocate(parent_vmar uint32, options uint32, offset uint, size uint, child_vmar unsafe.Pointer, child_addr unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmar_allocate(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW parent_vmar+0(FP), R0
MOVW options+4(FP), R1
MOVD offset+8(FP), R2
MOVD size+16(FP), R3
MOVD child_vmar+24(FP), R4
MOVD child_addr+32(FP), R5
BL vdso_zx_vmar_allocate(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmar_destroy(handle uint32) int32
TEXT runtime·vdsoCall_zx_vmar_destroy(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
BL vdso_zx_vmar_destroy(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmar_map(handle uint32, options uint32, vmar_offset uint, vmo uint32, vmo_offset uint64, len uint, mapped_addr unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmar_map(SB),NOSPLIT,$0-52
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD vmar_offset+8(FP), R2
MOVW vmo+16(FP), R3
MOVD vmo_offset+24(FP), R4
MOVD len+32(FP), R5
MOVD mapped_addr+40(FP), R6
BL vdso_zx_vmar_map(SB)
MOVW R0, ret+48(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmar_unmap(handle uint32, addr uintptr, len uint) int32
TEXT runtime·vdsoCall_zx_vmar_unmap(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD addr+8(FP), R1
MOVD len+16(FP), R2
BL vdso_zx_vmar_unmap(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmar_protect(handle uint32, options uint32, addr uintptr, len uint) int32
TEXT runtime·vdsoCall_zx_vmar_protect(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD addr+8(FP), R2
MOVD len+16(FP), R3
BL vdso_zx_vmar_protect(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmar_op_range(handle uint32, op uint32, address uintptr, size uint, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_vmar_op_range(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW op+4(FP), R1
MOVD address+8(FP), R2
MOVD size+16(FP), R3
MOVD buffer+24(FP), R4
MOVD buffer_size+32(FP), R5
BL vdso_zx_vmar_op_range(SB)
MOVW R0, ret+40(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmo_create(size uint64, options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmo_create(SB),NOSPLIT,$0-28
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVD size+0(FP), R0
MOVW options+8(FP), R1
MOVD out+16(FP), R2
BL vdso_zx_vmo_create(SB)
MOVW R0, ret+24(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmo_read(handle uint32, buffer unsafe.Pointer, offset uint64, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_vmo_read(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
CALL runtime·entersyscall(SB)
MOVW handle+0(FP), R0
MOVD buffer+8(FP), R1
MOVD offset+16(FP), R2
MOVD buffer_size+24(FP), R3
BL vdso_zx_vmo_read(SB)
MOVW R0, ret+32(FP)
BL runtime·exitsyscall(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmo_write(handle uint32, buffer unsafe.Pointer, offset uint64, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_vmo_write(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
CALL runtime·entersyscall(SB)
MOVW handle+0(FP), R0
MOVD buffer+8(FP), R1
MOVD offset+16(FP), R2
MOVD buffer_size+24(FP), R3
BL vdso_zx_vmo_write(SB)
MOVW R0, ret+32(FP)
BL runtime·exitsyscall(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmo_get_size(handle uint32, size unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmo_get_size(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD size+8(FP), R1
BL vdso_zx_vmo_get_size(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmo_set_size(handle uint32, size uint64) int32
TEXT runtime·vdsoCall_zx_vmo_set_size(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVD size+8(FP), R1
BL vdso_zx_vmo_set_size(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmo_op_range(handle uint32, op uint32, offset uint64, size uint64, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_vmo_op_range(SB),NOSPLIT,$0-44
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
CALL runtime·entersyscall(SB)
MOVW handle+0(FP), R0
MOVW op+4(FP), R1
MOVD offset+8(FP), R2
MOVD size+16(FP), R3
MOVD buffer+24(FP), R4
MOVD buffer_size+32(FP), R5
BL vdso_zx_vmo_op_range(SB)
MOVW R0, ret+40(FP)
BL runtime·exitsyscall(SB)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmo_create_child(handle uint32, options uint32, offset uint64, size uint64, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmo_create_child(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW options+4(FP), R1
MOVD offset+8(FP), R2
MOVD size+16(FP), R3
MOVD out+24(FP), R4
BL vdso_zx_vmo_create_child(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmo_set_cache_policy(handle uint32, cache_policy uint32) int32
TEXT runtime·vdsoCall_zx_vmo_set_cache_policy(SB),NOSPLIT,$0-12
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW cache_policy+4(FP), R1
BL vdso_zx_vmo_set_cache_policy(SB)
MOVW R0, ret+8(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmo_replace_as_executable(handle uint32, vmex uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmo_replace_as_executable(SB),NOSPLIT,$0-20
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW handle+0(FP), R0
MOVW vmex+4(FP), R1
MOVD out+8(FP), R2
BL vdso_zx_vmo_replace_as_executable(SB)
MOVW R0, ret+16(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmo_create_contiguous(bti uint32, size uint, alignment_log2 uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmo_create_contiguous(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW bti+0(FP), R0
MOVD size+8(FP), R1
MOVW alignment_log2+16(FP), R2
MOVD out+24(FP), R3
BL vdso_zx_vmo_create_contiguous(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
// func vdsoCall_zx_vmo_create_physical(resource uint32, paddr uintptr, size uint, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmo_create_physical(SB),NOSPLIT,$0-36
GO_ARGS
NO_LOCAL_POINTERS
MOVD g_m(g), R21
MOVD LR, m_vdsoPC(R21)
MOVD RSP, R20
MOVD R20, m_vdsoSP(R21)
MOVW resource+0(FP), R0
MOVD paddr+8(FP), R1
MOVD size+16(FP), R2
MOVD out+24(FP), R3
BL vdso_zx_vmo_create_physical(SB)
MOVW R0, ret+32(FP)
MOVD g_m(g), R21
MOVD $0, m_vdsoSP(R21)
RET
----- go-vdso-arm64-calls.s END -----
----- go-vdso-keys.go START -----
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// WARNING: THIS FILE IS MACHINE GENERATED BY //tools/kazoo. DO NOT EDIT.
package runtime
import "unsafe"
const (
// vdsoArrayMax is the byte-size of a maximally sized array on this architecture.
// See cmd/compile/internal/amd64/galign.go arch.MAXWIDTH initialization.
vdsoArrayMax = 1<<50 - 1
)
var vdsoSymbolKeys = []vdsoSymbolKey{
{"_zx_bti_create", 0x7833987, &vdso_zx_bti_create},
{"_zx_bti_pin", 0x2aa0e6da, &vdso_zx_bti_pin},
{"_zx_bti_release_quarantine", 0x441c1c6b, &vdso_zx_bti_release_quarantine},
{"_zx_cache_flush", 0x319eccca, &vdso_zx_cache_flush},
{"_zx_channel_create", 0xe5199281, &vdso_zx_channel_create},
{"_zx_channel_read", 0xe7169b09, &vdso_zx_channel_read},
{"_zx_channel_read_etc", 0x77c4cc84, &vdso_zx_channel_read_etc},
{"_zx_channel_write", 0xca4bbc18, &vdso_zx_channel_write},
{"_zx_channel_write_etc", 0x43b1dd13, &vdso_zx_channel_write_etc},
{"_zx_channel_call_noretry", 0xb5ad0b5b, &vdso_zx_channel_call_noretry},
{"_zx_channel_call_finish", 0x85ce3de9, &vdso_zx_channel_call_finish},
{"_zx_channel_call", 0xe70e51c9, &vdso_zx_channel_call},
{"_zx_channel_call_etc_noretry", 0xc3a3e7d6, &vdso_zx_channel_call_etc_noretry},
{"_zx_channel_call_etc_finish", 0xd3cdf704, &vdso_zx_channel_call_etc_finish},
{"_zx_channel_call_etc", 0x8639e344, &vdso_zx_channel_call_etc},
{"_zx_clock_get", 0x3fb5d7c0, &vdso_zx_clock_get},
{"_zx_clock_get_monotonic", 0xb00e6115, &vdso_zx_clock_get_monotonic},
{"_zx_clock_adjust", 0x87cf38ab, &vdso_zx_clock_adjust},
{"_zx_clock_get_monotonic_via_kernel", 0x3dc12b54, &vdso_zx_clock_get_monotonic_via_kernel},
{"_zx_clock_create", 0x8d73ce14, &vdso_zx_clock_create},
{"_zx_clock_read", 0x3676d5dc, &vdso_zx_clock_read},
{"_zx_clock_get_details", 0xb7227265, &vdso_zx_clock_get_details},
{"_zx_clock_update", 0xb74bec03, &vdso_zx_clock_update},
{"_zx_cprng_draw_once", 0x40248ce0, &vdso_zx_cprng_draw_once},
{"_zx_cprng_draw", 0x12929c5c, &vdso_zx_cprng_draw},
{"_zx_cprng_add_entropy", 0x1617dd47, &vdso_zx_cprng_add_entropy},
{"_zx_debug_read", 0x6c062397, &vdso_zx_debug_read},
{"_zx_debug_write", 0xed2c5666, &vdso_zx_debug_write},
{"_zx_debug_send_command", 0xac6e8203, &vdso_zx_debug_send_command},
{"_zx_debuglog_create", 0x2504f1, &vdso_zx_debuglog_create},
{"_zx_debuglog_write", 0x3f7aa088, &vdso_zx_debuglog_write},
{"_zx_debuglog_read", 0x66c2b179, &vdso_zx_debuglog_read},
{"_zx_event_create", 0x4c39490a, &vdso_zx_event_create},
{"_zx_eventpair_create", 0xe3fd9c16, &vdso_zx_eventpair_create},
{"_zx_exception_get_thread", 0xb1c70bba, &vdso_zx_exception_get_thread},
{"_zx_exception_get_process", 0xcddbd761, &vdso_zx_exception_get_process},
{"_zx_fifo_create", 0xf197cb2c, &vdso_zx_fifo_create},
{"_zx_fifo_read", 0x3ec8acf4, &vdso_zx_fifo_read},
{"_zx_fifo_write", 0x18400b63, &vdso_zx_fifo_write},
{"_zx_framebuffer_get_info", 0xe6c88924, &vdso_zx_framebuffer_get_info},
{"_zx_framebuffer_set_range", 0x364ad6b1, &vdso_zx_framebuffer_set_range},
{"_zx_futex_wait", 0xb089e255, &vdso_zx_futex_wait},
{"_zx_futex_wake", 0xb089e288, &vdso_zx_futex_wake},
{"_zx_futex_requeue", 0xd509be7c, &vdso_zx_futex_requeue},
{"_zx_futex_wake_single_owner", 0x63970173, &vdso_zx_futex_wake_single_owner},
{"_zx_futex_requeue_single_owner", 0x8f9a9e7, &vdso_zx_futex_requeue_single_owner},
{"_zx_futex_get_owner", 0xf16dec6a, &vdso_zx_futex_get_owner},
{"_zx_guest_create", 0x6f318390, &vdso_zx_guest_create},
{"_zx_guest_set_trap", 0xffe2547e, &vdso_zx_guest_set_trap},
{"_zx_handle_close", 0xe769f876, &vdso_zx_handle_close},
{"_zx_handle_close_many", 0x8a9a3aaa, &vdso_zx_handle_close_many},
{"_zx_handle_duplicate", 0x3f0a83b, &vdso_zx_handle_duplicate},
{"_zx_handle_replace", 0xdc2d9edc, &vdso_zx_handle_replace},
{"_zx_interrupt_create", 0xaa939795, &vdso_zx_interrupt_create},
{"_zx_interrupt_bind", 0xa25b97be, &vdso_zx_interrupt_bind},
{"_zx_interrupt_wait", 0xa266f916, &vdso_zx_interrupt_wait},
{"_zx_interrupt_destroy", 0x2cb5724b, &vdso_zx_interrupt_destroy},
{"_zx_interrupt_ack", 0x3b390f10, &vdso_zx_interrupt_ack},
{"_zx_interrupt_trigger", 0x19f00875, &vdso_zx_interrupt_trigger},
{"_zx_interrupt_bind_vcpu", 0x505f9f1b, &vdso_zx_interrupt_bind_vcpu},
{"_zx_iommu_create", 0x297b6af, &vdso_zx_iommu_create},
{"_zx_ioports_request", 0xb8f1c0ad, &vdso_zx_ioports_request},
{"_zx_ioports_release", 0xb88e6f05, &vdso_zx_ioports_release},
{"_zx_job_create", 0x6b9cbb63, &vdso_zx_job_create},
{"_zx_job_set_policy", 0xa45d60ea, &vdso_zx_job_set_policy},
{"_zx_job_set_critical", 0x129ab785, &vdso_zx_job_set_critical},
{"_zx_ktrace_read", 0x7a59dbca, &vdso_zx_ktrace_read},
{"_zx_ktrace_control", 0x15debecf, &vdso_zx_ktrace_control},
{"_zx_ktrace_write", 0xc5f714f9, &vdso_zx_ktrace_write},
{"_zx_nanosleep", 0xe9d6145a, &vdso_zx_nanosleep},
{"_zx_ticks_get", 0xaeb30a32, &vdso_zx_ticks_get},
{"_zx_ticks_per_second", 0x6ed47574, &vdso_zx_ticks_per_second},
{"_zx_deadline_after", 0x6253eb5c, &vdso_zx_deadline_after},
{"_zx_vmar_unmap_handle_close_thread_exit", 0x5a372afb, &vdso_zx_vmar_unmap_handle_close_thread_exit},
{"_zx_futex_wake_handle_close_thread_exit", 0x49731cb8, &vdso_zx_futex_wake_handle_close_thread_exit},
{"_zx_ticks_get_via_kernel", 0x821bc851, &vdso_zx_ticks_get_via_kernel},
{"_zx_msi_allocate", 0xf5370e42, &vdso_zx_msi_allocate},
{"_zx_msi_create", 0xbf7b04f1, &vdso_zx_msi_create},
{"_zx_mtrace_control", 0x8c5f3211, &vdso_zx_mtrace_control},
{"_zx_object_wait_one", 0xed850621, &vdso_zx_object_wait_one},
{"_zx_object_wait_many", 0x9e247bd4, &vdso_zx_object_wait_many},
{"_zx_object_wait_async", 0x61e4dcdd, &vdso_zx_object_wait_async},
{"_zx_object_signal", 0x460ab89, &vdso_zx_object_signal},
{"_zx_object_signal_peer", 0xe90c8694, &vdso_zx_object_signal_peer},
{"_zx_object_get_property", 0xd60c8aef, &vdso_zx_object_get_property},
{"_zx_object_set_property", 0x2174eb7b, &vdso_zx_object_set_property},
{"_zx_object_get_info", 0x7582ddf6, &vdso_zx_object_get_info},
{"_zx_object_get_child", 0x256ecc2e, &vdso_zx_object_get_child},
{"_zx_object_set_profile", 0x7d1d2727, &vdso_zx_object_set_profile},
{"_zx_pager_create", 0x8d44ed57, &vdso_zx_pager_create},
{"_zx_pager_create_vmo", 0x564fdd48, &vdso_zx_pager_create_vmo},
{"_zx_pager_detach_vmo", 0x2072c15d, &vdso_zx_pager_detach_vmo},
{"_zx_pager_supply_pages", 0x69d1fc7f, &vdso_zx_pager_supply_pages},
{"_zx_pager_op_range", 0x5e8195ae, &vdso_zx_pager_op_range},
{"_zx_pc_firmware_tables", 0x1a05d1fe, &vdso_zx_pc_firmware_tables},
{"_zx_pci_get_nth_device", 0x32106f08, &vdso_zx_pci_get_nth_device},
{"_zx_pci_enable_bus_master", 0x76091cab, &vdso_zx_pci_enable_bus_master},
{"_zx_pci_reset_device", 0xc6496142, &vdso_zx_pci_reset_device},
{"_zx_pci_config_read", 0xc765eb61, &vdso_zx_pci_config_read},
{"_zx_pci_config_write", 0xb4851770, &vdso_zx_pci_config_write},
{"_zx_pci_cfg_pio_rw", 0xda224f4f, &vdso_zx_pci_cfg_pio_rw},
{"_zx_pci_get_bar", 0x14ec9dc4, &vdso_zx_pci_get_bar},
{"_zx_pci_map_interrupt", 0x3c5aa3fa, &vdso_zx_pci_map_interrupt},
{"_zx_pci_query_irq_mode", 0xdf173875, &vdso_zx_pci_query_irq_mode},
{"_zx_pci_set_irq_mode", 0xedfcadcb, &vdso_zx_pci_set_irq_mode},
{"_zx_pci_init", 0x4db59c04, &vdso_zx_pci_init},
{"_zx_pci_add_subtract_io_range", 0x5fcd4b03, &vdso_zx_pci_add_subtract_io_range},
{"_zx_pmt_unpin", 0x8e954c6f, &vdso_zx_pmt_unpin},
{"_zx_port_create", 0x5294baed, &vdso_zx_port_create},
{"_zx_port_queue", 0x8f22883e, &vdso_zx_port_queue},
{"_zx_port_wait", 0xfc97666e, &vdso_zx_port_wait},
{"_zx_port_cancel", 0x5166105f, &vdso_zx_port_cancel},
{"_zx_process_exit", 0xc7f8a64d, &vdso_zx_process_exit},
{"_zx_process_create", 0xa3a21647, &vdso_zx_process_create},
{"_zx_process_start", 0xc80873a1, &vdso_zx_process_start},
{"_zx_process_read_memory", 0x883ab627, &vdso_zx_process_read_memory},
{"_zx_process_write_memory", 0x18162116, &vdso_zx_process_write_memory},
{"_zx_profile_create", 0x28e1bf39, &vdso_zx_profile_create},
{"_zx_resource_create", 0x22a0d150, &vdso_zx_resource_create},
{"_zx_smc_call", 0x63f0533, &vdso_zx_smc_call},
{"_zx_socket_create", 0xf536e851, &vdso_zx_socket_create},
{"_zx_socket_write", 0x5e2d97e8, &vdso_zx_socket_write},
{"_zx_socket_read", 0xb5443cd9, &vdso_zx_socket_read},
{"_zx_socket_shutdown", 0x78afef9, &vdso_zx_socket_shutdown},
{"_zx_stream_create", 0x5a685d14, &vdso_zx_stream_create},
{"_zx_stream_writev", 0x89120a21, &vdso_zx_stream_writev},
{"_zx_stream_writev_at", 0xcd618395, &vdso_zx_stream_writev_at},
{"_zx_stream_readv", 0xae7040d2, &vdso_zx_stream_readv},
{"_zx_stream_readv_at", 0x7bfd08a6, &vdso_zx_stream_readv_at},
{"_zx_stream_seek", 0xcefc31c8, &vdso_zx_stream_seek},
{"_zx_syscall_test_0", 0xb62fbcde, &vdso_zx_syscall_test_0},
{"_zx_syscall_test_1", 0xb62fbcdf, &vdso_zx_syscall_test_1},
{"_zx_syscall_test_2", 0xb62fbce0, &vdso_zx_syscall_test_2},
{"_zx_syscall_test_3", 0xb62fbce1, &vdso_zx_syscall_test_3},
{"_zx_syscall_test_4", 0xb62fbce2, &vdso_zx_syscall_test_4},
{"_zx_syscall_test_5", 0xb62fbce3, &vdso_zx_syscall_test_5},
{"_zx_syscall_test_6", 0xb62fbce4, &vdso_zx_syscall_test_6},
{"_zx_syscall_test_7", 0xb62fbce5, &vdso_zx_syscall_test_7},
{"_zx_syscall_test_8", 0xb62fbce6, &vdso_zx_syscall_test_8},
{"_zx_syscall_test_wrapper", 0x4d7af9cf, &vdso_zx_syscall_test_wrapper},
{"_zx_syscall_test_handle_create", 0xb996e56d, &vdso_zx_syscall_test_handle_create},
{"_zx_system_get_dcache_line_size", 0x2d6d6511, &vdso_zx_system_get_dcache_line_size},
{"_zx_system_get_num_cpus", 0x8e92a0c2, &vdso_zx_system_get_num_cpus},
{"_zx_system_get_version_string", 0xf2daeaf4, &vdso_zx_system_get_version_string},
{"_zx_system_get_physmem", 0x5a0e027b, &vdso_zx_system_get_physmem},
{"_zx_system_get_features", 0x42682df7, &vdso_zx_system_get_features},
{"_zx_system_get_event", 0x7a0b68da, &vdso_zx_system_get_event},
{"_zx_system_mexec", 0xd142362b, &vdso_zx_system_mexec},
{"_zx_system_mexec_payload_get", 0x34bd22b3, &vdso_zx_system_mexec_payload_get},
{"_zx_system_powerctl", 0x43f6ae09, &vdso_zx_system_powerctl},
{"_zx_task_suspend", 0xe13ad509, &vdso_zx_task_suspend},
{"_zx_task_suspend_token", 0x341e98a9, &vdso_zx_task_suspend_token},
{"_zx_task_create_exception_channel", 0x5318f181, &vdso_zx_task_create_exception_channel},
{"_zx_task_kill", 0x1ae4e313, &vdso_zx_task_kill},
{"_zx_thread_exit", 0xed44fe6, &vdso_zx_thread_exit},
{"_zx_thread_create", 0x100e8a20, &vdso_zx_thread_create},
{"_zx_thread_start", 0xea59505a, &vdso_zx_thread_start},
{"_zx_thread_read_state", 0x82fd0a88, &vdso_zx_thread_read_state},
{"_zx_thread_write_state", 0xb9265eb7, &vdso_zx_thread_write_state},
{"_zx_timer_create", 0x943773a9, &vdso_zx_timer_create},
{"_zx_timer_set", 0xa2689081, &vdso_zx_timer_set},
{"_zx_timer_cancel", 0x9308c91b, &vdso_zx_timer_cancel},
{"_zx_vcpu_create", 0x458b1fc6, &vdso_zx_vcpu_create},
{"_zx_vcpu_resume", 0x67a54423, &vdso_zx_vcpu_resume},
{"_zx_vcpu_interrupt", 0x4ddc6df, &vdso_zx_vcpu_interrupt},
{"_zx_vcpu_read_state", 0xaa78032e, &vdso_zx_vcpu_read_state},
{"_zx_vcpu_write_state", 0xd0006c1d, &vdso_zx_vcpu_write_state},
{"_zx_vmar_allocate", 0x4cac85ef, &vdso_zx_vmar_allocate},
{"_zx_vmar_destroy", 0xc2294134, &vdso_zx_vmar_destroy},
{"_zx_vmar_map", 0xc7b00448, &vdso_zx_vmar_map},
{"_zx_vmar_unmap", 0x745a1b6b, &vdso_zx_vmar_unmap},
{"_zx_vmar_protect", 0x7bee8f8b, &vdso_zx_vmar_protect},
{"_zx_vmar_op_range", 0x4e117375, &vdso_zx_vmar_op_range},
{"_zx_vmo_create", 0xb27a765a, &vdso_zx_vmo_create},
{"_zx_vmo_read", 0xe70ab4a2, &vdso_zx_vmo_read},
{"_zx_vmo_write", 0xc8c308d1, &vdso_zx_vmo_write},
{"_zx_vmo_get_size", 0x261c77c0, &vdso_zx_vmo_get_size},
{"_zx_vmo_set_size", 0x3932724c, &vdso_zx_vmo_set_size},
{"_zx_vmo_op_range", 0xa73d6b71, &vdso_zx_vmo_op_range},
{"_zx_vmo_create_child", 0x72c8b3dd, &vdso_zx_vmo_create_child},
{"_zx_vmo_set_cache_policy", 0xe509bad4, &vdso_zx_vmo_set_cache_policy},
{"_zx_vmo_replace_as_executable", 0xbd38e576, &vdso_zx_vmo_replace_as_executable},
{"_zx_vmo_create_contiguous", 0x466a8289, &vdso_zx_vmo_create_contiguous},
{"_zx_vmo_create_physical", 0x659677b6, &vdso_zx_vmo_create_physical},
}
//go:cgo_import_dynamic vdso_zx_bti_create zx_bti_create
//go:cgo_import_dynamic vdso_zx_bti_pin zx_bti_pin
//go:cgo_import_dynamic vdso_zx_bti_release_quarantine zx_bti_release_quarantine
//go:cgo_import_dynamic vdso_zx_cache_flush zx_cache_flush
//go:cgo_import_dynamic vdso_zx_channel_create zx_channel_create
//go:cgo_import_dynamic vdso_zx_channel_read zx_channel_read
//go:cgo_import_dynamic vdso_zx_channel_read_etc zx_channel_read_etc
//go:cgo_import_dynamic vdso_zx_channel_write zx_channel_write
//go:cgo_import_dynamic vdso_zx_channel_write_etc zx_channel_write_etc
//go:cgo_import_dynamic vdso_zx_channel_call_noretry zx_channel_call_noretry
//go:cgo_import_dynamic vdso_zx_channel_call_finish zx_channel_call_finish
//go:cgo_import_dynamic vdso_zx_channel_call zx_channel_call
//go:cgo_import_dynamic vdso_zx_channel_call_etc_noretry zx_channel_call_etc_noretry
//go:cgo_import_dynamic vdso_zx_channel_call_etc_finish zx_channel_call_etc_finish
//go:cgo_import_dynamic vdso_zx_channel_call_etc zx_channel_call_etc
//go:cgo_import_dynamic vdso_zx_clock_get zx_clock_get
//go:cgo_import_dynamic vdso_zx_clock_get_monotonic zx_clock_get_monotonic
//go:cgo_import_dynamic vdso_zx_clock_adjust zx_clock_adjust
//go:cgo_import_dynamic vdso_zx_clock_get_monotonic_via_kernel zx_clock_get_monotonic_via_kernel
//go:cgo_import_dynamic vdso_zx_clock_create zx_clock_create
//go:cgo_import_dynamic vdso_zx_clock_read zx_clock_read
//go:cgo_import_dynamic vdso_zx_clock_get_details zx_clock_get_details
//go:cgo_import_dynamic vdso_zx_clock_update zx_clock_update
//go:cgo_import_dynamic vdso_zx_cprng_draw_once zx_cprng_draw_once
//go:cgo_import_dynamic vdso_zx_cprng_draw zx_cprng_draw
//go:cgo_import_dynamic vdso_zx_cprng_add_entropy zx_cprng_add_entropy
//go:cgo_import_dynamic vdso_zx_debug_read zx_debug_read
//go:cgo_import_dynamic vdso_zx_debug_write zx_debug_write
//go:cgo_import_dynamic vdso_zx_debug_send_command zx_debug_send_command
//go:cgo_import_dynamic vdso_zx_debuglog_create zx_debuglog_create
//go:cgo_import_dynamic vdso_zx_debuglog_write zx_debuglog_write
//go:cgo_import_dynamic vdso_zx_debuglog_read zx_debuglog_read
//go:cgo_import_dynamic vdso_zx_event_create zx_event_create
//go:cgo_import_dynamic vdso_zx_eventpair_create zx_eventpair_create
//go:cgo_import_dynamic vdso_zx_exception_get_thread zx_exception_get_thread
//go:cgo_import_dynamic vdso_zx_exception_get_process zx_exception_get_process
//go:cgo_import_dynamic vdso_zx_fifo_create zx_fifo_create
//go:cgo_import_dynamic vdso_zx_fifo_read zx_fifo_read
//go:cgo_import_dynamic vdso_zx_fifo_write zx_fifo_write
//go:cgo_import_dynamic vdso_zx_framebuffer_get_info zx_framebuffer_get_info
//go:cgo_import_dynamic vdso_zx_framebuffer_set_range zx_framebuffer_set_range
//go:cgo_import_dynamic vdso_zx_futex_wait zx_futex_wait
//go:cgo_import_dynamic vdso_zx_futex_wake zx_futex_wake
//go:cgo_import_dynamic vdso_zx_futex_requeue zx_futex_requeue
//go:cgo_import_dynamic vdso_zx_futex_wake_single_owner zx_futex_wake_single_owner
//go:cgo_import_dynamic vdso_zx_futex_requeue_single_owner zx_futex_requeue_single_owner
//go:cgo_import_dynamic vdso_zx_futex_get_owner zx_futex_get_owner
//go:cgo_import_dynamic vdso_zx_guest_create zx_guest_create
//go:cgo_import_dynamic vdso_zx_guest_set_trap zx_guest_set_trap
//go:cgo_import_dynamic vdso_zx_handle_close zx_handle_close
//go:cgo_import_dynamic vdso_zx_handle_close_many zx_handle_close_many
//go:cgo_import_dynamic vdso_zx_handle_duplicate zx_handle_duplicate
//go:cgo_import_dynamic vdso_zx_handle_replace zx_handle_replace
//go:cgo_import_dynamic vdso_zx_interrupt_create zx_interrupt_create
//go:cgo_import_dynamic vdso_zx_interrupt_bind zx_interrupt_bind
//go:cgo_import_dynamic vdso_zx_interrupt_wait zx_interrupt_wait
//go:cgo_import_dynamic vdso_zx_interrupt_destroy zx_interrupt_destroy
//go:cgo_import_dynamic vdso_zx_interrupt_ack zx_interrupt_ack
//go:cgo_import_dynamic vdso_zx_interrupt_trigger zx_interrupt_trigger
//go:cgo_import_dynamic vdso_zx_interrupt_bind_vcpu zx_interrupt_bind_vcpu
//go:cgo_import_dynamic vdso_zx_iommu_create zx_iommu_create
//go:cgo_import_dynamic vdso_zx_ioports_request zx_ioports_request
//go:cgo_import_dynamic vdso_zx_ioports_release zx_ioports_release
//go:cgo_import_dynamic vdso_zx_job_create zx_job_create
//go:cgo_import_dynamic vdso_zx_job_set_policy zx_job_set_policy
//go:cgo_import_dynamic vdso_zx_job_set_critical zx_job_set_critical
//go:cgo_import_dynamic vdso_zx_ktrace_read zx_ktrace_read
//go:cgo_import_dynamic vdso_zx_ktrace_control zx_ktrace_control
//go:cgo_import_dynamic vdso_zx_ktrace_write zx_ktrace_write
//go:cgo_import_dynamic vdso_zx_nanosleep zx_nanosleep
//go:cgo_import_dynamic vdso_zx_ticks_get zx_ticks_get
//go:cgo_import_dynamic vdso_zx_ticks_per_second zx_ticks_per_second
//go:cgo_import_dynamic vdso_zx_deadline_after zx_deadline_after
//go:cgo_import_dynamic vdso_zx_vmar_unmap_handle_close_thread_exit zx_vmar_unmap_handle_close_thread_exit
//go:cgo_import_dynamic vdso_zx_futex_wake_handle_close_thread_exit zx_futex_wake_handle_close_thread_exit
//go:cgo_import_dynamic vdso_zx_ticks_get_via_kernel zx_ticks_get_via_kernel
//go:cgo_import_dynamic vdso_zx_msi_allocate zx_msi_allocate
//go:cgo_import_dynamic vdso_zx_msi_create zx_msi_create
//go:cgo_import_dynamic vdso_zx_mtrace_control zx_mtrace_control
//go:cgo_import_dynamic vdso_zx_object_wait_one zx_object_wait_one
//go:cgo_import_dynamic vdso_zx_object_wait_many zx_object_wait_many
//go:cgo_import_dynamic vdso_zx_object_wait_async zx_object_wait_async
//go:cgo_import_dynamic vdso_zx_object_signal zx_object_signal
//go:cgo_import_dynamic vdso_zx_object_signal_peer zx_object_signal_peer
//go:cgo_import_dynamic vdso_zx_object_get_property zx_object_get_property
//go:cgo_import_dynamic vdso_zx_object_set_property zx_object_set_property
//go:cgo_import_dynamic vdso_zx_object_get_info zx_object_get_info
//go:cgo_import_dynamic vdso_zx_object_get_child zx_object_get_child
//go:cgo_import_dynamic vdso_zx_object_set_profile zx_object_set_profile
//go:cgo_import_dynamic vdso_zx_pager_create zx_pager_create
//go:cgo_import_dynamic vdso_zx_pager_create_vmo zx_pager_create_vmo
//go:cgo_import_dynamic vdso_zx_pager_detach_vmo zx_pager_detach_vmo
//go:cgo_import_dynamic vdso_zx_pager_supply_pages zx_pager_supply_pages
//go:cgo_import_dynamic vdso_zx_pager_op_range zx_pager_op_range
//go:cgo_import_dynamic vdso_zx_pc_firmware_tables zx_pc_firmware_tables
//go:cgo_import_dynamic vdso_zx_pci_get_nth_device zx_pci_get_nth_device
//go:cgo_import_dynamic vdso_zx_pci_enable_bus_master zx_pci_enable_bus_master
//go:cgo_import_dynamic vdso_zx_pci_reset_device zx_pci_reset_device
//go:cgo_import_dynamic vdso_zx_pci_config_read zx_pci_config_read
//go:cgo_import_dynamic vdso_zx_pci_config_write zx_pci_config_write
//go:cgo_import_dynamic vdso_zx_pci_cfg_pio_rw zx_pci_cfg_pio_rw
//go:cgo_import_dynamic vdso_zx_pci_get_bar zx_pci_get_bar
//go:cgo_import_dynamic vdso_zx_pci_map_interrupt zx_pci_map_interrupt
//go:cgo_import_dynamic vdso_zx_pci_query_irq_mode zx_pci_query_irq_mode
//go:cgo_import_dynamic vdso_zx_pci_set_irq_mode zx_pci_set_irq_mode
//go:cgo_import_dynamic vdso_zx_pci_init zx_pci_init
//go:cgo_import_dynamic vdso_zx_pci_add_subtract_io_range zx_pci_add_subtract_io_range
//go:cgo_import_dynamic vdso_zx_pmt_unpin zx_pmt_unpin
//go:cgo_import_dynamic vdso_zx_port_create zx_port_create
//go:cgo_import_dynamic vdso_zx_port_queue zx_port_queue
//go:cgo_import_dynamic vdso_zx_port_wait zx_port_wait
//go:cgo_import_dynamic vdso_zx_port_cancel zx_port_cancel
//go:cgo_import_dynamic vdso_zx_process_exit zx_process_exit
//go:cgo_import_dynamic vdso_zx_process_create zx_process_create
//go:cgo_import_dynamic vdso_zx_process_start zx_process_start
//go:cgo_import_dynamic vdso_zx_process_read_memory zx_process_read_memory
//go:cgo_import_dynamic vdso_zx_process_write_memory zx_process_write_memory
//go:cgo_import_dynamic vdso_zx_profile_create zx_profile_create
//go:cgo_import_dynamic vdso_zx_resource_create zx_resource_create
//go:cgo_import_dynamic vdso_zx_smc_call zx_smc_call
//go:cgo_import_dynamic vdso_zx_socket_create zx_socket_create
//go:cgo_import_dynamic vdso_zx_socket_write zx_socket_write
//go:cgo_import_dynamic vdso_zx_socket_read zx_socket_read
//go:cgo_import_dynamic vdso_zx_socket_shutdown zx_socket_shutdown
//go:cgo_import_dynamic vdso_zx_stream_create zx_stream_create
//go:cgo_import_dynamic vdso_zx_stream_writev zx_stream_writev
//go:cgo_import_dynamic vdso_zx_stream_writev_at zx_stream_writev_at
//go:cgo_import_dynamic vdso_zx_stream_readv zx_stream_readv
//go:cgo_import_dynamic vdso_zx_stream_readv_at zx_stream_readv_at
//go:cgo_import_dynamic vdso_zx_stream_seek zx_stream_seek
//go:cgo_import_dynamic vdso_zx_syscall_test_0 zx_syscall_test_0
//go:cgo_import_dynamic vdso_zx_syscall_test_1 zx_syscall_test_1
//go:cgo_import_dynamic vdso_zx_syscall_test_2 zx_syscall_test_2
//go:cgo_import_dynamic vdso_zx_syscall_test_3 zx_syscall_test_3
//go:cgo_import_dynamic vdso_zx_syscall_test_4 zx_syscall_test_4
//go:cgo_import_dynamic vdso_zx_syscall_test_5 zx_syscall_test_5
//go:cgo_import_dynamic vdso_zx_syscall_test_6 zx_syscall_test_6
//go:cgo_import_dynamic vdso_zx_syscall_test_7 zx_syscall_test_7
//go:cgo_import_dynamic vdso_zx_syscall_test_8 zx_syscall_test_8
//go:cgo_import_dynamic vdso_zx_syscall_test_wrapper zx_syscall_test_wrapper
//go:cgo_import_dynamic vdso_zx_syscall_test_handle_create zx_syscall_test_handle_create
//go:cgo_import_dynamic vdso_zx_system_get_dcache_line_size zx_system_get_dcache_line_size
//go:cgo_import_dynamic vdso_zx_system_get_num_cpus zx_system_get_num_cpus
//go:cgo_import_dynamic vdso_zx_system_get_version_string zx_system_get_version_string
//go:cgo_import_dynamic vdso_zx_system_get_physmem zx_system_get_physmem
//go:cgo_import_dynamic vdso_zx_system_get_features zx_system_get_features
//go:cgo_import_dynamic vdso_zx_system_get_event zx_system_get_event
//go:cgo_import_dynamic vdso_zx_system_mexec zx_system_mexec
//go:cgo_import_dynamic vdso_zx_system_mexec_payload_get zx_system_mexec_payload_get
//go:cgo_import_dynamic vdso_zx_system_powerctl zx_system_powerctl
//go:cgo_import_dynamic vdso_zx_task_suspend zx_task_suspend
//go:cgo_import_dynamic vdso_zx_task_suspend_token zx_task_suspend_token
//go:cgo_import_dynamic vdso_zx_task_create_exception_channel zx_task_create_exception_channel
//go:cgo_import_dynamic vdso_zx_task_kill zx_task_kill
//go:cgo_import_dynamic vdso_zx_thread_exit zx_thread_exit
//go:cgo_import_dynamic vdso_zx_thread_create zx_thread_create
//go:cgo_import_dynamic vdso_zx_thread_start zx_thread_start
//go:cgo_import_dynamic vdso_zx_thread_read_state zx_thread_read_state
//go:cgo_import_dynamic vdso_zx_thread_write_state zx_thread_write_state
//go:cgo_import_dynamic vdso_zx_timer_create zx_timer_create
//go:cgo_import_dynamic vdso_zx_timer_set zx_timer_set
//go:cgo_import_dynamic vdso_zx_timer_cancel zx_timer_cancel
//go:cgo_import_dynamic vdso_zx_vcpu_create zx_vcpu_create
//go:cgo_import_dynamic vdso_zx_vcpu_resume zx_vcpu_resume
//go:cgo_import_dynamic vdso_zx_vcpu_interrupt zx_vcpu_interrupt
//go:cgo_import_dynamic vdso_zx_vcpu_read_state zx_vcpu_read_state
//go:cgo_import_dynamic vdso_zx_vcpu_write_state zx_vcpu_write_state
//go:cgo_import_dynamic vdso_zx_vmar_allocate zx_vmar_allocate
//go:cgo_import_dynamic vdso_zx_vmar_destroy zx_vmar_destroy
//go:cgo_import_dynamic vdso_zx_vmar_map zx_vmar_map
//go:cgo_import_dynamic vdso_zx_vmar_unmap zx_vmar_unmap
//go:cgo_import_dynamic vdso_zx_vmar_protect zx_vmar_protect
//go:cgo_import_dynamic vdso_zx_vmar_op_range zx_vmar_op_range
//go:cgo_import_dynamic vdso_zx_vmo_create zx_vmo_create
//go:cgo_import_dynamic vdso_zx_vmo_read zx_vmo_read
//go:cgo_import_dynamic vdso_zx_vmo_write zx_vmo_write
//go:cgo_import_dynamic vdso_zx_vmo_get_size zx_vmo_get_size
//go:cgo_import_dynamic vdso_zx_vmo_set_size zx_vmo_set_size
//go:cgo_import_dynamic vdso_zx_vmo_op_range zx_vmo_op_range
//go:cgo_import_dynamic vdso_zx_vmo_create_child zx_vmo_create_child
//go:cgo_import_dynamic vdso_zx_vmo_set_cache_policy zx_vmo_set_cache_policy
//go:cgo_import_dynamic vdso_zx_vmo_replace_as_executable zx_vmo_replace_as_executable
//go:cgo_import_dynamic vdso_zx_vmo_create_contiguous zx_vmo_create_contiguous
//go:cgo_import_dynamic vdso_zx_vmo_create_physical zx_vmo_create_physical
//go:linkname vdso_zx_bti_create vdso_zx_bti_create
//go:linkname vdso_zx_bti_pin vdso_zx_bti_pin
//go:linkname vdso_zx_bti_release_quarantine vdso_zx_bti_release_quarantine
//go:linkname vdso_zx_cache_flush vdso_zx_cache_flush
//go:linkname vdso_zx_channel_create vdso_zx_channel_create
//go:linkname vdso_zx_channel_read vdso_zx_channel_read
//go:linkname vdso_zx_channel_read_etc vdso_zx_channel_read_etc
//go:linkname vdso_zx_channel_write vdso_zx_channel_write
//go:linkname vdso_zx_channel_write_etc vdso_zx_channel_write_etc
//go:linkname vdso_zx_channel_call_noretry vdso_zx_channel_call_noretry
//go:linkname vdso_zx_channel_call_finish vdso_zx_channel_call_finish
//go:linkname vdso_zx_channel_call vdso_zx_channel_call
//go:linkname vdso_zx_channel_call_etc_noretry vdso_zx_channel_call_etc_noretry
//go:linkname vdso_zx_channel_call_etc_finish vdso_zx_channel_call_etc_finish
//go:linkname vdso_zx_channel_call_etc vdso_zx_channel_call_etc
//go:linkname vdso_zx_clock_get vdso_zx_clock_get
//go:linkname vdso_zx_clock_get_monotonic vdso_zx_clock_get_monotonic
//go:linkname vdso_zx_clock_adjust vdso_zx_clock_adjust
//go:linkname vdso_zx_clock_get_monotonic_via_kernel vdso_zx_clock_get_monotonic_via_kernel
//go:linkname vdso_zx_clock_create vdso_zx_clock_create
//go:linkname vdso_zx_clock_read vdso_zx_clock_read
//go:linkname vdso_zx_clock_get_details vdso_zx_clock_get_details
//go:linkname vdso_zx_clock_update vdso_zx_clock_update
//go:linkname vdso_zx_cprng_draw_once vdso_zx_cprng_draw_once
//go:linkname vdso_zx_cprng_draw vdso_zx_cprng_draw
//go:linkname vdso_zx_cprng_add_entropy vdso_zx_cprng_add_entropy
//go:linkname vdso_zx_debug_read vdso_zx_debug_read
//go:linkname vdso_zx_debug_write vdso_zx_debug_write
//go:linkname vdso_zx_debug_send_command vdso_zx_debug_send_command
//go:linkname vdso_zx_debuglog_create vdso_zx_debuglog_create
//go:linkname vdso_zx_debuglog_write vdso_zx_debuglog_write
//go:linkname vdso_zx_debuglog_read vdso_zx_debuglog_read
//go:linkname vdso_zx_event_create vdso_zx_event_create
//go:linkname vdso_zx_eventpair_create vdso_zx_eventpair_create
//go:linkname vdso_zx_exception_get_thread vdso_zx_exception_get_thread
//go:linkname vdso_zx_exception_get_process vdso_zx_exception_get_process
//go:linkname vdso_zx_fifo_create vdso_zx_fifo_create
//go:linkname vdso_zx_fifo_read vdso_zx_fifo_read
//go:linkname vdso_zx_fifo_write vdso_zx_fifo_write
//go:linkname vdso_zx_framebuffer_get_info vdso_zx_framebuffer_get_info
//go:linkname vdso_zx_framebuffer_set_range vdso_zx_framebuffer_set_range
//go:linkname vdso_zx_futex_wait vdso_zx_futex_wait
//go:linkname vdso_zx_futex_wake vdso_zx_futex_wake
//go:linkname vdso_zx_futex_requeue vdso_zx_futex_requeue
//go:linkname vdso_zx_futex_wake_single_owner vdso_zx_futex_wake_single_owner
//go:linkname vdso_zx_futex_requeue_single_owner vdso_zx_futex_requeue_single_owner
//go:linkname vdso_zx_futex_get_owner vdso_zx_futex_get_owner
//go:linkname vdso_zx_guest_create vdso_zx_guest_create
//go:linkname vdso_zx_guest_set_trap vdso_zx_guest_set_trap
//go:linkname vdso_zx_handle_close vdso_zx_handle_close
//go:linkname vdso_zx_handle_close_many vdso_zx_handle_close_many
//go:linkname vdso_zx_handle_duplicate vdso_zx_handle_duplicate
//go:linkname vdso_zx_handle_replace vdso_zx_handle_replace
//go:linkname vdso_zx_interrupt_create vdso_zx_interrupt_create
//go:linkname vdso_zx_interrupt_bind vdso_zx_interrupt_bind
//go:linkname vdso_zx_interrupt_wait vdso_zx_interrupt_wait
//go:linkname vdso_zx_interrupt_destroy vdso_zx_interrupt_destroy
//go:linkname vdso_zx_interrupt_ack vdso_zx_interrupt_ack
//go:linkname vdso_zx_interrupt_trigger vdso_zx_interrupt_trigger
//go:linkname vdso_zx_interrupt_bind_vcpu vdso_zx_interrupt_bind_vcpu
//go:linkname vdso_zx_iommu_create vdso_zx_iommu_create
//go:linkname vdso_zx_ioports_request vdso_zx_ioports_request
//go:linkname vdso_zx_ioports_release vdso_zx_ioports_release
//go:linkname vdso_zx_job_create vdso_zx_job_create
//go:linkname vdso_zx_job_set_policy vdso_zx_job_set_policy
//go:linkname vdso_zx_job_set_critical vdso_zx_job_set_critical
//go:linkname vdso_zx_ktrace_read vdso_zx_ktrace_read
//go:linkname vdso_zx_ktrace_control vdso_zx_ktrace_control
//go:linkname vdso_zx_ktrace_write vdso_zx_ktrace_write
//go:linkname vdso_zx_nanosleep vdso_zx_nanosleep
//go:linkname vdso_zx_ticks_get vdso_zx_ticks_get
//go:linkname vdso_zx_ticks_per_second vdso_zx_ticks_per_second
//go:linkname vdso_zx_deadline_after vdso_zx_deadline_after
//go:linkname vdso_zx_vmar_unmap_handle_close_thread_exit vdso_zx_vmar_unmap_handle_close_thread_exit
//go:linkname vdso_zx_futex_wake_handle_close_thread_exit vdso_zx_futex_wake_handle_close_thread_exit
//go:linkname vdso_zx_ticks_get_via_kernel vdso_zx_ticks_get_via_kernel
//go:linkname vdso_zx_msi_allocate vdso_zx_msi_allocate
//go:linkname vdso_zx_msi_create vdso_zx_msi_create
//go:linkname vdso_zx_mtrace_control vdso_zx_mtrace_control
//go:linkname vdso_zx_object_wait_one vdso_zx_object_wait_one
//go:linkname vdso_zx_object_wait_many vdso_zx_object_wait_many
//go:linkname vdso_zx_object_wait_async vdso_zx_object_wait_async
//go:linkname vdso_zx_object_signal vdso_zx_object_signal
//go:linkname vdso_zx_object_signal_peer vdso_zx_object_signal_peer
//go:linkname vdso_zx_object_get_property vdso_zx_object_get_property
//go:linkname vdso_zx_object_set_property vdso_zx_object_set_property
//go:linkname vdso_zx_object_get_info vdso_zx_object_get_info
//go:linkname vdso_zx_object_get_child vdso_zx_object_get_child
//go:linkname vdso_zx_object_set_profile vdso_zx_object_set_profile
//go:linkname vdso_zx_pager_create vdso_zx_pager_create
//go:linkname vdso_zx_pager_create_vmo vdso_zx_pager_create_vmo
//go:linkname vdso_zx_pager_detach_vmo vdso_zx_pager_detach_vmo
//go:linkname vdso_zx_pager_supply_pages vdso_zx_pager_supply_pages
//go:linkname vdso_zx_pager_op_range vdso_zx_pager_op_range
//go:linkname vdso_zx_pc_firmware_tables vdso_zx_pc_firmware_tables
//go:linkname vdso_zx_pci_get_nth_device vdso_zx_pci_get_nth_device
//go:linkname vdso_zx_pci_enable_bus_master vdso_zx_pci_enable_bus_master
//go:linkname vdso_zx_pci_reset_device vdso_zx_pci_reset_device
//go:linkname vdso_zx_pci_config_read vdso_zx_pci_config_read
//go:linkname vdso_zx_pci_config_write vdso_zx_pci_config_write
//go:linkname vdso_zx_pci_cfg_pio_rw vdso_zx_pci_cfg_pio_rw
//go:linkname vdso_zx_pci_get_bar vdso_zx_pci_get_bar
//go:linkname vdso_zx_pci_map_interrupt vdso_zx_pci_map_interrupt
//go:linkname vdso_zx_pci_query_irq_mode vdso_zx_pci_query_irq_mode
//go:linkname vdso_zx_pci_set_irq_mode vdso_zx_pci_set_irq_mode
//go:linkname vdso_zx_pci_init vdso_zx_pci_init
//go:linkname vdso_zx_pci_add_subtract_io_range vdso_zx_pci_add_subtract_io_range
//go:linkname vdso_zx_pmt_unpin vdso_zx_pmt_unpin
//go:linkname vdso_zx_port_create vdso_zx_port_create
//go:linkname vdso_zx_port_queue vdso_zx_port_queue
//go:linkname vdso_zx_port_wait vdso_zx_port_wait
//go:linkname vdso_zx_port_cancel vdso_zx_port_cancel
//go:linkname vdso_zx_process_exit vdso_zx_process_exit
//go:linkname vdso_zx_process_create vdso_zx_process_create
//go:linkname vdso_zx_process_start vdso_zx_process_start
//go:linkname vdso_zx_process_read_memory vdso_zx_process_read_memory
//go:linkname vdso_zx_process_write_memory vdso_zx_process_write_memory
//go:linkname vdso_zx_profile_create vdso_zx_profile_create
//go:linkname vdso_zx_resource_create vdso_zx_resource_create
//go:linkname vdso_zx_smc_call vdso_zx_smc_call
//go:linkname vdso_zx_socket_create vdso_zx_socket_create
//go:linkname vdso_zx_socket_write vdso_zx_socket_write
//go:linkname vdso_zx_socket_read vdso_zx_socket_read
//go:linkname vdso_zx_socket_shutdown vdso_zx_socket_shutdown
//go:linkname vdso_zx_stream_create vdso_zx_stream_create
//go:linkname vdso_zx_stream_writev vdso_zx_stream_writev
//go:linkname vdso_zx_stream_writev_at vdso_zx_stream_writev_at
//go:linkname vdso_zx_stream_readv vdso_zx_stream_readv
//go:linkname vdso_zx_stream_readv_at vdso_zx_stream_readv_at
//go:linkname vdso_zx_stream_seek vdso_zx_stream_seek
//go:linkname vdso_zx_syscall_test_0 vdso_zx_syscall_test_0
//go:linkname vdso_zx_syscall_test_1 vdso_zx_syscall_test_1
//go:linkname vdso_zx_syscall_test_2 vdso_zx_syscall_test_2
//go:linkname vdso_zx_syscall_test_3 vdso_zx_syscall_test_3
//go:linkname vdso_zx_syscall_test_4 vdso_zx_syscall_test_4
//go:linkname vdso_zx_syscall_test_5 vdso_zx_syscall_test_5
//go:linkname vdso_zx_syscall_test_6 vdso_zx_syscall_test_6
//go:linkname vdso_zx_syscall_test_7 vdso_zx_syscall_test_7
//go:linkname vdso_zx_syscall_test_8 vdso_zx_syscall_test_8
//go:linkname vdso_zx_syscall_test_wrapper vdso_zx_syscall_test_wrapper
//go:linkname vdso_zx_syscall_test_handle_create vdso_zx_syscall_test_handle_create
//go:linkname vdso_zx_system_get_dcache_line_size vdso_zx_system_get_dcache_line_size
//go:linkname vdso_zx_system_get_num_cpus vdso_zx_system_get_num_cpus
//go:linkname vdso_zx_system_get_version_string vdso_zx_system_get_version_string
//go:linkname vdso_zx_system_get_physmem vdso_zx_system_get_physmem
//go:linkname vdso_zx_system_get_features vdso_zx_system_get_features
//go:linkname vdso_zx_system_get_event vdso_zx_system_get_event
//go:linkname vdso_zx_system_mexec vdso_zx_system_mexec
//go:linkname vdso_zx_system_mexec_payload_get vdso_zx_system_mexec_payload_get
//go:linkname vdso_zx_system_powerctl vdso_zx_system_powerctl
//go:linkname vdso_zx_task_suspend vdso_zx_task_suspend
//go:linkname vdso_zx_task_suspend_token vdso_zx_task_suspend_token
//go:linkname vdso_zx_task_create_exception_channel vdso_zx_task_create_exception_channel
//go:linkname vdso_zx_task_kill vdso_zx_task_kill
//go:linkname vdso_zx_thread_exit vdso_zx_thread_exit
//go:linkname vdso_zx_thread_create vdso_zx_thread_create
//go:linkname vdso_zx_thread_start vdso_zx_thread_start
//go:linkname vdso_zx_thread_read_state vdso_zx_thread_read_state
//go:linkname vdso_zx_thread_write_state vdso_zx_thread_write_state
//go:linkname vdso_zx_timer_create vdso_zx_timer_create
//go:linkname vdso_zx_timer_set vdso_zx_timer_set
//go:linkname vdso_zx_timer_cancel vdso_zx_timer_cancel
//go:linkname vdso_zx_vcpu_create vdso_zx_vcpu_create
//go:linkname vdso_zx_vcpu_resume vdso_zx_vcpu_resume
//go:linkname vdso_zx_vcpu_interrupt vdso_zx_vcpu_interrupt
//go:linkname vdso_zx_vcpu_read_state vdso_zx_vcpu_read_state
//go:linkname vdso_zx_vcpu_write_state vdso_zx_vcpu_write_state
//go:linkname vdso_zx_vmar_allocate vdso_zx_vmar_allocate
//go:linkname vdso_zx_vmar_destroy vdso_zx_vmar_destroy
//go:linkname vdso_zx_vmar_map vdso_zx_vmar_map
//go:linkname vdso_zx_vmar_unmap vdso_zx_vmar_unmap
//go:linkname vdso_zx_vmar_protect vdso_zx_vmar_protect
//go:linkname vdso_zx_vmar_op_range vdso_zx_vmar_op_range
//go:linkname vdso_zx_vmo_create vdso_zx_vmo_create
//go:linkname vdso_zx_vmo_read vdso_zx_vmo_read
//go:linkname vdso_zx_vmo_write vdso_zx_vmo_write
//go:linkname vdso_zx_vmo_get_size vdso_zx_vmo_get_size
//go:linkname vdso_zx_vmo_set_size vdso_zx_vmo_set_size
//go:linkname vdso_zx_vmo_op_range vdso_zx_vmo_op_range
//go:linkname vdso_zx_vmo_create_child vdso_zx_vmo_create_child
//go:linkname vdso_zx_vmo_set_cache_policy vdso_zx_vmo_set_cache_policy
//go:linkname vdso_zx_vmo_replace_as_executable vdso_zx_vmo_replace_as_executable
//go:linkname vdso_zx_vmo_create_contiguous vdso_zx_vmo_create_contiguous
//go:linkname vdso_zx_vmo_create_physical vdso_zx_vmo_create_physical
//go:noescape
//go:nosplit
func vdsoCall_zx_bti_create(iommu uint32, options uint32, bti_id uint64, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_bti_pin(handle uint32, options uint32, vmo uint32, offset uint64, size uint64, addrs unsafe.Pointer, num_addrs uint, pmt unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_bti_release_quarantine(handle uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_cache_flush(addr unsafe.Pointer, size uint, options uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_channel_create(options uint32, out0 unsafe.Pointer, out1 unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_channel_read(handle uint32, options uint32, bytes unsafe.Pointer, handles unsafe.Pointer, num_bytes uint32, num_handles uint32, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_channel_read_etc(handle uint32, options uint32, bytes unsafe.Pointer, handles unsafe.Pointer, num_bytes uint32, num_handles uint32, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_channel_write(handle uint32, options uint32, bytes unsafe.Pointer, num_bytes uint32, handles unsafe.Pointer, num_handles uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_channel_write_etc(handle uint32, options uint32, bytes unsafe.Pointer, num_bytes uint32, handles unsafe.Pointer, num_handles uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_channel_call_noretry(handle uint32, options uint32, deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_channel_call_finish(deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_channel_call(handle uint32, options uint32, deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_channel_call_etc_noretry(handle uint32, options uint32, deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_channel_call_etc_finish(deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_channel_call_etc(handle uint32, options uint32, deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_clock_get(clock_id uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_clock_get_monotonic() int64
//go:noescape
//go:nosplit
func vdsoCall_zx_clock_adjust(handle uint32, clock_id uint32, offset int64) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_clock_get_monotonic_via_kernel() int64
//go:noescape
//go:nosplit
func vdsoCall_zx_clock_create(options uint64, args unsafe.Pointer, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_clock_read(handle uint32, now unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_clock_get_details(handle uint32, options uint64, details unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_clock_update(handle uint32, options uint64, args unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_cprng_draw_once(buffer unsafe.Pointer, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_cprng_draw(buffer unsafe.Pointer, buffer_size uint)
//go:noescape
//go:nosplit
func vdsoCall_zx_cprng_add_entropy(buffer unsafe.Pointer, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_debug_read(handle uint32, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_debug_write(buffer unsafe.Pointer, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_debug_send_command(resource uint32, buffer unsafe.Pointer, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_debuglog_create(resource uint32, options uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_debuglog_write(handle uint32, options uint32, buffer unsafe.Pointer, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_debuglog_read(handle uint32, options uint32, buffer unsafe.Pointer, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_event_create(options uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_eventpair_create(options uint32, out0 unsafe.Pointer, out1 unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_exception_get_thread(handle uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_exception_get_process(handle uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_fifo_create(elem_count uint, elem_size uint, options uint32, out0 unsafe.Pointer, out1 unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_fifo_read(handle uint32, elem_size uint, data unsafe.Pointer, data_size uint, actual_count unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_fifo_write(handle uint32, elem_size uint, data unsafe.Pointer, count uint, actual_count unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_framebuffer_get_info(resource uint32, format unsafe.Pointer, width unsafe.Pointer, height unsafe.Pointer, stride unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_framebuffer_set_range(resource uint32, vmo uint32, len uint32, format uint32, width uint32, height uint32, stride uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_futex_wait(value_ptr unsafe.Pointer, current_value int32, new_futex_owner uint32, deadline int64) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_futex_wake(value_ptr unsafe.Pointer, wake_count uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_futex_requeue(value_ptr unsafe.Pointer, wake_count uint32, current_value int32, requeue_ptr unsafe.Pointer, requeue_count uint32, new_requeue_owner uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_futex_wake_single_owner(value_ptr unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_futex_requeue_single_owner(value_ptr unsafe.Pointer, current_value int32, requeue_ptr unsafe.Pointer, requeue_count uint32, new_requeue_owner uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_futex_get_owner(value_ptr unsafe.Pointer, koid unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_guest_create(resource uint32, options uint32, guest_handle unsafe.Pointer, vmar_handle unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_guest_set_trap(handle uint32, kind uint32, addr uintptr, size uint, port_handle uint32, key uint64) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_handle_close(handle uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_handle_close_many(handles unsafe.Pointer, num_handles uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_handle_duplicate(handle uint32, rights uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_handle_replace(handle uint32, rights uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_interrupt_create(src_obj uint32, src_num uint32, options uint32, out_handle unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_interrupt_bind(handle uint32, port_handle uint32, key uint64, options uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_interrupt_wait(handle uint32, out_timestamp unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_interrupt_destroy(handle uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_interrupt_ack(handle uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_interrupt_trigger(handle uint32, options uint32, timestamp int64) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_interrupt_bind_vcpu(handle uint32, vcpu uint32, options uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_iommu_create(resource uint32, typ uint32, desc unsafe.Pointer, desc_size uint, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_ioports_request(resource uint32, io_addr uint16, len uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_ioports_release(resource uint32, io_addr uint16, len uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_job_create(parent_job uint32, options uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_job_set_policy(handle uint32, options uint32, topic uint32, policy unsafe.Pointer, policy_size uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_job_set_critical(job uint32, options uint32, process uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_ktrace_read(handle uint32, data unsafe.Pointer, offset uint32, data_size uint, actual unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_ktrace_control(handle uint32, action uint32, options uint32, ptr unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_ktrace_write(handle uint32, id uint32, arg0 uint32, arg1 uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_nanosleep(deadline int64) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_ticks_get() int64
//go:noescape
//go:nosplit
func vdsoCall_zx_ticks_per_second() int64
//go:noescape
//go:nosplit
func vdsoCall_zx_deadline_after(nanoseconds int64) int64
//go:noescape
//go:nosplit
func vdsoCall_zx_vmar_unmap_handle_close_thread_exit(vmar_handle uint32, addr uintptr, size uint, close_handle uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_futex_wake_handle_close_thread_exit(value_ptr unsafe.Pointer, wake_count uint32, new_value int32, close_handle uint32)
//go:noescape
//go:nosplit
func vdsoCall_zx_ticks_get_via_kernel() int64
//go:noescape
//go:nosplit
func vdsoCall_zx_msi_allocate(handle uint32, count uint32, out_allocation unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_msi_create(handle uint32, options uint32, msi_id uint32, vmo uint32, vmo_offset uint, out_interrupt unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_mtrace_control(handle uint32, kind uint32, action uint32, options uint32, ptr unsafe.Pointer, ptr_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_object_wait_one(handle uint32, signals uint32, deadline int64, observed unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_object_wait_many(items unsafe.Pointer, num_items uint, deadline int64) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_object_wait_async(handle uint32, port uint32, key uint64, signals uint32, options uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_object_signal(handle uint32, clear_mask uint32, set_mask uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_object_signal_peer(handle uint32, clear_mask uint32, set_mask uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_object_get_property(handle uint32, property uint32, value unsafe.Pointer, value_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_object_set_property(handle uint32, property uint32, value unsafe.Pointer, value_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_object_get_info(handle uint32, topic uint32, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer, avail unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_object_get_child(handle uint32, koid uint64, rights uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_object_set_profile(handle uint32, profile uint32, options uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pager_create(options uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pager_create_vmo(pager uint32, options uint32, port uint32, key uint64, size uint64, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pager_detach_vmo(pager uint32, vmo uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pager_supply_pages(pager uint32, pager_vmo uint32, offset uint64, length uint64, aux_vmo uint32, aux_offset uint64) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pager_op_range(pager uint32, op uint32, pager_vmo uint32, offset uint64, length uint64, data uint64) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pc_firmware_tables(handle uint32, acpi_rsdp unsafe.Pointer, smbios unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pci_get_nth_device(handle uint32, index uint32, out_info unsafe.Pointer, out_handle unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pci_enable_bus_master(handle uint32, enable uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pci_reset_device(handle uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pci_config_read(handle uint32, offset uint16, width uint, out_val unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pci_config_write(handle uint32, offset uint16, width uint, val uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pci_cfg_pio_rw(handle uint32, bus uint8, dev uint8, funk uint8, offset uint8, val unsafe.Pointer, width uint, write uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pci_get_bar(handle uint32, bar_num uint32, out_bar unsafe.Pointer, out_handle unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pci_map_interrupt(handle uint32, which_irq int32, out_handle unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pci_query_irq_mode(handle uint32, mode uint32, out_max_irqs unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pci_set_irq_mode(handle uint32, mode uint32, requested_irq_count uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pci_init(handle uint32, init_buf unsafe.Pointer, len uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pci_add_subtract_io_range(handle uint32, mmio uint32, base uint64, len uint64, add uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_pmt_unpin(handle uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_port_create(options uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_port_queue(handle uint32, packet unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_port_wait(handle uint32, deadline int64, packet unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_port_cancel(handle uint32, source uint32, key uint64) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_process_exit(retcode int64)
//go:noescape
//go:nosplit
func vdsoCall_zx_process_create(job uint32, name unsafe.Pointer, name_size uint, options uint32, proc_handle unsafe.Pointer, vmar_handle unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_process_start(handle uint32, thread uint32, entry uintptr, stack uintptr, arg1 uint32, arg2 uintptr) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_process_read_memory(handle uint32, vaddr uintptr, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_process_write_memory(handle uint32, vaddr uintptr, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_profile_create(root_job uint32, options uint32, profile unsafe.Pointer, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_resource_create(parent_rsrc uint32, options uint32, base uint64, size uint, name unsafe.Pointer, name_size uint, resource_out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_smc_call(handle uint32, parameters unsafe.Pointer, out_smc_result unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_socket_create(options uint32, out0 unsafe.Pointer, out1 unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_socket_write(handle uint32, options uint32, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_socket_read(handle uint32, options uint32, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_socket_shutdown(handle uint32, options uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_stream_create(options uint32, vmo uint32, seek uint64, out_stream unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_stream_writev(handle uint32, options uint32, vector unsafe.Pointer, num_vector uint, actual unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_stream_writev_at(handle uint32, options uint32, offset uint64, vector unsafe.Pointer, num_vector uint, actual unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_stream_readv(handle uint32, options uint32, vector unsafe.Pointer, num_vector uint, actual unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_stream_readv_at(handle uint32, options uint32, offset uint64, vector unsafe.Pointer, num_vector uint, actual unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_stream_seek(handle uint32, whence uint32, offset int64, out_seek unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_syscall_test_0() int32
//go:noescape
//go:nosplit
func vdsoCall_zx_syscall_test_1(a int32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_syscall_test_2(a int32, b int32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_syscall_test_3(a int32, b int32, c int32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_syscall_test_4(a int32, b int32, c int32, d int32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_syscall_test_5(a int32, b int32, c int32, d int32, e int32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_syscall_test_6(a int32, b int32, c int32, d int32, e int32, f int32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_syscall_test_7(a int32, b int32, c int32, d int32, e int32, f int32, g_ int32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_syscall_test_8(a int32, b int32, c int32, d int32, e int32, f int32, g_ int32, h int32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_syscall_test_wrapper(a int32, b int32, c int32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_syscall_test_handle_create(return_value int32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_system_get_dcache_line_size() uint32
//go:noescape
//go:nosplit
func vdsoCall_zx_system_get_num_cpus() uint32
//go:noescape
//go:nosplit
func vdsoCall_zx_system_get_version_string() unsafe.Pointer
//go:noescape
//go:nosplit
func vdsoCall_zx_system_get_physmem() uint64
//go:noescape
//go:nosplit
func vdsoCall_zx_system_get_features(kind uint32, features unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_system_get_event(root_job uint32, kind uint32, event unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_system_mexec(resource uint32, kernel_vmo uint32, bootimage_vmo uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_system_mexec_payload_get(resource uint32, buffer unsafe.Pointer, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_system_powerctl(resource uint32, cmd uint32, arg unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_task_suspend(handle uint32, token unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_task_suspend_token(handle uint32, token unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_task_create_exception_channel(handle uint32, options uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_task_kill(handle uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_thread_exit()
//go:noescape
//go:nosplit
func vdsoCall_zx_thread_create(process uint32, name unsafe.Pointer, name_size uint, options uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_thread_start(handle uint32, thread_entry uintptr, stack uintptr, arg1 uintptr, arg2 uintptr) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_thread_read_state(handle uint32, kind uint32, buffer unsafe.Pointer, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_thread_write_state(handle uint32, kind uint32, buffer unsafe.Pointer, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_timer_create(options uint32, clock_id uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_timer_set(handle uint32, deadline int64, slack int64) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_timer_cancel(handle uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vcpu_create(guest uint32, options uint32, entry uintptr, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vcpu_resume(handle uint32, packet unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vcpu_interrupt(handle uint32, vector uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vcpu_read_state(handle uint32, kind uint32, buffer unsafe.Pointer, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vcpu_write_state(handle uint32, kind uint32, buffer unsafe.Pointer, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmar_allocate(parent_vmar uint32, options uint32, offset uint, size uint, child_vmar unsafe.Pointer, child_addr unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmar_destroy(handle uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmar_map(handle uint32, options uint32, vmar_offset uint, vmo uint32, vmo_offset uint64, len uint, mapped_addr unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmar_unmap(handle uint32, addr uintptr, len uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmar_protect(handle uint32, options uint32, addr uintptr, len uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmar_op_range(handle uint32, op uint32, address uintptr, size uint, buffer unsafe.Pointer, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmo_create(size uint64, options uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmo_read(handle uint32, buffer unsafe.Pointer, offset uint64, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmo_write(handle uint32, buffer unsafe.Pointer, offset uint64, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmo_get_size(handle uint32, size unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmo_set_size(handle uint32, size uint64) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmo_op_range(handle uint32, op uint32, offset uint64, size uint64, buffer unsafe.Pointer, buffer_size uint) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmo_create_child(handle uint32, options uint32, offset uint64, size uint64, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmo_set_cache_policy(handle uint32, cache_policy uint32) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmo_replace_as_executable(handle uint32, vmex uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmo_create_contiguous(bti uint32, size uint, alignment_log2 uint32, out unsafe.Pointer) int32
//go:noescape
//go:nosplit
func vdsoCall_zx_vmo_create_physical(resource uint32, paddr uintptr, size uint, out unsafe.Pointer) int32
var (
vdso_zx_bti_create uintptr
vdso_zx_bti_pin uintptr
vdso_zx_bti_release_quarantine uintptr
vdso_zx_cache_flush uintptr
vdso_zx_channel_create uintptr
vdso_zx_channel_read uintptr
vdso_zx_channel_read_etc uintptr
vdso_zx_channel_write uintptr
vdso_zx_channel_write_etc uintptr
vdso_zx_channel_call_noretry uintptr
vdso_zx_channel_call_finish uintptr
vdso_zx_channel_call uintptr
vdso_zx_channel_call_etc_noretry uintptr
vdso_zx_channel_call_etc_finish uintptr
vdso_zx_channel_call_etc uintptr
vdso_zx_clock_get uintptr
vdso_zx_clock_get_monotonic uintptr
vdso_zx_clock_adjust uintptr
vdso_zx_clock_get_monotonic_via_kernel uintptr
vdso_zx_clock_create uintptr
vdso_zx_clock_read uintptr
vdso_zx_clock_get_details uintptr
vdso_zx_clock_update uintptr
vdso_zx_cprng_draw_once uintptr
vdso_zx_cprng_draw uintptr
vdso_zx_cprng_add_entropy uintptr
vdso_zx_debug_read uintptr
vdso_zx_debug_write uintptr
vdso_zx_debug_send_command uintptr
vdso_zx_debuglog_create uintptr
vdso_zx_debuglog_write uintptr
vdso_zx_debuglog_read uintptr
vdso_zx_event_create uintptr
vdso_zx_eventpair_create uintptr
vdso_zx_exception_get_thread uintptr
vdso_zx_exception_get_process uintptr
vdso_zx_fifo_create uintptr
vdso_zx_fifo_read uintptr
vdso_zx_fifo_write uintptr
vdso_zx_framebuffer_get_info uintptr
vdso_zx_framebuffer_set_range uintptr
vdso_zx_futex_wait uintptr
vdso_zx_futex_wake uintptr
vdso_zx_futex_requeue uintptr
vdso_zx_futex_wake_single_owner uintptr
vdso_zx_futex_requeue_single_owner uintptr
vdso_zx_futex_get_owner uintptr
vdso_zx_guest_create uintptr
vdso_zx_guest_set_trap uintptr
vdso_zx_handle_close uintptr
vdso_zx_handle_close_many uintptr
vdso_zx_handle_duplicate uintptr
vdso_zx_handle_replace uintptr
vdso_zx_interrupt_create uintptr
vdso_zx_interrupt_bind uintptr
vdso_zx_interrupt_wait uintptr
vdso_zx_interrupt_destroy uintptr
vdso_zx_interrupt_ack uintptr
vdso_zx_interrupt_trigger uintptr
vdso_zx_interrupt_bind_vcpu uintptr
vdso_zx_iommu_create uintptr
vdso_zx_ioports_request uintptr
vdso_zx_ioports_release uintptr
vdso_zx_job_create uintptr
vdso_zx_job_set_policy uintptr
vdso_zx_job_set_critical uintptr
vdso_zx_ktrace_read uintptr
vdso_zx_ktrace_control uintptr
vdso_zx_ktrace_write uintptr
vdso_zx_nanosleep uintptr
vdso_zx_ticks_get uintptr
vdso_zx_ticks_per_second uintptr
vdso_zx_deadline_after uintptr
vdso_zx_vmar_unmap_handle_close_thread_exit uintptr
vdso_zx_futex_wake_handle_close_thread_exit uintptr
vdso_zx_ticks_get_via_kernel uintptr
vdso_zx_msi_allocate uintptr
vdso_zx_msi_create uintptr
vdso_zx_mtrace_control uintptr
vdso_zx_object_wait_one uintptr
vdso_zx_object_wait_many uintptr
vdso_zx_object_wait_async uintptr
vdso_zx_object_signal uintptr
vdso_zx_object_signal_peer uintptr
vdso_zx_object_get_property uintptr
vdso_zx_object_set_property uintptr
vdso_zx_object_get_info uintptr
vdso_zx_object_get_child uintptr
vdso_zx_object_set_profile uintptr
vdso_zx_pager_create uintptr
vdso_zx_pager_create_vmo uintptr
vdso_zx_pager_detach_vmo uintptr
vdso_zx_pager_supply_pages uintptr
vdso_zx_pager_op_range uintptr
vdso_zx_pc_firmware_tables uintptr
vdso_zx_pci_get_nth_device uintptr
vdso_zx_pci_enable_bus_master uintptr
vdso_zx_pci_reset_device uintptr
vdso_zx_pci_config_read uintptr
vdso_zx_pci_config_write uintptr
vdso_zx_pci_cfg_pio_rw uintptr
vdso_zx_pci_get_bar uintptr
vdso_zx_pci_map_interrupt uintptr
vdso_zx_pci_query_irq_mode uintptr
vdso_zx_pci_set_irq_mode uintptr
vdso_zx_pci_init uintptr
vdso_zx_pci_add_subtract_io_range uintptr
vdso_zx_pmt_unpin uintptr
vdso_zx_port_create uintptr
vdso_zx_port_queue uintptr
vdso_zx_port_wait uintptr
vdso_zx_port_cancel uintptr
vdso_zx_process_exit uintptr
vdso_zx_process_create uintptr
vdso_zx_process_start uintptr
vdso_zx_process_read_memory uintptr
vdso_zx_process_write_memory uintptr
vdso_zx_profile_create uintptr
vdso_zx_resource_create uintptr
vdso_zx_smc_call uintptr
vdso_zx_socket_create uintptr
vdso_zx_socket_write uintptr
vdso_zx_socket_read uintptr
vdso_zx_socket_shutdown uintptr
vdso_zx_stream_create uintptr
vdso_zx_stream_writev uintptr
vdso_zx_stream_writev_at uintptr
vdso_zx_stream_readv uintptr
vdso_zx_stream_readv_at uintptr
vdso_zx_stream_seek uintptr
vdso_zx_syscall_test_0 uintptr
vdso_zx_syscall_test_1 uintptr
vdso_zx_syscall_test_2 uintptr
vdso_zx_syscall_test_3 uintptr
vdso_zx_syscall_test_4 uintptr
vdso_zx_syscall_test_5 uintptr
vdso_zx_syscall_test_6 uintptr
vdso_zx_syscall_test_7 uintptr
vdso_zx_syscall_test_8 uintptr
vdso_zx_syscall_test_wrapper uintptr
vdso_zx_syscall_test_handle_create uintptr
vdso_zx_system_get_dcache_line_size uintptr
vdso_zx_system_get_num_cpus uintptr
vdso_zx_system_get_version_string uintptr
vdso_zx_system_get_physmem uintptr
vdso_zx_system_get_features uintptr
vdso_zx_system_get_event uintptr
vdso_zx_system_mexec uintptr
vdso_zx_system_mexec_payload_get uintptr
vdso_zx_system_powerctl uintptr
vdso_zx_task_suspend uintptr
vdso_zx_task_suspend_token uintptr
vdso_zx_task_create_exception_channel uintptr
vdso_zx_task_kill uintptr
vdso_zx_thread_exit uintptr
vdso_zx_thread_create uintptr
vdso_zx_thread_start uintptr
vdso_zx_thread_read_state uintptr
vdso_zx_thread_write_state uintptr
vdso_zx_timer_create uintptr
vdso_zx_timer_set uintptr
vdso_zx_timer_cancel uintptr
vdso_zx_vcpu_create uintptr
vdso_zx_vcpu_resume uintptr
vdso_zx_vcpu_interrupt uintptr
vdso_zx_vcpu_read_state uintptr
vdso_zx_vcpu_write_state uintptr
vdso_zx_vmar_allocate uintptr
vdso_zx_vmar_destroy uintptr
vdso_zx_vmar_map uintptr
vdso_zx_vmar_unmap uintptr
vdso_zx_vmar_protect uintptr
vdso_zx_vmar_op_range uintptr
vdso_zx_vmo_create uintptr
vdso_zx_vmo_read uintptr
vdso_zx_vmo_write uintptr
vdso_zx_vmo_get_size uintptr
vdso_zx_vmo_set_size uintptr
vdso_zx_vmo_op_range uintptr
vdso_zx_vmo_create_child uintptr
vdso_zx_vmo_set_cache_policy uintptr
vdso_zx_vmo_replace_as_executable uintptr
vdso_zx_vmo_create_contiguous uintptr
vdso_zx_vmo_create_physical uintptr
)
----- go-vdso-keys.go END -----
----- go-vdso-x86-calls.s START -----
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// WARNING: THIS FILE IS MACHINE GENERATED BY //tools/kazoo. DO NOT EDIT.
#include "go_asm.h"
#include "go_tls.h"
#include "textflag.h"
#include "funcdata.h"
// func vdsoCall_zx_bti_create(iommu uint32, options uint32, bti_id uint64, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_bti_create(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL iommu+0(FP), DI
MOVL options+4(FP), SI
MOVQ bti_id+8(FP), DX
MOVQ out+16(FP), CX
MOVQ vdso_zx_bti_create(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_bti_pin(handle uint32, options uint32, vmo uint32, offset uint64, size uint64, addrs unsafe.Pointer, num_addrs uint, pmt unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_bti_pin(SB),NOSPLIT,$40-60
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 56(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 56(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVL vmo+8(FP), DX
MOVQ offset+16(FP), CX
MOVQ size+24(FP), R8
MOVQ addrs+32(FP), R9
MOVQ num_addrs+40(FP), R12
MOVQ pmt+48(FP), R13
MOVQ SP, BP // BP is preserved across vsdo call by the x86-64 ABI
ANDQ $~15, SP // stack alignment for x86-64 ABI
PUSHQ R13
PUSHQ R12
MOVQ vdso_zx_bti_pin(SB), AX
CALL AX
POPQ R12
POPQ R13
MOVQ BP, SP
MOVL AX, ret+56(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_bti_release_quarantine(handle uint32) int32
TEXT runtime·vdsoCall_zx_bti_release_quarantine(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ vdso_zx_bti_release_quarantine(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_cache_flush(addr unsafe.Pointer, size uint, options uint32) int32
TEXT runtime·vdsoCall_zx_cache_flush(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ addr+0(FP), DI
MOVQ size+8(FP), SI
MOVL options+16(FP), DX
MOVQ vdso_zx_cache_flush(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_channel_create(options uint32, out0 unsafe.Pointer, out1 unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_create(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL options+0(FP), DI
MOVQ out0+8(FP), SI
MOVQ out1+16(FP), DX
MOVQ vdso_zx_channel_create(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_channel_read(handle uint32, options uint32, bytes unsafe.Pointer, handles unsafe.Pointer, num_bytes uint32, num_handles uint32, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_read(SB),NOSPLIT,$40-52
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 56(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 56(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ bytes+8(FP), DX
MOVQ handles+16(FP), CX
MOVL num_bytes+24(FP), R8
MOVL num_handles+28(FP), R9
MOVQ actual_bytes+32(FP), R12
MOVQ actual_handles+40(FP), R13
MOVQ SP, BP // BP is preserved across vsdo call by the x86-64 ABI
ANDQ $~15, SP // stack alignment for x86-64 ABI
PUSHQ R13
PUSHQ R12
MOVQ vdso_zx_channel_read(SB), AX
CALL AX
POPQ R12
POPQ R13
MOVQ BP, SP
MOVL AX, ret+48(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_channel_read_etc(handle uint32, options uint32, bytes unsafe.Pointer, handles unsafe.Pointer, num_bytes uint32, num_handles uint32, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_read_etc(SB),NOSPLIT,$40-52
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 56(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 56(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ bytes+8(FP), DX
MOVQ handles+16(FP), CX
MOVL num_bytes+24(FP), R8
MOVL num_handles+28(FP), R9
MOVQ actual_bytes+32(FP), R12
MOVQ actual_handles+40(FP), R13
MOVQ SP, BP // BP is preserved across vsdo call by the x86-64 ABI
ANDQ $~15, SP // stack alignment for x86-64 ABI
PUSHQ R13
PUSHQ R12
MOVQ vdso_zx_channel_read_etc(SB), AX
CALL AX
POPQ R12
POPQ R13
MOVQ BP, SP
MOVL AX, ret+48(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_channel_write(handle uint32, options uint32, bytes unsafe.Pointer, num_bytes uint32, handles unsafe.Pointer, num_handles uint32) int32
TEXT runtime·vdsoCall_zx_channel_write(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ bytes+8(FP), DX
MOVL num_bytes+16(FP), CX
MOVQ handles+24(FP), R8
MOVL num_handles+32(FP), R9
MOVQ vdso_zx_channel_write(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_channel_write_etc(handle uint32, options uint32, bytes unsafe.Pointer, num_bytes uint32, handles unsafe.Pointer, num_handles uint32) int32
TEXT runtime·vdsoCall_zx_channel_write_etc(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ bytes+8(FP), DX
MOVL num_bytes+16(FP), CX
MOVQ handles+24(FP), R8
MOVL num_handles+32(FP), R9
MOVQ vdso_zx_channel_write_etc(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_channel_call_noretry(handle uint32, options uint32, deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_call_noretry(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ deadline+8(FP), DX
MOVQ args+16(FP), CX
MOVQ actual_bytes+24(FP), R8
MOVQ actual_handles+32(FP), R9
MOVQ vdso_zx_channel_call_noretry(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_channel_call_finish(deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_call_finish(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ deadline+0(FP), DI
MOVQ args+8(FP), SI
MOVQ actual_bytes+16(FP), DX
MOVQ actual_handles+24(FP), CX
MOVQ vdso_zx_channel_call_finish(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_channel_call(handle uint32, options uint32, deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_call(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
CALL runtime·entersyscall(SB)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ deadline+8(FP), DX
MOVQ args+16(FP), CX
MOVQ actual_bytes+24(FP), R8
MOVQ actual_handles+32(FP), R9
MOVQ vdso_zx_channel_call(SB), AX
CALL AX
MOVL AX, ret+40(FP)
CALL runtime·exitsyscall(SB)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_channel_call_etc_noretry(handle uint32, options uint32, deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_call_etc_noretry(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ deadline+8(FP), DX
MOVQ args+16(FP), CX
MOVQ actual_bytes+24(FP), R8
MOVQ actual_handles+32(FP), R9
MOVQ vdso_zx_channel_call_etc_noretry(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_channel_call_etc_finish(deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_call_etc_finish(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ deadline+0(FP), DI
MOVQ args+8(FP), SI
MOVQ actual_bytes+16(FP), DX
MOVQ actual_handles+24(FP), CX
MOVQ vdso_zx_channel_call_etc_finish(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_channel_call_etc(handle uint32, options uint32, deadline int64, args unsafe.Pointer, actual_bytes unsafe.Pointer, actual_handles unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_channel_call_etc(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
CALL runtime·entersyscall(SB)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ deadline+8(FP), DX
MOVQ args+16(FP), CX
MOVQ actual_bytes+24(FP), R8
MOVQ actual_handles+32(FP), R9
MOVQ vdso_zx_channel_call_etc(SB), AX
CALL AX
MOVL AX, ret+40(FP)
CALL runtime·exitsyscall(SB)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_clock_get(clock_id uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_clock_get(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL clock_id+0(FP), DI
MOVQ out+8(FP), SI
MOVQ vdso_zx_clock_get(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_clock_get_monotonic() int64
TEXT runtime·vdsoCall_zx_clock_get_monotonic(SB),NOSPLIT,$8-8
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ vdso_zx_clock_get_monotonic(SB), AX
CALL AX
MOVQ AX, ret+0(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_clock_adjust(handle uint32, clock_id uint32, offset int64) int32
TEXT runtime·vdsoCall_zx_clock_adjust(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL clock_id+4(FP), SI
MOVQ offset+8(FP), DX
MOVQ vdso_zx_clock_adjust(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_clock_get_monotonic_via_kernel() int64
TEXT runtime·vdsoCall_zx_clock_get_monotonic_via_kernel(SB),NOSPLIT,$8-8
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ vdso_zx_clock_get_monotonic_via_kernel(SB), AX
CALL AX
MOVQ AX, ret+0(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_clock_create(options uint64, args unsafe.Pointer, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_clock_create(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ options+0(FP), DI
MOVQ args+8(FP), SI
MOVQ out+16(FP), DX
MOVQ vdso_zx_clock_create(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_clock_read(handle uint32, now unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_clock_read(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ now+8(FP), SI
MOVQ vdso_zx_clock_read(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_clock_get_details(handle uint32, options uint64, details unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_clock_get_details(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ options+8(FP), SI
MOVQ details+16(FP), DX
MOVQ vdso_zx_clock_get_details(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_clock_update(handle uint32, options uint64, args unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_clock_update(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ options+8(FP), SI
MOVQ args+16(FP), DX
MOVQ vdso_zx_clock_update(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_cprng_draw_once(buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_cprng_draw_once(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ buffer+0(FP), DI
MOVQ buffer_size+8(FP), SI
MOVQ vdso_zx_cprng_draw_once(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_cprng_draw(buffer unsafe.Pointer, buffer_size uint)
TEXT runtime·vdsoCall_zx_cprng_draw(SB),NOSPLIT,$8-16
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ buffer+0(FP), DI
MOVQ buffer_size+8(FP), SI
MOVQ vdso_zx_cprng_draw(SB), AX
CALL AX
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_cprng_add_entropy(buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_cprng_add_entropy(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ buffer+0(FP), DI
MOVQ buffer_size+8(FP), SI
MOVQ vdso_zx_cprng_add_entropy(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_debug_read(handle uint32, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_debug_read(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ buffer+8(FP), SI
MOVQ buffer_size+16(FP), DX
MOVQ actual+24(FP), CX
MOVQ vdso_zx_debug_read(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_debug_write(buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_debug_write(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ buffer+0(FP), DI
MOVQ buffer_size+8(FP), SI
MOVQ vdso_zx_debug_write(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_debug_send_command(resource uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_debug_send_command(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL resource+0(FP), DI
MOVQ buffer+8(FP), SI
MOVQ buffer_size+16(FP), DX
MOVQ vdso_zx_debug_send_command(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_debuglog_create(resource uint32, options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_debuglog_create(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL resource+0(FP), DI
MOVL options+4(FP), SI
MOVQ out+8(FP), DX
MOVQ vdso_zx_debuglog_create(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_debuglog_write(handle uint32, options uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_debuglog_write(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ buffer+8(FP), DX
MOVQ buffer_size+16(FP), CX
MOVQ vdso_zx_debuglog_write(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_debuglog_read(handle uint32, options uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_debuglog_read(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ buffer+8(FP), DX
MOVQ buffer_size+16(FP), CX
MOVQ vdso_zx_debuglog_read(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_event_create(options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_event_create(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL options+0(FP), DI
MOVQ out+8(FP), SI
MOVQ vdso_zx_event_create(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_eventpair_create(options uint32, out0 unsafe.Pointer, out1 unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_eventpair_create(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL options+0(FP), DI
MOVQ out0+8(FP), SI
MOVQ out1+16(FP), DX
MOVQ vdso_zx_eventpair_create(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_exception_get_thread(handle uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_exception_get_thread(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ out+8(FP), SI
MOVQ vdso_zx_exception_get_thread(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_exception_get_process(handle uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_exception_get_process(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ out+8(FP), SI
MOVQ vdso_zx_exception_get_process(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_fifo_create(elem_count uint, elem_size uint, options uint32, out0 unsafe.Pointer, out1 unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_fifo_create(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ elem_count+0(FP), DI
MOVQ elem_size+8(FP), SI
MOVL options+16(FP), DX
MOVQ out0+24(FP), CX
MOVQ out1+32(FP), R8
MOVQ vdso_zx_fifo_create(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_fifo_read(handle uint32, elem_size uint, data unsafe.Pointer, data_size uint, actual_count unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_fifo_read(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ elem_size+8(FP), SI
MOVQ data+16(FP), DX
MOVQ data_size+24(FP), CX
MOVQ actual_count+32(FP), R8
MOVQ vdso_zx_fifo_read(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_fifo_write(handle uint32, elem_size uint, data unsafe.Pointer, count uint, actual_count unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_fifo_write(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ elem_size+8(FP), SI
MOVQ data+16(FP), DX
MOVQ count+24(FP), CX
MOVQ actual_count+32(FP), R8
MOVQ vdso_zx_fifo_write(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_framebuffer_get_info(resource uint32, format unsafe.Pointer, width unsafe.Pointer, height unsafe.Pointer, stride unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_framebuffer_get_info(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL resource+0(FP), DI
MOVQ format+8(FP), SI
MOVQ width+16(FP), DX
MOVQ height+24(FP), CX
MOVQ stride+32(FP), R8
MOVQ vdso_zx_framebuffer_get_info(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_framebuffer_set_range(resource uint32, vmo uint32, len uint32, format uint32, width uint32, height uint32, stride uint32) int32
TEXT runtime·vdsoCall_zx_framebuffer_set_range(SB),NOSPLIT,$32-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 48(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 48(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL resource+0(FP), DI
MOVL vmo+4(FP), SI
MOVL len+8(FP), DX
MOVL format+12(FP), CX
MOVL width+16(FP), R8
MOVL height+20(FP), R9
MOVL stride+24(FP), R12
MOVQ SP, BP // BP is preserved across vsdo call by the x86-64 ABI
ANDQ $~15, SP // stack alignment for x86-64 ABI
PUSHQ R12
MOVQ vdso_zx_framebuffer_set_range(SB), AX
CALL AX
POPQ R12
MOVQ BP, SP
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_futex_wait(value_ptr unsafe.Pointer, current_value int32, new_futex_owner uint32, deadline int64) int32
TEXT runtime·vdsoCall_zx_futex_wait(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ value_ptr+0(FP), DI
MOVL current_value+8(FP), SI
MOVL new_futex_owner+12(FP), DX
MOVQ deadline+16(FP), CX
MOVQ vdso_zx_futex_wait(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_futex_wake(value_ptr unsafe.Pointer, wake_count uint32) int32
TEXT runtime·vdsoCall_zx_futex_wake(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ value_ptr+0(FP), DI
MOVL wake_count+8(FP), SI
MOVQ vdso_zx_futex_wake(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_futex_requeue(value_ptr unsafe.Pointer, wake_count uint32, current_value int32, requeue_ptr unsafe.Pointer, requeue_count uint32, new_requeue_owner uint32) int32
TEXT runtime·vdsoCall_zx_futex_requeue(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ value_ptr+0(FP), DI
MOVL wake_count+8(FP), SI
MOVL current_value+12(FP), DX
MOVQ requeue_ptr+16(FP), CX
MOVL requeue_count+24(FP), R8
MOVL new_requeue_owner+28(FP), R9
MOVQ vdso_zx_futex_requeue(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_futex_wake_single_owner(value_ptr unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_futex_wake_single_owner(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ value_ptr+0(FP), DI
MOVQ vdso_zx_futex_wake_single_owner(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_futex_requeue_single_owner(value_ptr unsafe.Pointer, current_value int32, requeue_ptr unsafe.Pointer, requeue_count uint32, new_requeue_owner uint32) int32
TEXT runtime·vdsoCall_zx_futex_requeue_single_owner(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ value_ptr+0(FP), DI
MOVL current_value+8(FP), SI
MOVQ requeue_ptr+16(FP), DX
MOVL requeue_count+24(FP), CX
MOVL new_requeue_owner+28(FP), R8
MOVQ vdso_zx_futex_requeue_single_owner(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_futex_get_owner(value_ptr unsafe.Pointer, koid unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_futex_get_owner(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ value_ptr+0(FP), DI
MOVQ koid+8(FP), SI
MOVQ vdso_zx_futex_get_owner(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_guest_create(resource uint32, options uint32, guest_handle unsafe.Pointer, vmar_handle unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_guest_create(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL resource+0(FP), DI
MOVL options+4(FP), SI
MOVQ guest_handle+8(FP), DX
MOVQ vmar_handle+16(FP), CX
MOVQ vdso_zx_guest_create(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_guest_set_trap(handle uint32, kind uint32, addr uintptr, size uint, port_handle uint32, key uint64) int32
TEXT runtime·vdsoCall_zx_guest_set_trap(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL kind+4(FP), SI
MOVQ addr+8(FP), DX
MOVQ size+16(FP), CX
MOVL port_handle+24(FP), R8
MOVQ key+32(FP), R9
MOVQ vdso_zx_guest_set_trap(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_handle_close(handle uint32) int32
TEXT runtime·vdsoCall_zx_handle_close(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ vdso_zx_handle_close(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_handle_close_many(handles unsafe.Pointer, num_handles uint) int32
TEXT runtime·vdsoCall_zx_handle_close_many(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ handles+0(FP), DI
MOVQ num_handles+8(FP), SI
MOVQ vdso_zx_handle_close_many(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_handle_duplicate(handle uint32, rights uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_handle_duplicate(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL rights+4(FP), SI
MOVQ out+8(FP), DX
MOVQ vdso_zx_handle_duplicate(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_handle_replace(handle uint32, rights uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_handle_replace(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL rights+4(FP), SI
MOVQ out+8(FP), DX
MOVQ vdso_zx_handle_replace(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_interrupt_create(src_obj uint32, src_num uint32, options uint32, out_handle unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_interrupt_create(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL src_obj+0(FP), DI
MOVL src_num+4(FP), SI
MOVL options+8(FP), DX
MOVQ out_handle+16(FP), CX
MOVQ vdso_zx_interrupt_create(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_interrupt_bind(handle uint32, port_handle uint32, key uint64, options uint32) int32
TEXT runtime·vdsoCall_zx_interrupt_bind(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL port_handle+4(FP), SI
MOVQ key+8(FP), DX
MOVL options+16(FP), CX
MOVQ vdso_zx_interrupt_bind(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_interrupt_wait(handle uint32, out_timestamp unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_interrupt_wait(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
CALL runtime·entersyscall(SB)
MOVL handle+0(FP), DI
MOVQ out_timestamp+8(FP), SI
MOVQ vdso_zx_interrupt_wait(SB), AX
CALL AX
MOVL AX, ret+16(FP)
CALL runtime·exitsyscall(SB)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_interrupt_destroy(handle uint32) int32
TEXT runtime·vdsoCall_zx_interrupt_destroy(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ vdso_zx_interrupt_destroy(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_interrupt_ack(handle uint32) int32
TEXT runtime·vdsoCall_zx_interrupt_ack(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ vdso_zx_interrupt_ack(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_interrupt_trigger(handle uint32, options uint32, timestamp int64) int32
TEXT runtime·vdsoCall_zx_interrupt_trigger(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ timestamp+8(FP), DX
MOVQ vdso_zx_interrupt_trigger(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_interrupt_bind_vcpu(handle uint32, vcpu uint32, options uint32) int32
TEXT runtime·vdsoCall_zx_interrupt_bind_vcpu(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL vcpu+4(FP), SI
MOVL options+8(FP), DX
MOVQ vdso_zx_interrupt_bind_vcpu(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_iommu_create(resource uint32, typ uint32, desc unsafe.Pointer, desc_size uint, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_iommu_create(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL resource+0(FP), DI
MOVL typ+4(FP), SI
MOVQ desc+8(FP), DX
MOVQ desc_size+16(FP), CX
MOVQ out+24(FP), R8
MOVQ vdso_zx_iommu_create(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_ioports_request(resource uint32, io_addr uint16, len uint32) int32
TEXT runtime·vdsoCall_zx_ioports_request(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL resource+0(FP), DI
MOVQ io_addr+4(FP), SI
MOVL len+8(FP), DX
MOVQ vdso_zx_ioports_request(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_ioports_release(resource uint32, io_addr uint16, len uint32) int32
TEXT runtime·vdsoCall_zx_ioports_release(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL resource+0(FP), DI
MOVQ io_addr+4(FP), SI
MOVL len+8(FP), DX
MOVQ vdso_zx_ioports_release(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_job_create(parent_job uint32, options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_job_create(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL parent_job+0(FP), DI
MOVL options+4(FP), SI
MOVQ out+8(FP), DX
MOVQ vdso_zx_job_create(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_job_set_policy(handle uint32, options uint32, topic uint32, policy unsafe.Pointer, policy_size uint32) int32
TEXT runtime·vdsoCall_zx_job_set_policy(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVL topic+8(FP), DX
MOVQ policy+16(FP), CX
MOVL policy_size+24(FP), R8
MOVQ vdso_zx_job_set_policy(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_job_set_critical(job uint32, options uint32, process uint32) int32
TEXT runtime·vdsoCall_zx_job_set_critical(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL job+0(FP), DI
MOVL options+4(FP), SI
MOVL process+8(FP), DX
MOVQ vdso_zx_job_set_critical(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_ktrace_read(handle uint32, data unsafe.Pointer, offset uint32, data_size uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_ktrace_read(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ data+8(FP), SI
MOVL offset+16(FP), DX
MOVQ data_size+24(FP), CX
MOVQ actual+32(FP), R8
MOVQ vdso_zx_ktrace_read(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_ktrace_control(handle uint32, action uint32, options uint32, ptr unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_ktrace_control(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL action+4(FP), SI
MOVL options+8(FP), DX
MOVQ ptr+16(FP), CX
MOVQ vdso_zx_ktrace_control(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_ktrace_write(handle uint32, id uint32, arg0 uint32, arg1 uint32) int32
TEXT runtime·vdsoCall_zx_ktrace_write(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL id+4(FP), SI
MOVL arg0+8(FP), DX
MOVL arg1+12(FP), CX
MOVQ vdso_zx_ktrace_write(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_nanosleep(deadline int64) int32
TEXT runtime·vdsoCall_zx_nanosleep(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ deadline+0(FP), DI
MOVQ vdso_zx_nanosleep(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_ticks_get() int64
TEXT runtime·vdsoCall_zx_ticks_get(SB),NOSPLIT,$8-8
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ vdso_zx_ticks_get(SB), AX
CALL AX
MOVQ AX, ret+0(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_ticks_per_second() int64
TEXT runtime·vdsoCall_zx_ticks_per_second(SB),NOSPLIT,$8-8
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ vdso_zx_ticks_per_second(SB), AX
CALL AX
MOVQ AX, ret+0(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_deadline_after(nanoseconds int64) int64
TEXT runtime·vdsoCall_zx_deadline_after(SB),NOSPLIT,$8-16
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ nanoseconds+0(FP), DI
MOVQ vdso_zx_deadline_after(SB), AX
CALL AX
MOVQ AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmar_unmap_handle_close_thread_exit(vmar_handle uint32, addr uintptr, size uint, close_handle uint32) int32
TEXT runtime·vdsoCall_zx_vmar_unmap_handle_close_thread_exit(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL vmar_handle+0(FP), DI
MOVQ addr+8(FP), SI
MOVQ size+16(FP), DX
MOVL close_handle+24(FP), CX
MOVQ vdso_zx_vmar_unmap_handle_close_thread_exit(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_futex_wake_handle_close_thread_exit(value_ptr unsafe.Pointer, wake_count uint32, new_value int32, close_handle uint32)
TEXT runtime·vdsoCall_zx_futex_wake_handle_close_thread_exit(SB),NOSPLIT,$8-24
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ value_ptr+0(FP), DI
MOVL wake_count+8(FP), SI
MOVL new_value+12(FP), DX
MOVL close_handle+16(FP), CX
MOVQ vdso_zx_futex_wake_handle_close_thread_exit(SB), AX
CALL AX
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_ticks_get_via_kernel() int64
TEXT runtime·vdsoCall_zx_ticks_get_via_kernel(SB),NOSPLIT,$8-8
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ vdso_zx_ticks_get_via_kernel(SB), AX
CALL AX
MOVQ AX, ret+0(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_msi_allocate(handle uint32, count uint32, out_allocation unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_msi_allocate(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL count+4(FP), SI
MOVQ out_allocation+8(FP), DX
MOVQ vdso_zx_msi_allocate(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_msi_create(handle uint32, options uint32, msi_id uint32, vmo uint32, vmo_offset uint, out_interrupt unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_msi_create(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVL msi_id+8(FP), DX
MOVL vmo+12(FP), CX
MOVQ vmo_offset+16(FP), R8
MOVQ out_interrupt+24(FP), R9
MOVQ vdso_zx_msi_create(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_mtrace_control(handle uint32, kind uint32, action uint32, options uint32, ptr unsafe.Pointer, ptr_size uint) int32
TEXT runtime·vdsoCall_zx_mtrace_control(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL kind+4(FP), SI
MOVL action+8(FP), DX
MOVL options+12(FP), CX
MOVQ ptr+16(FP), R8
MOVQ ptr_size+24(FP), R9
MOVQ vdso_zx_mtrace_control(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_object_wait_one(handle uint32, signals uint32, deadline int64, observed unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_object_wait_one(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
CALL runtime·entersyscall(SB)
MOVL handle+0(FP), DI
MOVL signals+4(FP), SI
MOVQ deadline+8(FP), DX
MOVQ observed+16(FP), CX
MOVQ vdso_zx_object_wait_one(SB), AX
CALL AX
MOVL AX, ret+24(FP)
CALL runtime·exitsyscall(SB)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_object_wait_many(items unsafe.Pointer, num_items uint, deadline int64) int32
TEXT runtime·vdsoCall_zx_object_wait_many(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
CALL runtime·entersyscall(SB)
MOVQ items+0(FP), DI
MOVQ num_items+8(FP), SI
MOVQ deadline+16(FP), DX
MOVQ vdso_zx_object_wait_many(SB), AX
CALL AX
MOVL AX, ret+24(FP)
CALL runtime·exitsyscall(SB)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_object_wait_async(handle uint32, port uint32, key uint64, signals uint32, options uint32) int32
TEXT runtime·vdsoCall_zx_object_wait_async(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL port+4(FP), SI
MOVQ key+8(FP), DX
MOVL signals+16(FP), CX
MOVL options+20(FP), R8
MOVQ vdso_zx_object_wait_async(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_object_signal(handle uint32, clear_mask uint32, set_mask uint32) int32
TEXT runtime·vdsoCall_zx_object_signal(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL clear_mask+4(FP), SI
MOVL set_mask+8(FP), DX
MOVQ vdso_zx_object_signal(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_object_signal_peer(handle uint32, clear_mask uint32, set_mask uint32) int32
TEXT runtime·vdsoCall_zx_object_signal_peer(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL clear_mask+4(FP), SI
MOVL set_mask+8(FP), DX
MOVQ vdso_zx_object_signal_peer(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_object_get_property(handle uint32, property uint32, value unsafe.Pointer, value_size uint) int32
TEXT runtime·vdsoCall_zx_object_get_property(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL property+4(FP), SI
MOVQ value+8(FP), DX
MOVQ value_size+16(FP), CX
MOVQ vdso_zx_object_get_property(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_object_set_property(handle uint32, property uint32, value unsafe.Pointer, value_size uint) int32
TEXT runtime·vdsoCall_zx_object_set_property(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL property+4(FP), SI
MOVQ value+8(FP), DX
MOVQ value_size+16(FP), CX
MOVQ vdso_zx_object_set_property(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_object_get_info(handle uint32, topic uint32, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer, avail unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_object_get_info(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL topic+4(FP), SI
MOVQ buffer+8(FP), DX
MOVQ buffer_size+16(FP), CX
MOVQ actual+24(FP), R8
MOVQ avail+32(FP), R9
MOVQ vdso_zx_object_get_info(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_object_get_child(handle uint32, koid uint64, rights uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_object_get_child(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ koid+8(FP), SI
MOVL rights+16(FP), DX
MOVQ out+24(FP), CX
MOVQ vdso_zx_object_get_child(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_object_set_profile(handle uint32, profile uint32, options uint32) int32
TEXT runtime·vdsoCall_zx_object_set_profile(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL profile+4(FP), SI
MOVL options+8(FP), DX
MOVQ vdso_zx_object_set_profile(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pager_create(options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pager_create(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL options+0(FP), DI
MOVQ out+8(FP), SI
MOVQ vdso_zx_pager_create(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pager_create_vmo(pager uint32, options uint32, port uint32, key uint64, size uint64, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pager_create_vmo(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL pager+0(FP), DI
MOVL options+4(FP), SI
MOVL port+8(FP), DX
MOVQ key+16(FP), CX
MOVQ size+24(FP), R8
MOVQ out+32(FP), R9
MOVQ vdso_zx_pager_create_vmo(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pager_detach_vmo(pager uint32, vmo uint32) int32
TEXT runtime·vdsoCall_zx_pager_detach_vmo(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL pager+0(FP), DI
MOVL vmo+4(FP), SI
MOVQ vdso_zx_pager_detach_vmo(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pager_supply_pages(pager uint32, pager_vmo uint32, offset uint64, length uint64, aux_vmo uint32, aux_offset uint64) int32
TEXT runtime·vdsoCall_zx_pager_supply_pages(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL pager+0(FP), DI
MOVL pager_vmo+4(FP), SI
MOVQ offset+8(FP), DX
MOVQ length+16(FP), CX
MOVL aux_vmo+24(FP), R8
MOVQ aux_offset+32(FP), R9
MOVQ vdso_zx_pager_supply_pages(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pager_op_range(pager uint32, op uint32, pager_vmo uint32, offset uint64, length uint64, data uint64) int32
TEXT runtime·vdsoCall_zx_pager_op_range(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL pager+0(FP), DI
MOVL op+4(FP), SI
MOVL pager_vmo+8(FP), DX
MOVQ offset+16(FP), CX
MOVQ length+24(FP), R8
MOVQ data+32(FP), R9
MOVQ vdso_zx_pager_op_range(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pc_firmware_tables(handle uint32, acpi_rsdp unsafe.Pointer, smbios unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pc_firmware_tables(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ acpi_rsdp+8(FP), SI
MOVQ smbios+16(FP), DX
MOVQ vdso_zx_pc_firmware_tables(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pci_get_nth_device(handle uint32, index uint32, out_info unsafe.Pointer, out_handle unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pci_get_nth_device(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL index+4(FP), SI
MOVQ out_info+8(FP), DX
MOVQ out_handle+16(FP), CX
MOVQ vdso_zx_pci_get_nth_device(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pci_enable_bus_master(handle uint32, enable uint32) int32
TEXT runtime·vdsoCall_zx_pci_enable_bus_master(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL enable+4(FP), SI
MOVQ vdso_zx_pci_enable_bus_master(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pci_reset_device(handle uint32) int32
TEXT runtime·vdsoCall_zx_pci_reset_device(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ vdso_zx_pci_reset_device(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pci_config_read(handle uint32, offset uint16, width uint, out_val unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pci_config_read(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ offset+4(FP), SI
MOVQ width+8(FP), DX
MOVQ out_val+16(FP), CX
MOVQ vdso_zx_pci_config_read(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pci_config_write(handle uint32, offset uint16, width uint, val uint32) int32
TEXT runtime·vdsoCall_zx_pci_config_write(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ offset+4(FP), SI
MOVQ width+8(FP), DX
MOVL val+16(FP), CX
MOVQ vdso_zx_pci_config_write(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pci_cfg_pio_rw(handle uint32, bus uint8, dev uint8, funk uint8, offset uint8, val unsafe.Pointer, width uint, write uint32) int32
TEXT runtime·vdsoCall_zx_pci_cfg_pio_rw(SB),NOSPLIT,$40-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 56(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 56(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ bus+4(FP), SI
MOVQ dev+5(FP), DX
MOVQ funk+6(FP), CX
MOVQ offset+7(FP), R8
MOVQ val+8(FP), R9
MOVQ width+16(FP), R12
MOVL write+24(FP), R13
MOVQ SP, BP // BP is preserved across vsdo call by the x86-64 ABI
ANDQ $~15, SP // stack alignment for x86-64 ABI
PUSHQ R13
PUSHQ R12
MOVQ vdso_zx_pci_cfg_pio_rw(SB), AX
CALL AX
POPQ R12
POPQ R13
MOVQ BP, SP
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pci_get_bar(handle uint32, bar_num uint32, out_bar unsafe.Pointer, out_handle unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pci_get_bar(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL bar_num+4(FP), SI
MOVQ out_bar+8(FP), DX
MOVQ out_handle+16(FP), CX
MOVQ vdso_zx_pci_get_bar(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pci_map_interrupt(handle uint32, which_irq int32, out_handle unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pci_map_interrupt(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL which_irq+4(FP), SI
MOVQ out_handle+8(FP), DX
MOVQ vdso_zx_pci_map_interrupt(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pci_query_irq_mode(handle uint32, mode uint32, out_max_irqs unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_pci_query_irq_mode(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL mode+4(FP), SI
MOVQ out_max_irqs+8(FP), DX
MOVQ vdso_zx_pci_query_irq_mode(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pci_set_irq_mode(handle uint32, mode uint32, requested_irq_count uint32) int32
TEXT runtime·vdsoCall_zx_pci_set_irq_mode(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL mode+4(FP), SI
MOVL requested_irq_count+8(FP), DX
MOVQ vdso_zx_pci_set_irq_mode(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pci_init(handle uint32, init_buf unsafe.Pointer, len uint32) int32
TEXT runtime·vdsoCall_zx_pci_init(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ init_buf+8(FP), SI
MOVL len+16(FP), DX
MOVQ vdso_zx_pci_init(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pci_add_subtract_io_range(handle uint32, mmio uint32, base uint64, len uint64, add uint32) int32
TEXT runtime·vdsoCall_zx_pci_add_subtract_io_range(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL mmio+4(FP), SI
MOVQ base+8(FP), DX
MOVQ len+16(FP), CX
MOVL add+24(FP), R8
MOVQ vdso_zx_pci_add_subtract_io_range(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_pmt_unpin(handle uint32) int32
TEXT runtime·vdsoCall_zx_pmt_unpin(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ vdso_zx_pmt_unpin(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_port_create(options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_port_create(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL options+0(FP), DI
MOVQ out+8(FP), SI
MOVQ vdso_zx_port_create(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_port_queue(handle uint32, packet unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_port_queue(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ packet+8(FP), SI
MOVQ vdso_zx_port_queue(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_port_wait(handle uint32, deadline int64, packet unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_port_wait(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
CALL runtime·entersyscall(SB)
MOVL handle+0(FP), DI
MOVQ deadline+8(FP), SI
MOVQ packet+16(FP), DX
MOVQ vdso_zx_port_wait(SB), AX
CALL AX
MOVL AX, ret+24(FP)
CALL runtime·exitsyscall(SB)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_port_cancel(handle uint32, source uint32, key uint64) int32
TEXT runtime·vdsoCall_zx_port_cancel(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL source+4(FP), SI
MOVQ key+8(FP), DX
MOVQ vdso_zx_port_cancel(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_process_exit(retcode int64)
TEXT runtime·vdsoCall_zx_process_exit(SB),NOSPLIT,$8-8
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ retcode+0(FP), DI
MOVQ vdso_zx_process_exit(SB), AX
CALL AX
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_process_create(job uint32, name unsafe.Pointer, name_size uint, options uint32, proc_handle unsafe.Pointer, vmar_handle unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_process_create(SB),NOSPLIT,$8-52
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL job+0(FP), DI
MOVQ name+8(FP), SI
MOVQ name_size+16(FP), DX
MOVL options+24(FP), CX
MOVQ proc_handle+32(FP), R8
MOVQ vmar_handle+40(FP), R9
MOVQ vdso_zx_process_create(SB), AX
CALL AX
MOVL AX, ret+48(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_process_start(handle uint32, thread uint32, entry uintptr, stack uintptr, arg1 uint32, arg2 uintptr) int32
TEXT runtime·vdsoCall_zx_process_start(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL thread+4(FP), SI
MOVQ entry+8(FP), DX
MOVQ stack+16(FP), CX
MOVL arg1+24(FP), R8
MOVQ arg2+32(FP), R9
MOVQ vdso_zx_process_start(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_process_read_memory(handle uint32, vaddr uintptr, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_process_read_memory(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ vaddr+8(FP), SI
MOVQ buffer+16(FP), DX
MOVQ buffer_size+24(FP), CX
MOVQ actual+32(FP), R8
MOVQ vdso_zx_process_read_memory(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_process_write_memory(handle uint32, vaddr uintptr, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_process_write_memory(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ vaddr+8(FP), SI
MOVQ buffer+16(FP), DX
MOVQ buffer_size+24(FP), CX
MOVQ actual+32(FP), R8
MOVQ vdso_zx_process_write_memory(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_profile_create(root_job uint32, options uint32, profile unsafe.Pointer, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_profile_create(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL root_job+0(FP), DI
MOVL options+4(FP), SI
MOVQ profile+8(FP), DX
MOVQ out+16(FP), CX
MOVQ vdso_zx_profile_create(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_resource_create(parent_rsrc uint32, options uint32, base uint64, size uint, name unsafe.Pointer, name_size uint, resource_out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_resource_create(SB),NOSPLIT,$32-52
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 48(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 48(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL parent_rsrc+0(FP), DI
MOVL options+4(FP), SI
MOVQ base+8(FP), DX
MOVQ size+16(FP), CX
MOVQ name+24(FP), R8
MOVQ name_size+32(FP), R9
MOVQ resource_out+40(FP), R12
MOVQ SP, BP // BP is preserved across vsdo call by the x86-64 ABI
ANDQ $~15, SP // stack alignment for x86-64 ABI
PUSHQ R12
MOVQ vdso_zx_resource_create(SB), AX
CALL AX
POPQ R12
MOVQ BP, SP
MOVL AX, ret+48(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_smc_call(handle uint32, parameters unsafe.Pointer, out_smc_result unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_smc_call(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ parameters+8(FP), SI
MOVQ out_smc_result+16(FP), DX
MOVQ vdso_zx_smc_call(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_socket_create(options uint32, out0 unsafe.Pointer, out1 unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_socket_create(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL options+0(FP), DI
MOVQ out0+8(FP), SI
MOVQ out1+16(FP), DX
MOVQ vdso_zx_socket_create(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_socket_write(handle uint32, options uint32, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_socket_write(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ buffer+8(FP), DX
MOVQ buffer_size+16(FP), CX
MOVQ actual+24(FP), R8
MOVQ vdso_zx_socket_write(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_socket_read(handle uint32, options uint32, buffer unsafe.Pointer, buffer_size uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_socket_read(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ buffer+8(FP), DX
MOVQ buffer_size+16(FP), CX
MOVQ actual+24(FP), R8
MOVQ vdso_zx_socket_read(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_socket_shutdown(handle uint32, options uint32) int32
TEXT runtime·vdsoCall_zx_socket_shutdown(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ vdso_zx_socket_shutdown(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_stream_create(options uint32, vmo uint32, seek uint64, out_stream unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_stream_create(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL options+0(FP), DI
MOVL vmo+4(FP), SI
MOVQ seek+8(FP), DX
MOVQ out_stream+16(FP), CX
MOVQ vdso_zx_stream_create(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_stream_writev(handle uint32, options uint32, vector unsafe.Pointer, num_vector uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_stream_writev(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ vector+8(FP), DX
MOVQ num_vector+16(FP), CX
MOVQ actual+24(FP), R8
MOVQ vdso_zx_stream_writev(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_stream_writev_at(handle uint32, options uint32, offset uint64, vector unsafe.Pointer, num_vector uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_stream_writev_at(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ offset+8(FP), DX
MOVQ vector+16(FP), CX
MOVQ num_vector+24(FP), R8
MOVQ actual+32(FP), R9
MOVQ vdso_zx_stream_writev_at(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_stream_readv(handle uint32, options uint32, vector unsafe.Pointer, num_vector uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_stream_readv(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ vector+8(FP), DX
MOVQ num_vector+16(FP), CX
MOVQ actual+24(FP), R8
MOVQ vdso_zx_stream_readv(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_stream_readv_at(handle uint32, options uint32, offset uint64, vector unsafe.Pointer, num_vector uint, actual unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_stream_readv_at(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ offset+8(FP), DX
MOVQ vector+16(FP), CX
MOVQ num_vector+24(FP), R8
MOVQ actual+32(FP), R9
MOVQ vdso_zx_stream_readv_at(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_stream_seek(handle uint32, whence uint32, offset int64, out_seek unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_stream_seek(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL whence+4(FP), SI
MOVQ offset+8(FP), DX
MOVQ out_seek+16(FP), CX
MOVQ vdso_zx_stream_seek(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_syscall_test_0() int32
TEXT runtime·vdsoCall_zx_syscall_test_0(SB),NOSPLIT,$8-4
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ vdso_zx_syscall_test_0(SB), AX
CALL AX
MOVL AX, ret+0(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_syscall_test_1(a int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_1(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL a+0(FP), DI
MOVQ vdso_zx_syscall_test_1(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_syscall_test_2(a int32, b int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_2(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL a+0(FP), DI
MOVL b+4(FP), SI
MOVQ vdso_zx_syscall_test_2(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_syscall_test_3(a int32, b int32, c int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_3(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL a+0(FP), DI
MOVL b+4(FP), SI
MOVL c+8(FP), DX
MOVQ vdso_zx_syscall_test_3(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_syscall_test_4(a int32, b int32, c int32, d int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_4(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL a+0(FP), DI
MOVL b+4(FP), SI
MOVL c+8(FP), DX
MOVL d+12(FP), CX
MOVQ vdso_zx_syscall_test_4(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_syscall_test_5(a int32, b int32, c int32, d int32, e int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_5(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL a+0(FP), DI
MOVL b+4(FP), SI
MOVL c+8(FP), DX
MOVL d+12(FP), CX
MOVL e+16(FP), R8
MOVQ vdso_zx_syscall_test_5(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_syscall_test_6(a int32, b int32, c int32, d int32, e int32, f int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_6(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL a+0(FP), DI
MOVL b+4(FP), SI
MOVL c+8(FP), DX
MOVL d+12(FP), CX
MOVL e+16(FP), R8
MOVL f+20(FP), R9
MOVQ vdso_zx_syscall_test_6(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_syscall_test_7(a int32, b int32, c int32, d int32, e int32, f int32, g_ int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_7(SB),NOSPLIT,$32-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 48(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 48(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL a+0(FP), DI
MOVL b+4(FP), SI
MOVL c+8(FP), DX
MOVL d+12(FP), CX
MOVL e+16(FP), R8
MOVL f+20(FP), R9
MOVL g_+24(FP), R12
MOVQ SP, BP // BP is preserved across vsdo call by the x86-64 ABI
ANDQ $~15, SP // stack alignment for x86-64 ABI
PUSHQ R12
MOVQ vdso_zx_syscall_test_7(SB), AX
CALL AX
POPQ R12
MOVQ BP, SP
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_syscall_test_8(a int32, b int32, c int32, d int32, e int32, f int32, g_ int32, h int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_8(SB),NOSPLIT,$40-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 56(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 56(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL a+0(FP), DI
MOVL b+4(FP), SI
MOVL c+8(FP), DX
MOVL d+12(FP), CX
MOVL e+16(FP), R8
MOVL f+20(FP), R9
MOVL g_+24(FP), R12
MOVL h+28(FP), R13
MOVQ SP, BP // BP is preserved across vsdo call by the x86-64 ABI
ANDQ $~15, SP // stack alignment for x86-64 ABI
PUSHQ R13
PUSHQ R12
MOVQ vdso_zx_syscall_test_8(SB), AX
CALL AX
POPQ R12
POPQ R13
MOVQ BP, SP
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_syscall_test_wrapper(a int32, b int32, c int32) int32
TEXT runtime·vdsoCall_zx_syscall_test_wrapper(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL a+0(FP), DI
MOVL b+4(FP), SI
MOVL c+8(FP), DX
MOVQ vdso_zx_syscall_test_wrapper(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_syscall_test_handle_create(return_value int32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_syscall_test_handle_create(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL return_value+0(FP), DI
MOVQ out+8(FP), SI
MOVQ vdso_zx_syscall_test_handle_create(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_system_get_dcache_line_size() uint32
TEXT runtime·vdsoCall_zx_system_get_dcache_line_size(SB),NOSPLIT,$8-4
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ vdso_zx_system_get_dcache_line_size(SB), AX
CALL AX
MOVL AX, ret+0(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_system_get_num_cpus() uint32
TEXT runtime·vdsoCall_zx_system_get_num_cpus(SB),NOSPLIT,$8-4
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ vdso_zx_system_get_num_cpus(SB), AX
CALL AX
MOVL AX, ret+0(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_system_get_version_string() unsafe.Pointer
TEXT runtime·vdsoCall_zx_system_get_version_string(SB),NOSPLIT,$8-8
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ vdso_zx_system_get_version_string(SB), AX
CALL AX
MOVQ AX, ret+0(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_system_get_physmem() uint64
TEXT runtime·vdsoCall_zx_system_get_physmem(SB),NOSPLIT,$8-8
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ vdso_zx_system_get_physmem(SB), AX
CALL AX
MOVQ AX, ret+0(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_system_get_features(kind uint32, features unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_system_get_features(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL kind+0(FP), DI
MOVQ features+8(FP), SI
MOVQ vdso_zx_system_get_features(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_system_get_event(root_job uint32, kind uint32, event unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_system_get_event(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL root_job+0(FP), DI
MOVL kind+4(FP), SI
MOVQ event+8(FP), DX
MOVQ vdso_zx_system_get_event(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_system_mexec(resource uint32, kernel_vmo uint32, bootimage_vmo uint32) int32
TEXT runtime·vdsoCall_zx_system_mexec(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL resource+0(FP), DI
MOVL kernel_vmo+4(FP), SI
MOVL bootimage_vmo+8(FP), DX
MOVQ vdso_zx_system_mexec(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_system_mexec_payload_get(resource uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_system_mexec_payload_get(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL resource+0(FP), DI
MOVQ buffer+8(FP), SI
MOVQ buffer_size+16(FP), DX
MOVQ vdso_zx_system_mexec_payload_get(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_system_powerctl(resource uint32, cmd uint32, arg unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_system_powerctl(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL resource+0(FP), DI
MOVL cmd+4(FP), SI
MOVQ arg+8(FP), DX
MOVQ vdso_zx_system_powerctl(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_task_suspend(handle uint32, token unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_task_suspend(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ token+8(FP), SI
MOVQ vdso_zx_task_suspend(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_task_suspend_token(handle uint32, token unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_task_suspend_token(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ token+8(FP), SI
MOVQ vdso_zx_task_suspend_token(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_task_create_exception_channel(handle uint32, options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_task_create_exception_channel(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ out+8(FP), DX
MOVQ vdso_zx_task_create_exception_channel(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_task_kill(handle uint32) int32
TEXT runtime·vdsoCall_zx_task_kill(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ vdso_zx_task_kill(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_thread_exit()
TEXT runtime·vdsoCall_zx_thread_exit(SB),NOSPLIT,$8-0
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ vdso_zx_thread_exit(SB), AX
CALL AX
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_thread_create(process uint32, name unsafe.Pointer, name_size uint, options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_thread_create(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL process+0(FP), DI
MOVQ name+8(FP), SI
MOVQ name_size+16(FP), DX
MOVL options+24(FP), CX
MOVQ out+32(FP), R8
MOVQ vdso_zx_thread_create(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_thread_start(handle uint32, thread_entry uintptr, stack uintptr, arg1 uintptr, arg2 uintptr) int32
TEXT runtime·vdsoCall_zx_thread_start(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ thread_entry+8(FP), SI
MOVQ stack+16(FP), DX
MOVQ arg1+24(FP), CX
MOVQ arg2+32(FP), R8
MOVQ vdso_zx_thread_start(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_thread_read_state(handle uint32, kind uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_thread_read_state(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL kind+4(FP), SI
MOVQ buffer+8(FP), DX
MOVQ buffer_size+16(FP), CX
MOVQ vdso_zx_thread_read_state(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_thread_write_state(handle uint32, kind uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_thread_write_state(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL kind+4(FP), SI
MOVQ buffer+8(FP), DX
MOVQ buffer_size+16(FP), CX
MOVQ vdso_zx_thread_write_state(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_timer_create(options uint32, clock_id uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_timer_create(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL options+0(FP), DI
MOVL clock_id+4(FP), SI
MOVQ out+8(FP), DX
MOVQ vdso_zx_timer_create(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_timer_set(handle uint32, deadline int64, slack int64) int32
TEXT runtime·vdsoCall_zx_timer_set(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ deadline+8(FP), SI
MOVQ slack+16(FP), DX
MOVQ vdso_zx_timer_set(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_timer_cancel(handle uint32) int32
TEXT runtime·vdsoCall_zx_timer_cancel(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ vdso_zx_timer_cancel(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vcpu_create(guest uint32, options uint32, entry uintptr, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vcpu_create(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL guest+0(FP), DI
MOVL options+4(FP), SI
MOVQ entry+8(FP), DX
MOVQ out+16(FP), CX
MOVQ vdso_zx_vcpu_create(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vcpu_resume(handle uint32, packet unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vcpu_resume(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
CALL runtime·entersyscall(SB)
MOVL handle+0(FP), DI
MOVQ packet+8(FP), SI
MOVQ vdso_zx_vcpu_resume(SB), AX
CALL AX
MOVL AX, ret+16(FP)
CALL runtime·exitsyscall(SB)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vcpu_interrupt(handle uint32, vector uint32) int32
TEXT runtime·vdsoCall_zx_vcpu_interrupt(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL vector+4(FP), SI
MOVQ vdso_zx_vcpu_interrupt(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vcpu_read_state(handle uint32, kind uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_vcpu_read_state(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL kind+4(FP), SI
MOVQ buffer+8(FP), DX
MOVQ buffer_size+16(FP), CX
MOVQ vdso_zx_vcpu_read_state(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vcpu_write_state(handle uint32, kind uint32, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_vcpu_write_state(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL kind+4(FP), SI
MOVQ buffer+8(FP), DX
MOVQ buffer_size+16(FP), CX
MOVQ vdso_zx_vcpu_write_state(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmar_allocate(parent_vmar uint32, options uint32, offset uint, size uint, child_vmar unsafe.Pointer, child_addr unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmar_allocate(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL parent_vmar+0(FP), DI
MOVL options+4(FP), SI
MOVQ offset+8(FP), DX
MOVQ size+16(FP), CX
MOVQ child_vmar+24(FP), R8
MOVQ child_addr+32(FP), R9
MOVQ vdso_zx_vmar_allocate(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmar_destroy(handle uint32) int32
TEXT runtime·vdsoCall_zx_vmar_destroy(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ vdso_zx_vmar_destroy(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmar_map(handle uint32, options uint32, vmar_offset uint, vmo uint32, vmo_offset uint64, len uint, mapped_addr unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmar_map(SB),NOSPLIT,$32-52
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 48(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 48(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ vmar_offset+8(FP), DX
MOVL vmo+16(FP), CX
MOVQ vmo_offset+24(FP), R8
MOVQ len+32(FP), R9
MOVQ mapped_addr+40(FP), R12
MOVQ SP, BP // BP is preserved across vsdo call by the x86-64 ABI
ANDQ $~15, SP // stack alignment for x86-64 ABI
PUSHQ R12
MOVQ vdso_zx_vmar_map(SB), AX
CALL AX
POPQ R12
MOVQ BP, SP
MOVL AX, ret+48(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmar_unmap(handle uint32, addr uintptr, len uint) int32
TEXT runtime·vdsoCall_zx_vmar_unmap(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ addr+8(FP), SI
MOVQ len+16(FP), DX
MOVQ vdso_zx_vmar_unmap(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmar_protect(handle uint32, options uint32, addr uintptr, len uint) int32
TEXT runtime·vdsoCall_zx_vmar_protect(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ addr+8(FP), DX
MOVQ len+16(FP), CX
MOVQ vdso_zx_vmar_protect(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmar_op_range(handle uint32, op uint32, address uintptr, size uint, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_vmar_op_range(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL op+4(FP), SI
MOVQ address+8(FP), DX
MOVQ size+16(FP), CX
MOVQ buffer+24(FP), R8
MOVQ buffer_size+32(FP), R9
MOVQ vdso_zx_vmar_op_range(SB), AX
CALL AX
MOVL AX, ret+40(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmo_create(size uint64, options uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmo_create(SB),NOSPLIT,$8-28
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVQ size+0(FP), DI
MOVL options+8(FP), SI
MOVQ out+16(FP), DX
MOVQ vdso_zx_vmo_create(SB), AX
CALL AX
MOVL AX, ret+24(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmo_read(handle uint32, buffer unsafe.Pointer, offset uint64, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_vmo_read(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
CALL runtime·entersyscall(SB)
MOVL handle+0(FP), DI
MOVQ buffer+8(FP), SI
MOVQ offset+16(FP), DX
MOVQ buffer_size+24(FP), CX
MOVQ vdso_zx_vmo_read(SB), AX
CALL AX
MOVL AX, ret+32(FP)
CALL runtime·exitsyscall(SB)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmo_write(handle uint32, buffer unsafe.Pointer, offset uint64, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_vmo_write(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
CALL runtime·entersyscall(SB)
MOVL handle+0(FP), DI
MOVQ buffer+8(FP), SI
MOVQ offset+16(FP), DX
MOVQ buffer_size+24(FP), CX
MOVQ vdso_zx_vmo_write(SB), AX
CALL AX
MOVL AX, ret+32(FP)
CALL runtime·exitsyscall(SB)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmo_get_size(handle uint32, size unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmo_get_size(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ size+8(FP), SI
MOVQ vdso_zx_vmo_get_size(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmo_set_size(handle uint32, size uint64) int32
TEXT runtime·vdsoCall_zx_vmo_set_size(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVQ size+8(FP), SI
MOVQ vdso_zx_vmo_set_size(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmo_op_range(handle uint32, op uint32, offset uint64, size uint64, buffer unsafe.Pointer, buffer_size uint) int32
TEXT runtime·vdsoCall_zx_vmo_op_range(SB),NOSPLIT,$8-44
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
CALL runtime·entersyscall(SB)
MOVL handle+0(FP), DI
MOVL op+4(FP), SI
MOVQ offset+8(FP), DX
MOVQ size+16(FP), CX
MOVQ buffer+24(FP), R8
MOVQ buffer_size+32(FP), R9
MOVQ vdso_zx_vmo_op_range(SB), AX
CALL AX
MOVL AX, ret+40(FP)
CALL runtime·exitsyscall(SB)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmo_create_child(handle uint32, options uint32, offset uint64, size uint64, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmo_create_child(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL options+4(FP), SI
MOVQ offset+8(FP), DX
MOVQ size+16(FP), CX
MOVQ out+24(FP), R8
MOVQ vdso_zx_vmo_create_child(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmo_set_cache_policy(handle uint32, cache_policy uint32) int32
TEXT runtime·vdsoCall_zx_vmo_set_cache_policy(SB),NOSPLIT,$8-12
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL cache_policy+4(FP), SI
MOVQ vdso_zx_vmo_set_cache_policy(SB), AX
CALL AX
MOVL AX, ret+8(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmo_replace_as_executable(handle uint32, vmex uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmo_replace_as_executable(SB),NOSPLIT,$8-20
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL handle+0(FP), DI
MOVL vmex+4(FP), SI
MOVQ out+8(FP), DX
MOVQ vdso_zx_vmo_replace_as_executable(SB), AX
CALL AX
MOVL AX, ret+16(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmo_create_contiguous(bti uint32, size uint, alignment_log2 uint32, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmo_create_contiguous(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL bti+0(FP), DI
MOVQ size+8(FP), SI
MOVL alignment_log2+16(FP), DX
MOVQ out+24(FP), CX
MOVQ vdso_zx_vmo_create_contiguous(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
// func vdsoCall_zx_vmo_create_physical(resource uint32, paddr uintptr, size uint, out unsafe.Pointer) int32
TEXT runtime·vdsoCall_zx_vmo_create_physical(SB),NOSPLIT,$8-36
GO_ARGS
NO_LOCAL_POINTERS
get_tls(CX)
MOVQ g(CX), AX
MOVQ g_m(AX), R14
PUSHQ R14
MOVQ 24(SP), DX
MOVQ DX, m_vdsoPC(R14)
LEAQ 24(SP), DX
MOVQ DX, m_vdsoSP(R14)
MOVL resource+0(FP), DI
MOVQ paddr+8(FP), SI
MOVQ size+16(FP), DX
MOVQ out+24(FP), CX
MOVQ vdso_zx_vmo_create_physical(SB), AX
CALL AX
MOVL AX, ret+32(FP)
POPQ R14
MOVQ $0, m_vdsoSP(R14)
RET
----- go-vdso-x86-calls.s END -----
----- json.json START -----
{
"syscalls": [
{
"name": "bti_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "new", "bus", "transaction", "initiator", "."
],
"requirements": [
"iommu", "must", "be", "of", "type", "ZX_OBJ_TYPE_IOMMU", "and", "have", "ZX_RIGHT_NONE", "."
],
"arguments": [
{
"name": "iommu",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "bti_id",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "bti_pin",
"attributes": [
"*"
],
"top_description": [
"Pin", "pages", "and", "grant", "devices", "access", "to", "them", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_BTI", "and", "have", "ZX_RIGHT_MAP", ".",
"vmo", "must", "be", "of", "type", "ZX_OBJ_TYPE_VMO", "and", "have", "ZX_RIGHT_MAP", ".",
"If", "options", "&", "ZX_BTI_PERM_READ", ",", "vmo", "must", "be", "of", "type", "ZX_OBJ_TYPE_VMO", "and", "have", "ZX_RIGHT_READ", ".",
"If", "options", "&", "ZX_BTI_PERM_WRITE", ",", "vmo", "must", "be", "of", "type", "ZX_OBJ_TYPE_VMO", "and", "have", "ZX_RIGHT_WRITE", ".",
"If", "options", "&", "ZX_BTI_PERM_EXECUTE", ",", "vmo", "must", "be", "of", "type", "ZX_OBJ_TYPE_VMO", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "vmo",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "offset",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "size",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "addrs",
"type": "zx_paddr_t",
"is_array": true,
"attributes": [
]
},
{
"name": "num_addrs",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "pmt",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "bti_release_quarantine",
"attributes": [
"*"
],
"top_description": [
"Releases", "all", "quarantined", "PMTs", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_BTI", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "cache_flush",
"attributes": [
"*",
"vdsocall"
],
"top_description": [
"Flush", "CPU", "data", "and", "/", "or", "instruction", "caches", "."
],
"requirements": [
],
"arguments": [
{
"name": "addr",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "channel_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "channel", "."
],
"requirements": [
],
"arguments": [
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out0",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
},
{
"name": "out1",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "channel_read",
"attributes": [
"*",
"handle_unchecked"
],
"top_description": [
"Read", "a", "message", "from", "a", "channel", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_CHANNEL", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "bytes",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "handles",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
},
{
"name": "num_bytes",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "num_handles",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual_bytes",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
},
{
"name": "actual_handles",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "channel_read_etc",
"attributes": [
"*"
],
"top_description": [
"Read", "a", "message", "from", "a", "channel", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_CHANNEL", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "bytes",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "handles",
"type": "zx_handle_info_t",
"is_array": true,
"attributes": [
]
},
{
"name": "num_bytes",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "num_handles",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual_bytes",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
},
{
"name": "actual_handles",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "channel_write",
"attributes": [
"*"
],
"top_description": [
"Write", "a", "message", "to", "a", "channel", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_CHANNEL", "and", "have", "ZX_RIGHT_WRITE", ".",
"Every", "entry", "of", "handles", "must", "have", "ZX_RIGHT_TRANSFER", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "bytes",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "num_bytes",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "handles",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "num_handles",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "channel_write_etc",
"attributes": [
"*"
],
"top_description": [
"Write", "a", "message", "to", "a", "channel", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_CHANNEL", "and", "have", "ZX_RIGHT_WRITE", ".",
"Every", "entry", "of", "handles", "must", "have", "ZX_RIGHT_TRANSFER", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "bytes",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "num_bytes",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "handles",
"type": "zx_handle_disposition_t",
"is_array": true,
"attributes": [
]
},
{
"name": "num_handles",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "channel_call_noretry",
"attributes": [
"*",
"internal"
],
"top_description": [
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_CHANNEL", "and", "have", "ZX_RIGHT_READ", "and", "have", "ZX_RIGHT_WRITE", ".",
"All", "wr_handles", "of", "args", "must", "have", "ZX_RIGHT_TRANSFER", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "deadline",
"type": "zx_time_t",
"is_array": false,
"attributes": [
]
},
{
"name": "args",
"type": "zx_channel_call_args_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "actual_bytes",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
},
{
"name": "actual_handles",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "channel_call_finish",
"attributes": [
"*",
"internal"
],
"top_description": [
],
"requirements": [
],
"arguments": [
{
"name": "deadline",
"type": "zx_time_t",
"is_array": false,
"attributes": [
]
},
{
"name": "args",
"type": "zx_channel_call_args_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "actual_bytes",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
},
{
"name": "actual_handles",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "channel_call",
"attributes": [
"*",
"blocking",
"vdsocall"
],
"top_description": [
"Send", "a", "message", "to", "a", "channel", "and", "await", "a", "reply", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_CHANNEL", "and", "have", "ZX_RIGHT_READ", "and", "have", "ZX_RIGHT_WRITE", ".",
"All", "wr_handles", "of", "args", "must", "have", "ZX_RIGHT_TRANSFER", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "deadline",
"type": "zx_time_t",
"is_array": false,
"attributes": [
]
},
{
"name": "args",
"type": "zx_channel_call_args_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "actual_bytes",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
},
{
"name": "actual_handles",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "channel_call_etc_noretry",
"attributes": [
"*",
"internal"
],
"top_description": [
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_CHANNEL", "and", "have", "ZX_RIGHT_READ", "and", "have", "ZX_RIGHT_WRITE", ".",
"All", "wr_handles", "of", "args", "must", "have", "ZX_RIGHT_TRANSFER", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "deadline",
"type": "zx_time_t",
"is_array": false,
"attributes": [
]
},
{
"name": "args",
"type": "zx_channel_call_etc_args_t",
"is_array": true,
"attributes": [
]
},
{
"name": "actual_bytes",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
},
{
"name": "actual_handles",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "channel_call_etc_finish",
"attributes": [
"*",
"internal"
],
"top_description": [
],
"requirements": [
],
"arguments": [
{
"name": "deadline",
"type": "zx_time_t",
"is_array": false,
"attributes": [
]
},
{
"name": "args",
"type": "zx_channel_call_etc_args_t",
"is_array": true,
"attributes": [
]
},
{
"name": "actual_bytes",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
},
{
"name": "actual_handles",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "channel_call_etc",
"attributes": [
"*",
"blocking",
"vdsocall"
],
"top_description": [
"Send", "a", "message", "to", "a", "channel", "and", "await", "a", "reply", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_CHANNEL", "and", "have", "ZX_RIGHT_READ", "and", "have", "ZX_RIGHT_WRITE", ".",
"All", "wr_handles", "of", "args", "must", "have", "ZX_RIGHT_TRANSFER", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "deadline",
"type": "zx_time_t",
"is_array": false,
"attributes": [
]
},
{
"name": "args",
"type": "zx_channel_call_etc_args_t",
"is_array": true,
"attributes": [
]
},
{
"name": "actual_bytes",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
},
{
"name": "actual_handles",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "clock_get",
"attributes": [
"*"
],
"top_description": [
"Acquire", "the", "current", "time", "."
],
"requirements": [
],
"arguments": [
{
"name": "clock_id",
"type": "zx_clock_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_time_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "clock_get_monotonic",
"attributes": [
"*",
"vdsocall"
],
"top_description": [
"Acquire", "the", "current", "monotonic", "time", "."
],
"requirements": [
],
"arguments": [
],
"return_type": "zx_time_t"
},
{
"name": "clock_adjust",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "clock_id",
"type": "zx_clock_t",
"is_array": false,
"attributes": [
]
},
{
"name": "offset",
"type": "int64_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "clock_get_monotonic_via_kernel",
"attributes": [
"*",
"internal"
],
"top_description": [
],
"requirements": [
],
"arguments": [
],
"return_type": "zx_time_t"
},
{
"name": "clock_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "new", "clock", "object", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "options",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "args",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "clock_read",
"attributes": [
"*"
],
"top_description": [
"Perform", "a", "basic", "read", "of", "the", "clock", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_CLOCK", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "now",
"type": "zx_time_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "clock_get_details",
"attributes": [
"*"
],
"top_description": [
"Fetch", "all", "of", "the", "low", "level", "details", "of", "the", "clock", "'", "s", "current", "status", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_CLOCK", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "details",
"type": "any",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "clock_update",
"attributes": [
"*"
],
"top_description": [
"Make", "adjustments", "to", "a", "clock", "object", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_CLOCK", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "args",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
}
],
"return_type": "zx_status_t"
},
{
"name": "cprng_draw_once",
"attributes": [
"*",
"internal"
],
"top_description": [
],
"requirements": [
],
"arguments": [
{
"name": "buffer",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "cprng_draw",
"attributes": [
"*",
"vdsocall"
],
"top_description": [
"Draw", "from", "the", "kernel", "'", "s", "CPRNG", "."
],
"requirements": [
],
"arguments": [
{
"name": "buffer",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "void"
},
{
"name": "cprng_add_entropy",
"attributes": [
"*"
],
"top_description": [
"Add", "entropy", "to", "the", "kernel", "CPRNG", "."
],
"requirements": [
],
"arguments": [
{
"name": "buffer",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "debug_read",
"attributes": [
"*"
],
"top_description": [
"Read", "a", "message", "from", "the", "debug", "serial", "port", "."
],
"requirements": [
"handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "buffer",
"type": "char",
"is_array": true,
"attributes": [
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual",
"type": "size_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "debug_write",
"attributes": [
"*"
],
"top_description": [
"Write", "a", "message", "to", "the", "debug", "serial", "port", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "buffer",
"type": "char",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "debug_send_command",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"resource", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "resource",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "buffer",
"type": "char",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "debuglog_create",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"resource", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "resource",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "debuglog_write",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_LOG", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "buffer",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "debuglog_read",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_LOG", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "buffer",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "event_create",
"attributes": [
"*"
],
"top_description": [
"Create", "an", "event", "."
],
"requirements": [
],
"arguments": [
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "eventpair_create",
"attributes": [
"*"
],
"top_description": [
"Create", "an", "event", "pair", "."
],
"requirements": [
],
"arguments": [
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out0",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
},
{
"name": "out1",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "exception_get_thread",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "handle", "for", "the", "exception", "'", "s", "thread", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_EXCEPTION", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "exception_get_process",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "handle", "for", "the", "exception", "'", "s", "process", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_EXCEPTION", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "fifo_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "fifo", "."
],
"requirements": [
],
"arguments": [
{
"name": "elem_count",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "elem_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out0",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
},
{
"name": "out1",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "fifo_read",
"attributes": [
"*"
],
"top_description": [
"Read", "data", "from", "a", "fifo", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_FIFO", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "elem_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "data",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "data_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual_count",
"type": "size_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "fifo_write",
"attributes": [
"*"
],
"top_description": [
"Write", "data", "to", "a", "fifo", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_FIFO", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "elem_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "data",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "count",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual_count",
"type": "size_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "framebuffer_get_info",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"resource", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "resource",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "format",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
},
{
"name": "width",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
},
{
"name": "height",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
},
{
"name": "stride",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "framebuffer_set_range",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"resource", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "resource",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "vmo",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "len",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "format",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "width",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "height",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "stride",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "futex_wait",
"attributes": [
"*",
"blocking"
],
"top_description": [
"Wait", "on", "a", "futex", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "value_ptr",
"type": "zx_futex_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "current_value",
"type": "zx_futex_t",
"is_array": false,
"attributes": [
]
},
{
"name": "new_futex_owner",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "deadline",
"type": "zx_time_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "futex_wake",
"attributes": [
"*"
],
"top_description": [
"Wake", "some", "number", "of", "threads", "waiting", "on", "a", "futex", ",", "and", "set", "the", "ownership", "of", "the", "futex", "to", "nothing", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "value_ptr",
"type": "zx_futex_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "wake_count",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "futex_requeue",
"attributes": [
"*"
],
"top_description": [
"Wake", "some", "number", "of", "threads", "waiting", "on", "a", "futex", ",", "and", "move", "more", "waiters", "to", "another", "wait", "queue", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "value_ptr",
"type": "zx_futex_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "wake_count",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "current_value",
"type": "zx_futex_t",
"is_array": false,
"attributes": [
]
},
{
"name": "requeue_ptr",
"type": "zx_futex_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "requeue_count",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "new_requeue_owner",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "futex_wake_single_owner",
"attributes": [
"*"
],
"top_description": [
"Wake", "one", "thread", "waiting", "on", "a", "futex", ",", "and", "set", "the", "ownership", "of", "the", "futex", "to", "that", "thread", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "value_ptr",
"type": "zx_futex_t",
"is_array": true,
"attributes": [
"IN"
]
}
],
"return_type": "zx_status_t"
},
{
"name": "futex_requeue_single_owner",
"attributes": [
"*"
],
"top_description": [
"Wake", "one", "thread", "waiting", "on", "a", "futex", ",", "and", "requeue", "more", "waiters", "to", "another", "futex", "wait", "queue", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "value_ptr",
"type": "zx_futex_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "current_value",
"type": "zx_futex_t",
"is_array": false,
"attributes": [
]
},
{
"name": "requeue_ptr",
"type": "zx_futex_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "requeue_count",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "new_requeue_owner",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "futex_get_owner",
"attributes": [
"*"
],
"top_description": [
"Fetch", "the", "koid", "current", "owner", "of", "a", "futex", ",", "if", "any", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "value_ptr",
"type": "zx_futex_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "koid",
"type": "zx_koid_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "guest_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "guest", "."
],
"requirements": [
"resource", "must", "have", "resource", "kind", "ZX_RSRC_KIND_HYPERVISOR", "."
],
"arguments": [
{
"name": "resource",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "guest_handle",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
},
{
"name": "vmar_handle",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "guest_set_trap",
"attributes": [
"*"
],
"top_description": [
"Sets", "a", "trap", "within", "a", "guest", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_GUEST", "and", "have", "ZX_RIGHT_WRITE", ".",
"port_handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PORT", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "kind",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "addr",
"type": "zx_vaddr_t",
"is_array": false,
"attributes": [
]
},
{
"name": "size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "port_handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "key",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "handle_close",
"attributes": [
"*"
],
"top_description": [
"Close", "a", "handle", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "handle_close_many",
"attributes": [
"*"
],
"top_description": [
"Close", "a", "number", "of", "handles", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "handles",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "num_handles",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "handle_duplicate",
"attributes": [
"*"
],
"top_description": [
"Duplicate", "a", "handle", "."
],
"requirements": [
"handle", "must", "have", "ZX_RIGHT_DUPLICATE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "rights",
"type": "zx_rights_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "handle_replace",
"attributes": [
"*"
],
"top_description": [
"Replace", "a", "handle", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "rights",
"type": "zx_rights_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "interrupt_create",
"attributes": [
"*"
],
"top_description": [
"Create", "an", "interrupt", "object", "."
],
"requirements": [
"src_obj", "must", "have", "resource", "kind", "ZX_RSRC_KIND_IRQ", "."
],
"arguments": [
{
"name": "src_obj",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "src_num",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out_handle",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "interrupt_bind",
"attributes": [
"*"
],
"top_description": [
"Bind", "an", "interrupt", "object", "to", "a", "port", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_INTERRUPT", "and", "have", "ZX_RIGHT_READ", ".",
"port_handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PORT", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "port_handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "key",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "interrupt_wait",
"attributes": [
"*",
"blocking"
],
"top_description": [
"Wait", "for", "an", "interrupt", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_INTERRUPT", "and", "have", "ZX_RIGHT_WAIT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out_timestamp",
"type": "zx_time_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "interrupt_destroy",
"attributes": [
"*"
],
"top_description": [
"Destroys", "an", "interrupt", "object", "."
],
"requirements": [
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "interrupt_ack",
"attributes": [
"*"
],
"top_description": [
"Acknowledge", "an", "interrupt", "and", "re", "-", "arm", "it", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_INTERRUPT", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "interrupt_trigger",
"attributes": [
"*"
],
"top_description": [
"Triggers", "a", "virtual", "interrupt", "object", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_INTERRUPT", "and", "have", "ZX_RIGHT_SIGNAL", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "timestamp",
"type": "zx_time_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "interrupt_bind_vcpu",
"attributes": [
"*"
],
"top_description": [
"Bind", "an", "interrupt", "object", "to", "a", "VCPU", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_INTERRUPT", "and", "have", "ZX_RIGHT_READ", ".",
"vcpu", "must", "be", "of", "type", "ZX_OBJ_TYPE_VCPU", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "vcpu",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "iommu_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "new", "IOMMU", "object", "in", "the", "kernel", "."
],
"requirements": [
"resource", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "resource",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "type",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "desc",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "desc_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "ioports_request",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"resource", "must", "have", "resource", "kind", "ZX_RSRC_KIND_IOPORT", "."
],
"arguments": [
{
"name": "resource",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "io_addr",
"type": "uint16_t",
"is_array": false,
"attributes": [
]
},
{
"name": "len",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "ioports_release",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"resource", "must", "have", "resource", "kind", "ZX_RSRC_KIND_IOPORT", "."
],
"arguments": [
{
"name": "resource",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "io_addr",
"type": "uint16_t",
"is_array": false,
"attributes": [
]
},
{
"name": "len",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "job_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "new", "job", "."
],
"requirements": [
"parent_job", "must", "be", "of", "type", "ZX_OBJ_TYPE_JOB", "and", "have", "ZX_RIGHT_MANAGE_JOB", "."
],
"arguments": [
{
"name": "parent_job",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "job_set_policy",
"attributes": [
"*"
],
"top_description": [
"Set", "job", "security", "and", "resource", "policies", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_JOB", "and", "have", "ZX_RIGHT_SET_POLICY", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "topic",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "policy",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "policy_size",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "job_set_critical",
"attributes": [
"*"
],
"top_description": [
"Set", "a", "process", "as", "critical", "to", "a", "job", "."
],
"requirements": [
"job", "must", "have", "ZX_RIGHT_DESTROY", ".",
"process", "must", "have", "ZX_RIGHT_WAIT", "."
],
"arguments": [
{
"name": "job",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "process",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "ktrace_read",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "data",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "offset",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "data_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual",
"type": "size_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "ktrace_control",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "action",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "ptr",
"type": "any",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "ktrace_write",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "id",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "arg0",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "arg1",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "nanosleep",
"attributes": [
"*",
"blocking"
],
"top_description": [
"High", "resolution", "sleep", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "deadline",
"type": "zx_time_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "ticks_get",
"attributes": [
"*",
"vdsocall"
],
"top_description": [
"Read", "the", "number", "of", "high", "-", "precision", "timer", "ticks", "since", "boot", "."
],
"requirements": [
],
"arguments": [
],
"return_type": "zx_ticks_t"
},
{
"name": "ticks_per_second",
"attributes": [
"*",
"const",
"vdsocall"
],
"top_description": [
"Read", "the", "number", "of", "high", "-", "precision", "timer", "ticks", "in", "a", "second", "."
],
"requirements": [
],
"arguments": [
],
"return_type": "zx_ticks_t"
},
{
"name": "deadline_after",
"attributes": [
"*",
"vdsocall"
],
"top_description": [
"Convert", "a", "time", "relative", "to", "now", "to", "an", "absolute", "deadline", "."
],
"requirements": [
],
"arguments": [
{
"name": "nanoseconds",
"type": "zx_duration_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_time_t"
},
{
"name": "vmar_unmap_handle_close_thread_exit",
"attributes": [
"*",
"vdsocall"
],
"top_description": [
"Unmap", "memory", ",", "close", "handle", ",", "exit", "."
],
"requirements": [
],
"arguments": [
{
"name": "vmar_handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "addr",
"type": "zx_vaddr_t",
"is_array": false,
"attributes": [
]
},
{
"name": "size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "close_handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "futex_wake_handle_close_thread_exit",
"attributes": [
"*",
"noreturn",
"vdsocall"
],
"top_description": [
"Write", "to", "futex", ",", "wake", "futex", ",", "close", "handle", ",", "exit", "."
],
"requirements": [
],
"arguments": [
{
"name": "value_ptr",
"type": "zx_futex_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "wake_count",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "new_value",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "close_handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "void"
},
{
"name": "ticks_get_via_kernel",
"attributes": [
"*",
"internal"
],
"top_description": [
],
"requirements": [
],
"arguments": [
],
"return_type": "zx_ticks_t"
},
{
"name": "msi_allocate",
"attributes": [
"*"
],
"top_description": [
"Allocate", "Message", "-", "Signaled", "Interrupts", "(", "MSIs", ")", "."
],
"requirements": [
"handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "count",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out_allocation",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "msi_create",
"attributes": [
"*"
],
"top_description": [
"Create", "an", "Interrupt", "object", "from", "a", "Messaged", "-", "Signaled", "Interrupt", "(", "MSI", ")", "allocation", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_MSI", ".",
"vmo", "must", "be", "of", "type", "ZX_OBJ_TYPE_VMO", ".",
"vmo", "must", "have", "ZX_RIGHT_MAP", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "msi_id",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "vmo",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "vmo_offset",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out_interrupt",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "mtrace_control",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "kind",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "action",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "ptr",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "ptr_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "object_wait_one",
"attributes": [
"*",
"blocking"
],
"top_description": [
"Wait", "for", "signals", "on", "an", "object", "."
],
"requirements": [
"handle", "must", "have", "ZX_RIGHT_WAIT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "signals",
"type": "zx_signals_t",
"is_array": false,
"attributes": [
]
},
{
"name": "deadline",
"type": "zx_time_t",
"is_array": false,
"attributes": [
]
},
{
"name": "observed",
"type": "zx_signals_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "object_wait_many",
"attributes": [
"*",
"blocking"
],
"top_description": [
"Wait", "for", "signals", "on", "multiple", "objects", "."
],
"requirements": [
"Every", "entry", "of", "items", "must", "have", "a", "handle", "field", "with", "ZX_RIGHT_WAIT", "."
],
"arguments": [
{
"name": "items",
"type": "zx_wait_item_t",
"is_array": true,
"attributes": [
]
},
{
"name": "num_items",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "deadline",
"type": "zx_time_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "object_wait_async",
"attributes": [
"*"
],
"top_description": [
"Subscribe", "for", "signals", "on", "an", "object", "."
],
"requirements": [
"handle", "must", "have", "ZX_RIGHT_WAIT", ".",
"port", "must", "be", "of", "type", "ZX_OBJ_TYPE_PORT", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "port",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "key",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "signals",
"type": "zx_signals_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "object_signal",
"attributes": [
"*"
],
"top_description": [
"Signal", "an", "object", "."
],
"requirements": [
"handle", "must", "have", "ZX_RIGHT_SIGNAL", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "clear_mask",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "set_mask",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "object_signal_peer",
"attributes": [
"*"
],
"top_description": [
"Signal", "an", "object", "'", "s", "peer", "."
],
"requirements": [
"handle", "must", "have", "ZX_RIGHT_SIGNAL_PEER", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "clear_mask",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "set_mask",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "object_get_property",
"attributes": [
"*"
],
"top_description": [
"Ask", "for", "various", "properties", "of", "various", "kernel", "objects", "."
],
"requirements": [
"handle", "must", "have", "ZX_RIGHT_GET_PROPERTY", ".",
"If", "property", "is", "ZX_PROP_PROCESS_DEBUG_ADDR", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", ".",
"If", "property", "is", "ZX_PROP_PROCESS_BREAK_ON_LOAD", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", ".",
"If", "property", "is", "ZX_PROP_PROCESS_VDSO_BASE_ADDRESS", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", ".",
"If", "property", "is", "ZX_PROP_SOCKET_RX_THRESHOLD", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_SOCKET", ".",
"If", "property", "is", "ZX_PROP_SOCKET_TX_THRESHOLD", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_SOCKET", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "property",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "value",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "value_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "object_set_property",
"attributes": [
"*"
],
"top_description": [
"Set", "various", "properties", "of", "various", "kernel", "objects", "."
],
"requirements": [
"handle", "must", "have", "ZX_RIGHT_SET_PROPERTY", ".",
"If", "property", "is", "ZX_PROP_PROCESS_DEBUG_ADDR", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", ".",
"If", "property", "is", "ZX_PROP_PROCESS_BREAK_ON_LOAD", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", ".",
"If", "property", "is", "ZX_PROP_SOCKET_RX_THRESHOLD", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_SOCKET", ".",
"If", "property", "is", "ZX_PROP_SOCKET_TX_THRESHOLD", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_SOCKET", ".",
"If", "property", "is", "ZX_PROP_JOB_KILL_ON_OOM", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_JOB", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "property",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "value",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "value_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "object_get_info",
"attributes": [
"*"
],
"top_description": [
"Query", "information", "about", "an", "object", "."
],
"requirements": [
"If", "topic", "is", "ZX_INFO_PROCESS", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_JOB", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_JOB", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_PROCESS_THREADS", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", "and", "have", "ZX_RIGHT_ENUMERATE", ".",
"If", "topic", "is", "ZX_INFO_JOB_CHILDREN", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_JOB", "and", "have", "ZX_RIGHT_ENUMERATE", ".",
"If", "topic", "is", "ZX_INFO_JOB_PROCESSES", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_JOB", "and", "have", "ZX_RIGHT_ENUMERATE", ".",
"If", "topic", "is", "ZX_INFO_THREAD", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_THREAD", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_THREAD_EXCEPTION_REPORT", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_THREAD", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_THREAD_STATS", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_THREAD", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_TASK_STATS", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_PROCESS_MAPS", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_PROCESS_VMOS", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_VMO", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_VMO", ".",
"If", "topic", "is", "ZX_INFO_VMAR", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_VMAR", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_CPU_STATS", ",", "handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", ".",
"If", "topic", "is", "ZX_INFO_KMEM_STATS", ",", "handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", ".",
"If", "topic", "is", "ZX_INFO_RESOURCE", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_RESOURCE", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_HANDLE_COUNT", ",", "handle", "must", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_BTI", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_BTI", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_PROCESS_HANDLE_STATS", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_SOCKET", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_SOCKET", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_MSI", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_MSI", "and", "have", "ZX_RIGHT_INSPECT", ".",
"If", "topic", "is", "ZX_INFO_TASK_RUNTIME", ",", "handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_THREAD", ",", "ZX_OBJ_TYPE_PROCESS", ",", "or", "ZX_OBJ_TYPE_JOB", ",", "and", "have", "ZX_RIGHT_INSPECT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "topic",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "buffer",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual",
"type": "size_t",
"is_array": true,
"attributes": [
]
},
{
"name": "avail",
"type": "size_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "object_get_child",
"attributes": [
"*"
],
"top_description": [
"Given", "a", "kernel", "object", "with", "children", "objects", ",", "obtain", "a", "handle", "to", "the", "child", "specified", "by", "the", "provided", "kernel", "object", "id", "."
],
"requirements": [
"handle", "must", "have", "ZX_RIGHT_ENUMERATE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "koid",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "rights",
"type": "zx_rights_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "object_set_profile",
"attributes": [
"*"
],
"top_description": [
"Apply", "a", "scheduling", "profile", "to", "a", "thread", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_THREAD", "and", "have", "ZX_RIGHT_MANAGE_THREAD", ".",
"profile", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROFILE", "and", "have", "ZX_RIGHT_APPLY_PROFILE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "profile",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pager_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "new", "pager", "object", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pager_create_vmo",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "pager", "owned", "vmo", "."
],
"requirements": [
"pager", "must", "be", "of", "type", "ZX_OBJ_TYPE_PAGER", ".",
"port", "must", "be", "of", "type", "ZX_OBJ_TYPE_PORT", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "pager",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "port",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "key",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "size",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pager_detach_vmo",
"attributes": [
"*"
],
"top_description": [
"Detaches", "a", "vmo", "from", "a", "pager", "."
],
"requirements": [
"pager", "must", "be", "of", "type", "ZX_OBJ_TYPE_PAGER", ".",
"vmo", "must", "be", "of", "type", "ZX_OBJ_TYPE_VMO", "."
],
"arguments": [
{
"name": "pager",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "vmo",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pager_supply_pages",
"attributes": [
"*"
],
"top_description": [
"Supply", "pages", "into", "a", "pager", "owned", "vmo", "."
],
"requirements": [
"pager", "must", "be", "of", "type", "ZX_OBJ_TYPE_PAGER", ".",
"pager_vmo", "must", "be", "of", "type", "ZX_OBJ_TYPE_VMO", ".",
"aux_vmo", "must", "be", "of", "type", "ZX_OBJ_TYPE_VMO", "and", "have", "ZX_RIGHT_READ", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "pager",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "pager_vmo",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "offset",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "length",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "aux_vmo",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "aux_offset",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pager_op_range",
"attributes": [
"*"
],
"top_description": [
"Perform", "an", "operation", "on", "a", "range", "of", "a", "pager", "owned", "vmo", "."
],
"requirements": [
"pager", "must", "be", "of", "type", "ZX_OBJ_TYPE_PAGER", ".",
"pager_vmo", "must", "be", "of", "type", "ZX_OBJ_TYPE_VMO", "."
],
"arguments": [
{
"name": "pager",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "op",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "pager_vmo",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "offset",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "length",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "data",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pc_firmware_tables",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "acpi_rsdp",
"type": "zx_paddr_t",
"is_array": true,
"attributes": [
]
},
{
"name": "smbios",
"type": "zx_paddr_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pci_get_nth_device",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "index",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out_info",
"type": "zx_pcie_device_info_t",
"is_array": true,
"attributes": [
]
},
{
"name": "out_handle",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pci_enable_bus_master",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PCI_DEVICE", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "enable",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pci_reset_device",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PCI_DEVICE", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pci_config_read",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PCI_DEVICE", "and", "have", "ZX_RIGHT_READ", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "offset",
"type": "uint16_t",
"is_array": false,
"attributes": [
]
},
{
"name": "width",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out_val",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pci_config_write",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PCI_DEVICE", "and", "have", "ZX_RIGHT_READ", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "offset",
"type": "uint16_t",
"is_array": false,
"attributes": [
]
},
{
"name": "width",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "val",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pci_cfg_pio_rw",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "bus",
"type": "uint8_t",
"is_array": false,
"attributes": [
]
},
{
"name": "dev",
"type": "uint8_t",
"is_array": false,
"attributes": [
]
},
{
"name": "func",
"type": "uint8_t",
"is_array": false,
"attributes": [
]
},
{
"name": "offset",
"type": "uint8_t",
"is_array": false,
"attributes": [
]
},
{
"name": "val",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
},
{
"name": "width",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "write",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pci_get_bar",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PCI_DEVICE", "and", "have", "ZX_RIGHT_READ", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "bar_num",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out_bar",
"type": "zx_pci_bar_t",
"is_array": true,
"attributes": [
]
},
{
"name": "out_handle",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pci_map_interrupt",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PCI_DEVICE", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "which_irq",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out_handle",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pci_query_irq_mode",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PCI_DEVICE", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "mode",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out_max_irqs",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pci_set_irq_mode",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PCI_DEVICE", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "mode",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "requested_irq_count",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pci_init",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "init_buf",
"type": "zx_pci_init_arg_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "len",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pci_add_subtract_io_range",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"handle", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "mmio",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "base",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "len",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "add",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "pmt_unpin",
"attributes": [
"*"
],
"top_description": [
"Unpin", "pages", "and", "revoke", "device", "access", "to", "them", "."
],
"requirements": [
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "port_create",
"attributes": [
"*"
],
"top_description": [
"Create", "an", "IO", "port", "."
],
"requirements": [
],
"arguments": [
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "port_queue",
"attributes": [
"*"
],
"top_description": [
"Queue", "a", "packet", "to", "a", "port", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PORT", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "packet",
"type": "zx_port_packet_t",
"is_array": true,
"attributes": [
"IN"
]
}
],
"return_type": "zx_status_t"
},
{
"name": "port_wait",
"attributes": [
"*",
"blocking"
],
"top_description": [
"Wait", "for", "a", "packet", "arrival", "in", "a", "port", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PORT", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "deadline",
"type": "zx_time_t",
"is_array": false,
"attributes": [
]
},
{
"name": "packet",
"type": "zx_port_packet_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "port_cancel",
"attributes": [
"*"
],
"top_description": [
"Cancels", "async", "port", "notifications", "on", "an", "object", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PORT", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "source",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "key",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "process_exit",
"attributes": [
"*",
"noreturn"
],
"top_description": [
"Exits", "the", "currently", "running", "process", "."
],
"requirements": [
],
"arguments": [
{
"name": "retcode",
"type": "int64_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "void"
},
{
"name": "process_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "new", "process", "."
],
"requirements": [
"job", "must", "be", "of", "type", "ZX_OBJ_TYPE_JOB", "and", "have", "ZX_RIGHT_MANAGE_PROCESS", "."
],
"arguments": [
{
"name": "job",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "name",
"type": "char",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "name_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "proc_handle",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
},
{
"name": "vmar_handle",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "process_start",
"attributes": [
"*"
],
"top_description": [
"Start", "execution", "on", "a", "process", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", "and", "have", "ZX_RIGHT_WRITE", ".",
"thread", "must", "be", "of", "type", "ZX_OBJ_TYPE_THREAD", "and", "have", "ZX_RIGHT_WRITE", ".",
"arg1", "must", "have", "ZX_RIGHT_TRANSFER", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "thread",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "entry",
"type": "zx_vaddr_t",
"is_array": false,
"attributes": [
]
},
{
"name": "stack",
"type": "zx_vaddr_t",
"is_array": false,
"attributes": [
]
},
{
"name": "arg1",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "arg2",
"type": "uintptr_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "process_read_memory",
"attributes": [
"*"
],
"top_description": [
"Read", "from", "the", "given", "process", "'", "s", "address", "space", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", "and", "have", "ZX_RIGHT_READ", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "vaddr",
"type": "zx_vaddr_t",
"is_array": false,
"attributes": [
]
},
{
"name": "buffer",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual",
"type": "size_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "process_write_memory",
"attributes": [
"*"
],
"top_description": [
"Write", "into", "the", "given", "process", "'", "s", "address", "space", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "vaddr",
"type": "zx_vaddr_t",
"is_array": false,
"attributes": [
]
},
{
"name": "buffer",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual",
"type": "size_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "profile_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "scheduler", "profile", "."
],
"requirements": [
"root_job", "must", "be", "of", "type", "ZX_OBJ_TYPE_JOB", "and", "have", "ZX_RIGHT_MANAGE_PROCESS", "."
],
"arguments": [
{
"name": "root_job",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "profile",
"type": "zx_profile_info_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "resource_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "resource", "object", "."
],
"requirements": [
"parent_rsrc", "must", "be", "of", "type", "ZX_OBJ_TYPE_RESOURCE", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "parent_rsrc",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "base",
"type": "uint64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "name",
"type": "char",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "name_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "resource_out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "smc_call",
"attributes": [
"*"
],
"top_description": [
"Make", "Secure", "Monitor", "Call", "(", "SMC", ")", "from", "user", "space", "."
],
"requirements": [
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "parameters",
"type": "zx_smc_parameters_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "out_smc_result",
"type": "zx_smc_result_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "socket_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "socket", "."
],
"requirements": [
],
"arguments": [
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out0",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
},
{
"name": "out1",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "socket_write",
"attributes": [
"*"
],
"top_description": [
"Write", "data", "to", "a", "socket", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_SOCKET", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "buffer",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual",
"type": "size_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "socket_read",
"attributes": [
"*"
],
"top_description": [
"Read", "data", "from", "a", "socket", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_SOCKET", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "buffer",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual",
"type": "size_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "socket_shutdown",
"attributes": [
"*"
],
"top_description": [
"Prevent", "reading", "or", "writing", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_SOCKET", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "stream_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "stream", "from", "a", "VMO", "."
],
"requirements": [
],
"arguments": [
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "vmo",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "seek",
"type": "zx_off_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out_stream",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "stream_writev",
"attributes": [
"*"
],
"top_description": [
"Write", "data", "to", "a", "stream", "at", "the", "current", "seek", "offset", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_STREAM", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "vector",
"type": "zx_iovec_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "num_vector",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual",
"type": "size_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "stream_writev_at",
"attributes": [
"*"
],
"top_description": [
"Write", "data", "to", "a", "stream", "at", "the", "given", "offset", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_STREAM", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "offset",
"type": "zx_off_t",
"is_array": false,
"attributes": [
]
},
{
"name": "vector",
"type": "zx_iovec_t",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "num_vector",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual",
"type": "size_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "stream_readv",
"attributes": [
"*"
],
"top_description": [
"Read", "data", "from", "a", "stream", "at", "the", "current", "seek", "offset", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_STREAM", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "vector",
"type": "zx_iovec_t",
"is_array": true,
"attributes": [
]
},
{
"name": "num_vector",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual",
"type": "size_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "stream_readv_at",
"attributes": [
"*"
],
"top_description": [
"Read", "data", "from", "a", "stream", "at", "the", "given", "offset", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_STREAM", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "offset",
"type": "zx_off_t",
"is_array": false,
"attributes": [
]
},
{
"name": "vector",
"type": "zx_iovec_t",
"is_array": true,
"attributes": [
]
},
{
"name": "num_vector",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "actual",
"type": "size_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "stream_seek",
"attributes": [
"*"
],
"top_description": [
"Modify", "the", "seek", "offset", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_STREAM", "and", "have", "ZX_RIGHT_READ", "or", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "whence",
"type": "zx_stream_seek_origin_t",
"is_array": false,
"attributes": [
]
},
{
"name": "offset",
"type": "int64_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out_seek",
"type": "zx_off_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "syscall_test_0",
"attributes": [
"*",
"testonly"
],
"top_description": [
],
"requirements": [
],
"arguments": [
],
"return_type": "zx_status_t"
},
{
"name": "syscall_test_1",
"attributes": [
"*",
"test_category1",
"testonly"
],
"top_description": [
],
"requirements": [
],
"arguments": [
{
"name": "a",
"type": "int32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "syscall_test_2",
"attributes": [
"*",
"test_category1",
"testonly"
],
"top_description": [
],
"requirements": [
],
"arguments": [
{
"name": "a",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "b",
"type": "int32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "syscall_test_3",
"attributes": [
"*",
"test_category2",
"testonly"
],
"top_description": [
],
"requirements": [
],
"arguments": [
{
"name": "a",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "b",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "c",
"type": "int32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "syscall_test_4",
"attributes": [
"*",
"testonly"
],
"top_description": [
],
"requirements": [
],
"arguments": [
{
"name": "a",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "b",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "c",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "d",
"type": "int32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "syscall_test_5",
"attributes": [
"*",
"testonly"
],
"top_description": [
],
"requirements": [
],
"arguments": [
{
"name": "a",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "b",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "c",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "d",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "e",
"type": "int32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "syscall_test_6",
"attributes": [
"*",
"testonly"
],
"top_description": [
],
"requirements": [
],
"arguments": [
{
"name": "a",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "b",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "c",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "d",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "e",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "f",
"type": "int32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "syscall_test_7",
"attributes": [
"*",
"testonly"
],
"top_description": [
],
"requirements": [
],
"arguments": [
{
"name": "a",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "b",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "c",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "d",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "e",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "f",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "g",
"type": "int32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "syscall_test_8",
"attributes": [
"*",
"testonly"
],
"top_description": [
],
"requirements": [
],
"arguments": [
{
"name": "a",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "b",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "c",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "d",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "e",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "f",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "g",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "h",
"type": "int32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "syscall_test_wrapper",
"attributes": [
"*",
"testonly"
],
"top_description": [
],
"requirements": [
],
"arguments": [
{
"name": "a",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "b",
"type": "int32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "c",
"type": "int32_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "syscall_test_handle_create",
"attributes": [
"*",
"testonly"
],
"top_description": [
],
"requirements": [
],
"arguments": [
{
"name": "return_value",
"type": "zx_status_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "system_get_dcache_line_size",
"attributes": [
"*",
"const",
"vdsocall"
],
"top_description": [
],
"requirements": [
],
"arguments": [
],
"return_type": "uint32_t"
},
{
"name": "system_get_num_cpus",
"attributes": [
"*",
"const",
"vdsocall"
],
"top_description": [
"Get", "number", "of", "logical", "processors", "on", "the", "system", "."
],
"requirements": [
],
"arguments": [
],
"return_type": "uint32_t"
},
{
"name": "system_get_version_string",
"attributes": [
"*",
"const",
"vdsocall"
],
"top_description": [
"Get", "version", "string", "for", "system", "."
],
"requirements": [
],
"arguments": [
],
"return_type": "zx_string_view_t"
},
{
"name": "system_get_physmem",
"attributes": [
"*",
"vdsocall"
],
"top_description": [
"Get", "amount", "of", "physical", "memory", "on", "the", "system", "."
],
"requirements": [
],
"arguments": [
],
"return_type": "uint64_t"
},
{
"name": "system_get_features",
"attributes": [
"*",
"vdsocall"
],
"top_description": [
"Get", "supported", "hardware", "capabilities", "."
],
"requirements": [
],
"arguments": [
{
"name": "kind",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "features",
"type": "uint32_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "system_get_event",
"attributes": [
"*"
],
"top_description": [
"Retrieve", "a", "handle", "to", "a", "system", "event", "."
],
"requirements": [
"None", "."
],
"arguments": [
{
"name": "root_job",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "kind",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "event",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "system_mexec",
"attributes": [
"*"
],
"top_description": [
"Soft", "reboot", "the", "system", "with", "a", "new", "kernel", "and", "bootimage", "."
],
"requirements": [
"resource", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", ".",
"kernel_vmo", "must", "be", "of", "type", "ZX_OBJ_TYPE_VMO", "and", "have", "ZX_RIGHT_READ", ".",
"bootimage_vmo", "must", "be", "of", "type", "ZX_OBJ_TYPE_VMO", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "resource",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "kernel_vmo",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "bootimage_vmo",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "system_mexec_payload_get",
"attributes": [
"*"
],
"top_description": [
"Return", "a", "ZBI", "containing", "ZBI", "entries", "necessary", "to", "boot", "this", "system", "."
],
"requirements": [
"resource", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "resource",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "buffer",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "system_powerctl",
"attributes": [
"*"
],
"top_description": [
],
"requirements": [
"resource", "must", "have", "resource", "kind", "ZX_RSRC_KIND_ROOT", "."
],
"arguments": [
{
"name": "resource",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "cmd",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "arg",
"type": "zx_system_powerctl_arg_t",
"is_array": true,
"attributes": [
"IN"
]
}
],
"return_type": "zx_status_t"
},
{
"name": "task_suspend",
"attributes": [
"*"
],
"top_description": [
"Suspend", "the", "given", "task", ".", "Currently", "only", "thread", "or", "process", "handles", "may", "be", "suspended", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_THREAD", "or", "ZX_OBJ_TYPE_PROCESS", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "token",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "task_suspend_token",
"attributes": [
"*"
],
"top_description": [
"Suspend", "the", "given", "task", ".", "Currently", "only", "thread", "or", "process", "handles", "may", "be", "suspended", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_THREAD", "or", "ZX_OBJ_TYPE_PROCESS", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "token",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "task_create_exception_channel",
"attributes": [
"*"
],
"top_description": [
"Create", "an", "exception", "channel", "for", "a", "given", "job", ",", "process", ",", "or", "thread", "."
],
"requirements": [
"handle", "must", "have", "ZX_RIGHT_INSPECT", "and", "have", "ZX_RIGHT_DUPLICATE", "and", "have", "ZX_RIGHT_TRANSFER", "and", "have", "ZX_RIGHT_MANAGE_THREAD", ".",
"If", "handle", "is", "of", "type", "ZX_OBJ_TYPE_JOB", "or", "ZX_OBJ_TYPE_PROCESS", ",", "it", "must", "have", "ZX_RIGHT_ENUMERATE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "task_kill",
"attributes": [
"*"
],
"top_description": [
"Kill", "the", "provided", "task", "(", "job", ",", "process", ",", "or", "thread", ")", "."
],
"requirements": [
"handle", "must", "have", "ZX_RIGHT_DESTROY", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "thread_exit",
"attributes": [
"*",
"noreturn"
],
"top_description": [
"Terminate", "the", "current", "running", "thread", "."
],
"requirements": [
],
"arguments": [
],
"return_type": "void"
},
{
"name": "thread_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "thread", "."
],
"requirements": [
"process", "must", "be", "of", "type", "ZX_OBJ_TYPE_PROCESS", "and", "have", "ZX_RIGHT_MANAGE_THREAD", "."
],
"arguments": [
{
"name": "process",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "name",
"type": "char",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "name_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "thread_start",
"attributes": [
"*"
],
"top_description": [
"Start", "execution", "on", "a", "thread", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_THREAD", "and", "have", "ZX_RIGHT_MANAGE_THREAD", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "thread_entry",
"type": "zx_vaddr_t",
"is_array": false,
"attributes": [
]
},
{
"name": "stack",
"type": "zx_vaddr_t",
"is_array": false,
"attributes": [
]
},
{
"name": "arg1",
"type": "uintptr_t",
"is_array": false,
"attributes": [
]
},
{
"name": "arg2",
"type": "uintptr_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "thread_read_state",
"attributes": [
"*"
],
"top_description": [
"Read", "one", "aspect", "of", "thread", "state", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_THREAD", "and", "have", "ZX_RIGHT_READ", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "kind",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "buffer",
"type": "any",
"is_array": true,
"attributes": [
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "thread_write_state",
"attributes": [
"*"
],
"top_description": [
"Write", "one", "aspect", "of", "thread", "state", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_THREAD", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "kind",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "buffer",
"type": "any",
"is_array": true,
"attributes": [
"IN"
]
},
{
"name": "buffer_size",
"type": "size_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "timer_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "timer", "."
],
"requirements": [
],
"arguments": [
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "clock_id",
"type": "zx_clock_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "timer_set",
"attributes": [
"*"
],
"top_description": [
"Start", "a", "timer", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_TIMER", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "deadline",
"type": "zx_time_t",
"is_array": false,
"attributes": [
]
},
{
"name": "slack",
"type": "zx_duration_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "timer_cancel",
"attributes": [
"*"
],
"top_description": [
"Cancel", "a", "timer", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_TIMER", "and", "have", "ZX_RIGHT_WRITE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "vcpu_create",
"attributes": [
"*"
],
"top_description": [
"Create", "a", "VCPU", "."
],
"requirements": [
"guest", "must", "be", "of", "type", "ZX_OBJ_TYPE_GUEST", "and", "have", "ZX_RIGHT_MANAGE_PROCESS", "."
],
"arguments": [
{
"name": "guest",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "options",
"type": "uint32_t",
"is_array": false,
"attributes": [
]
},
{
"name": "entry",
"type": "zx_vaddr_t",
"is_array": false,
"attributes": [
]
},
{
"name": "out",
"type": "zx_handle_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "vcpu_resume",
"attributes": [
"*",
"blocking"
],
"top_description": [
"Resume", "execution", "of", "a", "VCPU", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_VCPU", "and", "have", "ZX_RIGHT_EXECUTE", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",
"is_array": false,
"attributes": [
]
},
{
"name": "packet",
"type": "zx_port_packet_t",
"is_array": true,
"attributes": [
]
}
],
"return_type": "zx_status_t"
},
{
"name": "vcpu_interrupt",
"attributes": [
"*"
],
"top_description": [
"Raise", "an", "interrupt", "on", "a", "VCPU", "."
],
"requirements": [
"handle", "must", "be", "of", "type", "ZX_OBJ_TYPE_VCPU", "and", "have", "ZX_RIGHT_SIGNAL", "."
],
"arguments": [
{
"name": "handle",
"type": "zx_handle_t",