diff options
author | Elliott Hughes <enh@google.com> | 2012-09-06 11:24:45 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-09-06 11:24:45 -0700 |
commit | 1ad05db9cef23c1ca28ffd51852fa2a0b0c9b4b7 (patch) | |
tree | 23595a588bdd3a9bfb5c223e4cc7bc39b8dd84d9 /libc/arch-mips/syscalls | |
parent | 6e3b0f2d2e89a8f3bbfc5d26dcdc13233c1111ba (diff) | |
download | bionic-1ad05db9cef23c1ca28ffd51852fa2a0b0c9b4b7.zip bionic-1ad05db9cef23c1ca28ffd51852fa2a0b0c9b4b7.tar.gz bionic-1ad05db9cef23c1ca28ffd51852fa2a0b0c9b4b7.tar.bz2 |
Add mlockall and munlockall for Google TV.
Change-Id: I10e961d701e74aab07211ec7975f61167e387853
Diffstat (limited to 'libc/arch-mips/syscalls')
-rw-r--r-- | libc/arch-mips/syscalls/mlockall.S | 22 | ||||
-rw-r--r-- | libc/arch-mips/syscalls/munlockall.S | 22 |
2 files changed, 44 insertions, 0 deletions
diff --git a/libc/arch-mips/syscalls/mlockall.S b/libc/arch-mips/syscalls/mlockall.S new file mode 100644 index 0000000..393c090 --- /dev/null +++ b/libc/arch-mips/syscalls/mlockall.S @@ -0,0 +1,22 @@ +/* autogenerated by gensyscalls.py */ +#include <sys/linux-syscalls.h> + .text + .globl mlockall + .align 4 + .ent mlockall + +mlockall: + .set noreorder + .cpload $t9 + li $v0, __NR_mlockall + syscall + bnez $a3, 1f + move $a0, $v0 + j $ra + nop +1: + la $t9,__set_errno + j $t9 + nop + .set reorder + .end mlockall diff --git a/libc/arch-mips/syscalls/munlockall.S b/libc/arch-mips/syscalls/munlockall.S new file mode 100644 index 0000000..20fa7b8 --- /dev/null +++ b/libc/arch-mips/syscalls/munlockall.S @@ -0,0 +1,22 @@ +/* autogenerated by gensyscalls.py */ +#include <sys/linux-syscalls.h> + .text + .globl munlockall + .align 4 + .ent munlockall + +munlockall: + .set noreorder + .cpload $t9 + li $v0, __NR_munlockall + syscall + bnez $a3, 1f + move $a0, $v0 + j $ra + nop +1: + la $t9,__set_errno + j $t9 + nop + .set reorder + .end munlockall |