...

Text file src/syscall/asm_openbsd_amd64.s

Documentation: syscall

     1// Copyright 2020 The Go Authors. All rights reserved.
     2// Use of this source code is governed by a BSD-style
     3// license that can be found in the LICENSE file.
     4
     5#include "textflag.h"
     6
     7//
     8// System call support for AMD64, OpenBSD
     9//
    10
    11// Provide these function names via assembly so they are provided as ABI0,
    12// rather than ABIInternal.
    13
    14// func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    15TEXT	·Syscall(SB),NOSPLIT,$0-56
    16	JMP	·syscallInternal(SB)
    17
    18// func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    19TEXT	·Syscall6(SB),NOSPLIT,$0-80
    20	JMP	·syscall6Internal(SB)
    21
    22// func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    23TEXT	·RawSyscall(SB),NOSPLIT,$0-56
    24	JMP	·rawSyscallInternal(SB)
    25
    26// func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    27TEXT	·RawSyscall6(SB),NOSPLIT,$0-80
    28	JMP	·rawSyscall6Internal(SB)
    29
    30// func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno)
    31TEXT	·Syscall9(SB),NOSPLIT,$0-104
    32	JMP	·syscall9Internal(SB)

View as plain text