2009-03-04 04:28:35 +01:00
|
|
|
/* autogenerated by gensyscalls.py */
|
2011-02-17 19:47:44 +01:00
|
|
|
#include <machine/asm.h>
|
2009-03-04 04:28:35 +01:00
|
|
|
#include <sys/linux-syscalls.h>
|
|
|
|
|
2011-02-17 19:47:44 +01:00
|
|
|
ENTRY(__sys_clone)
|
2010-01-23 03:59:05 +01:00
|
|
|
mov ip, sp
|
|
|
|
.save {r4, r5, r6, r7}
|
|
|
|
stmfd sp!, {r4, r5, r6, r7}
|
|
|
|
ldmfd ip, {r4, r5, r6}
|
2009-03-04 04:28:35 +01:00
|
|
|
ldr r7, =__NR_clone
|
|
|
|
swi #0
|
2010-01-23 03:59:05 +01:00
|
|
|
ldmfd sp!, {r4, r5, r6, r7}
|
2009-03-04 04:28:35 +01:00
|
|
|
movs r0, r0
|
|
|
|
bxpl lr
|
|
|
|
b __set_syscall_errno
|
2011-02-17 19:47:44 +01:00
|
|
|
END(__sys_clone)
|