bionic/libc/arch-mips/syscalls/timerfd_gettime.S
Todd Poynor 04c0ac14a4 libc: add timerfd calls
Change-Id: Id63b907266d5b87c7422a51d393a1430551ca33d
2013-05-13 12:06:15 -07:00

23 lines
374 B
ArmAsm

/* autogenerated by gensyscalls.py */
#include <asm/unistd.h>
.text
.globl timerfd_gettime
.align 4
.ent timerfd_gettime
timerfd_gettime:
.set noreorder
.cpload $t9
li $v0, __NR_timerfd_gettime
syscall
bnez $a3, 1f
move $a0, $v0
j $ra
nop
1:
la $t9,__set_errno
j $t9
nop
.set reorder
.end timerfd_gettime