1 // Copyright 2009 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 #include "textflag.h"
6
7 //
8 // System call support for amd64, Plan 9
9 //
10
11 // Just jump to package syscall's implementation for all these functions.
12 // The runtime may know about them.
13
14 TEXT ·Syscall(SB),NOSPLIT,$0-64
15 JMP syscall·Syscall(SB)
16
17 TEXT ·Syscall6(SB),NOSPLIT,$0-88
18 JMP syscall·Syscall6(SB)
19
20 TEXT ·RawSyscall(SB),NOSPLIT,$0-56
21 JMP syscall·RawSyscall(SB)
22
23 TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
24 JMP syscall·RawSyscall6(SB)
25
26 TEXT ·seek(SB),NOSPLIT,$0-56
27 JMP syscall·seek(SB)
28
29 TEXT ·exit(SB),NOSPLIT,$8-8
30 JMP syscall·exit(SB)
31
View as plain text