You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
759 B
ArmAsm
30 lines
759 B
ArmAsm
3 years ago
|
// Copyright 2021 The Go Authors. All rights reserved.
|
||
8 years ago
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
3 years ago
|
//go:build (darwin || freebsd || netbsd || openbsd) && gc
|
||
|
// +build darwin freebsd netbsd openbsd
|
||
4 years ago
|
// +build gc
|
||
8 years ago
|
|
||
|
#include "textflag.h"
|
||
|
|
||
3 years ago
|
// System call support for 386 BSD
|
||
8 years ago
|
|
||
|
// Just jump to package syscall's implementation for all these functions.
|
||
|
// The runtime may know about them.
|
||
|
|
||
|
TEXT ·Syscall(SB),NOSPLIT,$0-28
|
||
|
JMP syscall·Syscall(SB)
|
||
|
|
||
|
TEXT ·Syscall6(SB),NOSPLIT,$0-40
|
||
|
JMP syscall·Syscall6(SB)
|
||
|
|
||
|
TEXT ·Syscall9(SB),NOSPLIT,$0-52
|
||
|
JMP syscall·Syscall9(SB)
|
||
|
|
||
3 years ago
|
TEXT ·RawSyscall(SB),NOSPLIT,$0-28
|
||
8 years ago
|
JMP syscall·RawSyscall(SB)
|
||
|
|
||
|
TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
|
||
|
JMP syscall·RawSyscall6(SB)
|