Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Side by Side Diff: src/pkg/syscall/asm_plan9_amd64.s

Issue 160200044: [dev.power64] code review 160200044: build: merge default into dev.power64 (Closed)
Patch Set: diff -r be0c14f62257b42485019e9e1db23cf40d2e249f https://code.google.com/p/go Created 10 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pkg/syscall/asm_plan9_386.s ('k') | src/pkg/syscall/asm_solaris_amd64.s » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP) 5 // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP)
6 // so that go vet can check that they are correct. 6 // so that go vet can check that they are correct.
7 7
8 #include "../../cmd/ld/textflag.h" 8 #include "textflag.h"
9 9
10 // 10 //
11 // System call support for Plan 9 11 // System call support for Plan 9
12 // 12 //
13 13
14 //func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err string) 14 //func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err string)
15 //func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err strin g) 15 //func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err strin g)
16 //func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr) 16 //func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr)
17 //func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr) 17 //func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr)
18 18
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 MOVSQ 153 MOVSQ
154 RET 154 RET
155 155
156 //func exit(code int) 156 //func exit(code int)
157 // Import runtime·exit for cleanly exiting. 157 // Import runtime·exit for cleanly exiting.
158 TEXT ·exit(SB),NOSPLIT,$8-8 158 TEXT ·exit(SB),NOSPLIT,$8-8
159 MOVQ code+0(FP), AX 159 MOVQ code+0(FP), AX
160 MOVQ AX, 0(SP) 160 MOVQ AX, 0(SP)
161 CALL runtime·exit(SB) 161 CALL runtime·exit(SB)
162 RET 162 RET
OLDNEW
« no previous file with comments | « src/pkg/syscall/asm_plan9_386.s ('k') | src/pkg/syscall/asm_solaris_amd64.s » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b