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