]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blame - vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
Upgrade to 0.12
[github/fretlink/terraform-provider-statuscake.git] / vendor / golang.org / x / sys / unix / asm_linux_ppc64x.s
CommitLineData
15c0b25d
AP
1// Copyright 2014 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build linux
6// +build ppc64 ppc64le
7// +build !gccgo
8
9#include "textflag.h"
10
11//
12// System calls for ppc64, Linux
13//
14
15// Just jump to package syscall's implementation for all these functions.
16// The runtime may know about them.
17
15c0b25d
AP
18TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
19 BL runtime·entersyscall(SB)
20 MOVD a1+8(FP), R3
21 MOVD a2+16(FP), R4
22 MOVD a3+24(FP), R5
23 MOVD R0, R6
24 MOVD R0, R7
25 MOVD R0, R8
26 MOVD trap+0(FP), R9 // syscall entry
27 SYSCALL R9
28 MOVD R3, r1+32(FP)
29 MOVD R4, r2+40(FP)
30 BL runtime·exitsyscall(SB)
31 RET
32
15c0b25d
AP
33TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48
34 MOVD a1+8(FP), R3
35 MOVD a2+16(FP), R4
36 MOVD a3+24(FP), R5
37 MOVD R0, R6
38 MOVD R0, R7
39 MOVD R0, R8
40 MOVD trap+0(FP), R9 // syscall entry
41 SYSCALL R9
42 MOVD R3, r1+32(FP)
43 MOVD R4, r2+40(FP)
44 RET