mprotect.S revision 7efad83d430f4d824f2aaa75edea5106f6ff8aae
1/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(mprotect)
6    .set push
7    .set noreorder
8    li v0, __NR_mprotect
9    syscall
10    bnez a3, 1f
11    move a0, v0
12    j ra
13    nop
141:
15    move t0, ra
16    bal     2f
17    nop
182:
19    .cpsetup ra, t1, 2b
20    LA t9,__set_errno_internal
21    .cpreturn
22    j t9
23    move ra, t0
24    .set pop
25END(mprotect)
26