am dbd5ecad: resolved conflicts for merge of e5408907 to jb-dev-plus-aosp
* commit 'dbd5ecad26e39281bb83f97664bc32555c5c071a': [MIPS] Add support for MIPS syscalls
This commit is contained in:
commit
2a5fab9a5f
@ -22,18 +22,18 @@
|
|||||||
# assembler template for the syscall; it's up to the bionic implementation to provide
|
# assembler template for the syscall; it's up to the bionic implementation to provide
|
||||||
# a relevant C stub
|
# a relevant C stub
|
||||||
#
|
#
|
||||||
# - additionally, if the syscall number is different amoung ARM, and x86, use:
|
# - additionally, if the syscall number is different amoung ARM, and x86, MIPS use:
|
||||||
# return_type funcname[:syscall_name](parameters) arm_number,x86_number
|
# return_type funcname[:syscall_name](parameters) arm_number,x86_number, mips_number
|
||||||
#
|
#
|
||||||
# the file is processed by a python script named gensyscalls.py
|
# the file is processed by a python script named gensyscalls.py
|
||||||
#
|
#
|
||||||
|
|
||||||
# process management
|
# process management
|
||||||
void _exit:exit_group (int) 248,252
|
void _exit:exit_group (int) 248,252,246
|
||||||
void _exit_thread:exit (int) 1
|
void _exit_thread:exit (int) 1
|
||||||
pid_t __fork:fork (void) 2
|
pid_t __fork:fork (void) 2
|
||||||
pid_t _waitpid:waitpid (pid_t, int*, int, struct rusage*) -1,7
|
pid_t _waitpid:waitpid (pid_t, int*, int, struct rusage*) -1,7,7
|
||||||
int __waitid:waitid(int, pid_t, struct siginfo_t*, int,void*) 280,284
|
int __waitid:waitid(int, pid_t, struct siginfo_t*, int,void*) 280,284,278
|
||||||
|
|
||||||
# NOTE: this system call is never called directly, but we list it there
|
# NOTE: this system call is never called directly, but we list it there
|
||||||
# to have __NR_clone properly defined.
|
# to have __NR_clone properly defined.
|
||||||
@ -42,72 +42,87 @@ pid_t __sys_clone:clone (int, void*, int*, void*, int*) 120
|
|||||||
|
|
||||||
int execve (const char*, char* const*, char* const*) 11
|
int execve (const char*, char* const*, char* const*) 11
|
||||||
|
|
||||||
int __setuid:setuid32 (uid_t) 213
|
int __setuid:setuid32 (uid_t) 213,213,-1
|
||||||
uid_t getuid:getuid32 () 199
|
int __setuid:setuid (uid_t) -1,-1,23
|
||||||
gid_t getgid:getgid32 () 200
|
uid_t getuid:getuid32 () 199,199,-1
|
||||||
uid_t geteuid:geteuid32 () 201
|
uid_t getuid:getuid () -1,-1,24
|
||||||
gid_t getegid:getegid32 () 202
|
gid_t getgid:getgid32 () 200,200,-1
|
||||||
uid_t getresuid:getresuid32 (uid_t *ruid, uid_t *euid, uid_t *suid) 209
|
gid_t getgid:getgid () -1,-1,47
|
||||||
gid_t getresgid:getresgid32 (gid_t *rgid, gid_t *egid, gid_t *sgid) 211
|
uid_t geteuid:geteuid32 () 201,201,-1
|
||||||
pid_t gettid() 224
|
uid_t geteuid:geteuid () -1,-1,49
|
||||||
ssize_t readahead(int, off64_t, size_t) 225
|
gid_t getegid:getegid32 () 202,202,-1
|
||||||
int getgroups:getgroups32(int, gid_t *) 205
|
gid_t getegid:getegid () -1,-1,50
|
||||||
|
uid_t getresuid:getresuid32 (uid_t *ruid, uid_t *euid, uid_t *suid) 209,209,-1
|
||||||
|
uid_t getresuid:getresuid (uid_t *ruid, uid_t *euid, uid_t *suid) -1,-1,186
|
||||||
|
gid_t getresgid:getresgid32 (gid_t *rgid, gid_t *egid, gid_t *sgid) 211,211,-1
|
||||||
|
gid_t getresgid:getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid) -1,-1,191
|
||||||
|
pid_t gettid() 224,224,222
|
||||||
|
ssize_t readahead(int, off64_t, size_t) 225,225,223
|
||||||
|
int getgroups:getgroups32(int, gid_t *) 205,205,-1
|
||||||
|
int getgroups:getgroups(int, gid_t *) -1,-1,80
|
||||||
pid_t getpgid(pid_t) 132
|
pid_t getpgid(pid_t) 132
|
||||||
pid_t getppid() 64
|
pid_t getppid() 64
|
||||||
pid_t setsid() 66
|
pid_t setsid() 66
|
||||||
int setgid:setgid32(gid_t) 214
|
int setgid:setgid32(gid_t) 214,214,-1
|
||||||
|
int setgid:setgid(gid_t) -1,-1,46
|
||||||
int seteuid:seteuid32(uid_t) stub
|
int seteuid:seteuid32(uid_t) stub
|
||||||
int __setreuid:setreuid32(uid_t, uid_t) 203
|
int __setreuid:setreuid32(uid_t, uid_t) 203,203,-1
|
||||||
int __setresuid:setresuid32(uid_t, uid_t, uid_t) 208
|
int __setreuid:setreuid(uid_t, uid_t) -1,-1,70
|
||||||
int setresgid:setresgid32(gid_t, gid_t, gid_t) 210
|
int __setresuid:setresuid32(uid_t, uid_t, uid_t) 208,208,-1
|
||||||
|
int __setresuid:setresuid(uid_t, uid_t, uid_t) -1,-1,185
|
||||||
|
int setresgid:setresgid32(gid_t, gid_t, gid_t) 210,210,-1
|
||||||
|
int setresgid:setresgid(gid_t, gid_t, gid_t) -1,-1,190
|
||||||
void* __brk:brk(void*) 45
|
void* __brk:brk(void*) 45
|
||||||
# see comments in arch-arm/bionic/kill.S to understand why we don't generate an ARM stub for kill/tkill
|
# see comments in arch-arm/bionic/kill.S to understand why we don't generate an ARM stub for kill/tkill
|
||||||
int kill(pid_t, int) -1,37
|
int kill(pid_t, int) -1,37,37
|
||||||
int tkill(pid_t tid, int sig) -1,238
|
int tkill(pid_t tid, int sig) -1,238,236
|
||||||
int tgkill(pid_t tgid, pid_t tid, int sig) -1,270
|
int tgkill(pid_t tgid, pid_t tid, int sig) -1,270,266
|
||||||
int __ptrace:ptrace(int request, int pid, void* addr, void* data) 26
|
int __ptrace:ptrace(int request, int pid, void* addr, void* data) 26
|
||||||
int __set_thread_area:set_thread_area(void* user_desc) -1,243
|
int __set_thread_area:set_thread_area(void* user_desc) -1,243,283
|
||||||
int __getpriority:getpriority(int, int) 96
|
int __getpriority:getpriority(int, int) 96
|
||||||
int setpriority(int, int, int) 97
|
int setpriority(int, int, int) 97
|
||||||
int setrlimit(int resource, const struct rlimit *rlp) 75
|
int setrlimit(int resource, const struct rlimit *rlp) 75
|
||||||
int getrlimit:ugetrlimit(int resource, struct rlimit *rlp) 191
|
int getrlimit:ugetrlimit(int resource, struct rlimit *rlp) 191,191,-1
|
||||||
|
int getrlimit:getrlimit(int resource, struct rlimit *rlp) -1,-1,76
|
||||||
int getrusage(int who, struct rusage* r_usage) 77
|
int getrusage(int who, struct rusage* r_usage) 77
|
||||||
int setgroups:setgroups32(int, const gid_t *) 206
|
int setgroups:setgroups32(int, const gid_t *) 206,206,-1
|
||||||
|
int setgroups:setgroups(int, const gid_t *) -1,-1,81
|
||||||
pid_t getpgrp(void) stub
|
pid_t getpgrp(void) stub
|
||||||
int setpgid(pid_t, pid_t) 57
|
int setpgid(pid_t, pid_t) 57
|
||||||
pid_t vfork(void) 190,-1,190
|
pid_t vfork(void) 190,-1,-1
|
||||||
int setregid:setregid32(gid_t, gid_t) 204
|
int setregid:setregid32(gid_t, gid_t) 204,204,-1
|
||||||
|
int setregid:setregid(gid_t, gid_t) -1,-1,71
|
||||||
int chroot(const char *) 61
|
int chroot(const char *) 61
|
||||||
# IMPORTANT: Even though <sys/prctl.h> declares prctl(int,...), the syscall stub must take 6 arguments
|
# IMPORTANT: Even though <sys/prctl.h> declares prctl(int,...), the syscall stub must take 6 arguments
|
||||||
# to match the kernel implementation.
|
# to match the kernel implementation.
|
||||||
int prctl(int option, unsigned int arg2, unsigned int arg3, unsigned int arg4, unsigned int arg5) 172
|
int prctl(int option, unsigned int arg2, unsigned int arg3, unsigned int arg4, unsigned int arg5) 172,172,192
|
||||||
int capget(cap_user_header_t header, cap_user_data_t data) 184
|
int capget(cap_user_header_t header, cap_user_data_t data) 184,184,204
|
||||||
int capset(cap_user_header_t header, const cap_user_data_t data) 185
|
int capset(cap_user_header_t header, const cap_user_data_t data) 185,185,205
|
||||||
int sigaltstack(const stack_t*, stack_t*) 186
|
int sigaltstack(const stack_t*, stack_t*) 186,186,206
|
||||||
int acct(const char* filepath) 51
|
int acct(const char* filepath) 51
|
||||||
|
|
||||||
# file descriptors
|
# file descriptors
|
||||||
ssize_t read (int, void*, size_t) 3
|
ssize_t read (int, void*, size_t) 3
|
||||||
ssize_t write (int, const void*, size_t) 4
|
ssize_t write (int, const void*, size_t) 4
|
||||||
ssize_t pread64 (int, void *, size_t, off64_t) 180
|
ssize_t pread64 (int, void *, size_t, off64_t) 180,180,200
|
||||||
ssize_t pwrite64 (int, void *, size_t, off64_t) 181
|
ssize_t pwrite64 (int, void *, size_t, off64_t) 181,181,201
|
||||||
int __open:open (const char*, int, mode_t) 5
|
int __open:open (const char*, int, mode_t) 5
|
||||||
int __openat:openat (int, const char*, int, mode_t) 322,295
|
int __openat:openat (int, const char*, int, mode_t) 322,295,288
|
||||||
int close (int) 6
|
int close (int) 6
|
||||||
int creat(const char*, mode_t) stub
|
int creat(const char*, mode_t) stub
|
||||||
off_t lseek(int, off_t, int) 19
|
off_t lseek(int, off_t, int) 19
|
||||||
int __llseek:_llseek (int, unsigned long, unsigned long, loff_t*, int) 140
|
int __llseek:_llseek (int, unsigned long, unsigned long, loff_t*, int) 140
|
||||||
pid_t getpid () 20
|
pid_t getpid () 20
|
||||||
void * mmap(void *, size_t, int, int, int, long) stub
|
void * mmap(void *, size_t, int, int, int, long) stub
|
||||||
void * __mmap2:mmap2(void*, size_t, int, int, int, long) 192
|
void * __mmap2:mmap2(void*, size_t, int, int, int, long) 192,192,210
|
||||||
int munmap(void *, size_t) 91
|
int munmap(void *, size_t) 91
|
||||||
void * mremap(void *, size_t, size_t, unsigned long) 163
|
void * mremap(void *, size_t, size_t, unsigned long) 163,163,167
|
||||||
int msync(const void *, size_t, int) 144
|
int msync(const void *, size_t, int) 144
|
||||||
int mprotect(const void *, size_t, int) 125
|
int mprotect(const void *, size_t, int) 125
|
||||||
int madvise(const void *, size_t, int) 220,219
|
int madvise(const void *, size_t, int) 220,219,218
|
||||||
int mlock(const void *addr, size_t len) 150
|
int mlock(const void *addr, size_t len) 150,150,154
|
||||||
int munlock(const void *addr, size_t len) 151
|
int munlock(const void *addr, size_t len) 151,151,155
|
||||||
int mincore(void* start, size_t length, unsigned char* vec) 219,218
|
int mincore(void* start, size_t length, unsigned char* vec) 219,218,217
|
||||||
int __ioctl:ioctl(int, int, void *) 54
|
int __ioctl:ioctl(int, int, void *) 54
|
||||||
int readv(int, const struct iovec *, int) 145
|
int readv(int, const struct iovec *, int) 145
|
||||||
int writev(int, const struct iovec *, int) 146
|
int writev(int, const struct iovec *, int) 146
|
||||||
@ -115,144 +130,147 @@ int __fcntl:fcntl(int, int, void*) 55
|
|||||||
int flock(int, int) 143
|
int flock(int, int) 143
|
||||||
int fchmod(int, mode_t) 94
|
int fchmod(int, mode_t) 94
|
||||||
int dup(int) 41
|
int dup(int) 41
|
||||||
int pipe(int *) 42,42
|
int pipe(int *) 42,42,-1
|
||||||
int pipe2(int *, int) 359,331
|
int pipe2(int *, int) 359,331,328
|
||||||
int dup2(int, int) 63
|
int dup2(int, int) 63
|
||||||
int select:_newselect(int, struct fd_set *, struct fd_set *, struct fd_set *, struct timeval *) 142
|
int select:_newselect(int, struct fd_set *, struct fd_set *, struct fd_set *, struct timeval *) 142
|
||||||
int ftruncate(int, off_t) 93
|
int ftruncate(int, off_t) 93
|
||||||
int ftruncate64(int, off64_t) 194
|
int ftruncate64(int, off64_t) 194,194,212
|
||||||
int getdents:getdents64(unsigned int, struct dirent *, unsigned int) 217,220
|
int getdents:getdents64(unsigned int, struct dirent *, unsigned int) 217,220,219
|
||||||
int fsync(int) 118
|
int fsync(int) 118
|
||||||
int fdatasync(int) 148
|
int fdatasync(int) 148,148,152
|
||||||
int fchown:fchown32(int, uid_t, gid_t) 207
|
int fchown:fchown32(int, uid_t, gid_t) 207,207,-1
|
||||||
|
int fchown:fchown(int, uid_t, gid_t) -1,-1,95
|
||||||
void sync(void) 36
|
void sync(void) 36
|
||||||
int __fcntl64:fcntl64(int, int, void *) 221
|
int __fcntl64:fcntl64(int, int, void *) 221,221,220
|
||||||
int __fstatfs64:fstatfs64(int, size_t, struct statfs *) 267,269
|
int __fstatfs64:fstatfs64(int, size_t, struct statfs *) 267,269,256
|
||||||
ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count) 187
|
ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count) 187,187,207
|
||||||
int fstatat:fstatat64(int dirfd, const char *path, struct stat *buf, int flags) 327,300
|
int fstatat:fstatat64(int dirfd, const char *path, struct stat *buf, int flags) 327,300,293
|
||||||
int mkdirat(int dirfd, const char *pathname, mode_t mode) 323,296
|
int mkdirat(int dirfd, const char *pathname, mode_t mode) 323,296,289
|
||||||
int fchownat(int dirfd, const char *path, uid_t owner, gid_t group, int flags) 325,298
|
int fchownat(int dirfd, const char *path, uid_t owner, gid_t group, int flags) 325,298,291
|
||||||
int fchmodat(int dirfd, const char *path, mode_t mode, int flags) 333,306
|
int fchmodat(int dirfd, const char *path, mode_t mode, int flags) 333,306,299
|
||||||
int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath) 329,302
|
int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath) 329,302,295
|
||||||
int fsetxattr(int, const char *, const void *, size_t, int) 228
|
int fsetxattr(int, const char *, const void *, size_t, int) 228,228,226
|
||||||
ssize_t fgetxattr(int, const char *, void *, size_t) 231
|
ssize_t fgetxattr(int, const char *, void *, size_t) 231,231,229
|
||||||
ssize_t flistxattr(int, char *, size_t) 234
|
ssize_t flistxattr(int, char *, size_t) 234,234,232
|
||||||
int fremovexattr(int, const char *) 237
|
int fremovexattr(int, const char *) 237,237,235
|
||||||
|
|
||||||
# file system
|
# file system
|
||||||
int link (const char*, const char*) 9
|
int link (const char*, const char*) 9
|
||||||
int unlink (const char*) 10
|
int unlink (const char*) 10
|
||||||
int unlinkat (int, const char *, int) 328,301
|
int unlinkat (int, const char *, int) 328,301,294
|
||||||
int chdir (const char*) 12
|
int chdir (const char*) 12
|
||||||
int mknod (const char*, mode_t, dev_t) 14
|
int mknod (const char*, mode_t, dev_t) 14
|
||||||
int chmod (const char*,mode_t) 15
|
int chmod (const char*,mode_t) 15
|
||||||
int chown:chown32(const char *, uid_t, gid_t) 212
|
int chown:chown32(const char *, uid_t, gid_t) 212,212,-1
|
||||||
int lchown:lchown32 (const char*, uid_t, gid_t) 198
|
int chown:chown(const char *, uid_t, gid_t) -1,-1,202
|
||||||
|
int lchown:lchown32 (const char*, uid_t, gid_t) 198,198,-1
|
||||||
|
int lchown:lchown (const char*, uid_t, gid_t) -1,-1,16
|
||||||
int mount (const char*, const char*, const char*, unsigned long, const void*) 21
|
int mount (const char*, const char*, const char*, unsigned long, const void*) 21
|
||||||
int umount(const char*) stub
|
int umount(const char*) stub
|
||||||
int umount2 (const char*, int) 52
|
int umount2 (const char*, int) 52
|
||||||
int fstat:fstat64(int, struct stat*) 197
|
int fstat:fstat64(int, struct stat*) 197,197,215
|
||||||
int stat:stat64(const char *, struct stat *) 195
|
int stat:stat64(const char *, struct stat *) 195,195,213
|
||||||
int lstat:lstat64(const char *, struct stat *) 196
|
int lstat:lstat64(const char *, struct stat *) 196,196,214
|
||||||
int mkdir(const char *, mode_t) 39
|
int mkdir(const char *, mode_t) 39
|
||||||
int readlink(const char *, char *, size_t) 85
|
int readlink(const char *, char *, size_t) 85
|
||||||
int rmdir(const char *) 40
|
int rmdir(const char *) 40
|
||||||
int rename(const char *, const char *) 38
|
int rename(const char *, const char *) 38
|
||||||
int __getcwd:getcwd(char * buf, size_t size) 183
|
int __getcwd:getcwd(char * buf, size_t size) 183,183,203
|
||||||
int access(const char *, int) 33
|
int access(const char *, int) 33
|
||||||
int faccessat(int, const char *, int, int) 334,307
|
int faccessat(int, const char *, int, int) 334,307,300
|
||||||
int symlink(const char *, const char *) 83
|
int symlink(const char *, const char *) 83
|
||||||
int fchdir(int) 133
|
int fchdir(int) 133
|
||||||
int truncate(const char*, off_t) 92
|
int truncate(const char*, off_t) 92
|
||||||
int setxattr(const char *, const char *, const void *, size_t, int) 226
|
int setxattr(const char *, const char *, const void *, size_t, int) 226,226,224
|
||||||
int lsetxattr(const char *, const char *, const void *, size_t, int) 227
|
int lsetxattr(const char *, const char *, const void *, size_t, int) 227,227,225
|
||||||
ssize_t getxattr(const char *, const char *, void *, size_t) 229
|
ssize_t getxattr(const char *, const char *, void *, size_t) 229,229,227
|
||||||
ssize_t lgetxattr(const char *, const char *, void *, size_t) 230
|
ssize_t lgetxattr(const char *, const char *, void *, size_t) 230,230,228
|
||||||
ssize_t listxattr(const char *, char *, size_t) 232
|
ssize_t listxattr(const char *, char *, size_t) 232,232,230
|
||||||
ssize_t llistxattr(const char *, char *, size_t) 233
|
ssize_t llistxattr(const char *, char *, size_t) 233,233,231
|
||||||
int removexattr(const char *, const char *) 235
|
int removexattr(const char *, const char *) 235,235,233
|
||||||
int lremovexattr(const char *, const char *) 236
|
int lremovexattr(const char *, const char *) 236,236,234
|
||||||
int __statfs64:statfs64(const char *, size_t, struct statfs *) 266,268
|
int __statfs64:statfs64(const char *, size_t, struct statfs *) 266,268,255
|
||||||
|
|
||||||
# time
|
# time
|
||||||
int pause () 29
|
int pause () 29
|
||||||
int gettimeofday(struct timeval*, struct timezone*) 78
|
int gettimeofday(struct timeval*, struct timezone*) 78
|
||||||
int settimeofday(const struct timeval*, const struct timezone*) 79
|
int settimeofday(const struct timeval*, const struct timezone*) 79
|
||||||
clock_t times(struct tms *) 43
|
clock_t times(struct tms *) 43
|
||||||
int nanosleep(const struct timespec *, struct timespec *) 162
|
int nanosleep(const struct timespec *, struct timespec *) 162,162,166
|
||||||
int clock_gettime(clockid_t clk_id, struct timespec *tp) 263,265
|
int clock_gettime(clockid_t clk_id, struct timespec *tp) 263,265,263
|
||||||
int clock_settime(clockid_t clk_id, const struct timespec *tp) 262,264
|
int clock_settime(clockid_t clk_id, const struct timespec *tp) 262,264,262
|
||||||
int clock_getres(clockid_t clk_id, struct timespec *res) 264,266
|
int clock_getres(clockid_t clk_id, struct timespec *res) 264,266,264
|
||||||
int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *req, struct timespec *rem) 265,267
|
int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *req, struct timespec *rem) 265,267,265
|
||||||
int getitimer(int, const struct itimerval *) 105
|
int getitimer(int, const struct itimerval *) 105
|
||||||
int setitimer(int, const struct itimerval *, struct itimerval *) 104
|
int setitimer(int, const struct itimerval *, struct itimerval *) 104
|
||||||
int __timer_create:timer_create(clockid_t clockid, struct sigevent *evp, timer_t *timerid) 257,259
|
int __timer_create:timer_create(clockid_t clockid, struct sigevent *evp, timer_t *timerid) 257,259,257
|
||||||
int __timer_settime:timer_settime(timer_t, int, const struct itimerspec*, struct itimerspec*) 258,260
|
int __timer_settime:timer_settime(timer_t, int, const struct itimerspec*, struct itimerspec*) 258,260,258
|
||||||
int __timer_gettime:timer_gettime(timer_t, struct itimerspec*) 259,261
|
int __timer_gettime:timer_gettime(timer_t, struct itimerspec*) 259,261,259
|
||||||
int __timer_getoverrun:timer_getoverrun(timer_t) 260,262
|
int __timer_getoverrun:timer_getoverrun(timer_t) 260,262,260
|
||||||
int __timer_delete:timer_delete(timer_t) 261,263
|
int __timer_delete:timer_delete(timer_t) 261,263,261
|
||||||
int utimes(const char*, const struct timeval tvp[2]) 269, 271
|
int utimes(const char*, const struct timeval tvp[2]) 269,271,267
|
||||||
int utimensat(int, const char *, const struct timespec times[2], int) 348, 320, 320
|
int utimensat(int, const char *, const struct timespec times[2], int) 348,320,316
|
||||||
|
|
||||||
# signals
|
# signals
|
||||||
int sigaction(int, const struct sigaction *, struct sigaction *) 67
|
int sigaction(int, const struct sigaction *, struct sigaction *) 67
|
||||||
int sigprocmask(int, const sigset_t *, sigset_t *) 126
|
int sigprocmask(int, const sigset_t *, sigset_t *) 126
|
||||||
int __sigsuspend:sigsuspend(int unused1, int unused2, unsigned mask) 72
|
int __sigsuspend:sigsuspend(int unused1, int unused2, unsigned mask) 72
|
||||||
int __rt_sigaction:rt_sigaction (int sig, const struct sigaction *act, struct sigaction *oact, size_t sigsetsize) 174
|
int __rt_sigaction:rt_sigaction (int sig, const struct sigaction *act, struct sigaction *oact, size_t sigsetsize) 174,174,194
|
||||||
int __rt_sigprocmask:rt_sigprocmask (int how, const sigset_t *set, sigset_t *oset, size_t sigsetsize) 175
|
int __rt_sigprocmask:rt_sigprocmask (int how, const sigset_t *set, sigset_t *oset, size_t sigsetsize) 175,175,195
|
||||||
int __rt_sigtimedwait:rt_sigtimedwait(const sigset_t *set, struct siginfo_t *info, struct timespec_t *timeout, size_t sigset_size) 177
|
int __rt_sigtimedwait:rt_sigtimedwait(const sigset_t *set, struct siginfo_t *info, struct timespec_t *timeout, size_t sigset_size) 177,177,197
|
||||||
int sigpending(sigset_t *) 73
|
int sigpending(sigset_t *) 73
|
||||||
|
|
||||||
# sockets
|
# sockets
|
||||||
int socket(int, int, int) 281,-1
|
int socket(int, int, int) 281,-1,183
|
||||||
int socketpair(int, int, int, int*) 288,-1
|
int socketpair(int, int, int, int*) 288,-1,184
|
||||||
int bind(int, struct sockaddr *, int) 282,-1
|
int bind(int, struct sockaddr *, int) 282,-1,169
|
||||||
int connect(int, struct sockaddr *, socklen_t) 283,-1
|
int connect(int, struct sockaddr *, socklen_t) 283,-1,170
|
||||||
int listen(int, int) 284,-1
|
int listen(int, int) 284,-1,174
|
||||||
int accept(int, struct sockaddr *, socklen_t *) 285,-1
|
int accept(int, struct sockaddr *, socklen_t *) 285,-1,168
|
||||||
int getsockname(int, struct sockaddr *, socklen_t *) 286,-1
|
int getsockname(int, struct sockaddr *, socklen_t *) 286,-1,172
|
||||||
int getpeername(int, struct sockaddr *, socklen_t *) 287,-1
|
int getpeername(int, struct sockaddr *, socklen_t *) 287,-1,171
|
||||||
int sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t) 290,-1
|
int sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t) 290,-1,180
|
||||||
int recvfrom(int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *) 292,-1
|
int recvfrom(int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *) 292,-1,176
|
||||||
int shutdown(int, int) 293,-1
|
int shutdown(int, int) 293,-1,182
|
||||||
int setsockopt(int, int, int, const void *, socklen_t) 294,-1
|
int setsockopt(int, int, int, const void *, socklen_t) 294,-1,181
|
||||||
int getsockopt(int, int, int, void *, socklen_t *) 295,-1
|
int getsockopt(int, int, int, void *, socklen_t *) 295,-1,173
|
||||||
int sendmsg(int, const struct msghdr *, unsigned int) 296,-1
|
int sendmsg(int, const struct msghdr *, unsigned int) 296,-1,179
|
||||||
int recvmsg(int, struct msghdr *, unsigned int) 297,-1
|
int recvmsg(int, struct msghdr *, unsigned int) 297,-1,177
|
||||||
|
|
||||||
# sockets for x86. These are done as an "indexed" call to socketcall syscall.
|
# sockets for x86. These are done as an "indexed" call to socketcall syscall.
|
||||||
int socket:socketcall:1 (int, int, int) -1,102
|
int socket:socketcall:1 (int, int, int) -1,102,-1
|
||||||
int bind:socketcall:2 (int, struct sockaddr *, int) -1,102
|
int bind:socketcall:2 (int, struct sockaddr *, int) -1,102,-1
|
||||||
int connect:socketcall:3(int, struct sockaddr *, socklen_t) -1,102
|
int connect:socketcall:3(int, struct sockaddr *, socklen_t) -1,102,-1
|
||||||
int listen:socketcall:4(int, int) -1,102
|
int listen:socketcall:4(int, int) -1,102,-1
|
||||||
int accept:socketcall:5(int, struct sockaddr *, socklen_t *) -1,102
|
int accept:socketcall:5(int, struct sockaddr *, socklen_t *) -1,102,-1
|
||||||
int getsockname:socketcall:6(int, struct sockaddr *, socklen_t *) -1,102
|
int getsockname:socketcall:6(int, struct sockaddr *, socklen_t *) -1,102,-1
|
||||||
int getpeername:socketcall:7(int, struct sockaddr *, socklen_t *) -1,102
|
int getpeername:socketcall:7(int, struct sockaddr *, socklen_t *) -1,102,-1
|
||||||
int socketpair:socketcall:8(int, int, int, int*) -1,102
|
int socketpair:socketcall:8(int, int, int, int*) -1,102,-1
|
||||||
int sendto:socketcall:11(int, const void *, size_t, int, const struct sockaddr *, socklen_t) -1,102
|
int sendto:socketcall:11(int, const void *, size_t, int, const struct sockaddr *, socklen_t) -1,102,-1
|
||||||
int recvfrom:socketcall:12(int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *) -1,102
|
int recvfrom:socketcall:12(int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *) -1,102,-1
|
||||||
int shutdown:socketcall:13(int, int) -1,102,-1
|
int shutdown:socketcall:13(int, int) -1,102,-1
|
||||||
int setsockopt:socketcall:14(int, int, int, const void *, socklen_t) -1,102
|
int setsockopt:socketcall:14(int, int, int, const void *, socklen_t) -1,102,-1
|
||||||
int getsockopt:socketcall:15(int, int, int, void *, socklen_t *) -1,102
|
int getsockopt:socketcall:15(int, int, int, void *, socklen_t *) -1,102,-1
|
||||||
int sendmsg:socketcall:16(int, const struct msghdr *, unsigned int) -1,102
|
int sendmsg:socketcall:16(int, const struct msghdr *, unsigned int) -1,102,-1
|
||||||
int recvmsg:socketcall:17(int, struct msghdr *, unsigned int) -1,102
|
int recvmsg:socketcall:17(int, struct msghdr *, unsigned int) -1,102,-1
|
||||||
|
|
||||||
# scheduler & real-time
|
# scheduler & real-time
|
||||||
int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) 156
|
int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) 156,156,160
|
||||||
int sched_getscheduler(pid_t pid) 157
|
int sched_getscheduler(pid_t pid) 157,157,161
|
||||||
int sched_yield(void) 158
|
int sched_yield(void) 158,158,162
|
||||||
int sched_setparam(pid_t pid, const struct sched_param *param) 154
|
int sched_setparam(pid_t pid, const struct sched_param *param) 154,154,158
|
||||||
int sched_getparam(pid_t pid, struct sched_param *param) 155
|
int sched_getparam(pid_t pid, struct sched_param *param) 155,155,159
|
||||||
int sched_get_priority_max(int policy) 159
|
int sched_get_priority_max(int policy) 159,159,163
|
||||||
int sched_get_priority_min(int policy) 160
|
int sched_get_priority_min(int policy) 160,160,164
|
||||||
int sched_rr_get_interval(pid_t pid, struct timespec *interval) 161
|
int sched_rr_get_interval(pid_t pid, struct timespec *interval) 161,161,165
|
||||||
int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set) 241
|
int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set) 241,241,239
|
||||||
int __sched_getaffinity:sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set) 242
|
int __sched_getaffinity:sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set) 242,242,240
|
||||||
int __getcpu:getcpu(unsigned *cpu, unsigned *node, void *unused) 345,318
|
int __getcpu:getcpu(unsigned *cpu, unsigned *node, void *unused) 345,318,312
|
||||||
|
|
||||||
# io priorities
|
# io priorities
|
||||||
int ioprio_set(int which, int who, int ioprio) 314,289
|
int ioprio_set(int which, int who, int ioprio) 314,289,314
|
||||||
int ioprio_get(int which, int who) 315,290
|
int ioprio_get(int which, int who) 315,290,315
|
||||||
|
|
||||||
# other
|
# other
|
||||||
int uname(struct utsname *) 122
|
int uname(struct utsname *) 122
|
||||||
@ -268,21 +286,25 @@ int personality(unsigned long) 136
|
|||||||
long perf_event_open(struct perf_event_attr *attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags) 364
|
long perf_event_open(struct perf_event_attr *attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags) 364
|
||||||
|
|
||||||
# futex
|
# futex
|
||||||
int futex(void *, int, int, void *, void *, int) 240
|
int futex(void *, int, int, void *, void *, int) 240,240,238
|
||||||
|
|
||||||
# epoll
|
# epoll
|
||||||
int epoll_create(int size) 250,254
|
int epoll_create(int size) 250,254,248
|
||||||
int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) 251,255
|
int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) 251,255,249
|
||||||
int epoll_wait(int epfd, struct epoll_event *events, int max, int timeout) 252,256
|
int epoll_wait(int epfd, struct epoll_event *events, int max, int timeout) 252,256,250
|
||||||
|
|
||||||
int inotify_init(void) 316,291,290
|
int inotify_init(void) 316,291,284
|
||||||
int inotify_add_watch(int, const char *, unsigned int) 317,292
|
int inotify_add_watch(int, const char *, unsigned int) 317,292,285
|
||||||
int inotify_rm_watch(int, unsigned int) 318,293
|
int inotify_rm_watch(int, unsigned int) 318,293,286
|
||||||
|
|
||||||
int poll(struct pollfd *, unsigned int, long) 168
|
int poll(struct pollfd *, unsigned int, long) 168,168,188
|
||||||
|
|
||||||
int eventfd:eventfd2(unsigned int, int) 356,328
|
int eventfd:eventfd2(unsigned int, int) 356,328,325
|
||||||
|
|
||||||
# ARM-specific ARM_NR_BASE == 0x0f0000 == 983040
|
# ARM-specific ARM_NR_BASE == 0x0f0000 == 983040
|
||||||
int __set_tls:ARM_set_tls(void*) 983045,-1
|
int __set_tls:ARM_set_tls(void*) 983045,-1,-1
|
||||||
int cacheflush:ARM_cacheflush(long start, long end, long flags) 983042,-1
|
int cacheflush:ARM_cacheflush(long start, long end, long flags) 983042,-1,-1
|
||||||
|
|
||||||
|
# MIPS-specific
|
||||||
|
int _flush_cache:cacheflush(char *addr, const int nbytes, const int op) -1,-1,147
|
||||||
|
int syscall(int number,...) -1,-1,0
|
||||||
|
201
libc/arch-mips/syscalls.mk
Normal file
201
libc/arch-mips/syscalls.mk
Normal file
@ -0,0 +1,201 @@
|
|||||||
|
# auto-generated by gensyscalls.py, do not touch
|
||||||
|
syscall_src :=
|
||||||
|
syscall_src += arch-mips/syscalls/_exit.S
|
||||||
|
syscall_src += arch-mips/syscalls/_exit_thread.S
|
||||||
|
syscall_src += arch-mips/syscalls/__fork.S
|
||||||
|
syscall_src += arch-mips/syscalls/_waitpid.S
|
||||||
|
syscall_src += arch-mips/syscalls/__waitid.S
|
||||||
|
syscall_src += arch-mips/syscalls/__sys_clone.S
|
||||||
|
syscall_src += arch-mips/syscalls/execve.S
|
||||||
|
syscall_src += arch-mips/syscalls/__setuid.S
|
||||||
|
syscall_src += arch-mips/syscalls/getuid.S
|
||||||
|
syscall_src += arch-mips/syscalls/getgid.S
|
||||||
|
syscall_src += arch-mips/syscalls/geteuid.S
|
||||||
|
syscall_src += arch-mips/syscalls/getegid.S
|
||||||
|
syscall_src += arch-mips/syscalls/getresuid.S
|
||||||
|
syscall_src += arch-mips/syscalls/getresgid.S
|
||||||
|
syscall_src += arch-mips/syscalls/gettid.S
|
||||||
|
syscall_src += arch-mips/syscalls/readahead.S
|
||||||
|
syscall_src += arch-mips/syscalls/getgroups.S
|
||||||
|
syscall_src += arch-mips/syscalls/getpgid.S
|
||||||
|
syscall_src += arch-mips/syscalls/getppid.S
|
||||||
|
syscall_src += arch-mips/syscalls/setsid.S
|
||||||
|
syscall_src += arch-mips/syscalls/setgid.S
|
||||||
|
syscall_src += arch-mips/syscalls/__setreuid.S
|
||||||
|
syscall_src += arch-mips/syscalls/__setresuid.S
|
||||||
|
syscall_src += arch-mips/syscalls/setresgid.S
|
||||||
|
syscall_src += arch-mips/syscalls/__brk.S
|
||||||
|
syscall_src += arch-mips/syscalls/kill.S
|
||||||
|
syscall_src += arch-mips/syscalls/tkill.S
|
||||||
|
syscall_src += arch-mips/syscalls/tgkill.S
|
||||||
|
syscall_src += arch-mips/syscalls/__ptrace.S
|
||||||
|
syscall_src += arch-mips/syscalls/__set_thread_area.S
|
||||||
|
syscall_src += arch-mips/syscalls/__getpriority.S
|
||||||
|
syscall_src += arch-mips/syscalls/setpriority.S
|
||||||
|
syscall_src += arch-mips/syscalls/setrlimit.S
|
||||||
|
syscall_src += arch-mips/syscalls/getrlimit.S
|
||||||
|
syscall_src += arch-mips/syscalls/getrusage.S
|
||||||
|
syscall_src += arch-mips/syscalls/setgroups.S
|
||||||
|
syscall_src += arch-mips/syscalls/setpgid.S
|
||||||
|
syscall_src += arch-mips/syscalls/setregid.S
|
||||||
|
syscall_src += arch-mips/syscalls/chroot.S
|
||||||
|
syscall_src += arch-mips/syscalls/prctl.S
|
||||||
|
syscall_src += arch-mips/syscalls/capget.S
|
||||||
|
syscall_src += arch-mips/syscalls/capset.S
|
||||||
|
syscall_src += arch-mips/syscalls/sigaltstack.S
|
||||||
|
syscall_src += arch-mips/syscalls/acct.S
|
||||||
|
syscall_src += arch-mips/syscalls/read.S
|
||||||
|
syscall_src += arch-mips/syscalls/write.S
|
||||||
|
syscall_src += arch-mips/syscalls/pread64.S
|
||||||
|
syscall_src += arch-mips/syscalls/pwrite64.S
|
||||||
|
syscall_src += arch-mips/syscalls/__open.S
|
||||||
|
syscall_src += arch-mips/syscalls/__openat.S
|
||||||
|
syscall_src += arch-mips/syscalls/close.S
|
||||||
|
syscall_src += arch-mips/syscalls/lseek.S
|
||||||
|
syscall_src += arch-mips/syscalls/__llseek.S
|
||||||
|
syscall_src += arch-mips/syscalls/getpid.S
|
||||||
|
syscall_src += arch-mips/syscalls/__mmap2.S
|
||||||
|
syscall_src += arch-mips/syscalls/munmap.S
|
||||||
|
syscall_src += arch-mips/syscalls/mremap.S
|
||||||
|
syscall_src += arch-mips/syscalls/msync.S
|
||||||
|
syscall_src += arch-mips/syscalls/mprotect.S
|
||||||
|
syscall_src += arch-mips/syscalls/madvise.S
|
||||||
|
syscall_src += arch-mips/syscalls/mlock.S
|
||||||
|
syscall_src += arch-mips/syscalls/munlock.S
|
||||||
|
syscall_src += arch-mips/syscalls/mincore.S
|
||||||
|
syscall_src += arch-mips/syscalls/__ioctl.S
|
||||||
|
syscall_src += arch-mips/syscalls/readv.S
|
||||||
|
syscall_src += arch-mips/syscalls/writev.S
|
||||||
|
syscall_src += arch-mips/syscalls/__fcntl.S
|
||||||
|
syscall_src += arch-mips/syscalls/flock.S
|
||||||
|
syscall_src += arch-mips/syscalls/fchmod.S
|
||||||
|
syscall_src += arch-mips/syscalls/dup.S
|
||||||
|
syscall_src += arch-mips/syscalls/pipe2.S
|
||||||
|
syscall_src += arch-mips/syscalls/dup2.S
|
||||||
|
syscall_src += arch-mips/syscalls/select.S
|
||||||
|
syscall_src += arch-mips/syscalls/ftruncate.S
|
||||||
|
syscall_src += arch-mips/syscalls/ftruncate64.S
|
||||||
|
syscall_src += arch-mips/syscalls/getdents.S
|
||||||
|
syscall_src += arch-mips/syscalls/fsync.S
|
||||||
|
syscall_src += arch-mips/syscalls/fdatasync.S
|
||||||
|
syscall_src += arch-mips/syscalls/fchown.S
|
||||||
|
syscall_src += arch-mips/syscalls/sync.S
|
||||||
|
syscall_src += arch-mips/syscalls/__fcntl64.S
|
||||||
|
syscall_src += arch-mips/syscalls/__fstatfs64.S
|
||||||
|
syscall_src += arch-mips/syscalls/sendfile.S
|
||||||
|
syscall_src += arch-mips/syscalls/fstatat.S
|
||||||
|
syscall_src += arch-mips/syscalls/mkdirat.S
|
||||||
|
syscall_src += arch-mips/syscalls/fchownat.S
|
||||||
|
syscall_src += arch-mips/syscalls/fchmodat.S
|
||||||
|
syscall_src += arch-mips/syscalls/renameat.S
|
||||||
|
syscall_src += arch-mips/syscalls/fsetxattr.S
|
||||||
|
syscall_src += arch-mips/syscalls/fgetxattr.S
|
||||||
|
syscall_src += arch-mips/syscalls/flistxattr.S
|
||||||
|
syscall_src += arch-mips/syscalls/fremovexattr.S
|
||||||
|
syscall_src += arch-mips/syscalls/link.S
|
||||||
|
syscall_src += arch-mips/syscalls/unlink.S
|
||||||
|
syscall_src += arch-mips/syscalls/unlinkat.S
|
||||||
|
syscall_src += arch-mips/syscalls/chdir.S
|
||||||
|
syscall_src += arch-mips/syscalls/mknod.S
|
||||||
|
syscall_src += arch-mips/syscalls/chmod.S
|
||||||
|
syscall_src += arch-mips/syscalls/chown.S
|
||||||
|
syscall_src += arch-mips/syscalls/lchown.S
|
||||||
|
syscall_src += arch-mips/syscalls/mount.S
|
||||||
|
syscall_src += arch-mips/syscalls/umount2.S
|
||||||
|
syscall_src += arch-mips/syscalls/fstat.S
|
||||||
|
syscall_src += arch-mips/syscalls/stat.S
|
||||||
|
syscall_src += arch-mips/syscalls/lstat.S
|
||||||
|
syscall_src += arch-mips/syscalls/mkdir.S
|
||||||
|
syscall_src += arch-mips/syscalls/readlink.S
|
||||||
|
syscall_src += arch-mips/syscalls/rmdir.S
|
||||||
|
syscall_src += arch-mips/syscalls/rename.S
|
||||||
|
syscall_src += arch-mips/syscalls/__getcwd.S
|
||||||
|
syscall_src += arch-mips/syscalls/access.S
|
||||||
|
syscall_src += arch-mips/syscalls/faccessat.S
|
||||||
|
syscall_src += arch-mips/syscalls/symlink.S
|
||||||
|
syscall_src += arch-mips/syscalls/fchdir.S
|
||||||
|
syscall_src += arch-mips/syscalls/truncate.S
|
||||||
|
syscall_src += arch-mips/syscalls/setxattr.S
|
||||||
|
syscall_src += arch-mips/syscalls/lsetxattr.S
|
||||||
|
syscall_src += arch-mips/syscalls/getxattr.S
|
||||||
|
syscall_src += arch-mips/syscalls/lgetxattr.S
|
||||||
|
syscall_src += arch-mips/syscalls/listxattr.S
|
||||||
|
syscall_src += arch-mips/syscalls/llistxattr.S
|
||||||
|
syscall_src += arch-mips/syscalls/removexattr.S
|
||||||
|
syscall_src += arch-mips/syscalls/lremovexattr.S
|
||||||
|
syscall_src += arch-mips/syscalls/__statfs64.S
|
||||||
|
syscall_src += arch-mips/syscalls/pause.S
|
||||||
|
syscall_src += arch-mips/syscalls/gettimeofday.S
|
||||||
|
syscall_src += arch-mips/syscalls/settimeofday.S
|
||||||
|
syscall_src += arch-mips/syscalls/times.S
|
||||||
|
syscall_src += arch-mips/syscalls/nanosleep.S
|
||||||
|
syscall_src += arch-mips/syscalls/clock_gettime.S
|
||||||
|
syscall_src += arch-mips/syscalls/clock_settime.S
|
||||||
|
syscall_src += arch-mips/syscalls/clock_getres.S
|
||||||
|
syscall_src += arch-mips/syscalls/clock_nanosleep.S
|
||||||
|
syscall_src += arch-mips/syscalls/getitimer.S
|
||||||
|
syscall_src += arch-mips/syscalls/setitimer.S
|
||||||
|
syscall_src += arch-mips/syscalls/__timer_create.S
|
||||||
|
syscall_src += arch-mips/syscalls/__timer_settime.S
|
||||||
|
syscall_src += arch-mips/syscalls/__timer_gettime.S
|
||||||
|
syscall_src += arch-mips/syscalls/__timer_getoverrun.S
|
||||||
|
syscall_src += arch-mips/syscalls/__timer_delete.S
|
||||||
|
syscall_src += arch-mips/syscalls/utimes.S
|
||||||
|
syscall_src += arch-mips/syscalls/utimensat.S
|
||||||
|
syscall_src += arch-mips/syscalls/sigaction.S
|
||||||
|
syscall_src += arch-mips/syscalls/sigprocmask.S
|
||||||
|
syscall_src += arch-mips/syscalls/__sigsuspend.S
|
||||||
|
syscall_src += arch-mips/syscalls/__rt_sigaction.S
|
||||||
|
syscall_src += arch-mips/syscalls/__rt_sigprocmask.S
|
||||||
|
syscall_src += arch-mips/syscalls/__rt_sigtimedwait.S
|
||||||
|
syscall_src += arch-mips/syscalls/sigpending.S
|
||||||
|
syscall_src += arch-mips/syscalls/socket.S
|
||||||
|
syscall_src += arch-mips/syscalls/socketpair.S
|
||||||
|
syscall_src += arch-mips/syscalls/bind.S
|
||||||
|
syscall_src += arch-mips/syscalls/connect.S
|
||||||
|
syscall_src += arch-mips/syscalls/listen.S
|
||||||
|
syscall_src += arch-mips/syscalls/accept.S
|
||||||
|
syscall_src += arch-mips/syscalls/getsockname.S
|
||||||
|
syscall_src += arch-mips/syscalls/getpeername.S
|
||||||
|
syscall_src += arch-mips/syscalls/sendto.S
|
||||||
|
syscall_src += arch-mips/syscalls/recvfrom.S
|
||||||
|
syscall_src += arch-mips/syscalls/shutdown.S
|
||||||
|
syscall_src += arch-mips/syscalls/setsockopt.S
|
||||||
|
syscall_src += arch-mips/syscalls/getsockopt.S
|
||||||
|
syscall_src += arch-mips/syscalls/sendmsg.S
|
||||||
|
syscall_src += arch-mips/syscalls/recvmsg.S
|
||||||
|
syscall_src += arch-mips/syscalls/sched_setscheduler.S
|
||||||
|
syscall_src += arch-mips/syscalls/sched_getscheduler.S
|
||||||
|
syscall_src += arch-mips/syscalls/sched_yield.S
|
||||||
|
syscall_src += arch-mips/syscalls/sched_setparam.S
|
||||||
|
syscall_src += arch-mips/syscalls/sched_getparam.S
|
||||||
|
syscall_src += arch-mips/syscalls/sched_get_priority_max.S
|
||||||
|
syscall_src += arch-mips/syscalls/sched_get_priority_min.S
|
||||||
|
syscall_src += arch-mips/syscalls/sched_rr_get_interval.S
|
||||||
|
syscall_src += arch-mips/syscalls/sched_setaffinity.S
|
||||||
|
syscall_src += arch-mips/syscalls/__sched_getaffinity.S
|
||||||
|
syscall_src += arch-mips/syscalls/__getcpu.S
|
||||||
|
syscall_src += arch-mips/syscalls/ioprio_set.S
|
||||||
|
syscall_src += arch-mips/syscalls/ioprio_get.S
|
||||||
|
syscall_src += arch-mips/syscalls/uname.S
|
||||||
|
syscall_src += arch-mips/syscalls/__wait4.S
|
||||||
|
syscall_src += arch-mips/syscalls/umask.S
|
||||||
|
syscall_src += arch-mips/syscalls/__reboot.S
|
||||||
|
syscall_src += arch-mips/syscalls/__syslog.S
|
||||||
|
syscall_src += arch-mips/syscalls/init_module.S
|
||||||
|
syscall_src += arch-mips/syscalls/delete_module.S
|
||||||
|
syscall_src += arch-mips/syscalls/klogctl.S
|
||||||
|
syscall_src += arch-mips/syscalls/sysinfo.S
|
||||||
|
syscall_src += arch-mips/syscalls/personality.S
|
||||||
|
syscall_src += arch-mips/syscalls/perf_event_open.S
|
||||||
|
syscall_src += arch-mips/syscalls/futex.S
|
||||||
|
syscall_src += arch-mips/syscalls/epoll_create.S
|
||||||
|
syscall_src += arch-mips/syscalls/epoll_ctl.S
|
||||||
|
syscall_src += arch-mips/syscalls/epoll_wait.S
|
||||||
|
syscall_src += arch-mips/syscalls/inotify_init.S
|
||||||
|
syscall_src += arch-mips/syscalls/inotify_add_watch.S
|
||||||
|
syscall_src += arch-mips/syscalls/inotify_rm_watch.S
|
||||||
|
syscall_src += arch-mips/syscalls/poll.S
|
||||||
|
syscall_src += arch-mips/syscalls/eventfd.S
|
||||||
|
syscall_src += arch-mips/syscalls/_flush_cache.S
|
||||||
|
syscall_src += arch-mips/syscalls/syscall.S
|
22
libc/arch-mips/syscalls/__brk.S
Normal file
22
libc/arch-mips/syscalls/__brk.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __brk
|
||||||
|
.align 4
|
||||||
|
.ent __brk
|
||||||
|
|
||||||
|
__brk:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_brk
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __brk
|
22
libc/arch-mips/syscalls/__fcntl.S
Normal file
22
libc/arch-mips/syscalls/__fcntl.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __fcntl
|
||||||
|
.align 4
|
||||||
|
.ent __fcntl
|
||||||
|
|
||||||
|
__fcntl:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fcntl
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __fcntl
|
22
libc/arch-mips/syscalls/__fcntl64.S
Normal file
22
libc/arch-mips/syscalls/__fcntl64.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __fcntl64
|
||||||
|
.align 4
|
||||||
|
.ent __fcntl64
|
||||||
|
|
||||||
|
__fcntl64:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fcntl64
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __fcntl64
|
22
libc/arch-mips/syscalls/__fork.S
Normal file
22
libc/arch-mips/syscalls/__fork.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __fork
|
||||||
|
.align 4
|
||||||
|
.ent __fork
|
||||||
|
|
||||||
|
__fork:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fork
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __fork
|
22
libc/arch-mips/syscalls/__fstatfs64.S
Normal file
22
libc/arch-mips/syscalls/__fstatfs64.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __fstatfs64
|
||||||
|
.align 4
|
||||||
|
.ent __fstatfs64
|
||||||
|
|
||||||
|
__fstatfs64:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fstatfs64
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __fstatfs64
|
22
libc/arch-mips/syscalls/__getcpu.S
Normal file
22
libc/arch-mips/syscalls/__getcpu.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __getcpu
|
||||||
|
.align 4
|
||||||
|
.ent __getcpu
|
||||||
|
|
||||||
|
__getcpu:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getcpu
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __getcpu
|
22
libc/arch-mips/syscalls/__getcwd.S
Normal file
22
libc/arch-mips/syscalls/__getcwd.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __getcwd
|
||||||
|
.align 4
|
||||||
|
.ent __getcwd
|
||||||
|
|
||||||
|
__getcwd:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getcwd
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __getcwd
|
22
libc/arch-mips/syscalls/__getpriority.S
Normal file
22
libc/arch-mips/syscalls/__getpriority.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __getpriority
|
||||||
|
.align 4
|
||||||
|
.ent __getpriority
|
||||||
|
|
||||||
|
__getpriority:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getpriority
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __getpriority
|
22
libc/arch-mips/syscalls/__ioctl.S
Normal file
22
libc/arch-mips/syscalls/__ioctl.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __ioctl
|
||||||
|
.align 4
|
||||||
|
.ent __ioctl
|
||||||
|
|
||||||
|
__ioctl:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_ioctl
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __ioctl
|
22
libc/arch-mips/syscalls/__llseek.S
Normal file
22
libc/arch-mips/syscalls/__llseek.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __llseek
|
||||||
|
.align 4
|
||||||
|
.ent __llseek
|
||||||
|
|
||||||
|
__llseek:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR__llseek
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __llseek
|
22
libc/arch-mips/syscalls/__mmap2.S
Normal file
22
libc/arch-mips/syscalls/__mmap2.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __mmap2
|
||||||
|
.align 4
|
||||||
|
.ent __mmap2
|
||||||
|
|
||||||
|
__mmap2:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_mmap2
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __mmap2
|
22
libc/arch-mips/syscalls/__open.S
Normal file
22
libc/arch-mips/syscalls/__open.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __open
|
||||||
|
.align 4
|
||||||
|
.ent __open
|
||||||
|
|
||||||
|
__open:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_open
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __open
|
22
libc/arch-mips/syscalls/__openat.S
Normal file
22
libc/arch-mips/syscalls/__openat.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __openat
|
||||||
|
.align 4
|
||||||
|
.ent __openat
|
||||||
|
|
||||||
|
__openat:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_openat
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __openat
|
22
libc/arch-mips/syscalls/__ptrace.S
Normal file
22
libc/arch-mips/syscalls/__ptrace.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __ptrace
|
||||||
|
.align 4
|
||||||
|
.ent __ptrace
|
||||||
|
|
||||||
|
__ptrace:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_ptrace
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __ptrace
|
22
libc/arch-mips/syscalls/__reboot.S
Normal file
22
libc/arch-mips/syscalls/__reboot.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __reboot
|
||||||
|
.align 4
|
||||||
|
.ent __reboot
|
||||||
|
|
||||||
|
__reboot:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_reboot
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __reboot
|
22
libc/arch-mips/syscalls/__rt_sigaction.S
Normal file
22
libc/arch-mips/syscalls/__rt_sigaction.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __rt_sigaction
|
||||||
|
.align 4
|
||||||
|
.ent __rt_sigaction
|
||||||
|
|
||||||
|
__rt_sigaction:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_rt_sigaction
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __rt_sigaction
|
22
libc/arch-mips/syscalls/__rt_sigprocmask.S
Normal file
22
libc/arch-mips/syscalls/__rt_sigprocmask.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __rt_sigprocmask
|
||||||
|
.align 4
|
||||||
|
.ent __rt_sigprocmask
|
||||||
|
|
||||||
|
__rt_sigprocmask:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_rt_sigprocmask
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __rt_sigprocmask
|
22
libc/arch-mips/syscalls/__rt_sigtimedwait.S
Normal file
22
libc/arch-mips/syscalls/__rt_sigtimedwait.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __rt_sigtimedwait
|
||||||
|
.align 4
|
||||||
|
.ent __rt_sigtimedwait
|
||||||
|
|
||||||
|
__rt_sigtimedwait:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_rt_sigtimedwait
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __rt_sigtimedwait
|
22
libc/arch-mips/syscalls/__sched_getaffinity.S
Normal file
22
libc/arch-mips/syscalls/__sched_getaffinity.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __sched_getaffinity
|
||||||
|
.align 4
|
||||||
|
.ent __sched_getaffinity
|
||||||
|
|
||||||
|
__sched_getaffinity:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_sched_getaffinity
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __sched_getaffinity
|
22
libc/arch-mips/syscalls/__set_thread_area.S
Normal file
22
libc/arch-mips/syscalls/__set_thread_area.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __set_thread_area
|
||||||
|
.align 4
|
||||||
|
.ent __set_thread_area
|
||||||
|
|
||||||
|
__set_thread_area:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_set_thread_area
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __set_thread_area
|
22
libc/arch-mips/syscalls/__setresuid.S
Normal file
22
libc/arch-mips/syscalls/__setresuid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __setresuid
|
||||||
|
.align 4
|
||||||
|
.ent __setresuid
|
||||||
|
|
||||||
|
__setresuid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_setresuid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __setresuid
|
22
libc/arch-mips/syscalls/__setreuid.S
Normal file
22
libc/arch-mips/syscalls/__setreuid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __setreuid
|
||||||
|
.align 4
|
||||||
|
.ent __setreuid
|
||||||
|
|
||||||
|
__setreuid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_setreuid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __setreuid
|
22
libc/arch-mips/syscalls/__setuid.S
Normal file
22
libc/arch-mips/syscalls/__setuid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __setuid
|
||||||
|
.align 4
|
||||||
|
.ent __setuid
|
||||||
|
|
||||||
|
__setuid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_setuid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __setuid
|
22
libc/arch-mips/syscalls/__sigsuspend.S
Normal file
22
libc/arch-mips/syscalls/__sigsuspend.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __sigsuspend
|
||||||
|
.align 4
|
||||||
|
.ent __sigsuspend
|
||||||
|
|
||||||
|
__sigsuspend:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_sigsuspend
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __sigsuspend
|
22
libc/arch-mips/syscalls/__statfs64.S
Normal file
22
libc/arch-mips/syscalls/__statfs64.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __statfs64
|
||||||
|
.align 4
|
||||||
|
.ent __statfs64
|
||||||
|
|
||||||
|
__statfs64:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_statfs64
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __statfs64
|
22
libc/arch-mips/syscalls/__sys_clone.S
Normal file
22
libc/arch-mips/syscalls/__sys_clone.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __sys_clone
|
||||||
|
.align 4
|
||||||
|
.ent __sys_clone
|
||||||
|
|
||||||
|
__sys_clone:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_clone
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __sys_clone
|
22
libc/arch-mips/syscalls/__syslog.S
Normal file
22
libc/arch-mips/syscalls/__syslog.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __syslog
|
||||||
|
.align 4
|
||||||
|
.ent __syslog
|
||||||
|
|
||||||
|
__syslog:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_syslog
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __syslog
|
22
libc/arch-mips/syscalls/__timer_create.S
Normal file
22
libc/arch-mips/syscalls/__timer_create.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __timer_create
|
||||||
|
.align 4
|
||||||
|
.ent __timer_create
|
||||||
|
|
||||||
|
__timer_create:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_timer_create
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __timer_create
|
22
libc/arch-mips/syscalls/__timer_delete.S
Normal file
22
libc/arch-mips/syscalls/__timer_delete.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __timer_delete
|
||||||
|
.align 4
|
||||||
|
.ent __timer_delete
|
||||||
|
|
||||||
|
__timer_delete:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_timer_delete
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __timer_delete
|
22
libc/arch-mips/syscalls/__timer_getoverrun.S
Normal file
22
libc/arch-mips/syscalls/__timer_getoverrun.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __timer_getoverrun
|
||||||
|
.align 4
|
||||||
|
.ent __timer_getoverrun
|
||||||
|
|
||||||
|
__timer_getoverrun:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_timer_getoverrun
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __timer_getoverrun
|
22
libc/arch-mips/syscalls/__timer_gettime.S
Normal file
22
libc/arch-mips/syscalls/__timer_gettime.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __timer_gettime
|
||||||
|
.align 4
|
||||||
|
.ent __timer_gettime
|
||||||
|
|
||||||
|
__timer_gettime:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_timer_gettime
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __timer_gettime
|
22
libc/arch-mips/syscalls/__timer_settime.S
Normal file
22
libc/arch-mips/syscalls/__timer_settime.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __timer_settime
|
||||||
|
.align 4
|
||||||
|
.ent __timer_settime
|
||||||
|
|
||||||
|
__timer_settime:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_timer_settime
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __timer_settime
|
22
libc/arch-mips/syscalls/__wait4.S
Normal file
22
libc/arch-mips/syscalls/__wait4.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __wait4
|
||||||
|
.align 4
|
||||||
|
.ent __wait4
|
||||||
|
|
||||||
|
__wait4:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_wait4
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __wait4
|
22
libc/arch-mips/syscalls/__waitid.S
Normal file
22
libc/arch-mips/syscalls/__waitid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl __waitid
|
||||||
|
.align 4
|
||||||
|
.ent __waitid
|
||||||
|
|
||||||
|
__waitid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_waitid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end __waitid
|
22
libc/arch-mips/syscalls/_exit.S
Normal file
22
libc/arch-mips/syscalls/_exit.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl _exit
|
||||||
|
.align 4
|
||||||
|
.ent _exit
|
||||||
|
|
||||||
|
_exit:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_exit_group
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end _exit
|
22
libc/arch-mips/syscalls/_exit_thread.S
Normal file
22
libc/arch-mips/syscalls/_exit_thread.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl _exit_thread
|
||||||
|
.align 4
|
||||||
|
.ent _exit_thread
|
||||||
|
|
||||||
|
_exit_thread:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_exit
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end _exit_thread
|
22
libc/arch-mips/syscalls/_flush_cache.S
Normal file
22
libc/arch-mips/syscalls/_flush_cache.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl _flush_cache
|
||||||
|
.align 4
|
||||||
|
.ent _flush_cache
|
||||||
|
|
||||||
|
_flush_cache:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_cacheflush
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end _flush_cache
|
22
libc/arch-mips/syscalls/_waitpid.S
Normal file
22
libc/arch-mips/syscalls/_waitpid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl _waitpid
|
||||||
|
.align 4
|
||||||
|
.ent _waitpid
|
||||||
|
|
||||||
|
_waitpid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_waitpid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end _waitpid
|
22
libc/arch-mips/syscalls/accept.S
Normal file
22
libc/arch-mips/syscalls/accept.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl accept
|
||||||
|
.align 4
|
||||||
|
.ent accept
|
||||||
|
|
||||||
|
accept:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_accept
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end accept
|
22
libc/arch-mips/syscalls/access.S
Normal file
22
libc/arch-mips/syscalls/access.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl access
|
||||||
|
.align 4
|
||||||
|
.ent access
|
||||||
|
|
||||||
|
access:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_access
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end access
|
22
libc/arch-mips/syscalls/acct.S
Normal file
22
libc/arch-mips/syscalls/acct.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl acct
|
||||||
|
.align 4
|
||||||
|
.ent acct
|
||||||
|
|
||||||
|
acct:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_acct
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end acct
|
22
libc/arch-mips/syscalls/bind.S
Normal file
22
libc/arch-mips/syscalls/bind.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl bind
|
||||||
|
.align 4
|
||||||
|
.ent bind
|
||||||
|
|
||||||
|
bind:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_bind
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end bind
|
22
libc/arch-mips/syscalls/capget.S
Normal file
22
libc/arch-mips/syscalls/capget.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl capget
|
||||||
|
.align 4
|
||||||
|
.ent capget
|
||||||
|
|
||||||
|
capget:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_capget
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end capget
|
22
libc/arch-mips/syscalls/capset.S
Normal file
22
libc/arch-mips/syscalls/capset.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl capset
|
||||||
|
.align 4
|
||||||
|
.ent capset
|
||||||
|
|
||||||
|
capset:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_capset
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end capset
|
22
libc/arch-mips/syscalls/chdir.S
Normal file
22
libc/arch-mips/syscalls/chdir.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl chdir
|
||||||
|
.align 4
|
||||||
|
.ent chdir
|
||||||
|
|
||||||
|
chdir:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_chdir
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end chdir
|
22
libc/arch-mips/syscalls/chmod.S
Normal file
22
libc/arch-mips/syscalls/chmod.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl chmod
|
||||||
|
.align 4
|
||||||
|
.ent chmod
|
||||||
|
|
||||||
|
chmod:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_chmod
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end chmod
|
22
libc/arch-mips/syscalls/chown.S
Normal file
22
libc/arch-mips/syscalls/chown.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl chown
|
||||||
|
.align 4
|
||||||
|
.ent chown
|
||||||
|
|
||||||
|
chown:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_chown
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end chown
|
22
libc/arch-mips/syscalls/chroot.S
Normal file
22
libc/arch-mips/syscalls/chroot.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl chroot
|
||||||
|
.align 4
|
||||||
|
.ent chroot
|
||||||
|
|
||||||
|
chroot:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_chroot
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end chroot
|
22
libc/arch-mips/syscalls/clock_getres.S
Normal file
22
libc/arch-mips/syscalls/clock_getres.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl clock_getres
|
||||||
|
.align 4
|
||||||
|
.ent clock_getres
|
||||||
|
|
||||||
|
clock_getres:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_clock_getres
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end clock_getres
|
22
libc/arch-mips/syscalls/clock_gettime.S
Normal file
22
libc/arch-mips/syscalls/clock_gettime.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl clock_gettime
|
||||||
|
.align 4
|
||||||
|
.ent clock_gettime
|
||||||
|
|
||||||
|
clock_gettime:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_clock_gettime
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end clock_gettime
|
22
libc/arch-mips/syscalls/clock_nanosleep.S
Normal file
22
libc/arch-mips/syscalls/clock_nanosleep.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl clock_nanosleep
|
||||||
|
.align 4
|
||||||
|
.ent clock_nanosleep
|
||||||
|
|
||||||
|
clock_nanosleep:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_clock_nanosleep
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end clock_nanosleep
|
22
libc/arch-mips/syscalls/clock_settime.S
Normal file
22
libc/arch-mips/syscalls/clock_settime.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl clock_settime
|
||||||
|
.align 4
|
||||||
|
.ent clock_settime
|
||||||
|
|
||||||
|
clock_settime:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_clock_settime
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end clock_settime
|
22
libc/arch-mips/syscalls/close.S
Normal file
22
libc/arch-mips/syscalls/close.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl close
|
||||||
|
.align 4
|
||||||
|
.ent close
|
||||||
|
|
||||||
|
close:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_close
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end close
|
22
libc/arch-mips/syscalls/connect.S
Normal file
22
libc/arch-mips/syscalls/connect.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl connect
|
||||||
|
.align 4
|
||||||
|
.ent connect
|
||||||
|
|
||||||
|
connect:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_connect
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end connect
|
22
libc/arch-mips/syscalls/delete_module.S
Normal file
22
libc/arch-mips/syscalls/delete_module.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl delete_module
|
||||||
|
.align 4
|
||||||
|
.ent delete_module
|
||||||
|
|
||||||
|
delete_module:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_delete_module
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end delete_module
|
22
libc/arch-mips/syscalls/dup.S
Normal file
22
libc/arch-mips/syscalls/dup.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl dup
|
||||||
|
.align 4
|
||||||
|
.ent dup
|
||||||
|
|
||||||
|
dup:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_dup
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end dup
|
22
libc/arch-mips/syscalls/dup2.S
Normal file
22
libc/arch-mips/syscalls/dup2.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl dup2
|
||||||
|
.align 4
|
||||||
|
.ent dup2
|
||||||
|
|
||||||
|
dup2:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_dup2
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end dup2
|
22
libc/arch-mips/syscalls/epoll_create.S
Normal file
22
libc/arch-mips/syscalls/epoll_create.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl epoll_create
|
||||||
|
.align 4
|
||||||
|
.ent epoll_create
|
||||||
|
|
||||||
|
epoll_create:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_epoll_create
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end epoll_create
|
22
libc/arch-mips/syscalls/epoll_ctl.S
Normal file
22
libc/arch-mips/syscalls/epoll_ctl.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl epoll_ctl
|
||||||
|
.align 4
|
||||||
|
.ent epoll_ctl
|
||||||
|
|
||||||
|
epoll_ctl:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_epoll_ctl
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end epoll_ctl
|
22
libc/arch-mips/syscalls/epoll_wait.S
Normal file
22
libc/arch-mips/syscalls/epoll_wait.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl epoll_wait
|
||||||
|
.align 4
|
||||||
|
.ent epoll_wait
|
||||||
|
|
||||||
|
epoll_wait:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_epoll_wait
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end epoll_wait
|
22
libc/arch-mips/syscalls/eventfd.S
Normal file
22
libc/arch-mips/syscalls/eventfd.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl eventfd
|
||||||
|
.align 4
|
||||||
|
.ent eventfd
|
||||||
|
|
||||||
|
eventfd:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_eventfd2
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end eventfd
|
22
libc/arch-mips/syscalls/execve.S
Normal file
22
libc/arch-mips/syscalls/execve.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl execve
|
||||||
|
.align 4
|
||||||
|
.ent execve
|
||||||
|
|
||||||
|
execve:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_execve
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end execve
|
22
libc/arch-mips/syscalls/faccessat.S
Normal file
22
libc/arch-mips/syscalls/faccessat.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl faccessat
|
||||||
|
.align 4
|
||||||
|
.ent faccessat
|
||||||
|
|
||||||
|
faccessat:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_faccessat
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end faccessat
|
22
libc/arch-mips/syscalls/fchdir.S
Normal file
22
libc/arch-mips/syscalls/fchdir.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl fchdir
|
||||||
|
.align 4
|
||||||
|
.ent fchdir
|
||||||
|
|
||||||
|
fchdir:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fchdir
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end fchdir
|
22
libc/arch-mips/syscalls/fchmod.S
Normal file
22
libc/arch-mips/syscalls/fchmod.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl fchmod
|
||||||
|
.align 4
|
||||||
|
.ent fchmod
|
||||||
|
|
||||||
|
fchmod:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fchmod
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end fchmod
|
22
libc/arch-mips/syscalls/fchmodat.S
Normal file
22
libc/arch-mips/syscalls/fchmodat.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl fchmodat
|
||||||
|
.align 4
|
||||||
|
.ent fchmodat
|
||||||
|
|
||||||
|
fchmodat:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fchmodat
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end fchmodat
|
22
libc/arch-mips/syscalls/fchown.S
Normal file
22
libc/arch-mips/syscalls/fchown.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl fchown
|
||||||
|
.align 4
|
||||||
|
.ent fchown
|
||||||
|
|
||||||
|
fchown:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fchown
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end fchown
|
22
libc/arch-mips/syscalls/fchownat.S
Normal file
22
libc/arch-mips/syscalls/fchownat.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl fchownat
|
||||||
|
.align 4
|
||||||
|
.ent fchownat
|
||||||
|
|
||||||
|
fchownat:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fchownat
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end fchownat
|
22
libc/arch-mips/syscalls/fdatasync.S
Normal file
22
libc/arch-mips/syscalls/fdatasync.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl fdatasync
|
||||||
|
.align 4
|
||||||
|
.ent fdatasync
|
||||||
|
|
||||||
|
fdatasync:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fdatasync
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end fdatasync
|
22
libc/arch-mips/syscalls/fgetxattr.S
Normal file
22
libc/arch-mips/syscalls/fgetxattr.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl fgetxattr
|
||||||
|
.align 4
|
||||||
|
.ent fgetxattr
|
||||||
|
|
||||||
|
fgetxattr:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fgetxattr
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end fgetxattr
|
22
libc/arch-mips/syscalls/flistxattr.S
Normal file
22
libc/arch-mips/syscalls/flistxattr.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl flistxattr
|
||||||
|
.align 4
|
||||||
|
.ent flistxattr
|
||||||
|
|
||||||
|
flistxattr:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_flistxattr
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end flistxattr
|
22
libc/arch-mips/syscalls/flock.S
Normal file
22
libc/arch-mips/syscalls/flock.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl flock
|
||||||
|
.align 4
|
||||||
|
.ent flock
|
||||||
|
|
||||||
|
flock:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_flock
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end flock
|
22
libc/arch-mips/syscalls/fremovexattr.S
Normal file
22
libc/arch-mips/syscalls/fremovexattr.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl fremovexattr
|
||||||
|
.align 4
|
||||||
|
.ent fremovexattr
|
||||||
|
|
||||||
|
fremovexattr:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fremovexattr
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end fremovexattr
|
22
libc/arch-mips/syscalls/fsetxattr.S
Normal file
22
libc/arch-mips/syscalls/fsetxattr.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl fsetxattr
|
||||||
|
.align 4
|
||||||
|
.ent fsetxattr
|
||||||
|
|
||||||
|
fsetxattr:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fsetxattr
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end fsetxattr
|
22
libc/arch-mips/syscalls/fstat.S
Normal file
22
libc/arch-mips/syscalls/fstat.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl fstat
|
||||||
|
.align 4
|
||||||
|
.ent fstat
|
||||||
|
|
||||||
|
fstat:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fstat64
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end fstat
|
22
libc/arch-mips/syscalls/fstatat.S
Normal file
22
libc/arch-mips/syscalls/fstatat.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl fstatat
|
||||||
|
.align 4
|
||||||
|
.ent fstatat
|
||||||
|
|
||||||
|
fstatat:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fstatat64
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end fstatat
|
22
libc/arch-mips/syscalls/fsync.S
Normal file
22
libc/arch-mips/syscalls/fsync.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl fsync
|
||||||
|
.align 4
|
||||||
|
.ent fsync
|
||||||
|
|
||||||
|
fsync:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_fsync
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end fsync
|
22
libc/arch-mips/syscalls/ftruncate.S
Normal file
22
libc/arch-mips/syscalls/ftruncate.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl ftruncate
|
||||||
|
.align 4
|
||||||
|
.ent ftruncate
|
||||||
|
|
||||||
|
ftruncate:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_ftruncate
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end ftruncate
|
22
libc/arch-mips/syscalls/ftruncate64.S
Normal file
22
libc/arch-mips/syscalls/ftruncate64.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl ftruncate64
|
||||||
|
.align 4
|
||||||
|
.ent ftruncate64
|
||||||
|
|
||||||
|
ftruncate64:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_ftruncate64
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end ftruncate64
|
22
libc/arch-mips/syscalls/futex.S
Normal file
22
libc/arch-mips/syscalls/futex.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl futex
|
||||||
|
.align 4
|
||||||
|
.ent futex
|
||||||
|
|
||||||
|
futex:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_futex
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end futex
|
22
libc/arch-mips/syscalls/getdents.S
Normal file
22
libc/arch-mips/syscalls/getdents.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getdents
|
||||||
|
.align 4
|
||||||
|
.ent getdents
|
||||||
|
|
||||||
|
getdents:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getdents64
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getdents
|
22
libc/arch-mips/syscalls/getegid.S
Normal file
22
libc/arch-mips/syscalls/getegid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getegid
|
||||||
|
.align 4
|
||||||
|
.ent getegid
|
||||||
|
|
||||||
|
getegid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getegid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getegid
|
22
libc/arch-mips/syscalls/geteuid.S
Normal file
22
libc/arch-mips/syscalls/geteuid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl geteuid
|
||||||
|
.align 4
|
||||||
|
.ent geteuid
|
||||||
|
|
||||||
|
geteuid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_geteuid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end geteuid
|
22
libc/arch-mips/syscalls/getgid.S
Normal file
22
libc/arch-mips/syscalls/getgid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getgid
|
||||||
|
.align 4
|
||||||
|
.ent getgid
|
||||||
|
|
||||||
|
getgid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getgid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getgid
|
22
libc/arch-mips/syscalls/getgroups.S
Normal file
22
libc/arch-mips/syscalls/getgroups.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getgroups
|
||||||
|
.align 4
|
||||||
|
.ent getgroups
|
||||||
|
|
||||||
|
getgroups:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getgroups
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getgroups
|
22
libc/arch-mips/syscalls/getitimer.S
Normal file
22
libc/arch-mips/syscalls/getitimer.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getitimer
|
||||||
|
.align 4
|
||||||
|
.ent getitimer
|
||||||
|
|
||||||
|
getitimer:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getitimer
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getitimer
|
22
libc/arch-mips/syscalls/getpeername.S
Normal file
22
libc/arch-mips/syscalls/getpeername.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getpeername
|
||||||
|
.align 4
|
||||||
|
.ent getpeername
|
||||||
|
|
||||||
|
getpeername:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getpeername
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getpeername
|
22
libc/arch-mips/syscalls/getpgid.S
Normal file
22
libc/arch-mips/syscalls/getpgid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getpgid
|
||||||
|
.align 4
|
||||||
|
.ent getpgid
|
||||||
|
|
||||||
|
getpgid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getpgid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getpgid
|
22
libc/arch-mips/syscalls/getpid.S
Normal file
22
libc/arch-mips/syscalls/getpid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getpid
|
||||||
|
.align 4
|
||||||
|
.ent getpid
|
||||||
|
|
||||||
|
getpid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getpid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getpid
|
22
libc/arch-mips/syscalls/getppid.S
Normal file
22
libc/arch-mips/syscalls/getppid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getppid
|
||||||
|
.align 4
|
||||||
|
.ent getppid
|
||||||
|
|
||||||
|
getppid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getppid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getppid
|
22
libc/arch-mips/syscalls/getresgid.S
Normal file
22
libc/arch-mips/syscalls/getresgid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getresgid
|
||||||
|
.align 4
|
||||||
|
.ent getresgid
|
||||||
|
|
||||||
|
getresgid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getresgid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getresgid
|
22
libc/arch-mips/syscalls/getresuid.S
Normal file
22
libc/arch-mips/syscalls/getresuid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getresuid
|
||||||
|
.align 4
|
||||||
|
.ent getresuid
|
||||||
|
|
||||||
|
getresuid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getresuid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getresuid
|
22
libc/arch-mips/syscalls/getrlimit.S
Normal file
22
libc/arch-mips/syscalls/getrlimit.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getrlimit
|
||||||
|
.align 4
|
||||||
|
.ent getrlimit
|
||||||
|
|
||||||
|
getrlimit:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getrlimit
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getrlimit
|
22
libc/arch-mips/syscalls/getrusage.S
Normal file
22
libc/arch-mips/syscalls/getrusage.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getrusage
|
||||||
|
.align 4
|
||||||
|
.ent getrusage
|
||||||
|
|
||||||
|
getrusage:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getrusage
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getrusage
|
22
libc/arch-mips/syscalls/getsockname.S
Normal file
22
libc/arch-mips/syscalls/getsockname.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getsockname
|
||||||
|
.align 4
|
||||||
|
.ent getsockname
|
||||||
|
|
||||||
|
getsockname:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getsockname
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getsockname
|
22
libc/arch-mips/syscalls/getsockopt.S
Normal file
22
libc/arch-mips/syscalls/getsockopt.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl getsockopt
|
||||||
|
.align 4
|
||||||
|
.ent getsockopt
|
||||||
|
|
||||||
|
getsockopt:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_getsockopt
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end getsockopt
|
22
libc/arch-mips/syscalls/gettid.S
Normal file
22
libc/arch-mips/syscalls/gettid.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl gettid
|
||||||
|
.align 4
|
||||||
|
.ent gettid
|
||||||
|
|
||||||
|
gettid:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_gettid
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end gettid
|
22
libc/arch-mips/syscalls/gettimeofday.S
Normal file
22
libc/arch-mips/syscalls/gettimeofday.S
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <sys/linux-syscalls.h>
|
||||||
|
.text
|
||||||
|
.globl gettimeofday
|
||||||
|
.align 4
|
||||||
|
.ent gettimeofday
|
||||||
|
|
||||||
|
gettimeofday:
|
||||||
|
.set noreorder
|
||||||
|
.cpload $t9
|
||||||
|
li $v0, __NR_gettimeofday
|
||||||
|
syscall
|
||||||
|
bnez $a3, 1f
|
||||||
|
move $a0, $v0
|
||||||
|
j $ra
|
||||||
|
nop
|
||||||
|
1:
|
||||||
|
la $t9,__set_errno
|
||||||
|
j $t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
|
.end gettimeofday
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user