blob: e0fcd9b3deec595ed3b327d134de1913aa0242ae [file] [log] [blame]
khenaidood948f772021-08-11 17:49:24 -04001// Copyright 2021 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//go:build (freebsd || netbsd || openbsd) && gc
6// +build freebsd netbsd openbsd
7// +build gc
8
9#include "textflag.h"
10
11// System call support for 386 BSD
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-28
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 JMP syscall·Syscall6(SB)
21
22TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 JMP syscall·Syscall9(SB)
24
25TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 JMP syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 JMP syscall·RawSyscall6(SB)