Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
bwh
/
klibc
/
9bfe94c405b6ae3f7a5c04c0d4cd539867ad2b85
/
.
/
usr
/
klibc
/
arch
/
mips
/
pipe.S
blob: 932fc08d8e7c4ee51186eeb5d3834913e2005270 [
file
]
#include <machine/asm.h>
#include <asm/unistd.h>
LEAF
(
pipe
)
li v0
,
__NR_pipe
syscall
bnez a3
,
1
f
sw v0
,
(
a0
)
sw v1
,
4
(
a0
)
li v0
,
0
b
2
f
1
:
sw v0
,
errno
li v0
,
-1
2
:
jr ra
END
(
pipe
)