AArch64: Autogenerated syscalls for AArch64
This patch adds AArch64 syscalls, autogenerated using: ./libc/tools/gensyscalls.py Change-Id: I1cc60430423ecb52a35448bf2c358b82136b2f16 Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
This commit is contained in:
parent
93b7b81912
commit
7f8863dc07
188
libc/arch-aarch64/syscalls.mk
Normal file
188
libc/arch-aarch64/syscalls.mk
Normal file
@ -0,0 +1,188 @@
|
||||
# Generated by gensyscalls.py. Do not edit.
|
||||
syscall_src :=
|
||||
syscall_src += arch-aarch64/syscalls/__brk.S
|
||||
syscall_src += arch-aarch64/syscalls/__clone.S
|
||||
syscall_src += arch-aarch64/syscalls/__epoll_pwait.S
|
||||
syscall_src += arch-aarch64/syscalls/__exit.S
|
||||
syscall_src += arch-aarch64/syscalls/__getcpu.S
|
||||
syscall_src += arch-aarch64/syscalls/__getcwd.S
|
||||
syscall_src += arch-aarch64/syscalls/__getpriority.S
|
||||
syscall_src += arch-aarch64/syscalls/__ioctl.S
|
||||
syscall_src += arch-aarch64/syscalls/__openat.S
|
||||
syscall_src += arch-aarch64/syscalls/__ppoll.S
|
||||
syscall_src += arch-aarch64/syscalls/__pselect6.S
|
||||
syscall_src += arch-aarch64/syscalls/__ptrace.S
|
||||
syscall_src += arch-aarch64/syscalls/__reboot.S
|
||||
syscall_src += arch-aarch64/syscalls/__rt_sigaction.S
|
||||
syscall_src += arch-aarch64/syscalls/__rt_sigpending.S
|
||||
syscall_src += arch-aarch64/syscalls/__rt_sigprocmask.S
|
||||
syscall_src += arch-aarch64/syscalls/__rt_sigsuspend.S
|
||||
syscall_src += arch-aarch64/syscalls/__rt_sigtimedwait.S
|
||||
syscall_src += arch-aarch64/syscalls/__sched_getaffinity.S
|
||||
syscall_src += arch-aarch64/syscalls/__syslog.S
|
||||
syscall_src += arch-aarch64/syscalls/__timer_create.S
|
||||
syscall_src += arch-aarch64/syscalls/__timer_delete.S
|
||||
syscall_src += arch-aarch64/syscalls/__timer_getoverrun.S
|
||||
syscall_src += arch-aarch64/syscalls/__timer_gettime.S
|
||||
syscall_src += arch-aarch64/syscalls/__timer_settime.S
|
||||
syscall_src += arch-aarch64/syscalls/__waitid.S
|
||||
syscall_src += arch-aarch64/syscalls/_exit.S
|
||||
syscall_src += arch-aarch64/syscalls/accept.S
|
||||
syscall_src += arch-aarch64/syscalls/acct.S
|
||||
syscall_src += arch-aarch64/syscalls/bind.S
|
||||
syscall_src += arch-aarch64/syscalls/capget.S
|
||||
syscall_src += arch-aarch64/syscalls/capset.S
|
||||
syscall_src += arch-aarch64/syscalls/chdir.S
|
||||
syscall_src += arch-aarch64/syscalls/chroot.S
|
||||
syscall_src += arch-aarch64/syscalls/clock_getres.S
|
||||
syscall_src += arch-aarch64/syscalls/clock_gettime.S
|
||||
syscall_src += arch-aarch64/syscalls/clock_nanosleep.S
|
||||
syscall_src += arch-aarch64/syscalls/clock_settime.S
|
||||
syscall_src += arch-aarch64/syscalls/close.S
|
||||
syscall_src += arch-aarch64/syscalls/connect.S
|
||||
syscall_src += arch-aarch64/syscalls/delete_module.S
|
||||
syscall_src += arch-aarch64/syscalls/dup.S
|
||||
syscall_src += arch-aarch64/syscalls/dup3.S
|
||||
syscall_src += arch-aarch64/syscalls/epoll_create1.S
|
||||
syscall_src += arch-aarch64/syscalls/epoll_ctl.S
|
||||
syscall_src += arch-aarch64/syscalls/eventfd.S
|
||||
syscall_src += arch-aarch64/syscalls/execve.S
|
||||
syscall_src += arch-aarch64/syscalls/faccessat.S
|
||||
syscall_src += arch-aarch64/syscalls/fchdir.S
|
||||
syscall_src += arch-aarch64/syscalls/fchmod.S
|
||||
syscall_src += arch-aarch64/syscalls/fchmodat.S
|
||||
syscall_src += arch-aarch64/syscalls/fchown.S
|
||||
syscall_src += arch-aarch64/syscalls/fchownat.S
|
||||
syscall_src += arch-aarch64/syscalls/fcntl.S
|
||||
syscall_src += arch-aarch64/syscalls/fdatasync.S
|
||||
syscall_src += arch-aarch64/syscalls/fgetxattr.S
|
||||
syscall_src += arch-aarch64/syscalls/flistxattr.S
|
||||
syscall_src += arch-aarch64/syscalls/flock.S
|
||||
syscall_src += arch-aarch64/syscalls/fremovexattr.S
|
||||
syscall_src += arch-aarch64/syscalls/fsetxattr.S
|
||||
syscall_src += arch-aarch64/syscalls/fstat.S
|
||||
syscall_src += arch-aarch64/syscalls/fstatat.S
|
||||
syscall_src += arch-aarch64/syscalls/fstatfs.S
|
||||
syscall_src += arch-aarch64/syscalls/fsync.S
|
||||
syscall_src += arch-aarch64/syscalls/ftruncate.S
|
||||
syscall_src += arch-aarch64/syscalls/futex.S
|
||||
syscall_src += arch-aarch64/syscalls/getdents.S
|
||||
syscall_src += arch-aarch64/syscalls/getegid.S
|
||||
syscall_src += arch-aarch64/syscalls/geteuid.S
|
||||
syscall_src += arch-aarch64/syscalls/getgid.S
|
||||
syscall_src += arch-aarch64/syscalls/getgroups.S
|
||||
syscall_src += arch-aarch64/syscalls/getitimer.S
|
||||
syscall_src += arch-aarch64/syscalls/getpeername.S
|
||||
syscall_src += arch-aarch64/syscalls/getpgid.S
|
||||
syscall_src += arch-aarch64/syscalls/getpid.S
|
||||
syscall_src += arch-aarch64/syscalls/getppid.S
|
||||
syscall_src += arch-aarch64/syscalls/getresgid.S
|
||||
syscall_src += arch-aarch64/syscalls/getresuid.S
|
||||
syscall_src += arch-aarch64/syscalls/getrlimit.S
|
||||
syscall_src += arch-aarch64/syscalls/getrusage.S
|
||||
syscall_src += arch-aarch64/syscalls/getsid.S
|
||||
syscall_src += arch-aarch64/syscalls/getsockname.S
|
||||
syscall_src += arch-aarch64/syscalls/getsockopt.S
|
||||
syscall_src += arch-aarch64/syscalls/gettid.S
|
||||
syscall_src += arch-aarch64/syscalls/gettimeofday.S
|
||||
syscall_src += arch-aarch64/syscalls/getuid.S
|
||||
syscall_src += arch-aarch64/syscalls/getxattr.S
|
||||
syscall_src += arch-aarch64/syscalls/init_module.S
|
||||
syscall_src += arch-aarch64/syscalls/inotify_add_watch.S
|
||||
syscall_src += arch-aarch64/syscalls/inotify_init1.S
|
||||
syscall_src += arch-aarch64/syscalls/inotify_rm_watch.S
|
||||
syscall_src += arch-aarch64/syscalls/ioprio_get.S
|
||||
syscall_src += arch-aarch64/syscalls/ioprio_set.S
|
||||
syscall_src += arch-aarch64/syscalls/kill.S
|
||||
syscall_src += arch-aarch64/syscalls/klogctl.S
|
||||
syscall_src += arch-aarch64/syscalls/lgetxattr.S
|
||||
syscall_src += arch-aarch64/syscalls/linkat.S
|
||||
syscall_src += arch-aarch64/syscalls/listen.S
|
||||
syscall_src += arch-aarch64/syscalls/listxattr.S
|
||||
syscall_src += arch-aarch64/syscalls/llistxattr.S
|
||||
syscall_src += arch-aarch64/syscalls/lremovexattr.S
|
||||
syscall_src += arch-aarch64/syscalls/lseek.S
|
||||
syscall_src += arch-aarch64/syscalls/lsetxattr.S
|
||||
syscall_src += arch-aarch64/syscalls/madvise.S
|
||||
syscall_src += arch-aarch64/syscalls/mincore.S
|
||||
syscall_src += arch-aarch64/syscalls/mkdirat.S
|
||||
syscall_src += arch-aarch64/syscalls/mknodat.S
|
||||
syscall_src += arch-aarch64/syscalls/mlock.S
|
||||
syscall_src += arch-aarch64/syscalls/mlockall.S
|
||||
syscall_src += arch-aarch64/syscalls/mmap.S
|
||||
syscall_src += arch-aarch64/syscalls/mount.S
|
||||
syscall_src += arch-aarch64/syscalls/mprotect.S
|
||||
syscall_src += arch-aarch64/syscalls/mremap.S
|
||||
syscall_src += arch-aarch64/syscalls/msync.S
|
||||
syscall_src += arch-aarch64/syscalls/munlock.S
|
||||
syscall_src += arch-aarch64/syscalls/munlockall.S
|
||||
syscall_src += arch-aarch64/syscalls/munmap.S
|
||||
syscall_src += arch-aarch64/syscalls/nanosleep.S
|
||||
syscall_src += arch-aarch64/syscalls/perf_event_open.S
|
||||
syscall_src += arch-aarch64/syscalls/personality.S
|
||||
syscall_src += arch-aarch64/syscalls/pipe2.S
|
||||
syscall_src += arch-aarch64/syscalls/prctl.S
|
||||
syscall_src += arch-aarch64/syscalls/pread64.S
|
||||
syscall_src += arch-aarch64/syscalls/pwrite64.S
|
||||
syscall_src += arch-aarch64/syscalls/read.S
|
||||
syscall_src += arch-aarch64/syscalls/readahead.S
|
||||
syscall_src += arch-aarch64/syscalls/readlinkat.S
|
||||
syscall_src += arch-aarch64/syscalls/readv.S
|
||||
syscall_src += arch-aarch64/syscalls/recvfrom.S
|
||||
syscall_src += arch-aarch64/syscalls/recvmsg.S
|
||||
syscall_src += arch-aarch64/syscalls/removexattr.S
|
||||
syscall_src += arch-aarch64/syscalls/renameat.S
|
||||
syscall_src += arch-aarch64/syscalls/sched_get_priority_max.S
|
||||
syscall_src += arch-aarch64/syscalls/sched_get_priority_min.S
|
||||
syscall_src += arch-aarch64/syscalls/sched_getparam.S
|
||||
syscall_src += arch-aarch64/syscalls/sched_getscheduler.S
|
||||
syscall_src += arch-aarch64/syscalls/sched_rr_get_interval.S
|
||||
syscall_src += arch-aarch64/syscalls/sched_setaffinity.S
|
||||
syscall_src += arch-aarch64/syscalls/sched_setparam.S
|
||||
syscall_src += arch-aarch64/syscalls/sched_setscheduler.S
|
||||
syscall_src += arch-aarch64/syscalls/sched_yield.S
|
||||
syscall_src += arch-aarch64/syscalls/sendfile.S
|
||||
syscall_src += arch-aarch64/syscalls/sendmsg.S
|
||||
syscall_src += arch-aarch64/syscalls/sendto.S
|
||||
syscall_src += arch-aarch64/syscalls/setgid.S
|
||||
syscall_src += arch-aarch64/syscalls/setgroups.S
|
||||
syscall_src += arch-aarch64/syscalls/setitimer.S
|
||||
syscall_src += arch-aarch64/syscalls/setpgid.S
|
||||
syscall_src += arch-aarch64/syscalls/setpriority.S
|
||||
syscall_src += arch-aarch64/syscalls/setregid.S
|
||||
syscall_src += arch-aarch64/syscalls/setresgid.S
|
||||
syscall_src += arch-aarch64/syscalls/setresuid.S
|
||||
syscall_src += arch-aarch64/syscalls/setreuid.S
|
||||
syscall_src += arch-aarch64/syscalls/setrlimit.S
|
||||
syscall_src += arch-aarch64/syscalls/setsid.S
|
||||
syscall_src += arch-aarch64/syscalls/setsockopt.S
|
||||
syscall_src += arch-aarch64/syscalls/settimeofday.S
|
||||
syscall_src += arch-aarch64/syscalls/setuid.S
|
||||
syscall_src += arch-aarch64/syscalls/setxattr.S
|
||||
syscall_src += arch-aarch64/syscalls/shutdown.S
|
||||
syscall_src += arch-aarch64/syscalls/sigaltstack.S
|
||||
syscall_src += arch-aarch64/syscalls/signalfd4.S
|
||||
syscall_src += arch-aarch64/syscalls/socket.S
|
||||
syscall_src += arch-aarch64/syscalls/socketpair.S
|
||||
syscall_src += arch-aarch64/syscalls/statfs.S
|
||||
syscall_src += arch-aarch64/syscalls/swapoff.S
|
||||
syscall_src += arch-aarch64/syscalls/swapon.S
|
||||
syscall_src += arch-aarch64/syscalls/symlinkat.S
|
||||
syscall_src += arch-aarch64/syscalls/sync.S
|
||||
syscall_src += arch-aarch64/syscalls/sysinfo.S
|
||||
syscall_src += arch-aarch64/syscalls/tgkill.S
|
||||
syscall_src += arch-aarch64/syscalls/timerfd_create.S
|
||||
syscall_src += arch-aarch64/syscalls/timerfd_gettime.S
|
||||
syscall_src += arch-aarch64/syscalls/timerfd_settime.S
|
||||
syscall_src += arch-aarch64/syscalls/times.S
|
||||
syscall_src += arch-aarch64/syscalls/tkill.S
|
||||
syscall_src += arch-aarch64/syscalls/truncate.S
|
||||
syscall_src += arch-aarch64/syscalls/umask.S
|
||||
syscall_src += arch-aarch64/syscalls/umount2.S
|
||||
syscall_src += arch-aarch64/syscalls/uname.S
|
||||
syscall_src += arch-aarch64/syscalls/unlinkat.S
|
||||
syscall_src += arch-aarch64/syscalls/unshare.S
|
||||
syscall_src += arch-aarch64/syscalls/utimensat.S
|
||||
syscall_src += arch-aarch64/syscalls/wait4.S
|
||||
syscall_src += arch-aarch64/syscalls/write.S
|
||||
syscall_src += arch-aarch64/syscalls/writev.S
|
24
libc/arch-aarch64/syscalls/__brk.S
Normal file
24
libc/arch-aarch64/syscalls/__brk.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__brk)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_brk
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__brk)
|
||||
.hidden _C_LABEL(__brk)
|
24
libc/arch-aarch64/syscalls/__clone.S
Normal file
24
libc/arch-aarch64/syscalls/__clone.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__clone)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_clone
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__clone)
|
||||
.hidden _C_LABEL(__clone)
|
24
libc/arch-aarch64/syscalls/__epoll_pwait.S
Normal file
24
libc/arch-aarch64/syscalls/__epoll_pwait.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__epoll_pwait)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_epoll_pwait
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__epoll_pwait)
|
||||
.hidden _C_LABEL(__epoll_pwait)
|
24
libc/arch-aarch64/syscalls/__exit.S
Normal file
24
libc/arch-aarch64/syscalls/__exit.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__exit)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_exit
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__exit)
|
||||
.hidden _C_LABEL(__exit)
|
24
libc/arch-aarch64/syscalls/__getcpu.S
Normal file
24
libc/arch-aarch64/syscalls/__getcpu.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__getcpu)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getcpu
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__getcpu)
|
||||
.hidden _C_LABEL(__getcpu)
|
24
libc/arch-aarch64/syscalls/__getcwd.S
Normal file
24
libc/arch-aarch64/syscalls/__getcwd.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__getcwd)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getcwd
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__getcwd)
|
||||
.hidden _C_LABEL(__getcwd)
|
24
libc/arch-aarch64/syscalls/__getpriority.S
Normal file
24
libc/arch-aarch64/syscalls/__getpriority.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__getpriority)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getpriority
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__getpriority)
|
||||
.hidden _C_LABEL(__getpriority)
|
24
libc/arch-aarch64/syscalls/__ioctl.S
Normal file
24
libc/arch-aarch64/syscalls/__ioctl.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__ioctl)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_ioctl
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__ioctl)
|
||||
.hidden _C_LABEL(__ioctl)
|
24
libc/arch-aarch64/syscalls/__openat.S
Normal file
24
libc/arch-aarch64/syscalls/__openat.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__openat)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_openat
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__openat)
|
||||
.hidden _C_LABEL(__openat)
|
24
libc/arch-aarch64/syscalls/__ppoll.S
Normal file
24
libc/arch-aarch64/syscalls/__ppoll.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__ppoll)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_ppoll
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__ppoll)
|
||||
.hidden _C_LABEL(__ppoll)
|
24
libc/arch-aarch64/syscalls/__pselect6.S
Normal file
24
libc/arch-aarch64/syscalls/__pselect6.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__pselect6)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_pselect6
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__pselect6)
|
||||
.hidden _C_LABEL(__pselect6)
|
24
libc/arch-aarch64/syscalls/__ptrace.S
Normal file
24
libc/arch-aarch64/syscalls/__ptrace.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__ptrace)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_ptrace
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__ptrace)
|
||||
.hidden _C_LABEL(__ptrace)
|
24
libc/arch-aarch64/syscalls/__reboot.S
Normal file
24
libc/arch-aarch64/syscalls/__reboot.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__reboot)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_reboot
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__reboot)
|
||||
.hidden _C_LABEL(__reboot)
|
24
libc/arch-aarch64/syscalls/__rt_sigaction.S
Normal file
24
libc/arch-aarch64/syscalls/__rt_sigaction.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__rt_sigaction)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_rt_sigaction
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__rt_sigaction)
|
||||
.hidden _C_LABEL(__rt_sigaction)
|
24
libc/arch-aarch64/syscalls/__rt_sigpending.S
Normal file
24
libc/arch-aarch64/syscalls/__rt_sigpending.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__rt_sigpending)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_rt_sigpending
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__rt_sigpending)
|
||||
.hidden _C_LABEL(__rt_sigpending)
|
24
libc/arch-aarch64/syscalls/__rt_sigprocmask.S
Normal file
24
libc/arch-aarch64/syscalls/__rt_sigprocmask.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__rt_sigprocmask)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_rt_sigprocmask
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__rt_sigprocmask)
|
||||
.hidden _C_LABEL(__rt_sigprocmask)
|
24
libc/arch-aarch64/syscalls/__rt_sigsuspend.S
Normal file
24
libc/arch-aarch64/syscalls/__rt_sigsuspend.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__rt_sigsuspend)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_rt_sigsuspend
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__rt_sigsuspend)
|
||||
.hidden _C_LABEL(__rt_sigsuspend)
|
24
libc/arch-aarch64/syscalls/__rt_sigtimedwait.S
Normal file
24
libc/arch-aarch64/syscalls/__rt_sigtimedwait.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__rt_sigtimedwait)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_rt_sigtimedwait
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__rt_sigtimedwait)
|
||||
.hidden _C_LABEL(__rt_sigtimedwait)
|
24
libc/arch-aarch64/syscalls/__sched_getaffinity.S
Normal file
24
libc/arch-aarch64/syscalls/__sched_getaffinity.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__sched_getaffinity)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_sched_getaffinity
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__sched_getaffinity)
|
||||
.hidden _C_LABEL(__sched_getaffinity)
|
24
libc/arch-aarch64/syscalls/__syslog.S
Normal file
24
libc/arch-aarch64/syscalls/__syslog.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__syslog)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_syslog
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__syslog)
|
||||
.hidden _C_LABEL(__syslog)
|
24
libc/arch-aarch64/syscalls/__timer_create.S
Normal file
24
libc/arch-aarch64/syscalls/__timer_create.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__timer_create)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_timer_create
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__timer_create)
|
||||
.hidden _C_LABEL(__timer_create)
|
24
libc/arch-aarch64/syscalls/__timer_delete.S
Normal file
24
libc/arch-aarch64/syscalls/__timer_delete.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__timer_delete)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_timer_delete
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__timer_delete)
|
||||
.hidden _C_LABEL(__timer_delete)
|
24
libc/arch-aarch64/syscalls/__timer_getoverrun.S
Normal file
24
libc/arch-aarch64/syscalls/__timer_getoverrun.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__timer_getoverrun)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_timer_getoverrun
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__timer_getoverrun)
|
||||
.hidden _C_LABEL(__timer_getoverrun)
|
24
libc/arch-aarch64/syscalls/__timer_gettime.S
Normal file
24
libc/arch-aarch64/syscalls/__timer_gettime.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__timer_gettime)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_timer_gettime
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__timer_gettime)
|
||||
.hidden _C_LABEL(__timer_gettime)
|
24
libc/arch-aarch64/syscalls/__timer_settime.S
Normal file
24
libc/arch-aarch64/syscalls/__timer_settime.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__timer_settime)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_timer_settime
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__timer_settime)
|
||||
.hidden _C_LABEL(__timer_settime)
|
24
libc/arch-aarch64/syscalls/__waitid.S
Normal file
24
libc/arch-aarch64/syscalls/__waitid.S
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__waitid)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_waitid
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(__waitid)
|
||||
.hidden _C_LABEL(__waitid)
|
23
libc/arch-aarch64/syscalls/_exit.S
Normal file
23
libc/arch-aarch64/syscalls/_exit.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(_exit)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_exit_group
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(_exit)
|
23
libc/arch-aarch64/syscalls/accept.S
Normal file
23
libc/arch-aarch64/syscalls/accept.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(accept)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_accept
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(accept)
|
23
libc/arch-aarch64/syscalls/acct.S
Normal file
23
libc/arch-aarch64/syscalls/acct.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(acct)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_acct
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(acct)
|
23
libc/arch-aarch64/syscalls/bind.S
Normal file
23
libc/arch-aarch64/syscalls/bind.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(bind)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_bind
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(bind)
|
23
libc/arch-aarch64/syscalls/capget.S
Normal file
23
libc/arch-aarch64/syscalls/capget.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(capget)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_capget
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(capget)
|
23
libc/arch-aarch64/syscalls/capset.S
Normal file
23
libc/arch-aarch64/syscalls/capset.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(capset)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_capset
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(capset)
|
23
libc/arch-aarch64/syscalls/chdir.S
Normal file
23
libc/arch-aarch64/syscalls/chdir.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(chdir)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_chdir
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(chdir)
|
23
libc/arch-aarch64/syscalls/chroot.S
Normal file
23
libc/arch-aarch64/syscalls/chroot.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(chroot)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_chroot
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(chroot)
|
23
libc/arch-aarch64/syscalls/clock_getres.S
Normal file
23
libc/arch-aarch64/syscalls/clock_getres.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(clock_getres)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_clock_getres
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(clock_getres)
|
23
libc/arch-aarch64/syscalls/clock_gettime.S
Normal file
23
libc/arch-aarch64/syscalls/clock_gettime.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(clock_gettime)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_clock_gettime
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(clock_gettime)
|
23
libc/arch-aarch64/syscalls/clock_nanosleep.S
Normal file
23
libc/arch-aarch64/syscalls/clock_nanosleep.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(clock_nanosleep)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_clock_nanosleep
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(clock_nanosleep)
|
23
libc/arch-aarch64/syscalls/clock_settime.S
Normal file
23
libc/arch-aarch64/syscalls/clock_settime.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(clock_settime)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_clock_settime
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(clock_settime)
|
23
libc/arch-aarch64/syscalls/close.S
Normal file
23
libc/arch-aarch64/syscalls/close.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(close)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_close
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(close)
|
23
libc/arch-aarch64/syscalls/connect.S
Normal file
23
libc/arch-aarch64/syscalls/connect.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(connect)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_connect
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(connect)
|
23
libc/arch-aarch64/syscalls/delete_module.S
Normal file
23
libc/arch-aarch64/syscalls/delete_module.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(delete_module)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_delete_module
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(delete_module)
|
23
libc/arch-aarch64/syscalls/dup.S
Normal file
23
libc/arch-aarch64/syscalls/dup.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(dup)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_dup
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(dup)
|
23
libc/arch-aarch64/syscalls/dup3.S
Normal file
23
libc/arch-aarch64/syscalls/dup3.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(dup3)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_dup3
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(dup3)
|
23
libc/arch-aarch64/syscalls/epoll_create1.S
Normal file
23
libc/arch-aarch64/syscalls/epoll_create1.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(epoll_create1)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_epoll_create1
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(epoll_create1)
|
23
libc/arch-aarch64/syscalls/epoll_ctl.S
Normal file
23
libc/arch-aarch64/syscalls/epoll_ctl.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(epoll_ctl)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_epoll_ctl
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(epoll_ctl)
|
23
libc/arch-aarch64/syscalls/eventfd.S
Normal file
23
libc/arch-aarch64/syscalls/eventfd.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(eventfd)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_eventfd2
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(eventfd)
|
23
libc/arch-aarch64/syscalls/execve.S
Normal file
23
libc/arch-aarch64/syscalls/execve.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(execve)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_execve
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(execve)
|
23
libc/arch-aarch64/syscalls/faccessat.S
Normal file
23
libc/arch-aarch64/syscalls/faccessat.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(faccessat)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_faccessat
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(faccessat)
|
23
libc/arch-aarch64/syscalls/fchdir.S
Normal file
23
libc/arch-aarch64/syscalls/fchdir.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fchdir)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_fchdir
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fchdir)
|
23
libc/arch-aarch64/syscalls/fchmod.S
Normal file
23
libc/arch-aarch64/syscalls/fchmod.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fchmod)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_fchmod
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fchmod)
|
23
libc/arch-aarch64/syscalls/fchmodat.S
Normal file
23
libc/arch-aarch64/syscalls/fchmodat.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fchmodat)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_fchmodat
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fchmodat)
|
23
libc/arch-aarch64/syscalls/fchown.S
Normal file
23
libc/arch-aarch64/syscalls/fchown.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fchown)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_fchown
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fchown)
|
23
libc/arch-aarch64/syscalls/fchownat.S
Normal file
23
libc/arch-aarch64/syscalls/fchownat.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fchownat)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_fchownat
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fchownat)
|
23
libc/arch-aarch64/syscalls/fcntl.S
Normal file
23
libc/arch-aarch64/syscalls/fcntl.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fcntl)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_fcntl
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fcntl)
|
23
libc/arch-aarch64/syscalls/fdatasync.S
Normal file
23
libc/arch-aarch64/syscalls/fdatasync.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fdatasync)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_fdatasync
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fdatasync)
|
23
libc/arch-aarch64/syscalls/fgetxattr.S
Normal file
23
libc/arch-aarch64/syscalls/fgetxattr.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fgetxattr)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_fgetxattr
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fgetxattr)
|
23
libc/arch-aarch64/syscalls/flistxattr.S
Normal file
23
libc/arch-aarch64/syscalls/flistxattr.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(flistxattr)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_flistxattr
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(flistxattr)
|
23
libc/arch-aarch64/syscalls/flock.S
Normal file
23
libc/arch-aarch64/syscalls/flock.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(flock)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_flock
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(flock)
|
23
libc/arch-aarch64/syscalls/fremovexattr.S
Normal file
23
libc/arch-aarch64/syscalls/fremovexattr.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fremovexattr)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_fremovexattr
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fremovexattr)
|
23
libc/arch-aarch64/syscalls/fsetxattr.S
Normal file
23
libc/arch-aarch64/syscalls/fsetxattr.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fsetxattr)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_fsetxattr
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fsetxattr)
|
23
libc/arch-aarch64/syscalls/fstat.S
Normal file
23
libc/arch-aarch64/syscalls/fstat.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fstat)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_fstat
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fstat)
|
23
libc/arch-aarch64/syscalls/fstatat.S
Normal file
23
libc/arch-aarch64/syscalls/fstatat.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fstatat)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_newfstatat
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fstatat)
|
23
libc/arch-aarch64/syscalls/fstatfs.S
Normal file
23
libc/arch-aarch64/syscalls/fstatfs.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fstatfs)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_fstatfs
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fstatfs)
|
23
libc/arch-aarch64/syscalls/fsync.S
Normal file
23
libc/arch-aarch64/syscalls/fsync.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(fsync)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_fsync
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(fsync)
|
26
libc/arch-aarch64/syscalls/ftruncate.S
Normal file
26
libc/arch-aarch64/syscalls/ftruncate.S
Normal file
@ -0,0 +1,26 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(ftruncate)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_ftruncate
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(ftruncate)
|
||||
|
||||
.globl _C_LABEL(ftruncate64)
|
||||
.equ _C_LABEL(ftruncate64), _C_LABEL(ftruncate)
|
23
libc/arch-aarch64/syscalls/futex.S
Normal file
23
libc/arch-aarch64/syscalls/futex.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(futex)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_futex
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(futex)
|
23
libc/arch-aarch64/syscalls/getdents.S
Normal file
23
libc/arch-aarch64/syscalls/getdents.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getdents)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getdents64
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getdents)
|
23
libc/arch-aarch64/syscalls/getegid.S
Normal file
23
libc/arch-aarch64/syscalls/getegid.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getegid)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getegid
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getegid)
|
23
libc/arch-aarch64/syscalls/geteuid.S
Normal file
23
libc/arch-aarch64/syscalls/geteuid.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(geteuid)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_geteuid
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(geteuid)
|
23
libc/arch-aarch64/syscalls/getgid.S
Normal file
23
libc/arch-aarch64/syscalls/getgid.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getgid)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getgid
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getgid)
|
23
libc/arch-aarch64/syscalls/getgroups.S
Normal file
23
libc/arch-aarch64/syscalls/getgroups.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getgroups)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getgroups
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getgroups)
|
23
libc/arch-aarch64/syscalls/getitimer.S
Normal file
23
libc/arch-aarch64/syscalls/getitimer.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getitimer)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getitimer
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getitimer)
|
23
libc/arch-aarch64/syscalls/getpeername.S
Normal file
23
libc/arch-aarch64/syscalls/getpeername.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getpeername)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getpeername
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getpeername)
|
23
libc/arch-aarch64/syscalls/getpgid.S
Normal file
23
libc/arch-aarch64/syscalls/getpgid.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getpgid)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getpgid
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getpgid)
|
23
libc/arch-aarch64/syscalls/getpid.S
Normal file
23
libc/arch-aarch64/syscalls/getpid.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getpid)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getpid
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getpid)
|
23
libc/arch-aarch64/syscalls/getppid.S
Normal file
23
libc/arch-aarch64/syscalls/getppid.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getppid)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getppid
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getppid)
|
23
libc/arch-aarch64/syscalls/getresgid.S
Normal file
23
libc/arch-aarch64/syscalls/getresgid.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getresgid)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getresgid
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getresgid)
|
23
libc/arch-aarch64/syscalls/getresuid.S
Normal file
23
libc/arch-aarch64/syscalls/getresuid.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getresuid)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getresuid
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getresuid)
|
23
libc/arch-aarch64/syscalls/getrlimit.S
Normal file
23
libc/arch-aarch64/syscalls/getrlimit.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getrlimit)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getrlimit
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getrlimit)
|
23
libc/arch-aarch64/syscalls/getrusage.S
Normal file
23
libc/arch-aarch64/syscalls/getrusage.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getrusage)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getrusage
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getrusage)
|
23
libc/arch-aarch64/syscalls/getsid.S
Normal file
23
libc/arch-aarch64/syscalls/getsid.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getsid)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getsid
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getsid)
|
23
libc/arch-aarch64/syscalls/getsockname.S
Normal file
23
libc/arch-aarch64/syscalls/getsockname.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getsockname)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getsockname
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getsockname)
|
23
libc/arch-aarch64/syscalls/getsockopt.S
Normal file
23
libc/arch-aarch64/syscalls/getsockopt.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getsockopt)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getsockopt
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getsockopt)
|
23
libc/arch-aarch64/syscalls/gettid.S
Normal file
23
libc/arch-aarch64/syscalls/gettid.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(gettid)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_gettid
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(gettid)
|
23
libc/arch-aarch64/syscalls/gettimeofday.S
Normal file
23
libc/arch-aarch64/syscalls/gettimeofday.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(gettimeofday)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_gettimeofday
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(gettimeofday)
|
23
libc/arch-aarch64/syscalls/getuid.S
Normal file
23
libc/arch-aarch64/syscalls/getuid.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getuid)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getuid
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getuid)
|
23
libc/arch-aarch64/syscalls/getxattr.S
Normal file
23
libc/arch-aarch64/syscalls/getxattr.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(getxattr)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_getxattr
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(getxattr)
|
23
libc/arch-aarch64/syscalls/init_module.S
Normal file
23
libc/arch-aarch64/syscalls/init_module.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(init_module)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_init_module
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(init_module)
|
23
libc/arch-aarch64/syscalls/inotify_add_watch.S
Normal file
23
libc/arch-aarch64/syscalls/inotify_add_watch.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(inotify_add_watch)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_inotify_add_watch
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(inotify_add_watch)
|
23
libc/arch-aarch64/syscalls/inotify_init1.S
Normal file
23
libc/arch-aarch64/syscalls/inotify_init1.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(inotify_init1)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_inotify_init1
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(inotify_init1)
|
23
libc/arch-aarch64/syscalls/inotify_rm_watch.S
Normal file
23
libc/arch-aarch64/syscalls/inotify_rm_watch.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(inotify_rm_watch)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_inotify_rm_watch
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(inotify_rm_watch)
|
23
libc/arch-aarch64/syscalls/ioprio_get.S
Normal file
23
libc/arch-aarch64/syscalls/ioprio_get.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(ioprio_get)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_ioprio_get
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(ioprio_get)
|
23
libc/arch-aarch64/syscalls/ioprio_set.S
Normal file
23
libc/arch-aarch64/syscalls/ioprio_set.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(ioprio_set)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_ioprio_set
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(ioprio_set)
|
23
libc/arch-aarch64/syscalls/kill.S
Normal file
23
libc/arch-aarch64/syscalls/kill.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(kill)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_kill
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(kill)
|
23
libc/arch-aarch64/syscalls/klogctl.S
Normal file
23
libc/arch-aarch64/syscalls/klogctl.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(klogctl)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_syslog
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(klogctl)
|
23
libc/arch-aarch64/syscalls/lgetxattr.S
Normal file
23
libc/arch-aarch64/syscalls/lgetxattr.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(lgetxattr)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_lgetxattr
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(lgetxattr)
|
23
libc/arch-aarch64/syscalls/linkat.S
Normal file
23
libc/arch-aarch64/syscalls/linkat.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(linkat)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_linkat
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(linkat)
|
23
libc/arch-aarch64/syscalls/listen.S
Normal file
23
libc/arch-aarch64/syscalls/listen.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(listen)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_listen
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(listen)
|
23
libc/arch-aarch64/syscalls/listxattr.S
Normal file
23
libc/arch-aarch64/syscalls/listxattr.S
Normal file
@ -0,0 +1,23 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(listxattr)
|
||||
stp x29, x30, [sp, #-16]!
|
||||
mov x29, sp
|
||||
str x8, [sp, #-16]!
|
||||
|
||||
mov x8, __NR_listxattr
|
||||
svc #0
|
||||
|
||||
ldr x8, [sp], #16
|
||||
ldp x29, x30, [sp], #16
|
||||
|
||||
cmn x0, #(MAX_ERRNO + 1)
|
||||
cneg x0, x0, hi
|
||||
b.hi __set_errno
|
||||
|
||||
ret
|
||||
END(listxattr)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user