2013-10-16 23:27:59 +02:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-09-20 01:27:24 +02:00
|
|
|
#include <asm/unistd.h>
|
2014-02-19 21:20:00 +01:00
|
|
|
#include <machine/asm.h>
|
|
|
|
#include <machine/regdef.h>
|
2013-09-20 01:27:24 +02:00
|
|
|
.text
|
|
|
|
.globl sendfile64
|
|
|
|
.align 4
|
|
|
|
.ent sendfile64
|
|
|
|
|
|
|
|
sendfile64:
|
|
|
|
.set noreorder
|
2014-02-19 21:20:00 +01:00
|
|
|
.cpload t9
|
|
|
|
li v0, __NR_sendfile64
|
2013-09-20 01:27:24 +02:00
|
|
|
syscall
|
2014-02-19 21:20:00 +01:00
|
|
|
bnez a3, 1f
|
|
|
|
move a0, v0
|
|
|
|
j ra
|
2013-09-20 01:27:24 +02:00
|
|
|
nop
|
|
|
|
1:
|
2014-02-19 21:20:00 +01:00
|
|
|
la t9,__set_errno
|
|
|
|
j t9
|
2013-09-20 01:27:24 +02:00
|
|
|
nop
|
|
|
|
.set reorder
|
|
|
|
.end sendfile64
|