diff options
author | Elliott Hughes <enh@google.com> | 2014-06-24 16:32:01 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-06-24 19:03:31 -0700 |
commit | 3f525d41c2acde2ae3309cf839d83d7f41ab2fe6 (patch) | |
tree | 572f2b5a63ffbbec084c9f048f396856c228b9b0 /libc/arch-mips64 | |
parent | 52f9b051c8bcb3d723b023a74d7d89ee45cf754c (diff) | |
download | bionic-3f525d41c2acde2ae3309cf839d83d7f41ab2fe6.zip bionic-3f525d41c2acde2ae3309cf839d83d7f41ab2fe6.tar.gz bionic-3f525d41c2acde2ae3309cf839d83d7f41ab2fe6.tar.bz2 |
Add splice, tee, and vmsplice.
Change-Id: I5f43380b88d776a8bb607b47dbbc5db5a2fe6163
Diffstat (limited to 'libc/arch-mips64')
-rw-r--r-- | libc/arch-mips64/syscalls/splice.S | 25 | ||||
-rw-r--r-- | libc/arch-mips64/syscalls/tee.S | 25 | ||||
-rw-r--r-- | libc/arch-mips64/syscalls/vmsplice.S | 25 |
3 files changed, 75 insertions, 0 deletions
diff --git a/libc/arch-mips64/syscalls/splice.S b/libc/arch-mips64/syscalls/splice.S new file mode 100644 index 0000000..d626904 --- /dev/null +++ b/libc/arch-mips64/syscalls/splice.S @@ -0,0 +1,25 @@ +/* Generated by gensyscalls.py. Do not edit. */ + +#include <private/bionic_asm.h> + +ENTRY(splice) + .set push + .set noreorder + li v0, __NR_splice + syscall + bnez a3, 1f + move a0, v0 + j ra + nop +1: + move t0, ra + bal 2f + nop +2: + .cpsetup ra, t1, 2b + LA t9,__set_errno + .cpreturn + j t9 + move ra, t0 + .set pop +END(splice) diff --git a/libc/arch-mips64/syscalls/tee.S b/libc/arch-mips64/syscalls/tee.S new file mode 100644 index 0000000..429700c --- /dev/null +++ b/libc/arch-mips64/syscalls/tee.S @@ -0,0 +1,25 @@ +/* Generated by gensyscalls.py. Do not edit. */ + +#include <private/bionic_asm.h> + +ENTRY(tee) + .set push + .set noreorder + li v0, __NR_tee + syscall + bnez a3, 1f + move a0, v0 + j ra + nop +1: + move t0, ra + bal 2f + nop +2: + .cpsetup ra, t1, 2b + LA t9,__set_errno + .cpreturn + j t9 + move ra, t0 + .set pop +END(tee) diff --git a/libc/arch-mips64/syscalls/vmsplice.S b/libc/arch-mips64/syscalls/vmsplice.S new file mode 100644 index 0000000..aa03585 --- /dev/null +++ b/libc/arch-mips64/syscalls/vmsplice.S @@ -0,0 +1,25 @@ +/* Generated by gensyscalls.py. Do not edit. */ + +#include <private/bionic_asm.h> + +ENTRY(vmsplice) + .set push + .set noreorder + li v0, __NR_vmsplice + syscall + bnez a3, 1f + move a0, v0 + j ra + nop +1: + move t0, ra + bal 2f + nop +2: + .cpsetup ra, t1, 2b + LA t9,__set_errno + .cpreturn + j t9 + move ra, t0 + .set pop +END(vmsplice) |