1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2002, Greg Ungerer (gerg@snapgear.com)
5 * Based on older entry.S files, the following copyrights apply:
7 * Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>,
8 * Kenneth Albanowski <kjahds@kjahds.com>,
9 * Copyright (C) 2000 Lineo Inc. (www.lineo.com)
10 * Copyright (C) 1991, 1992 Linus Torvalds
12 * Linux/m68k support by Hamish Macdonald
15 #include <linux/linkage.h>
18 #define sys_mmap2 sys_mmap_pgoff
24 .long sys_restart_syscall /* 0 - old "setup()" system call, used for restarting */
29 .long sys_open /* 5 */
34 .long sys_unlink /* 10 */
39 .long sys_chmod /* 15 */
41 .long sys_ni_syscall /* old break syscall holder */
44 .long sys_getpid /* 20 */
49 .long sys_stime /* 25 */
54 .long sys_utime /* 30 */
55 .long sys_ni_syscall /* old stty syscall holder */
56 .long sys_ni_syscall /* old gtty syscall holder */
59 .long sys_ni_syscall /* 35 - old ftime syscall holder */
64 .long sys_rmdir /* 40 */
68 .long sys_ni_syscall /* old prof syscall holder */
69 .long sys_brk /* 45 */
74 .long sys_getegid16 /* 50 */
76 .long sys_umount /* recycled never used phys() */
77 .long sys_ni_syscall /* old lock syscall holder */
79 .long sys_fcntl /* 55 */
80 .long sys_ni_syscall /* old mpx syscall holder */
82 .long sys_ni_syscall /* old ulimit syscall holder */
84 .long sys_umask /* 60 */
89 .long sys_getpgrp /* 65 */
94 .long sys_setreuid16 /* 70 */
99 .long sys_setrlimit /* 75 */
100 .long sys_old_getrlimit
102 .long sys_gettimeofday
103 .long sys_settimeofday
104 .long sys_getgroups16 /* 80 */
105 .long sys_setgroups16
109 .long sys_readlink /* 85 */
113 .long sys_old_readdir
114 .long sys_old_mmap /* 90 */
119 .long sys_fchown16 /* 95 */
120 .long sys_getpriority
121 .long sys_setpriority
122 .long sys_ni_syscall /* old profil syscall holder */
124 .long sys_fstatfs /* 100 */
125 .long sys_ni_syscall /* ioperm for i386 */
129 .long sys_getitimer /* 105 */
134 .long sys_ni_syscall /* 110 - iopl for i386 */
136 .long sys_ni_syscall /* obsolete idle() syscall */
137 .long sys_ni_syscall /* vm86old for i386 */
139 .long sys_swapoff /* 115 */
144 .long __sys_clone /* 120 */
145 .long sys_setdomainname
147 .long sys_cacheflush /* modify_ldt for i386 */
149 .long sys_mprotect /* 125 */
150 .long sys_sigprocmask
151 .long sys_ni_syscall /* old "create_module" */
152 .long sys_init_module
153 .long sys_delete_module
154 .long sys_ni_syscall /* 130 - old "get_kernel_syms" */
159 .long sys_sysfs /* 135 */
160 .long sys_personality
161 .long sys_ni_syscall /* for afs_syscall */
164 .long sys_llseek /* 140 */
169 .long sys_readv /* 145 */
174 .long sys_mlock /* 150 */
178 .long sys_sched_setparam
179 .long sys_sched_getparam /* 155 */
180 .long sys_sched_setscheduler
181 .long sys_sched_getscheduler
182 .long sys_sched_yield
183 .long sys_sched_get_priority_max
184 .long sys_sched_get_priority_min /* 160 */
185 .long sys_sched_rr_get_interval
188 .long sys_setresuid16
189 .long sys_getresuid16 /* 165 */
190 .long sys_getpagesize
191 .long sys_ni_syscall /* old "query_module" */
193 .long sys_ni_syscall /* old nfsservctl */
194 .long sys_setresgid16 /* 170 */
195 .long sys_getresgid16
197 .long sys_rt_sigreturn
198 .long sys_rt_sigaction
199 .long sys_rt_sigprocmask /* 175 */
200 .long sys_rt_sigpending
201 .long sys_rt_sigtimedwait
202 .long sys_rt_sigqueueinfo
203 .long sys_rt_sigsuspend
204 .long sys_pread64 /* 180 */
209 .long sys_capset /* 185 */
210 .long sys_sigaltstack
212 .long sys_ni_syscall /* streams1 */
213 .long sys_ni_syscall /* streams2 */
214 .long __sys_vfork /* 190 */
218 .long sys_ftruncate64
219 .long sys_stat64 /* 195 */
224 .long sys_getgid /* 200 */
229 .long sys_getgroups /* 205 */
234 .long sys_setresgid /* 210 */
239 .long sys_setfsuid /* 215 */
244 .long sys_getdents64 /* 220 */
249 .long sys_fsetxattr /* 225 */
254 .long sys_llistxattr /* 230 */
256 .long sys_removexattr
257 .long sys_lremovexattr
258 .long sys_fremovexattr
259 .long sys_futex /* 235 */
264 .long sys_readahead /* 240 */
267 .long sys_io_getevents
269 .long sys_io_cancel /* 245 */
272 .long sys_lookup_dcookie
273 .long sys_epoll_create
274 .long sys_epoll_ctl /* 250 */
276 .long sys_remap_file_pages
277 .long sys_set_tid_address
278 .long sys_timer_create
279 .long sys_timer_settime /* 255 */
280 .long sys_timer_gettime
281 .long sys_timer_getoverrun
282 .long sys_timer_delete
283 .long sys_clock_settime
284 .long sys_clock_gettime /* 260 */
285 .long sys_clock_getres
286 .long sys_clock_nanosleep
289 .long sys_tgkill /* 265 */
291 .long sys_fadvise64_64
293 .long sys_get_mempolicy
294 .long sys_set_mempolicy /* 270 */
297 .long sys_mq_timedsend
298 .long sys_mq_timedreceive
299 .long sys_mq_notify /* 275 */
300 .long sys_mq_getsetattr
302 .long sys_ni_syscall /* for sys_vserver */
304 .long sys_request_key /* 280 */
308 .long sys_inotify_init
309 .long sys_inotify_add_watch /* 285 */
310 .long sys_inotify_rm_watch
311 .long sys_migrate_pages
314 .long sys_mknodat /* 290 */
319 .long sys_renameat /* 295 */
324 .long sys_faccessat /* 300 */
328 .long sys_set_robust_list
329 .long sys_get_robust_list /* 305 */
331 .long sys_sync_file_range
334 .long sys_move_pages /* 310 */
335 .long sys_sched_setaffinity
336 .long sys_sched_getaffinity
339 .long sys_epoll_pwait /* 315 */
342 .long sys_timerfd_create
344 .long sys_fallocate /* 320 */
345 .long sys_timerfd_settime
346 .long sys_timerfd_gettime
349 .long sys_epoll_create1 /* 325 */
352 .long sys_inotify_init1
354 .long sys_pwritev /* 330 */
355 .long sys_rt_tgsigqueueinfo
356 .long sys_perf_event_open
357 .long sys_get_thread_area
358 .long sys_set_thread_area
359 .long sys_atomic_cmpxchg_32 /* 335 */
360 .long sys_atomic_barrier
361 .long sys_fanotify_init
362 .long sys_fanotify_mark
364 .long sys_name_to_handle_at /* 340 */
365 .long sys_open_by_handle_at
366 .long sys_clock_adjtime
369 .long sys_process_vm_readv /* 345 */
370 .long sys_process_vm_writev
372 .long sys_finit_module
373 .long sys_sched_setattr
374 .long sys_sched_getattr /* 350 */
377 .long sys_memfd_create
379 .long sys_execveat /* 355 */
384 .long sys_listen /* 360 */
388 .long sys_getsockname
389 .long sys_getpeername /* 365 */
394 .long sys_shutdown /* 370 */
397 .long sys_userfaultfd
399 .long sys_mlock2 /* 375 */
400 .long sys_copy_file_range