Commit | Line | Data |
---|---|---|
61baff6e MJ |
1 | # SPDX-FileCopyrightText: 2012 Ralf Baechle <ralf@linux-mips.org> |
2 | # | |
3 | # SPDX-License-Identifier: CC0-1.0 | |
4 | ||
dae90c28 RB |
5 | syscall sys_exit nr 4003 nbargs 1 types: (int) args: (error_code) |
6 | syscall sys_read nr 4007 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) | |
7 | syscall sys_write nr 4009 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) | |
8 | syscall sys_open nr 4011 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) | |
9 | syscall sys_close nr 4013 nbargs 1 types: (unsigned int) args: (fd) | |
10 | syscall sys_waitpid nr 4015 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) | |
11 | syscall sys_creat nr 4017 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) | |
12 | syscall sys_link nr 4019 nbargs 2 types: (const char *, const char *) args: (oldname, newname) | |
13 | syscall sys_unlink nr 4021 nbargs 1 types: (const char *) args: (pathname) | |
14 | syscall sys_chdir nr 4025 nbargs 1 types: (const char *) args: (filename) | |
15 | syscall sys_time nr 4027 nbargs 1 types: (time_t *) args: (tloc) | |
16 | syscall sys_mknod nr 4029 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) | |
17 | syscall sys_chmod nr 4031 nbargs 2 types: (const char *, umode_t) args: (filename, mode) | |
18 | syscall sys_lchown nr 4033 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) | |
19 | syscall sys_lseek nr 4039 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) | |
20 | syscall sys_getpid nr 4041 nbargs 0 types: () args: () | |
21 | syscall sys_mount nr 4043 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) | |
22 | syscall sys_oldumount nr 4045 nbargs 1 types: (char *) args: (name) | |
23 | syscall sys_setuid nr 4047 nbargs 1 types: (uid_t) args: (uid) | |
24 | syscall sys_getuid nr 4049 nbargs 0 types: () args: () | |
25 | syscall sys_stime nr 4051 nbargs 1 types: (time_t *) args: (tptr) | |
26 | syscall sys_ptrace nr 4053 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) | |
27 | syscall sys_alarm nr 4055 nbargs 1 types: (unsigned int) args: (seconds) | |
28 | syscall sys_pause nr 4059 nbargs 0 types: () args: () | |
29 | syscall sys_utime nr 4061 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) | |
30 | syscall sys_access nr 4067 nbargs 2 types: (const char *, int) args: (filename, mode) | |
31 | syscall sys_nice nr 4069 nbargs 1 types: (int) args: (increment) | |
32 | syscall sys_sync nr 4073 nbargs 0 types: () args: () | |
33 | syscall sys_kill nr 4075 nbargs 2 types: (pid_t, int) args: (pid, sig) | |
34 | syscall sys_rename nr 4077 nbargs 2 types: (const char *, const char *) args: (oldname, newname) | |
35 | syscall sys_mkdir nr 4079 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) | |
36 | syscall sys_rmdir nr 4081 nbargs 1 types: (const char *) args: (pathname) | |
37 | syscall sys_dup nr 4083 nbargs 1 types: (unsigned int) args: (fildes) | |
38 | syscall sys_times nr 4087 nbargs 1 types: (struct tms *) args: (tbuf) | |
39 | syscall sys_brk nr 4091 nbargs 1 types: (unsigned long) args: (brk) | |
40 | syscall sys_setgid nr 4093 nbargs 1 types: (gid_t) args: (gid) | |
41 | syscall sys_getgid nr 4095 nbargs 0 types: () args: () | |
42 | syscall sys_geteuid nr 4099 nbargs 0 types: () args: () | |
43 | syscall sys_getegid nr 4101 nbargs 0 types: () args: () | |
44 | syscall sys_umount nr 4105 nbargs 2 types: (char *, int) args: (name, flags) | |
45 | syscall sys_ioctl nr 4109 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) | |
46 | syscall sys_fcntl nr 4111 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) | |
47 | syscall sys_setpgid nr 4115 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) | |
48 | syscall sys_olduname nr 4119 nbargs 1 types: (struct oldold_utsname *) args: (name) | |
49 | syscall sys_umask nr 4121 nbargs 1 types: (int) args: (mask) | |
50 | syscall sys_chroot nr 4123 nbargs 1 types: (const char *) args: (filename) | |
51 | syscall sys_ustat nr 4125 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) | |
52 | syscall sys_dup2 nr 4127 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) | |
53 | syscall sys_getppid nr 4129 nbargs 0 types: () args: () | |
54 | syscall sys_getpgrp nr 4131 nbargs 0 types: () args: () | |
55 | syscall sys_setsid nr 4133 nbargs 0 types: () args: () | |
56 | syscall sys_sigaction nr 4135 nbargs 3 types: (int, const struct sigaction *, struct sigaction *) args: (sig, act, oact) | |
57 | syscall sys_sgetmask nr 4137 nbargs 0 types: () args: () | |
58 | syscall sys_ssetmask nr 4139 nbargs 1 types: (int) args: (newmask) | |
59 | syscall sys_setreuid nr 4141 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) | |
60 | syscall sys_setregid nr 4143 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) | |
61 | syscall sys_sigpending nr 4147 nbargs 1 types: (old_sigset_t *) args: (set) | |
62 | syscall sys_sethostname nr 4149 nbargs 2 types: (char *, int) args: (name, len) | |
63 | syscall sys_setrlimit nr 4151 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) | |
64 | syscall sys_getrlimit nr 4153 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) | |
65 | syscall sys_getrusage nr 4155 nbargs 2 types: (int, struct rusage *) args: (who, ru) | |
66 | syscall sys_gettimeofday nr 4157 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) | |
67 | syscall sys_settimeofday nr 4159 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) | |
68 | syscall sys_getgroups nr 4161 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) | |
69 | syscall sys_setgroups nr 4163 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) | |
70 | syscall sys_symlink nr 4167 nbargs 2 types: (const char *, const char *) args: (oldname, newname) | |
71 | syscall sys_readlink nr 4171 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) | |
72 | syscall sys_uselib nr 4173 nbargs 1 types: (const char *) args: (library) | |
73 | syscall sys_swapon nr 4175 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) | |
74 | syscall sys_reboot nr 4177 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) | |
75 | syscall sys_old_readdir nr 4179 nbargs 3 types: (unsigned int, struct old_linux_dirent *, unsigned int) args: (fd, dirent, count) | |
76 | syscall sys_mips_mmap nr 4181 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, off_t) args: (addr, len, prot, flags, fd, offset) | |
77 | syscall sys_munmap nr 4183 nbargs 2 types: (unsigned long, size_t) args: (addr, len) | |
78 | syscall sys_truncate nr 4185 nbargs 2 types: (const char *, long) args: (path, length) | |
79 | syscall sys_ftruncate nr 4187 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) | |
80 | syscall sys_fchmod nr 4189 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) | |
81 | syscall sys_fchown nr 4191 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) | |
82 | syscall sys_getpriority nr 4193 nbargs 2 types: (int, int) args: (which, who) | |
83 | syscall sys_setpriority nr 4195 nbargs 3 types: (int, int, int) args: (which, who, niceval) | |
84 | syscall sys_statfs nr 4199 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) | |
85 | syscall sys_fstatfs nr 4201 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) | |
86 | syscall sys_socketcall nr 4205 nbargs 2 types: (int, unsigned long *) args: (call, args) | |
87 | syscall sys_syslog nr 4207 nbargs 3 types: (int, char *, int) args: (type, buf, len) | |
88 | syscall sys_setitimer nr 4209 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) | |
89 | syscall sys_getitimer nr 4211 nbargs 2 types: (int, struct itimerval *) args: (which, value) | |
90 | syscall sys_newstat nr 4213 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) | |
91 | syscall sys_newlstat nr 4215 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) | |
92 | syscall sys_newfstat nr 4217 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) | |
93 | syscall sys_uname nr 4219 nbargs 1 types: (struct old_utsname *) args: (name) | |
94 | syscall sys_vhangup nr 4223 nbargs 0 types: () args: () | |
95 | syscall sys_wait4 nr 4229 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) | |
96 | syscall sys_swapoff nr 4231 nbargs 1 types: (const char *) args: (specialfile) | |
97 | syscall sys_sysinfo nr 4233 nbargs 1 types: (struct sysinfo *) args: (info) | |
98 | syscall sys_ipc nr 4235 nbargs 6 types: (unsigned int, int, unsigned long, unsigned long, void *, long) args: (call, first, second, third, ptr, fifth) | |
99 | syscall sys_fsync nr 4237 nbargs 1 types: (unsigned int) args: (fd) | |
100 | syscall sys_setdomainname nr 4243 nbargs 2 types: (char *, int) args: (name, len) | |
101 | syscall sys_newuname nr 4245 nbargs 1 types: (struct new_utsname *) args: (name) | |
102 | syscall sys_adjtimex nr 4249 nbargs 1 types: (struct timex *) args: (txc_p) | |
103 | syscall sys_mprotect nr 4251 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) | |
104 | syscall sys_sigprocmask nr 4253 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) | |
105 | syscall sys_init_module nr 4257 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) | |
106 | syscall sys_delete_module nr 4259 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) | |
107 | syscall sys_quotactl nr 4263 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) | |
108 | syscall sys_getpgid nr 4265 nbargs 1 types: (pid_t) args: (pid) | |
109 | syscall sys_fchdir nr 4267 nbargs 1 types: (unsigned int) args: (fd) | |
110 | syscall sys_bdflush nr 4269 nbargs 2 types: (int, long) args: (func, data) | |
111 | syscall sys_sysfs nr 4271 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) | |
112 | syscall sys_personality nr 4273 nbargs 1 types: (unsigned int) args: (personality) | |
113 | syscall sys_setfsuid nr 4277 nbargs 1 types: (uid_t) args: (uid) | |
114 | syscall sys_setfsgid nr 4279 nbargs 1 types: (gid_t) args: (gid) | |
115 | syscall sys_llseek nr 4281 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) | |
116 | syscall sys_getdents nr 4283 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) | |
117 | syscall sys_select nr 4285 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) | |
118 | syscall sys_flock nr 4287 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) | |
119 | syscall sys_msync nr 4289 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) | |
120 | syscall sys_readv nr 4291 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) | |
121 | syscall sys_writev nr 4293 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) | |
122 | syscall sys_cacheflush nr 4295 nbargs 3 types: (unsigned long, unsigned long, unsigned int) args: (addr, bytes, cache) | |
123 | syscall sys_cachectl nr 4297 nbargs 3 types: (char *, int, int) args: (addr, nbytes, op) | |
124 | syscall sys_getsid nr 4303 nbargs 1 types: (pid_t) args: (pid) | |
125 | syscall sys_fdatasync nr 4305 nbargs 1 types: (unsigned int) args: (fd) | |
126 | syscall sys_sysctl nr 4307 nbargs 1 types: (struct __sysctl_args *) args: (args) | |
127 | syscall sys_mlock nr 4309 nbargs 2 types: (unsigned long, size_t) args: (start, len) | |
128 | syscall sys_munlock nr 4311 nbargs 2 types: (unsigned long, size_t) args: (start, len) | |
129 | syscall sys_mlockall nr 4313 nbargs 1 types: (int) args: (flags) | |
130 | syscall sys_munlockall nr 4315 nbargs 0 types: () args: () | |
131 | syscall sys_sched_setparam nr 4317 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) | |
132 | syscall sys_sched_getparam nr 4319 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) | |
133 | syscall sys_sched_setscheduler nr 4321 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) | |
134 | syscall sys_sched_getscheduler nr 4323 nbargs 1 types: (pid_t) args: (pid) | |
135 | syscall sys_sched_yield nr 4325 nbargs 0 types: () args: () | |
136 | syscall sys_sched_get_priority_max nr 4327 nbargs 1 types: (int) args: (policy) | |
137 | syscall sys_sched_get_priority_min nr 4329 nbargs 1 types: (int) args: (policy) | |
138 | syscall sys_sched_rr_get_interval nr 4331 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) | |
139 | syscall sys_nanosleep nr 4333 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) | |
140 | syscall sys_mremap nr 4335 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) | |
141 | syscall sys_accept nr 4337 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) | |
142 | syscall sys_bind nr 4339 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) | |
143 | syscall sys_connect nr 4341 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) | |
144 | syscall sys_getpeername nr 4343 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) | |
145 | syscall sys_getsockname nr 4345 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) |