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

Unified Diff: src/pkg/runtime/plan9/386/sys.s

Issue 5177049: code review 5177049: runtime: fix Plan 9 build (Closed)
Patch Set: diff -r 9a4273c962a4 https://code.google.com/p/go/ Created 13 years, 6 months ago
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/pkg/runtime/plan9/mem.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/runtime/plan9/386/sys.s
===================================================================
--- a/src/pkg/runtime/plan9/386/sys.s
+++ b/src/pkg/runtime/plan9/386/sys.s
@@ -14,9 +14,21 @@
INT $64
RET
+// TODO(ality): remove use of deprecated system calls
+
+TEXT runtime·read(SB),7,$0
+ MOVL $15, AX
+ INT $64
+ RET
+
TEXT runtime·write(SB),7,$0
- MOVL $20, AX
- INT $64
+ MOVL $20, AX
+ INT $64
+ RET
+
+TEXT runtime·close(SB),7,$0
+ MOVL $4, AX
+ INT $64
RET
TEXT runtime·exits(SB),7,$0
@@ -29,6 +41,11 @@
INT $64
RET
+TEXT runtime·sleep(SB),7,$0
+ MOVL $17, AX
+ INT $64
+ RET
+
TEXT runtime·plan9_semacquire(SB),7,$0
MOVL $37, AX
INT $64
« no previous file with comments | « no previous file | src/pkg/runtime/plan9/mem.c » ('j') | no next file with comments »

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