1/* $NetBSD: pipe.S,v 1.5 1999/01/14 22:48:21 kleink Exp $ */ 2 3#include "SYS.h" 4 5ENTRY(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 141: 15 b PIC_PLT(_C_LABEL(__cerror)) 16