2013-10-10 23:05:06 +01:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 10:31:05 -08:00
|
|
|
#include <private/bionic_asm.h>
|
2013-10-10 23:05:06 +01:00
|
|
|
|
|
|
|
ENTRY(mmap)
|
|
|
|
mov x8, __NR_mmap
|
|
|
|
svc #0
|
|
|
|
|
|
|
|
cmn x0, #(MAX_ERRNO + 1)
|
|
|
|
cneg x0, x0, hi
|
|
|
|
b.hi __set_errno
|
|
|
|
|
|
|
|
ret
|
|
|
|
END(mmap)
|
2013-12-12 09:36:27 +00:00
|
|
|
|
2014-02-18 16:42:36 -08:00
|
|
|
.globl mmap64
|
|
|
|
.equ mmap64, mmap
|