asm_darwin_arm64.s

 1// Copyright 2015 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// +build !gccgo
 6// +build arm64,darwin
 7
 8#include "textflag.h"
 9
10//
11// System call support for AMD64, Darwin
12//
13
14// Just jump to package syscall's implementation for all these functions.
15// The runtime may know about them.
16
17TEXT	Syscall(SB),NOSPLIT,$0-56
18	B	syscallSyscall(SB)
19
20TEXT	Syscall6(SB),NOSPLIT,$0-80
21	B	syscallSyscall6(SB)
22
23TEXT	Syscall9(SB),NOSPLIT,$0-104
24	B	syscallSyscall9(SB)
25
26TEXT	RawSyscall(SB),NOSPLIT,$0-56
27	B	syscallRawSyscall(SB)
28
29TEXT	RawSyscall6(SB),NOSPLIT,$0-80
30	B	syscallRawSyscall6(SB)