blob: d3448e6750b2edfd03d756a0bb68db7699ffd8fb [file] [log] [blame]
David K. Bainbridgebd6b2882021-08-26 13:31:02 +00001// 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
14TEXT ·Syscall(SB),NOSPLIT,$0-64
15 JMP syscall·Syscall(SB)
16
17TEXT ·Syscall6(SB),NOSPLIT,$0-88
18 JMP syscall·Syscall6(SB)
19
20TEXT ·RawSyscall(SB),NOSPLIT,$0-56
21 JMP syscall·RawSyscall(SB)
22
23TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
24 JMP syscall·RawSyscall6(SB)
25
26TEXT ·seek(SB),NOSPLIT,$0-56
27 JMP syscall·seek(SB)
28
29TEXT ·exit(SB),NOSPLIT,$8-8
30 JMP syscall·exit(SB)