blob: 304cb9ff87c372f5b311ffa2e214291d9f356ddb [file] [log] [blame]
----- 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_obj_type_t;
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 uint64_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(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(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 *int, 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_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_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 bool) 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 bool) 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 bool, base uint64, len uint64, add bool) 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 *Iovec, 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 *Iovec, 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 *Iovec, 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 *Iovec, 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 *Off) 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() String_view
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 *int, 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_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_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 bool) 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 bool) 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 bool, base uint64, len uint64, add bool) 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 *Iovec, num_vector uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_stream_writev_at(handle Handle, options uint32, offset uint64, vector *Iovec, num_vector uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_stream_readv(handle Handle, options uint32, vector *Iovec, num_vector uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_stream_readv_at(handle Handle, options uint32, offset uint64, vector *Iovec, num_vector uint, actual *uint) Status
//go:noescape
//go:nosplit
func Sys_stream_seek(handle Handle, whence uint32, offset int64, out_seek *Off) 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() String_view
//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 *int, 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_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_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 bool) 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 bool) 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 bool, base uint64, len uint64, add bool) 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 *Iovec, 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 *Iovec, 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 *Iovec, 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 *Iovec, 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 *Off) 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() String_view
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_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