mirror of
https://gitee.com/johng/gf.git
synced 2024-12-05 05:37:55 +08:00
31 lines
691 B
ArmAsm
31 lines
691 B
ArmAsm
|
// Copyright 2015 The Go Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
// +build !gccgo
|
||
|
// +build arm64,darwin
|
||
|
|
||
|
#include "textflag.h"
|
||
|
|
||
|
//
|
||
|
// System call support for AMD64, Darwin
|
||
|
//
|
||
|
|
||
|
// Just jump to package syscall's implementation for all these functions.
|
||
|
// The runtime may know about them.
|
||
|
|
||
|
TEXT ·Syscall(SB),NOSPLIT,$0-56
|
||
|
B syscall·Syscall(SB)
|
||
|
|
||
|
TEXT ·Syscall6(SB),NOSPLIT,$0-80
|
||
|
B syscall·Syscall6(SB)
|
||
|
|
||
|
TEXT ·Syscall9(SB),NOSPLIT,$0-104
|
||
|
B syscall·Syscall9(SB)
|
||
|
|
||
|
TEXT ·RawSyscall(SB),NOSPLIT,$0-56
|
||
|
B syscall·RawSyscall(SB)
|
||
|
|
||
|
TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
|
||
|
B syscall·RawSyscall6(SB)
|