asm_freebsd_amd64.s

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