1 /* $NetBSD: pipe.S,v 1.3 1998/05/25 15:35:06 ws Exp $ */ 2 3 #include "SYS.h" 4 5 ENTRY(pipe) 6 mr 5,3 # save pointer 7 li 0,SYS_pipe 8 sc # assume, that r5 is kept 9 bso 1f 10 stw 3,0(5) # success, store fds 11 stw 4,4(5) 12 li 3,0 13 blr # and return 0 14 1: 15 b _ASM_LABEL(cerror) 16