asm_plan9_386.s

 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 386, 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-32
15	JMP	syscallSyscall(SB)
16
17TEXT	Syscall6(SB),NOSPLIT,$0-44
18	JMP	syscallSyscall6(SB)
19
20TEXT RawSyscall(SB),NOSPLIT,$0-28
21	JMP	syscallRawSyscall(SB)
22
23TEXT RawSyscall6(SB),NOSPLIT,$0-40
24	JMP	syscallRawSyscall6(SB)
25
26TEXT seek(SB),NOSPLIT,$0-36
27	JMP	syscallseek(SB)
28
29TEXT exit(SB),NOSPLIT,$4-4
30	JMP	syscallexit(SB)