blob: 1a169000a740a33662c060a24e027b009116f90b [file] [log] [blame]
Elliott Hughes103ccde2013-10-16 14:27:59 -07001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughesb4f76162013-09-19 16:27:24 -07003#include <asm/unistd.h>
Elliott Hugheseae27dc2014-02-19 12:20:00 -08004#include <machine/asm.h>
5#include <machine/regdef.h>
Elliott Hughesb4f76162013-09-19 16:27:24 -07006 .text
7 .globl sendfile64
8 .align 4
9 .ent sendfile64
10
11sendfile64:
12 .set noreorder
Elliott Hugheseae27dc2014-02-19 12:20:00 -080013 .cpload t9
14 li v0, __NR_sendfile64
Elliott Hughesb4f76162013-09-19 16:27:24 -070015 syscall
Elliott Hugheseae27dc2014-02-19 12:20:00 -080016 bnez a3, 1f
17 move a0, v0
18 j ra
Elliott Hughesb4f76162013-09-19 16:27:24 -070019 nop
201:
Elliott Hugheseae27dc2014-02-19 12:20:00 -080021 la t9,__set_errno
22 j t9
Elliott Hughesb4f76162013-09-19 16:27:24 -070023 nop
24 .set reorder
25 .end sendfile64