Initial revision
This commit is contained in:
14
mach/sun3/libsys/pipe.s
Normal file
14
mach/sun3/libsys/pipe.s
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "syscall.h"
|
||||
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
||||
.define _pipe
|
||||
_pipe:
|
||||
pea (SYS_pipe)
|
||||
trap #0
|
||||
bcs 1f
|
||||
move.l (4,sp),a0
|
||||
move.l d0,(a0)+
|
||||
move.l d1,(a0)
|
||||
clr.l d0
|
||||
rts
|
||||
1:
|
||||
jmp (cerror)
|
||||
Reference in New Issue
Block a user