Text file src/syscall/asm_openbsd_arm64.s

     1  // Copyright 2019 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 ARM64, 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)
    15  TEXT	·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)
    19  TEXT	·Syscall6(SB),NOSPLIT,$0-80
    20  	JMP	·syscall6Internal(SB)
    21  
    22  // func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    23  TEXT	·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)
    27  TEXT	·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)
    31  TEXT	·Syscall9(SB),NOSPLIT,$0-104
    32  	JMP	·syscall9Internal(SB)
    33  

View as plain text