1 /* autogenerated by gensyscalls.py */ 2 #include <machine/asm.h> 3 #include <sys/linux-syscalls.h> 4 5 ENTRY(__mmap2) 6 mov ip, sp 7 .save {r4, r5, r6, r7} 8 stmfd sp!, {r4, r5, r6, r7} 9 ldmfd ip, {r4, r5, r6} 10 ldr r7, =__NR_mmap2 11 swi #0 12 ldmfd sp!, {r4, r5, r6, r7} 13 movs r0, r0 14 bxpl lr 15 b __set_syscall_errno 16 END(__mmap2) 17