blob: e0fcd9b3deec595ed3b327d134de1913aa0242ae [file] [log] [blame]
Girish Gowdra390f12f2021-07-01 15:53:49 -07001// Copyright 2021 The Go Authors. All rights reserved.
Girish Gowdra64503432020-01-07 10:59:10 +05302// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
Girish Gowdra390f12f2021-07-01 15:53:49 -07005//go:build (freebsd || netbsd || openbsd) && gc
6// +build freebsd netbsd openbsd
7// +build gc
Girish Gowdra64503432020-01-07 10:59:10 +05308
9#include "textflag.h"
10
Girish Gowdra390f12f2021-07-01 15:53:49 -070011// System call support for 386 BSD
Girish Gowdra64503432020-01-07 10:59:10 +053012
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
Girish Gowdra390f12f2021-07-01 15:53:49 -070025TEXT ·RawSyscall(SB),NOSPLIT,$0-28
Girish Gowdra64503432020-01-07 10:59:10 +053026 JMP syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 JMP syscall·RawSyscall6(SB)