David K. Bainbridge | e05cf0c | 2021-08-19 03:16:50 +0000 | [diff] [blame] | 1 | // Copyright 2021 The Go Authors. All rights reserved. |
Don Newton | 98fd881 | 2019-09-23 15:15:02 -0400 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
David K. Bainbridge | e05cf0c | 2021-08-19 03:16:50 +0000 | [diff] [blame] | 5 | //go:build (freebsd || netbsd || openbsd) && gc |
| 6 | // +build freebsd netbsd openbsd |
| 7 | // +build gc |
Don Newton | 98fd881 | 2019-09-23 15:15:02 -0400 | [diff] [blame] | 8 | |
| 9 | #include "textflag.h" |
| 10 | |
David K. Bainbridge | e05cf0c | 2021-08-19 03:16:50 +0000 | [diff] [blame] | 11 | // System call support for ARM BSD |
Don Newton | 98fd881 | 2019-09-23 15:15:02 -0400 | [diff] [blame] | 12 | |
| 13 | // Just jump to package syscall's implementation for all these functions. |
| 14 | // The runtime may know about them. |
| 15 | |
| 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 |
| 17 | B syscall·Syscall(SB) |
| 18 | |
| 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 |
| 20 | B syscall·Syscall6(SB) |
| 21 | |
| 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 |
| 23 | B syscall·Syscall9(SB) |
| 24 | |
| 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 |
| 26 | B syscall·RawSyscall(SB) |
| 27 | |
| 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 |
| 29 | B syscall·RawSyscall6(SB) |