| // Copyright 2015 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| // func rawVforkSyscall(trap, a1, a2 uintptr) (r1, err uintptr) |
| TEXT ·rawVforkSyscall(SB),NOSPLIT,$0-40 |
| MOVD trap+0(FP), R8 // syscall entry |
| MOVD R0, err+32(FP) // errno |
| MOVD ZR, err+32(FP) // errno |
| // func rawSyscallNoError(trap uintptr, a1, a2, a3 uintptr) (r1, r2 uintptr); |
| TEXT ·rawSyscallNoError(SB),NOSPLIT,$0-48 |
| MOVD trap+0(FP), R8 // syscall entry |