github.com/m10x/go/src@v0.0.0-20220112094212-ba61592315da/syscall/asm_openbsd_arm.s (about) 1 // Copyright 2013 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 ARM, 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-28 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-40 20 JMP ·syscall6Internal(SB) 21 22 // func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) 23 TEXT ·RawSyscall(SB),NOSPLIT,$0-28 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-40 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-52 32 JMP ·syscall9Internal(SB)