am 5036935c
: Merge "[MIPS64] Add syscall related files"
* commit '5036935c41d9193cfbba606df2121cd4c6973116': [MIPS64] Add syscall related files
This commit is contained in:
commit
82b7800326
@ -6,7 +6,7 @@
|
||||
#
|
||||
# where:
|
||||
# arch_list ::= "all" | arch+
|
||||
# arch ::= "arm" | "arm64" | "mips" | "x86" | "x86_64"
|
||||
# arch ::= "arm" | "arm64" | "mips" | "mips64" | "x86" | "x86_64"
|
||||
#
|
||||
# Note:
|
||||
# - syscall_name corresponds to the name of the syscall, which may differ from
|
||||
@ -27,41 +27,41 @@
|
||||
int execve(const char*, char* const*, char* const*) all
|
||||
|
||||
uid_t getuid:getuid32() arm,x86
|
||||
uid_t getuid:getuid() arm64,mips,x86_64
|
||||
uid_t getuid:getuid() arm64,mips,mips64,x86_64
|
||||
gid_t getgid:getgid32() arm,x86
|
||||
gid_t getgid:getgid() arm64,mips,x86_64
|
||||
gid_t getgid:getgid() arm64,mips,mips64,x86_64
|
||||
uid_t geteuid:geteuid32() arm,x86
|
||||
uid_t geteuid:geteuid() arm64,mips,x86_64
|
||||
uid_t geteuid:geteuid() arm64,mips,mips64,x86_64
|
||||
gid_t getegid:getegid32() arm,x86
|
||||
gid_t getegid:getegid() arm64,mips,x86_64
|
||||
gid_t getegid:getegid() arm64,mips,mips64,x86_64
|
||||
uid_t getresuid:getresuid32(uid_t* ruid, uid_t* euid, uid_t* suid) arm,x86
|
||||
uid_t getresuid:getresuid(uid_t* ruid, uid_t* euid, uid_t* suid) arm64,mips,x86_64
|
||||
uid_t getresuid:getresuid(uid_t* ruid, uid_t* euid, uid_t* suid) arm64,mips,mips64,x86_64
|
||||
gid_t getresgid:getresgid32(gid_t* rgid, gid_t* egid, gid_t* sgid) arm,x86
|
||||
gid_t getresgid:getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid) arm64,mips,x86_64
|
||||
gid_t getresgid:getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid) arm64,mips,mips64,x86_64
|
||||
pid_t gettid() all
|
||||
ssize_t readahead(int, off64_t, size_t) all
|
||||
int getgroups:getgroups32(int, gid_t*) arm,x86
|
||||
int getgroups:getgroups(int, gid_t*) arm64,mips,x86_64
|
||||
int getgroups:getgroups(int, gid_t*) arm64,mips,mips64,x86_64
|
||||
pid_t getpgid(pid_t) all
|
||||
pid_t getppid() all
|
||||
pid_t getsid(pid_t) all
|
||||
pid_t setsid() all
|
||||
int setgid:setgid32(gid_t) arm,x86
|
||||
int setgid:setgid(gid_t) arm64,mips,x86_64
|
||||
int setgid:setgid(gid_t) arm64,mips,mips64,x86_64
|
||||
int setuid:setuid32(uid_t) arm,x86
|
||||
int setuid:setuid(uid_t) arm64,mips,x86_64
|
||||
int setuid:setuid(uid_t) arm64,mips,mips64,x86_64
|
||||
int setreuid:setreuid32(uid_t, uid_t) arm,x86
|
||||
int setreuid:setreuid(uid_t, uid_t) arm64,mips,x86_64
|
||||
int setreuid:setreuid(uid_t, uid_t) arm64,mips,mips64,x86_64
|
||||
int setresuid:setresuid32(uid_t, uid_t, uid_t) arm,x86
|
||||
int setresuid:setresuid(uid_t, uid_t, uid_t) arm64,mips,x86_64
|
||||
int setresuid:setresuid(uid_t, uid_t, uid_t) arm64,mips,mips64,x86_64
|
||||
int setresgid:setresgid32(gid_t, gid_t, gid_t) arm,x86
|
||||
int setresgid:setresgid(gid_t, gid_t, gid_t) arm64,mips,x86_64
|
||||
int setresgid:setresgid(gid_t, gid_t, gid_t) arm64,mips,mips64,x86_64
|
||||
void* __brk:brk(void*) all
|
||||
int kill(pid_t, int) all
|
||||
int tkill(pid_t tid, int sig) all
|
||||
int tgkill(pid_t tgid, pid_t tid, int sig) all
|
||||
int __ptrace:ptrace(int request, int pid, void* addr, void* data) all
|
||||
int __set_thread_area:set_thread_area(void* user_desc) mips,x86
|
||||
int __set_thread_area:set_thread_area(void* user_desc) mips,mips64,x86
|
||||
|
||||
# <sys/resource.h>
|
||||
int getrusage(int, struct rusage*) all
|
||||
@ -71,18 +71,18 @@ int setpriority(int, int, int) all
|
||||
# On 32-bit systems we use prlimit64 to implement the rlimit64 functions.
|
||||
int getrlimit:ugetrlimit(int, struct rlimit*) arm,x86
|
||||
int getrlimit(int, struct rlimit*) mips
|
||||
int getrlimit|getrlimit64(int, struct rlimit*) arm64,x86_64
|
||||
int getrlimit|getrlimit64(int, struct rlimit*) arm64,mips64,x86_64
|
||||
int setrlimit(int, const struct rlimit*) arm,mips,x86
|
||||
int setrlimit|setrlimit64(int, const struct rlimit*) arm64,x86_64
|
||||
int prlimit64|prlimit(pid_t, int, struct rlimit64*, const struct rlimit64*) arm64,x86_64
|
||||
int setrlimit|setrlimit64(int, const struct rlimit*) arm64,mips64,x86_64
|
||||
int prlimit64|prlimit(pid_t, int, struct rlimit64*, const struct rlimit64*) arm64,mips64,x86_64
|
||||
int prlimit64(pid_t, int, struct rlimit64*, const struct rlimit64*) arm,mips,x86
|
||||
|
||||
int setgroups:setgroups32(int, const gid_t*) arm,x86
|
||||
int setgroups:setgroups(int, const gid_t*) arm64,mips,x86_64
|
||||
int setgroups:setgroups(int, const gid_t*) arm64,mips,mips64,x86_64
|
||||
int setpgid(pid_t, pid_t) all
|
||||
pid_t vfork(void) arm
|
||||
int setregid:setregid32(gid_t, gid_t) arm,x86
|
||||
int setregid:setregid(gid_t, gid_t) arm64,mips,x86_64
|
||||
int setregid:setregid(gid_t, gid_t) arm64,mips,mips64,x86_64
|
||||
int chroot(const char*) all
|
||||
# IMPORTANT: Even though <sys/prctl.h> declares prctl(int, ...), the syscall stub must take 6 arguments
|
||||
# to match the kernel implementation.
|
||||
@ -97,9 +97,9 @@ int acct(const char* filepath) all
|
||||
ssize_t read(int, void*, size_t) all
|
||||
ssize_t write(int, const void*, size_t) all
|
||||
ssize_t pread64(int, void*, size_t, off64_t) arm,mips,x86
|
||||
ssize_t pread64|pread(int, void*, size_t, off_t) arm64,x86_64
|
||||
ssize_t pread64|pread(int, void*, size_t, off_t) arm64,mips64,x86_64
|
||||
ssize_t pwrite64(int, void*, size_t, off64_t) arm,mips,x86
|
||||
ssize_t pwrite64|pwrite(int, void*, size_t, off_t) arm64,x86_64
|
||||
ssize_t pwrite64|pwrite(int, void*, size_t, off_t) arm64,mips64,x86_64
|
||||
int close(int) all
|
||||
pid_t getpid() all
|
||||
int munmap(void*, size_t) all
|
||||
@ -116,31 +116,37 @@ int __ioctl:ioctl(int, int, void*) all
|
||||
int readv(int, const struct iovec*, int) all
|
||||
int writev(int, const struct iovec*, int) all
|
||||
int __fcntl64:fcntl64(int, int, void*) arm,mips,x86
|
||||
int fcntl(int, int, void*) arm64,x86_64
|
||||
int fcntl(int, int, void*) arm64,mips64,x86_64
|
||||
int flock(int, int) all
|
||||
int fchmod(int, mode_t) all
|
||||
int dup(int) all
|
||||
int pipe2(int*, int) all
|
||||
int dup3(int, int, int) all
|
||||
int getdents:getdents64(unsigned int, struct dirent*, unsigned int) all
|
||||
int fsync(int) all
|
||||
int fdatasync(int) all
|
||||
int fchown:fchown32(int, uid_t, gid_t) arm,x86
|
||||
int fchown:fchown(int, uid_t, gid_t) arm64,mips,x86_64
|
||||
int fchown:fchown(int, uid_t, gid_t) arm64,mips,mips64,x86_64
|
||||
void sync(void) all
|
||||
int __fstatfs64:fstatfs64(int, size_t, struct statfs*) arm,mips,x86
|
||||
int fstatfs(int, struct statfs*) arm64,x86_64
|
||||
int fstatfs(int, struct statfs*) arm64,mips64,x86_64
|
||||
int fsetxattr(int, const char*, const void*, size_t, int) all
|
||||
ssize_t fgetxattr(int, const char*, void*, size_t) all
|
||||
ssize_t flistxattr(int, char*, size_t) all
|
||||
int fremovexattr(int, const char*) all
|
||||
|
||||
# mips64 doesn't have getdents64 until 3.10 kernels.
|
||||
# We need this special-case hack as long as we need to support mips64 on older kernels.
|
||||
# The currently-available Debian qemu image is on a 3.2 kernel.
|
||||
int getdents:getdents64(unsigned int, struct dirent*, unsigned int) arm,arm64,mips,x86,x86_64
|
||||
int __getdents64:getdents64(unsigned int, struct dirent*, unsigned int) mips64
|
||||
int __getdents:getdents(unsigned int, void*, unsigned int) mips64
|
||||
|
||||
int __openat:openat(int, const char*, int, mode_t) all
|
||||
int faccessat(int, const char*, int, int) all
|
||||
int fchmodat(int, const char*, mode_t, int) all
|
||||
int fchownat(int, const char*, uid_t, gid_t, int) all
|
||||
int fstatat:fstatat64(int, const char*, struct stat*, int) arm,mips,x86
|
||||
int fstatat:newfstatat(int, const char*, struct stat*, int) arm64,x86_64
|
||||
int fstatat:newfstatat(int, const char*, struct stat*, int) arm64,mips64,x86_64
|
||||
int linkat(int, const char*, int, const char*, int) all
|
||||
int mkdirat(int, const char*, mode_t) all
|
||||
int mknodat(int, const char*, mode_t, dev_t) all
|
||||
@ -156,29 +162,29 @@ int utimensat(int, const char*, const struct timespec times[2], int) all
|
||||
# That means that every system call in this section should take three lines.
|
||||
off_t lseek(int, off_t, int) arm,mips,x86
|
||||
int __llseek:_llseek(int, unsigned long, unsigned long, off64_t*, int) arm,mips,x86
|
||||
off_t lseek|lseek64(int, off_t, int) arm64,x86_64
|
||||
off_t lseek|lseek64(int, off_t, int) arm64,mips64,x86_64
|
||||
int ftruncate(int, off_t) arm,mips,x86
|
||||
int ftruncate64(int, off64_t) arm,mips,x86
|
||||
int ftruncate|ftruncate64(int, off_t) arm64,x86_64
|
||||
int ftruncate|ftruncate64(int, off_t) arm64,mips64,x86_64
|
||||
ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count) arm,mips,x86
|
||||
ssize_t sendfile64(int out_fd, int in_fd, off64_t* offset, size_t count) arm,mips,x86
|
||||
ssize_t sendfile|sendfile64(int out_fd, int in_fd, off_t* offset, size_t count) arm64,x86_64
|
||||
ssize_t sendfile|sendfile64(int out_fd, int in_fd, off_t* offset, size_t count) arm64,mips64,x86_64
|
||||
int truncate(const char*, off_t) arm,mips,x86
|
||||
int truncate64(const char*, off64_t) arm,mips,x86
|
||||
int truncate|truncate64(const char*, off_t) arm64,x86_64
|
||||
int truncate|truncate64(const char*, off_t) arm64,mips64,x86_64
|
||||
# (mmap only gets two lines because we only used the 64-bit variant on 32-bit systems.)
|
||||
void* __mmap2:mmap2(void*, size_t, int, int, int, long) arm,mips,x86
|
||||
void* mmap|mmap64(void*, size_t, int, int, int, off_t) arm64,x86_64
|
||||
void* mmap|mmap64(void*, size_t, int, int, int, off_t) arm64,mips64,x86_64
|
||||
# (fallocate only gets two lines because there is no 32-bit variant.)
|
||||
int fallocate64:fallocate(int, int, off64_t, off64_t) arm,mips,x86
|
||||
int fallocate|fallocate64(int, int, off_t, off_t) arm64,x86_64
|
||||
int fallocate|fallocate64(int, int, off_t, off_t) arm64,mips64,x86_64
|
||||
|
||||
# file system
|
||||
int chdir(const char*) all
|
||||
int mount(const char*, const char*, const char*, unsigned long, const void*) all
|
||||
int umount2(const char*, int) all
|
||||
int fstat:fstat64(int, struct stat*) arm,mips,x86
|
||||
int fstat(int, struct stat*) arm64,x86_64
|
||||
int fstat(int, struct stat*) arm64,mips64,x86_64
|
||||
int __getcwd:getcwd(char* buf, size_t size) all
|
||||
int fchdir(int) all
|
||||
int setxattr(const char*, const char*, const void*, size_t, int) all
|
||||
@ -190,7 +196,7 @@ ssize_t llistxattr(const char*, char*, size_t) all
|
||||
int removexattr(const char*, const char*) all
|
||||
int lremovexattr(const char*, const char*) all
|
||||
int __statfs64:statfs64(const char*, size_t, struct statfs*) arm,mips,x86
|
||||
int statfs(const char*, struct statfs*) arm64,x86_64
|
||||
int statfs(const char*, struct statfs*) arm64,mips64,x86_64
|
||||
int swapon(const char*, int) all
|
||||
int swapoff(const char*) all
|
||||
|
||||
@ -224,21 +230,21 @@ int __rt_sigtimedwait:rt_sigtimedwait(const sigset_t*, struct siginfo_t*, st
|
||||
int signalfd4(int, const sigset_t*, size_t, int) all
|
||||
|
||||
# sockets
|
||||
int socket(int, int, int) arm,arm64,mips,x86_64
|
||||
int socketpair(int, int, int, int*) arm,arm64,mips,x86_64
|
||||
int bind(int, struct sockaddr*, int) arm,arm64,mips,x86_64
|
||||
int connect(int, struct sockaddr*, socklen_t) arm,arm64,mips,x86_64
|
||||
int listen(int, int) arm,arm64,mips,x86_64
|
||||
int accept(int, struct sockaddr*, socklen_t*) arm,arm64,mips,x86_64
|
||||
int getsockname(int, struct sockaddr*, socklen_t*) arm,arm64,mips,x86_64
|
||||
int getpeername(int, struct sockaddr*, socklen_t*) arm,arm64,mips,x86_64
|
||||
int sendto(int, const void*, size_t, int, const struct sockaddr*, socklen_t) arm,arm64,mips,x86_64
|
||||
int recvfrom(int, void*, size_t, unsigned int, struct sockaddr*, socklen_t*) arm,arm64,mips,x86_64
|
||||
int shutdown(int, int) arm,arm64,mips,x86_64
|
||||
int setsockopt(int, int, int, const void*, socklen_t) arm,arm64,mips,x86_64
|
||||
int getsockopt(int, int, int, void*, socklen_t*) arm,arm64,mips,x86_64
|
||||
int sendmsg(int, const struct msghdr*, unsigned int) arm,arm64,mips,x86_64
|
||||
int recvmsg(int, struct msghdr*, unsigned int) arm,arm64,mips,x86_64
|
||||
int socket(int, int, int) arm,arm64,mips,mips64,x86_64
|
||||
int socketpair(int, int, int, int*) arm,arm64,mips,mips64,x86_64
|
||||
int bind(int, struct sockaddr*, int) arm,arm64,mips,mips64,x86_64
|
||||
int connect(int, struct sockaddr*, socklen_t) arm,arm64,mips,mips64,x86_64
|
||||
int listen(int, int) arm,arm64,mips,mips64,x86_64
|
||||
int accept(int, struct sockaddr*, socklen_t*) arm,arm64,mips,mips64,x86_64
|
||||
int getsockname(int, struct sockaddr*, socklen_t*) arm,arm64,mips,mips64,x86_64
|
||||
int getpeername(int, struct sockaddr*, socklen_t*) arm,arm64,mips,mips64,x86_64
|
||||
int sendto(int, const void*, size_t, int, const struct sockaddr*, socklen_t) arm,arm64,mips,mips64,x86_64
|
||||
int recvfrom(int, void*, size_t, unsigned int, struct sockaddr*, socklen_t*) arm,arm64,mips,mips64,x86_64
|
||||
int shutdown(int, int) arm,arm64,mips,mips64,x86_64
|
||||
int setsockopt(int, int, int, const void*, socklen_t) arm,arm64,mips,mips64,x86_64
|
||||
int getsockopt(int, int, int, void*, socklen_t*) arm,arm64,mips,mips64,x86_64
|
||||
int sendmsg(int, const struct msghdr*, unsigned int) arm,arm64,mips,mips64,x86_64
|
||||
int recvmsg(int, struct msghdr*, unsigned int) arm,arm64,mips,mips64,x86_64
|
||||
|
||||
# sockets for x86. These are done as an "indexed" call to socketcall syscall.
|
||||
int socket:socketcall:1(int, int, int) x86
|
||||
@ -316,4 +322,4 @@ int __set_tls:__ARM_NR_set_tls(void*) arm
|
||||
int cacheflush:__ARM_NR_cacheflush(long start, long end, long flags) arm
|
||||
|
||||
# MIPS-specific
|
||||
int _flush_cache:cacheflush(char* addr, const int nbytes, const int op) mips
|
||||
int _flush_cache:cacheflush(char* addr, const int nbytes, const int op) mips,mips64
|
||||
|
194
libc/arch-mips64/syscalls.mk
Normal file
194
libc/arch-mips64/syscalls.mk
Normal file
@ -0,0 +1,194 @@
|
||||
# Generated by gensyscalls.py. Do not edit.
|
||||
syscall_src :=
|
||||
syscall_src += arch-mips64/syscalls/__brk.S
|
||||
syscall_src += arch-mips64/syscalls/__epoll_pwait.S
|
||||
syscall_src += arch-mips64/syscalls/__exit.S
|
||||
syscall_src += arch-mips64/syscalls/__getcpu.S
|
||||
syscall_src += arch-mips64/syscalls/__getcwd.S
|
||||
syscall_src += arch-mips64/syscalls/__getdents.S
|
||||
syscall_src += arch-mips64/syscalls/__getdents64.S
|
||||
syscall_src += arch-mips64/syscalls/__getpriority.S
|
||||
syscall_src += arch-mips64/syscalls/__ioctl.S
|
||||
syscall_src += arch-mips64/syscalls/__openat.S
|
||||
syscall_src += arch-mips64/syscalls/__ppoll.S
|
||||
syscall_src += arch-mips64/syscalls/__pselect6.S
|
||||
syscall_src += arch-mips64/syscalls/__ptrace.S
|
||||
syscall_src += arch-mips64/syscalls/__reboot.S
|
||||
syscall_src += arch-mips64/syscalls/__rt_sigaction.S
|
||||
syscall_src += arch-mips64/syscalls/__rt_sigpending.S
|
||||
syscall_src += arch-mips64/syscalls/__rt_sigprocmask.S
|
||||
syscall_src += arch-mips64/syscalls/__rt_sigsuspend.S
|
||||
syscall_src += arch-mips64/syscalls/__rt_sigtimedwait.S
|
||||
syscall_src += arch-mips64/syscalls/__sched_getaffinity.S
|
||||
syscall_src += arch-mips64/syscalls/__set_thread_area.S
|
||||
syscall_src += arch-mips64/syscalls/__set_tid_address.S
|
||||
syscall_src += arch-mips64/syscalls/__syslog.S
|
||||
syscall_src += arch-mips64/syscalls/__timer_create.S
|
||||
syscall_src += arch-mips64/syscalls/__timer_delete.S
|
||||
syscall_src += arch-mips64/syscalls/__timer_getoverrun.S
|
||||
syscall_src += arch-mips64/syscalls/__timer_gettime.S
|
||||
syscall_src += arch-mips64/syscalls/__timer_settime.S
|
||||
syscall_src += arch-mips64/syscalls/__waitid.S
|
||||
syscall_src += arch-mips64/syscalls/_exit.S
|
||||
syscall_src += arch-mips64/syscalls/_flush_cache.S
|
||||
syscall_src += arch-mips64/syscalls/accept.S
|
||||
syscall_src += arch-mips64/syscalls/acct.S
|
||||
syscall_src += arch-mips64/syscalls/bind.S
|
||||
syscall_src += arch-mips64/syscalls/capget.S
|
||||
syscall_src += arch-mips64/syscalls/capset.S
|
||||
syscall_src += arch-mips64/syscalls/chdir.S
|
||||
syscall_src += arch-mips64/syscalls/chroot.S
|
||||
syscall_src += arch-mips64/syscalls/clock_getres.S
|
||||
syscall_src += arch-mips64/syscalls/clock_gettime.S
|
||||
syscall_src += arch-mips64/syscalls/clock_nanosleep.S
|
||||
syscall_src += arch-mips64/syscalls/clock_settime.S
|
||||
syscall_src += arch-mips64/syscalls/close.S
|
||||
syscall_src += arch-mips64/syscalls/connect.S
|
||||
syscall_src += arch-mips64/syscalls/delete_module.S
|
||||
syscall_src += arch-mips64/syscalls/dup.S
|
||||
syscall_src += arch-mips64/syscalls/dup3.S
|
||||
syscall_src += arch-mips64/syscalls/epoll_create1.S
|
||||
syscall_src += arch-mips64/syscalls/epoll_ctl.S
|
||||
syscall_src += arch-mips64/syscalls/eventfd.S
|
||||
syscall_src += arch-mips64/syscalls/execve.S
|
||||
syscall_src += arch-mips64/syscalls/faccessat.S
|
||||
syscall_src += arch-mips64/syscalls/fallocate.S
|
||||
syscall_src += arch-mips64/syscalls/fchdir.S
|
||||
syscall_src += arch-mips64/syscalls/fchmod.S
|
||||
syscall_src += arch-mips64/syscalls/fchmodat.S
|
||||
syscall_src += arch-mips64/syscalls/fchown.S
|
||||
syscall_src += arch-mips64/syscalls/fchownat.S
|
||||
syscall_src += arch-mips64/syscalls/fcntl.S
|
||||
syscall_src += arch-mips64/syscalls/fdatasync.S
|
||||
syscall_src += arch-mips64/syscalls/fgetxattr.S
|
||||
syscall_src += arch-mips64/syscalls/flistxattr.S
|
||||
syscall_src += arch-mips64/syscalls/flock.S
|
||||
syscall_src += arch-mips64/syscalls/fremovexattr.S
|
||||
syscall_src += arch-mips64/syscalls/fsetxattr.S
|
||||
syscall_src += arch-mips64/syscalls/fstat.S
|
||||
syscall_src += arch-mips64/syscalls/fstatat.S
|
||||
syscall_src += arch-mips64/syscalls/fstatfs.S
|
||||
syscall_src += arch-mips64/syscalls/fsync.S
|
||||
syscall_src += arch-mips64/syscalls/ftruncate.S
|
||||
syscall_src += arch-mips64/syscalls/futex.S
|
||||
syscall_src += arch-mips64/syscalls/getegid.S
|
||||
syscall_src += arch-mips64/syscalls/geteuid.S
|
||||
syscall_src += arch-mips64/syscalls/getgid.S
|
||||
syscall_src += arch-mips64/syscalls/getgroups.S
|
||||
syscall_src += arch-mips64/syscalls/getitimer.S
|
||||
syscall_src += arch-mips64/syscalls/getpeername.S
|
||||
syscall_src += arch-mips64/syscalls/getpgid.S
|
||||
syscall_src += arch-mips64/syscalls/getpid.S
|
||||
syscall_src += arch-mips64/syscalls/getppid.S
|
||||
syscall_src += arch-mips64/syscalls/getresgid.S
|
||||
syscall_src += arch-mips64/syscalls/getresuid.S
|
||||
syscall_src += arch-mips64/syscalls/getrlimit.S
|
||||
syscall_src += arch-mips64/syscalls/getrusage.S
|
||||
syscall_src += arch-mips64/syscalls/getsid.S
|
||||
syscall_src += arch-mips64/syscalls/getsockname.S
|
||||
syscall_src += arch-mips64/syscalls/getsockopt.S
|
||||
syscall_src += arch-mips64/syscalls/gettid.S
|
||||
syscall_src += arch-mips64/syscalls/gettimeofday.S
|
||||
syscall_src += arch-mips64/syscalls/getuid.S
|
||||
syscall_src += arch-mips64/syscalls/getxattr.S
|
||||
syscall_src += arch-mips64/syscalls/init_module.S
|
||||
syscall_src += arch-mips64/syscalls/inotify_add_watch.S
|
||||
syscall_src += arch-mips64/syscalls/inotify_init1.S
|
||||
syscall_src += arch-mips64/syscalls/inotify_rm_watch.S
|
||||
syscall_src += arch-mips64/syscalls/ioprio_get.S
|
||||
syscall_src += arch-mips64/syscalls/ioprio_set.S
|
||||
syscall_src += arch-mips64/syscalls/kill.S
|
||||
syscall_src += arch-mips64/syscalls/klogctl.S
|
||||
syscall_src += arch-mips64/syscalls/lgetxattr.S
|
||||
syscall_src += arch-mips64/syscalls/linkat.S
|
||||
syscall_src += arch-mips64/syscalls/listen.S
|
||||
syscall_src += arch-mips64/syscalls/listxattr.S
|
||||
syscall_src += arch-mips64/syscalls/llistxattr.S
|
||||
syscall_src += arch-mips64/syscalls/lremovexattr.S
|
||||
syscall_src += arch-mips64/syscalls/lseek.S
|
||||
syscall_src += arch-mips64/syscalls/lsetxattr.S
|
||||
syscall_src += arch-mips64/syscalls/madvise.S
|
||||
syscall_src += arch-mips64/syscalls/mincore.S
|
||||
syscall_src += arch-mips64/syscalls/mkdirat.S
|
||||
syscall_src += arch-mips64/syscalls/mknodat.S
|
||||
syscall_src += arch-mips64/syscalls/mlock.S
|
||||
syscall_src += arch-mips64/syscalls/mlockall.S
|
||||
syscall_src += arch-mips64/syscalls/mmap.S
|
||||
syscall_src += arch-mips64/syscalls/mount.S
|
||||
syscall_src += arch-mips64/syscalls/mprotect.S
|
||||
syscall_src += arch-mips64/syscalls/mremap.S
|
||||
syscall_src += arch-mips64/syscalls/msync.S
|
||||
syscall_src += arch-mips64/syscalls/munlock.S
|
||||
syscall_src += arch-mips64/syscalls/munlockall.S
|
||||
syscall_src += arch-mips64/syscalls/munmap.S
|
||||
syscall_src += arch-mips64/syscalls/nanosleep.S
|
||||
syscall_src += arch-mips64/syscalls/perf_event_open.S
|
||||
syscall_src += arch-mips64/syscalls/personality.S
|
||||
syscall_src += arch-mips64/syscalls/pipe2.S
|
||||
syscall_src += arch-mips64/syscalls/prctl.S
|
||||
syscall_src += arch-mips64/syscalls/pread64.S
|
||||
syscall_src += arch-mips64/syscalls/prlimit64.S
|
||||
syscall_src += arch-mips64/syscalls/pwrite64.S
|
||||
syscall_src += arch-mips64/syscalls/read.S
|
||||
syscall_src += arch-mips64/syscalls/readahead.S
|
||||
syscall_src += arch-mips64/syscalls/readlinkat.S
|
||||
syscall_src += arch-mips64/syscalls/readv.S
|
||||
syscall_src += arch-mips64/syscalls/recvfrom.S
|
||||
syscall_src += arch-mips64/syscalls/recvmsg.S
|
||||
syscall_src += arch-mips64/syscalls/removexattr.S
|
||||
syscall_src += arch-mips64/syscalls/renameat.S
|
||||
syscall_src += arch-mips64/syscalls/sched_get_priority_max.S
|
||||
syscall_src += arch-mips64/syscalls/sched_get_priority_min.S
|
||||
syscall_src += arch-mips64/syscalls/sched_getparam.S
|
||||
syscall_src += arch-mips64/syscalls/sched_getscheduler.S
|
||||
syscall_src += arch-mips64/syscalls/sched_rr_get_interval.S
|
||||
syscall_src += arch-mips64/syscalls/sched_setaffinity.S
|
||||
syscall_src += arch-mips64/syscalls/sched_setparam.S
|
||||
syscall_src += arch-mips64/syscalls/sched_setscheduler.S
|
||||
syscall_src += arch-mips64/syscalls/sched_yield.S
|
||||
syscall_src += arch-mips64/syscalls/sendfile.S
|
||||
syscall_src += arch-mips64/syscalls/sendmsg.S
|
||||
syscall_src += arch-mips64/syscalls/sendto.S
|
||||
syscall_src += arch-mips64/syscalls/setgid.S
|
||||
syscall_src += arch-mips64/syscalls/setgroups.S
|
||||
syscall_src += arch-mips64/syscalls/setitimer.S
|
||||
syscall_src += arch-mips64/syscalls/setns.S
|
||||
syscall_src += arch-mips64/syscalls/setpgid.S
|
||||
syscall_src += arch-mips64/syscalls/setpriority.S
|
||||
syscall_src += arch-mips64/syscalls/setregid.S
|
||||
syscall_src += arch-mips64/syscalls/setresgid.S
|
||||
syscall_src += arch-mips64/syscalls/setresuid.S
|
||||
syscall_src += arch-mips64/syscalls/setreuid.S
|
||||
syscall_src += arch-mips64/syscalls/setrlimit.S
|
||||
syscall_src += arch-mips64/syscalls/setsid.S
|
||||
syscall_src += arch-mips64/syscalls/setsockopt.S
|
||||
syscall_src += arch-mips64/syscalls/settimeofday.S
|
||||
syscall_src += arch-mips64/syscalls/setuid.S
|
||||
syscall_src += arch-mips64/syscalls/setxattr.S
|
||||
syscall_src += arch-mips64/syscalls/shutdown.S
|
||||
syscall_src += arch-mips64/syscalls/sigaltstack.S
|
||||
syscall_src += arch-mips64/syscalls/signalfd4.S
|
||||
syscall_src += arch-mips64/syscalls/socket.S
|
||||
syscall_src += arch-mips64/syscalls/socketpair.S
|
||||
syscall_src += arch-mips64/syscalls/statfs.S
|
||||
syscall_src += arch-mips64/syscalls/swapoff.S
|
||||
syscall_src += arch-mips64/syscalls/swapon.S
|
||||
syscall_src += arch-mips64/syscalls/symlinkat.S
|
||||
syscall_src += arch-mips64/syscalls/sync.S
|
||||
syscall_src += arch-mips64/syscalls/sysinfo.S
|
||||
syscall_src += arch-mips64/syscalls/tgkill.S
|
||||
syscall_src += arch-mips64/syscalls/timerfd_create.S
|
||||
syscall_src += arch-mips64/syscalls/timerfd_gettime.S
|
||||
syscall_src += arch-mips64/syscalls/timerfd_settime.S
|
||||
syscall_src += arch-mips64/syscalls/times.S
|
||||
syscall_src += arch-mips64/syscalls/tkill.S
|
||||
syscall_src += arch-mips64/syscalls/truncate.S
|
||||
syscall_src += arch-mips64/syscalls/umask.S
|
||||
syscall_src += arch-mips64/syscalls/umount2.S
|
||||
syscall_src += arch-mips64/syscalls/uname.S
|
||||
syscall_src += arch-mips64/syscalls/unlinkat.S
|
||||
syscall_src += arch-mips64/syscalls/unshare.S
|
||||
syscall_src += arch-mips64/syscalls/utimensat.S
|
||||
syscall_src += arch-mips64/syscalls/wait4.S
|
||||
syscall_src += arch-mips64/syscalls/write.S
|
||||
syscall_src += arch-mips64/syscalls/writev.S
|
32
libc/arch-mips64/syscalls/__brk.S
Normal file
32
libc/arch-mips64/syscalls/__brk.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __brk
|
||||
.align 4
|
||||
.ent __brk
|
||||
|
||||
__brk:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_brk
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __brk
|
||||
.hidden _C_LABEL(__brk)
|
32
libc/arch-mips64/syscalls/__epoll_pwait.S
Normal file
32
libc/arch-mips64/syscalls/__epoll_pwait.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __epoll_pwait
|
||||
.align 4
|
||||
.ent __epoll_pwait
|
||||
|
||||
__epoll_pwait:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_epoll_pwait
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __epoll_pwait
|
||||
.hidden _C_LABEL(__epoll_pwait)
|
32
libc/arch-mips64/syscalls/__exit.S
Normal file
32
libc/arch-mips64/syscalls/__exit.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __exit
|
||||
.align 4
|
||||
.ent __exit
|
||||
|
||||
__exit:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_exit
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __exit
|
||||
.hidden _C_LABEL(__exit)
|
32
libc/arch-mips64/syscalls/__getcpu.S
Normal file
32
libc/arch-mips64/syscalls/__getcpu.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __getcpu
|
||||
.align 4
|
||||
.ent __getcpu
|
||||
|
||||
__getcpu:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getcpu
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __getcpu
|
||||
.hidden _C_LABEL(__getcpu)
|
32
libc/arch-mips64/syscalls/__getcwd.S
Normal file
32
libc/arch-mips64/syscalls/__getcwd.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __getcwd
|
||||
.align 4
|
||||
.ent __getcwd
|
||||
|
||||
__getcwd:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getcwd
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __getcwd
|
||||
.hidden _C_LABEL(__getcwd)
|
32
libc/arch-mips64/syscalls/__getdents.S
Normal file
32
libc/arch-mips64/syscalls/__getdents.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __getdents
|
||||
.align 4
|
||||
.ent __getdents
|
||||
|
||||
__getdents:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getdents
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __getdents
|
||||
.hidden _C_LABEL(__getdents)
|
32
libc/arch-mips64/syscalls/__getdents64.S
Normal file
32
libc/arch-mips64/syscalls/__getdents64.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __getdents64
|
||||
.align 4
|
||||
.ent __getdents64
|
||||
|
||||
__getdents64:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getdents64
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __getdents64
|
||||
.hidden _C_LABEL(__getdents64)
|
32
libc/arch-mips64/syscalls/__getpriority.S
Normal file
32
libc/arch-mips64/syscalls/__getpriority.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __getpriority
|
||||
.align 4
|
||||
.ent __getpriority
|
||||
|
||||
__getpriority:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getpriority
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __getpriority
|
||||
.hidden _C_LABEL(__getpriority)
|
32
libc/arch-mips64/syscalls/__ioctl.S
Normal file
32
libc/arch-mips64/syscalls/__ioctl.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __ioctl
|
||||
.align 4
|
||||
.ent __ioctl
|
||||
|
||||
__ioctl:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_ioctl
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __ioctl
|
||||
.hidden _C_LABEL(__ioctl)
|
32
libc/arch-mips64/syscalls/__openat.S
Normal file
32
libc/arch-mips64/syscalls/__openat.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __openat
|
||||
.align 4
|
||||
.ent __openat
|
||||
|
||||
__openat:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_openat
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __openat
|
||||
.hidden _C_LABEL(__openat)
|
32
libc/arch-mips64/syscalls/__ppoll.S
Normal file
32
libc/arch-mips64/syscalls/__ppoll.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __ppoll
|
||||
.align 4
|
||||
.ent __ppoll
|
||||
|
||||
__ppoll:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_ppoll
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __ppoll
|
||||
.hidden _C_LABEL(__ppoll)
|
32
libc/arch-mips64/syscalls/__pselect6.S
Normal file
32
libc/arch-mips64/syscalls/__pselect6.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __pselect6
|
||||
.align 4
|
||||
.ent __pselect6
|
||||
|
||||
__pselect6:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_pselect6
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __pselect6
|
||||
.hidden _C_LABEL(__pselect6)
|
32
libc/arch-mips64/syscalls/__ptrace.S
Normal file
32
libc/arch-mips64/syscalls/__ptrace.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __ptrace
|
||||
.align 4
|
||||
.ent __ptrace
|
||||
|
||||
__ptrace:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_ptrace
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __ptrace
|
||||
.hidden _C_LABEL(__ptrace)
|
32
libc/arch-mips64/syscalls/__reboot.S
Normal file
32
libc/arch-mips64/syscalls/__reboot.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __reboot
|
||||
.align 4
|
||||
.ent __reboot
|
||||
|
||||
__reboot:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_reboot
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __reboot
|
||||
.hidden _C_LABEL(__reboot)
|
32
libc/arch-mips64/syscalls/__rt_sigaction.S
Normal file
32
libc/arch-mips64/syscalls/__rt_sigaction.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __rt_sigaction
|
||||
.align 4
|
||||
.ent __rt_sigaction
|
||||
|
||||
__rt_sigaction:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_rt_sigaction
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __rt_sigaction
|
||||
.hidden _C_LABEL(__rt_sigaction)
|
32
libc/arch-mips64/syscalls/__rt_sigpending.S
Normal file
32
libc/arch-mips64/syscalls/__rt_sigpending.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __rt_sigpending
|
||||
.align 4
|
||||
.ent __rt_sigpending
|
||||
|
||||
__rt_sigpending:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_rt_sigpending
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __rt_sigpending
|
||||
.hidden _C_LABEL(__rt_sigpending)
|
32
libc/arch-mips64/syscalls/__rt_sigprocmask.S
Normal file
32
libc/arch-mips64/syscalls/__rt_sigprocmask.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __rt_sigprocmask
|
||||
.align 4
|
||||
.ent __rt_sigprocmask
|
||||
|
||||
__rt_sigprocmask:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_rt_sigprocmask
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __rt_sigprocmask
|
||||
.hidden _C_LABEL(__rt_sigprocmask)
|
32
libc/arch-mips64/syscalls/__rt_sigsuspend.S
Normal file
32
libc/arch-mips64/syscalls/__rt_sigsuspend.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __rt_sigsuspend
|
||||
.align 4
|
||||
.ent __rt_sigsuspend
|
||||
|
||||
__rt_sigsuspend:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_rt_sigsuspend
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __rt_sigsuspend
|
||||
.hidden _C_LABEL(__rt_sigsuspend)
|
32
libc/arch-mips64/syscalls/__rt_sigtimedwait.S
Normal file
32
libc/arch-mips64/syscalls/__rt_sigtimedwait.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __rt_sigtimedwait
|
||||
.align 4
|
||||
.ent __rt_sigtimedwait
|
||||
|
||||
__rt_sigtimedwait:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_rt_sigtimedwait
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __rt_sigtimedwait
|
||||
.hidden _C_LABEL(__rt_sigtimedwait)
|
32
libc/arch-mips64/syscalls/__sched_getaffinity.S
Normal file
32
libc/arch-mips64/syscalls/__sched_getaffinity.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __sched_getaffinity
|
||||
.align 4
|
||||
.ent __sched_getaffinity
|
||||
|
||||
__sched_getaffinity:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_sched_getaffinity
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __sched_getaffinity
|
||||
.hidden _C_LABEL(__sched_getaffinity)
|
32
libc/arch-mips64/syscalls/__set_thread_area.S
Normal file
32
libc/arch-mips64/syscalls/__set_thread_area.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __set_thread_area
|
||||
.align 4
|
||||
.ent __set_thread_area
|
||||
|
||||
__set_thread_area:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_set_thread_area
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __set_thread_area
|
||||
.hidden _C_LABEL(__set_thread_area)
|
32
libc/arch-mips64/syscalls/__set_tid_address.S
Normal file
32
libc/arch-mips64/syscalls/__set_tid_address.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __set_tid_address
|
||||
.align 4
|
||||
.ent __set_tid_address
|
||||
|
||||
__set_tid_address:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_set_tid_address
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __set_tid_address
|
||||
.hidden _C_LABEL(__set_tid_address)
|
32
libc/arch-mips64/syscalls/__syslog.S
Normal file
32
libc/arch-mips64/syscalls/__syslog.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __syslog
|
||||
.align 4
|
||||
.ent __syslog
|
||||
|
||||
__syslog:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_syslog
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __syslog
|
||||
.hidden _C_LABEL(__syslog)
|
32
libc/arch-mips64/syscalls/__timer_create.S
Normal file
32
libc/arch-mips64/syscalls/__timer_create.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __timer_create
|
||||
.align 4
|
||||
.ent __timer_create
|
||||
|
||||
__timer_create:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_timer_create
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __timer_create
|
||||
.hidden _C_LABEL(__timer_create)
|
32
libc/arch-mips64/syscalls/__timer_delete.S
Normal file
32
libc/arch-mips64/syscalls/__timer_delete.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __timer_delete
|
||||
.align 4
|
||||
.ent __timer_delete
|
||||
|
||||
__timer_delete:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_timer_delete
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __timer_delete
|
||||
.hidden _C_LABEL(__timer_delete)
|
32
libc/arch-mips64/syscalls/__timer_getoverrun.S
Normal file
32
libc/arch-mips64/syscalls/__timer_getoverrun.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __timer_getoverrun
|
||||
.align 4
|
||||
.ent __timer_getoverrun
|
||||
|
||||
__timer_getoverrun:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_timer_getoverrun
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __timer_getoverrun
|
||||
.hidden _C_LABEL(__timer_getoverrun)
|
32
libc/arch-mips64/syscalls/__timer_gettime.S
Normal file
32
libc/arch-mips64/syscalls/__timer_gettime.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __timer_gettime
|
||||
.align 4
|
||||
.ent __timer_gettime
|
||||
|
||||
__timer_gettime:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_timer_gettime
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __timer_gettime
|
||||
.hidden _C_LABEL(__timer_gettime)
|
32
libc/arch-mips64/syscalls/__timer_settime.S
Normal file
32
libc/arch-mips64/syscalls/__timer_settime.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __timer_settime
|
||||
.align 4
|
||||
.ent __timer_settime
|
||||
|
||||
__timer_settime:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_timer_settime
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __timer_settime
|
||||
.hidden _C_LABEL(__timer_settime)
|
32
libc/arch-mips64/syscalls/__waitid.S
Normal file
32
libc/arch-mips64/syscalls/__waitid.S
Normal file
@ -0,0 +1,32 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl __waitid
|
||||
.align 4
|
||||
.ent __waitid
|
||||
|
||||
__waitid:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_waitid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end __waitid
|
||||
.hidden _C_LABEL(__waitid)
|
31
libc/arch-mips64/syscalls/_exit.S
Normal file
31
libc/arch-mips64/syscalls/_exit.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl _exit
|
||||
.align 4
|
||||
.ent _exit
|
||||
|
||||
_exit:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_exit_group
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end _exit
|
31
libc/arch-mips64/syscalls/_flush_cache.S
Normal file
31
libc/arch-mips64/syscalls/_flush_cache.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl _flush_cache
|
||||
.align 4
|
||||
.ent _flush_cache
|
||||
|
||||
_flush_cache:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_cacheflush
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end _flush_cache
|
31
libc/arch-mips64/syscalls/accept.S
Normal file
31
libc/arch-mips64/syscalls/accept.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl accept
|
||||
.align 4
|
||||
.ent accept
|
||||
|
||||
accept:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_accept
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end accept
|
31
libc/arch-mips64/syscalls/acct.S
Normal file
31
libc/arch-mips64/syscalls/acct.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl acct
|
||||
.align 4
|
||||
.ent acct
|
||||
|
||||
acct:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_acct
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end acct
|
31
libc/arch-mips64/syscalls/bind.S
Normal file
31
libc/arch-mips64/syscalls/bind.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl bind
|
||||
.align 4
|
||||
.ent bind
|
||||
|
||||
bind:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_bind
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end bind
|
31
libc/arch-mips64/syscalls/capget.S
Normal file
31
libc/arch-mips64/syscalls/capget.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl capget
|
||||
.align 4
|
||||
.ent capget
|
||||
|
||||
capget:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_capget
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end capget
|
31
libc/arch-mips64/syscalls/capset.S
Normal file
31
libc/arch-mips64/syscalls/capset.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl capset
|
||||
.align 4
|
||||
.ent capset
|
||||
|
||||
capset:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_capset
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end capset
|
31
libc/arch-mips64/syscalls/chdir.S
Normal file
31
libc/arch-mips64/syscalls/chdir.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl chdir
|
||||
.align 4
|
||||
.ent chdir
|
||||
|
||||
chdir:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_chdir
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end chdir
|
31
libc/arch-mips64/syscalls/chroot.S
Normal file
31
libc/arch-mips64/syscalls/chroot.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl chroot
|
||||
.align 4
|
||||
.ent chroot
|
||||
|
||||
chroot:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_chroot
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end chroot
|
31
libc/arch-mips64/syscalls/clock_getres.S
Normal file
31
libc/arch-mips64/syscalls/clock_getres.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl clock_getres
|
||||
.align 4
|
||||
.ent clock_getres
|
||||
|
||||
clock_getres:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_clock_getres
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end clock_getres
|
31
libc/arch-mips64/syscalls/clock_gettime.S
Normal file
31
libc/arch-mips64/syscalls/clock_gettime.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl clock_gettime
|
||||
.align 4
|
||||
.ent clock_gettime
|
||||
|
||||
clock_gettime:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_clock_gettime
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end clock_gettime
|
31
libc/arch-mips64/syscalls/clock_nanosleep.S
Normal file
31
libc/arch-mips64/syscalls/clock_nanosleep.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl clock_nanosleep
|
||||
.align 4
|
||||
.ent clock_nanosleep
|
||||
|
||||
clock_nanosleep:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_clock_nanosleep
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end clock_nanosleep
|
31
libc/arch-mips64/syscalls/clock_settime.S
Normal file
31
libc/arch-mips64/syscalls/clock_settime.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl clock_settime
|
||||
.align 4
|
||||
.ent clock_settime
|
||||
|
||||
clock_settime:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_clock_settime
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end clock_settime
|
31
libc/arch-mips64/syscalls/close.S
Normal file
31
libc/arch-mips64/syscalls/close.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl close
|
||||
.align 4
|
||||
.ent close
|
||||
|
||||
close:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_close
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end close
|
31
libc/arch-mips64/syscalls/connect.S
Normal file
31
libc/arch-mips64/syscalls/connect.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl connect
|
||||
.align 4
|
||||
.ent connect
|
||||
|
||||
connect:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_connect
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end connect
|
31
libc/arch-mips64/syscalls/delete_module.S
Normal file
31
libc/arch-mips64/syscalls/delete_module.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl delete_module
|
||||
.align 4
|
||||
.ent delete_module
|
||||
|
||||
delete_module:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_delete_module
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end delete_module
|
31
libc/arch-mips64/syscalls/dup.S
Normal file
31
libc/arch-mips64/syscalls/dup.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl dup
|
||||
.align 4
|
||||
.ent dup
|
||||
|
||||
dup:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_dup
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end dup
|
31
libc/arch-mips64/syscalls/dup3.S
Normal file
31
libc/arch-mips64/syscalls/dup3.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl dup3
|
||||
.align 4
|
||||
.ent dup3
|
||||
|
||||
dup3:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_dup3
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end dup3
|
31
libc/arch-mips64/syscalls/epoll_create1.S
Normal file
31
libc/arch-mips64/syscalls/epoll_create1.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl epoll_create1
|
||||
.align 4
|
||||
.ent epoll_create1
|
||||
|
||||
epoll_create1:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_epoll_create1
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end epoll_create1
|
31
libc/arch-mips64/syscalls/epoll_ctl.S
Normal file
31
libc/arch-mips64/syscalls/epoll_ctl.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl epoll_ctl
|
||||
.align 4
|
||||
.ent epoll_ctl
|
||||
|
||||
epoll_ctl:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_epoll_ctl
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end epoll_ctl
|
31
libc/arch-mips64/syscalls/eventfd.S
Normal file
31
libc/arch-mips64/syscalls/eventfd.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl eventfd
|
||||
.align 4
|
||||
.ent eventfd
|
||||
|
||||
eventfd:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_eventfd2
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end eventfd
|
31
libc/arch-mips64/syscalls/execve.S
Normal file
31
libc/arch-mips64/syscalls/execve.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl execve
|
||||
.align 4
|
||||
.ent execve
|
||||
|
||||
execve:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_execve
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end execve
|
31
libc/arch-mips64/syscalls/faccessat.S
Normal file
31
libc/arch-mips64/syscalls/faccessat.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl faccessat
|
||||
.align 4
|
||||
.ent faccessat
|
||||
|
||||
faccessat:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_faccessat
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end faccessat
|
34
libc/arch-mips64/syscalls/fallocate.S
Normal file
34
libc/arch-mips64/syscalls/fallocate.S
Normal file
@ -0,0 +1,34 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fallocate
|
||||
.align 4
|
||||
.ent fallocate
|
||||
|
||||
fallocate:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fallocate
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fallocate
|
||||
|
||||
.globl _C_LABEL(fallocate64)
|
||||
.equ _C_LABEL(fallocate64), _C_LABEL(fallocate)
|
31
libc/arch-mips64/syscalls/fchdir.S
Normal file
31
libc/arch-mips64/syscalls/fchdir.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fchdir
|
||||
.align 4
|
||||
.ent fchdir
|
||||
|
||||
fchdir:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fchdir
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fchdir
|
31
libc/arch-mips64/syscalls/fchmod.S
Normal file
31
libc/arch-mips64/syscalls/fchmod.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fchmod
|
||||
.align 4
|
||||
.ent fchmod
|
||||
|
||||
fchmod:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fchmod
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fchmod
|
31
libc/arch-mips64/syscalls/fchmodat.S
Normal file
31
libc/arch-mips64/syscalls/fchmodat.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fchmodat
|
||||
.align 4
|
||||
.ent fchmodat
|
||||
|
||||
fchmodat:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fchmodat
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fchmodat
|
31
libc/arch-mips64/syscalls/fchown.S
Normal file
31
libc/arch-mips64/syscalls/fchown.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fchown
|
||||
.align 4
|
||||
.ent fchown
|
||||
|
||||
fchown:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fchown
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fchown
|
31
libc/arch-mips64/syscalls/fchownat.S
Normal file
31
libc/arch-mips64/syscalls/fchownat.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fchownat
|
||||
.align 4
|
||||
.ent fchownat
|
||||
|
||||
fchownat:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fchownat
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fchownat
|
31
libc/arch-mips64/syscalls/fcntl.S
Normal file
31
libc/arch-mips64/syscalls/fcntl.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fcntl
|
||||
.align 4
|
||||
.ent fcntl
|
||||
|
||||
fcntl:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fcntl
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fcntl
|
31
libc/arch-mips64/syscalls/fdatasync.S
Normal file
31
libc/arch-mips64/syscalls/fdatasync.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fdatasync
|
||||
.align 4
|
||||
.ent fdatasync
|
||||
|
||||
fdatasync:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fdatasync
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fdatasync
|
31
libc/arch-mips64/syscalls/fgetxattr.S
Normal file
31
libc/arch-mips64/syscalls/fgetxattr.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fgetxattr
|
||||
.align 4
|
||||
.ent fgetxattr
|
||||
|
||||
fgetxattr:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fgetxattr
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fgetxattr
|
31
libc/arch-mips64/syscalls/flistxattr.S
Normal file
31
libc/arch-mips64/syscalls/flistxattr.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl flistxattr
|
||||
.align 4
|
||||
.ent flistxattr
|
||||
|
||||
flistxattr:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_flistxattr
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end flistxattr
|
31
libc/arch-mips64/syscalls/flock.S
Normal file
31
libc/arch-mips64/syscalls/flock.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl flock
|
||||
.align 4
|
||||
.ent flock
|
||||
|
||||
flock:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_flock
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end flock
|
31
libc/arch-mips64/syscalls/fremovexattr.S
Normal file
31
libc/arch-mips64/syscalls/fremovexattr.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fremovexattr
|
||||
.align 4
|
||||
.ent fremovexattr
|
||||
|
||||
fremovexattr:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fremovexattr
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fremovexattr
|
31
libc/arch-mips64/syscalls/fsetxattr.S
Normal file
31
libc/arch-mips64/syscalls/fsetxattr.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fsetxattr
|
||||
.align 4
|
||||
.ent fsetxattr
|
||||
|
||||
fsetxattr:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fsetxattr
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fsetxattr
|
31
libc/arch-mips64/syscalls/fstat.S
Normal file
31
libc/arch-mips64/syscalls/fstat.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fstat
|
||||
.align 4
|
||||
.ent fstat
|
||||
|
||||
fstat:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fstat
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fstat
|
31
libc/arch-mips64/syscalls/fstatat.S
Normal file
31
libc/arch-mips64/syscalls/fstatat.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fstatat
|
||||
.align 4
|
||||
.ent fstatat
|
||||
|
||||
fstatat:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_newfstatat
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fstatat
|
31
libc/arch-mips64/syscalls/fstatfs.S
Normal file
31
libc/arch-mips64/syscalls/fstatfs.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fstatfs
|
||||
.align 4
|
||||
.ent fstatfs
|
||||
|
||||
fstatfs:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fstatfs
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fstatfs
|
31
libc/arch-mips64/syscalls/fsync.S
Normal file
31
libc/arch-mips64/syscalls/fsync.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl fsync
|
||||
.align 4
|
||||
.ent fsync
|
||||
|
||||
fsync:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_fsync
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end fsync
|
34
libc/arch-mips64/syscalls/ftruncate.S
Normal file
34
libc/arch-mips64/syscalls/ftruncate.S
Normal file
@ -0,0 +1,34 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl ftruncate
|
||||
.align 4
|
||||
.ent ftruncate
|
||||
|
||||
ftruncate:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_ftruncate
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end ftruncate
|
||||
|
||||
.globl _C_LABEL(ftruncate64)
|
||||
.equ _C_LABEL(ftruncate64), _C_LABEL(ftruncate)
|
31
libc/arch-mips64/syscalls/futex.S
Normal file
31
libc/arch-mips64/syscalls/futex.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl futex
|
||||
.align 4
|
||||
.ent futex
|
||||
|
||||
futex:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_futex
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end futex
|
31
libc/arch-mips64/syscalls/getegid.S
Normal file
31
libc/arch-mips64/syscalls/getegid.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getegid
|
||||
.align 4
|
||||
.ent getegid
|
||||
|
||||
getegid:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getegid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getegid
|
31
libc/arch-mips64/syscalls/geteuid.S
Normal file
31
libc/arch-mips64/syscalls/geteuid.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl geteuid
|
||||
.align 4
|
||||
.ent geteuid
|
||||
|
||||
geteuid:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_geteuid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end geteuid
|
31
libc/arch-mips64/syscalls/getgid.S
Normal file
31
libc/arch-mips64/syscalls/getgid.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getgid
|
||||
.align 4
|
||||
.ent getgid
|
||||
|
||||
getgid:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getgid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getgid
|
31
libc/arch-mips64/syscalls/getgroups.S
Normal file
31
libc/arch-mips64/syscalls/getgroups.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getgroups
|
||||
.align 4
|
||||
.ent getgroups
|
||||
|
||||
getgroups:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getgroups
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getgroups
|
31
libc/arch-mips64/syscalls/getitimer.S
Normal file
31
libc/arch-mips64/syscalls/getitimer.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getitimer
|
||||
.align 4
|
||||
.ent getitimer
|
||||
|
||||
getitimer:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getitimer
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getitimer
|
31
libc/arch-mips64/syscalls/getpeername.S
Normal file
31
libc/arch-mips64/syscalls/getpeername.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getpeername
|
||||
.align 4
|
||||
.ent getpeername
|
||||
|
||||
getpeername:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getpeername
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getpeername
|
31
libc/arch-mips64/syscalls/getpgid.S
Normal file
31
libc/arch-mips64/syscalls/getpgid.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getpgid
|
||||
.align 4
|
||||
.ent getpgid
|
||||
|
||||
getpgid:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getpgid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getpgid
|
31
libc/arch-mips64/syscalls/getpid.S
Normal file
31
libc/arch-mips64/syscalls/getpid.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getpid
|
||||
.align 4
|
||||
.ent getpid
|
||||
|
||||
getpid:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getpid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getpid
|
31
libc/arch-mips64/syscalls/getppid.S
Normal file
31
libc/arch-mips64/syscalls/getppid.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getppid
|
||||
.align 4
|
||||
.ent getppid
|
||||
|
||||
getppid:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getppid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getppid
|
31
libc/arch-mips64/syscalls/getresgid.S
Normal file
31
libc/arch-mips64/syscalls/getresgid.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getresgid
|
||||
.align 4
|
||||
.ent getresgid
|
||||
|
||||
getresgid:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getresgid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getresgid
|
31
libc/arch-mips64/syscalls/getresuid.S
Normal file
31
libc/arch-mips64/syscalls/getresuid.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getresuid
|
||||
.align 4
|
||||
.ent getresuid
|
||||
|
||||
getresuid:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getresuid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getresuid
|
34
libc/arch-mips64/syscalls/getrlimit.S
Normal file
34
libc/arch-mips64/syscalls/getrlimit.S
Normal file
@ -0,0 +1,34 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getrlimit
|
||||
.align 4
|
||||
.ent getrlimit
|
||||
|
||||
getrlimit:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getrlimit
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getrlimit
|
||||
|
||||
.globl _C_LABEL(getrlimit64)
|
||||
.equ _C_LABEL(getrlimit64), _C_LABEL(getrlimit)
|
31
libc/arch-mips64/syscalls/getrusage.S
Normal file
31
libc/arch-mips64/syscalls/getrusage.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getrusage
|
||||
.align 4
|
||||
.ent getrusage
|
||||
|
||||
getrusage:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getrusage
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getrusage
|
31
libc/arch-mips64/syscalls/getsid.S
Normal file
31
libc/arch-mips64/syscalls/getsid.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getsid
|
||||
.align 4
|
||||
.ent getsid
|
||||
|
||||
getsid:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getsid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getsid
|
31
libc/arch-mips64/syscalls/getsockname.S
Normal file
31
libc/arch-mips64/syscalls/getsockname.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getsockname
|
||||
.align 4
|
||||
.ent getsockname
|
||||
|
||||
getsockname:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getsockname
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getsockname
|
31
libc/arch-mips64/syscalls/getsockopt.S
Normal file
31
libc/arch-mips64/syscalls/getsockopt.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getsockopt
|
||||
.align 4
|
||||
.ent getsockopt
|
||||
|
||||
getsockopt:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getsockopt
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getsockopt
|
31
libc/arch-mips64/syscalls/gettid.S
Normal file
31
libc/arch-mips64/syscalls/gettid.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl gettid
|
||||
.align 4
|
||||
.ent gettid
|
||||
|
||||
gettid:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_gettid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end gettid
|
31
libc/arch-mips64/syscalls/gettimeofday.S
Normal file
31
libc/arch-mips64/syscalls/gettimeofday.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl gettimeofday
|
||||
.align 4
|
||||
.ent gettimeofday
|
||||
|
||||
gettimeofday:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_gettimeofday
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end gettimeofday
|
31
libc/arch-mips64/syscalls/getuid.S
Normal file
31
libc/arch-mips64/syscalls/getuid.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getuid
|
||||
.align 4
|
||||
.ent getuid
|
||||
|
||||
getuid:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getuid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getuid
|
31
libc/arch-mips64/syscalls/getxattr.S
Normal file
31
libc/arch-mips64/syscalls/getxattr.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl getxattr
|
||||
.align 4
|
||||
.ent getxattr
|
||||
|
||||
getxattr:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_getxattr
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end getxattr
|
31
libc/arch-mips64/syscalls/init_module.S
Normal file
31
libc/arch-mips64/syscalls/init_module.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl init_module
|
||||
.align 4
|
||||
.ent init_module
|
||||
|
||||
init_module:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_init_module
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end init_module
|
31
libc/arch-mips64/syscalls/inotify_add_watch.S
Normal file
31
libc/arch-mips64/syscalls/inotify_add_watch.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl inotify_add_watch
|
||||
.align 4
|
||||
.ent inotify_add_watch
|
||||
|
||||
inotify_add_watch:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_inotify_add_watch
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end inotify_add_watch
|
31
libc/arch-mips64/syscalls/inotify_init1.S
Normal file
31
libc/arch-mips64/syscalls/inotify_init1.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl inotify_init1
|
||||
.align 4
|
||||
.ent inotify_init1
|
||||
|
||||
inotify_init1:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_inotify_init1
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end inotify_init1
|
31
libc/arch-mips64/syscalls/inotify_rm_watch.S
Normal file
31
libc/arch-mips64/syscalls/inotify_rm_watch.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl inotify_rm_watch
|
||||
.align 4
|
||||
.ent inotify_rm_watch
|
||||
|
||||
inotify_rm_watch:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_inotify_rm_watch
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end inotify_rm_watch
|
31
libc/arch-mips64/syscalls/ioprio_get.S
Normal file
31
libc/arch-mips64/syscalls/ioprio_get.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl ioprio_get
|
||||
.align 4
|
||||
.ent ioprio_get
|
||||
|
||||
ioprio_get:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_ioprio_get
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end ioprio_get
|
31
libc/arch-mips64/syscalls/ioprio_set.S
Normal file
31
libc/arch-mips64/syscalls/ioprio_set.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl ioprio_set
|
||||
.align 4
|
||||
.ent ioprio_set
|
||||
|
||||
ioprio_set:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_ioprio_set
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end ioprio_set
|
31
libc/arch-mips64/syscalls/kill.S
Normal file
31
libc/arch-mips64/syscalls/kill.S
Normal file
@ -0,0 +1,31 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <asm/unistd.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/regdef.h>
|
||||
.text
|
||||
.globl kill
|
||||
.align 4
|
||||
.ent kill
|
||||
|
||||
kill:
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_kill
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
.end kill
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user