blob: c7c4d09bb7a06b35142c1e48af6ef217ccfb8051 [file] [log] [blame]
Serban Constantinescu7f8863d2013-10-10 23:05:06 +01001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughesed744842013-11-07 10:31:05 -08003#include <private/bionic_asm.h>
Serban Constantinescu7f8863d2013-10-10 23:05:06 +01004
5ENTRY(__timer_gettime)
6 stp x29, x30, [sp, #-16]!
7 mov x29, sp
8 str x8, [sp, #-16]!
9
10 mov x8, __NR_timer_gettime
11 svc #0
12
13 ldr x8, [sp], #16
14 ldp x29, x30, [sp], #16
15
16 cmn x0, #(MAX_ERRNO + 1)
17 cneg x0, x0, hi
18 b.hi __set_errno
19
20 ret
21END(__timer_gettime)
Elliott Hughesd465eb42014-02-19 18:59:19 -080022.hidden __timer_gettime