mirror of
https://github.com/golang/sys.git
synced 2026-01-29 07:02:06 +03:00
Copy zsyscall_plan9_arm.go from syscall and add asm_plan9_arm.s which just contains jumps to the corresponding syscall functions. Change-Id: I0eed6449c622ae3f6e73abcb43edfd306e96753f Reviewed-on: https://go-review.googlesource.com/89795 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
26 lines
644 B
ArmAsm
26 lines
644 B
ArmAsm
// 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.
|
|
|
|
#include "textflag.h"
|
|
|
|
// System call support for plan9 on arm
|
|
|
|
// Just jump to package syscall's implementation for all these functions.
|
|
// The runtime may know about them.
|
|
|
|
TEXT ·Syscall(SB),NOSPLIT,$0-32
|
|
JMP syscall·Syscall(SB)
|
|
|
|
TEXT ·Syscall6(SB),NOSPLIT,$0-44
|
|
JMP syscall·Syscall6(SB)
|
|
|
|
TEXT ·RawSyscall(SB),NOSPLIT,$0-28
|
|
JMP syscall·RawSyscall(SB)
|
|
|
|
TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
|
|
JMP syscall·RawSyscall6(SB)
|
|
|
|
TEXT ·seek(SB),NOSPLIT,$0-36
|
|
JMP syscall·exit(SB)
|