blob: e0fcd9b3deec595ed3b327d134de1913aa0242ae [file] [log] [blame]
Andrea Campanella764f1ed2022-03-24 11:46:38 +01001// Copyright 2021 The Go Authors. All rights reserved.
kesavand2cde6582020-06-22 04:56:23 -04002// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
kesavandc71914f2022-03-25 11:19:03 +05305//go:build (freebsd || netbsd || openbsd) && gc
6// +build freebsd netbsd openbsd
Andrea Campanella764f1ed2022-03-24 11:46:38 +01007// +build gc
kesavand2cde6582020-06-22 04:56:23 -04008
9#include "textflag.h"
10
Andrea Campanella764f1ed2022-03-24 11:46:38 +010011// System call support for 386 BSD
kesavand2cde6582020-06-22 04:56:23 -040012
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
Andrea Campanella764f1ed2022-03-24 11:46:38 +010025TEXT ·RawSyscall(SB),NOSPLIT,$0-28
kesavand2cde6582020-06-22 04:56:23 -040026 JMP syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 JMP syscall·RawSyscall6(SB)