2014-08-12 01:48:46 +04:00
|
|
|
// Copyright 2009 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.
|
|
|
|
|
2014-08-13 01:05:03 +04:00
|
|
|
#include "textflag.h"
|
2014-08-12 01:48:46 +04:00
|
|
|
|
|
|
|
//
|
2014-08-14 23:05:46 +04:00
|
|
|
// System call support for amd64, Plan 9
|
2014-08-12 01:48:46 +04:00
|
|
|
//
|
|
|
|
|
2014-08-14 23:05:46 +04:00
|
|
|
// Just jump to package syscall's implementation for all these functions.
|
|
|
|
// The runtime may know about them.
|
2014-08-12 01:48:46 +04:00
|
|
|
|
|
|
|
TEXT ·Syscall(SB),NOSPLIT,$0-64
|
2014-08-14 23:05:46 +04:00
|
|
|
JMP syscall·Syscall(SB)
|
2014-08-12 01:48:46 +04:00
|
|
|
|
|
|
|
TEXT ·Syscall6(SB),NOSPLIT,$0-88
|
2014-08-14 23:05:46 +04:00
|
|
|
JMP syscall·Syscall6(SB)
|
2014-08-12 01:48:46 +04:00
|
|
|
|
|
|
|
TEXT ·RawSyscall(SB),NOSPLIT,$0-56
|
2014-08-14 23:05:46 +04:00
|
|
|
JMP syscall·RawSyscall(SB)
|
2014-08-12 01:48:46 +04:00
|
|
|
|
|
|
|
TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
|
2014-08-14 23:05:46 +04:00
|
|
|
JMP syscall·RawSyscall6(SB)
|
2014-08-12 01:48:46 +04:00
|
|
|
|
|
|
|
TEXT ·seek(SB),NOSPLIT,$0-56
|
2014-08-14 23:05:46 +04:00
|
|
|
JMP syscall·seek(SB)
|
2014-08-12 01:48:46 +04:00
|
|
|
|
|
|
|
TEXT ·exit(SB),NOSPLIT,$8-8
|
2014-08-14 23:05:46 +04:00
|
|
|
JMP syscall·exit(SB)
|