1/*
2 * AVR32 system call table
3 *
4 * Copyright (C) 2004-2006 Atmel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11	.section .rodata,"a",@progbits
12	.type	sys_call_table,@object
13	.global	sys_call_table
14	.align	2
15sys_call_table:
16	.long	sys_restart_syscall
17	.long	sys_exit
18	.long	sys_fork
19	.long	sys_read
20	.long	sys_write
21	.long	sys_open		/* 5 */
22	.long	sys_close
23	.long	sys_umask
24	.long	sys_creat
25	.long	sys_link
26	.long	sys_unlink		/* 10 */
27	.long	sys_execve
28	.long	sys_chdir
29	.long	sys_time
30	.long	sys_mknod
31	.long	sys_chmod		/* 15 */
32	.long	sys_chown
33	.long	sys_lchown
34	.long	sys_lseek
35	.long	sys_llseek
36	.long	sys_getpid		/* 20 */
37	.long	sys_mount
38	.long	sys_umount
39	.long	sys_setuid
40	.long	sys_getuid
41	.long	sys_stime		/* 25 */
42	.long	sys_ptrace
43	.long	sys_alarm
44	.long	sys_pause
45	.long	sys_utime
46	.long	sys_newstat		/* 30 */
47	.long	sys_newfstat
48	.long	sys_newlstat
49	.long	sys_access
50	.long	sys_chroot
51	.long	sys_sync		/* 35 */
52	.long	sys_fsync
53	.long	sys_kill
54	.long	sys_rename
55	.long	sys_mkdir
56	.long	sys_rmdir		/* 40 */
57	.long	sys_dup
58	.long	sys_pipe
59	.long	sys_times
60	.long	sys_clone
61	.long	sys_brk			/* 45 */
62	.long	sys_setgid
63	.long	sys_getgid
64	.long	sys_getcwd
65	.long	sys_geteuid
66	.long	sys_getegid		/* 50 */
67	.long	sys_acct
68	.long	sys_setfsuid
69	.long	sys_setfsgid
70	.long	sys_ioctl
71	.long	sys_fcntl		/* 55 */
72	.long	sys_setpgid
73	.long	sys_mremap
74	.long	sys_setresuid
75	.long	sys_getresuid
76	.long	sys_setreuid		/* 60 */
77	.long	sys_setregid
78	.long	sys_ustat
79	.long	sys_dup2
80	.long	sys_getppid
81	.long	sys_getpgrp		/* 65 */
82	.long	sys_setsid
83	.long	sys_rt_sigaction
84	.long	__sys_rt_sigreturn
85	.long	sys_rt_sigprocmask
86	.long	sys_rt_sigpending	/* 70 */
87	.long	sys_rt_sigtimedwait
88	.long	sys_rt_sigqueueinfo
89	.long	__sys_rt_sigsuspend
90	.long	sys_sethostname
91	.long	sys_setrlimit		/* 75 */
92	.long	sys_getrlimit
93	.long	sys_getrusage
94	.long	sys_gettimeofday
95	.long	sys_settimeofday
96	.long	sys_getgroups		/* 80 */
97	.long	sys_setgroups
98	.long	sys_select
99	.long	sys_symlink
100	.long	sys_fchdir
101	.long	sys_readlink		/* 85 */
102	.long	sys_pread64
103	.long	sys_pwrite64
104	.long	sys_swapon
105	.long	sys_reboot
106	.long	__sys_mmap2		/* 90 */
107	.long	sys_munmap
108	.long	sys_truncate
109	.long	sys_ftruncate
110	.long	sys_fchmod
111	.long	sys_fchown		/* 95 */
112	.long	sys_getpriority
113	.long	sys_setpriority
114	.long	sys_wait4
115	.long	sys_statfs
116	.long	sys_fstatfs		/* 100 */
117	.long	sys_vhangup
118	.long	sys_sigaltstack
119	.long	sys_syslog
120	.long	sys_setitimer
121	.long	sys_getitimer		/* 105 */
122	.long	sys_swapoff
123	.long	sys_sysinfo
124	.long	sys_ni_syscall		/* was sys_ipc briefly */
125	.long	sys_sendfile
126	.long	sys_setdomainname	/* 110 */
127	.long	sys_newuname
128	.long	sys_adjtimex
129	.long	sys_mprotect
130	.long	sys_vfork
131	.long	sys_init_module		/* 115 */
132	.long	sys_delete_module
133	.long	sys_quotactl
134	.long	sys_getpgid
135	.long	sys_bdflush
136	.long	sys_sysfs		/* 120 */
137	.long	sys_personality
138	.long	sys_ni_syscall		/* reserved for afs_syscall */
139	.long	sys_getdents
140	.long	sys_flock
141	.long	sys_msync		/* 125 */
142	.long	sys_readv
143	.long	sys_writev
144	.long	sys_getsid
145	.long	sys_fdatasync
146	.long	sys_sysctl		/* 130 */
147	.long	sys_mlock
148	.long	sys_munlock
149	.long	sys_mlockall
150	.long	sys_munlockall
151	.long	sys_sched_setparam		/* 135 */
152	.long	sys_sched_getparam
153	.long	sys_sched_setscheduler
154	.long	sys_sched_getscheduler
155	.long	sys_sched_yield
156	.long	sys_sched_get_priority_max	/* 140 */
157	.long	sys_sched_get_priority_min
158	.long	sys_sched_rr_get_interval
159	.long	sys_nanosleep
160	.long	sys_poll
161	.long	sys_ni_syscall		/* 145 was nfsservctl */
162	.long	sys_setresgid
163	.long	sys_getresgid
164	.long	sys_prctl
165	.long	sys_socket
166	.long	sys_bind		/* 150 */
167	.long	sys_connect
168	.long	sys_listen
169	.long	sys_accept
170	.long	sys_getsockname
171	.long	sys_getpeername		/* 155 */
172	.long	sys_socketpair
173	.long	sys_send
174	.long	sys_recv
175	.long	__sys_sendto
176	.long	__sys_recvfrom		/* 160 */
177	.long	sys_shutdown
178	.long	sys_setsockopt
179	.long	sys_getsockopt
180	.long	sys_sendmsg
181	.long	sys_recvmsg		/* 165 */
182	.long	sys_truncate64
183	.long	sys_ftruncate64
184	.long	sys_stat64
185	.long	sys_lstat64
186	.long	sys_fstat64		/* 170 */
187	.long	sys_pivot_root
188	.long	sys_mincore
189	.long	sys_madvise
190	.long	sys_getdents64
191	.long	sys_fcntl64		/* 175 */
192	.long	sys_gettid
193	.long	sys_readahead
194	.long	sys_setxattr
195	.long	sys_lsetxattr
196	.long	sys_fsetxattr		/* 180 */
197	.long	sys_getxattr
198	.long	sys_lgetxattr
199	.long	sys_fgetxattr
200	.long	sys_listxattr
201	.long	sys_llistxattr		/* 185 */
202	.long	sys_flistxattr
203	.long	sys_removexattr
204	.long	sys_lremovexattr
205	.long	sys_fremovexattr
206	.long	sys_tkill		/* 190 */
207	.long	sys_sendfile64
208	.long	sys_futex
209	.long	sys_sched_setaffinity
210	.long	sys_sched_getaffinity
211	.long	sys_capget		/* 195 */
212	.long	sys_capset
213	.long	sys_io_setup
214	.long	sys_io_destroy
215	.long	sys_io_getevents
216	.long	sys_io_submit		/* 200 */
217	.long	sys_io_cancel
218	.long	sys_fadvise64
219	.long	sys_exit_group
220	.long	sys_lookup_dcookie
221	.long	sys_epoll_create	/* 205 */
222	.long	sys_epoll_ctl
223	.long	sys_epoll_wait
224	.long	sys_remap_file_pages
225	.long	sys_set_tid_address
226	.long	sys_timer_create	/* 210 */
227	.long	sys_timer_settime
228	.long	sys_timer_gettime
229	.long	sys_timer_getoverrun
230	.long	sys_timer_delete
231	.long	sys_clock_settime	/* 215 */
232	.long	sys_clock_gettime
233	.long	sys_clock_getres
234	.long	sys_clock_nanosleep
235	.long	sys_statfs64
236	.long	sys_fstatfs64		/* 220 */
237	.long	sys_tgkill
238	.long	sys_ni_syscall		/* reserved for TUX */
239	.long	sys_utimes
240	.long	sys_fadvise64_64
241	.long	sys_cacheflush		/* 225 */
242	.long	sys_ni_syscall		/* sys_vserver */
243	.long	sys_mq_open
244	.long	sys_mq_unlink
245	.long	sys_mq_timedsend
246	.long	sys_mq_timedreceive	/* 230 */
247	.long	sys_mq_notify
248	.long	sys_mq_getsetattr
249	.long	sys_kexec_load
250	.long	sys_waitid
251	.long	sys_add_key		/* 235 */
252	.long	sys_request_key
253	.long	sys_keyctl
254	.long	sys_ioprio_set
255	.long	sys_ioprio_get
256	.long	sys_inotify_init	/* 240 */
257	.long	sys_inotify_add_watch
258	.long	sys_inotify_rm_watch
259	.long	sys_openat
260	.long	sys_mkdirat
261	.long	sys_mknodat		/* 245 */
262	.long	sys_fchownat
263	.long	sys_futimesat
264	.long	sys_fstatat64
265	.long	sys_unlinkat
266	.long	sys_renameat		/* 250 */
267	.long	sys_linkat
268	.long	sys_symlinkat
269	.long	sys_readlinkat
270	.long	sys_fchmodat
271	.long	sys_faccessat		/* 255 */
272	.long	__sys_pselect6
273	.long	sys_ppoll
274	.long	sys_unshare
275	.long	sys_set_robust_list
276	.long	sys_get_robust_list	/* 260 */
277	.long	__sys_splice
278	.long	__sys_sync_file_range
279	.long	sys_tee
280	.long	sys_vmsplice
281	.long	__sys_epoll_pwait	/* 265 */
282	.long	sys_msgget
283	.long	sys_msgsnd
284	.long	sys_msgrcv
285	.long	sys_msgctl
286	.long	sys_semget		/* 270 */
287	.long	sys_semop
288	.long	sys_semctl
289	.long	sys_semtimedop
290	.long	sys_shmat
291	.long	sys_shmget		/* 275 */
292	.long	sys_shmdt
293	.long	sys_shmctl
294	.long	sys_utimensat
295	.long	sys_signalfd
296	.long	sys_ni_syscall		/* 280, was sys_timerfd */
297	.long	sys_eventfd
298	.long	sys_recvmmsg
299	.long	sys_setns
300	.long	sys_pread64
301	.long	sys_pwrite64		/* 285 */
302	.long	sys_timerfd_create
303	.long	__sys_fallocate
304	.long	sys_timerfd_settime
305	.long	sys_timerfd_gettime
306	.long	sys_signalfd4		/* 290 */
307	.long	sys_eventfd2
308	.long	sys_epoll_create1
309	.long	sys_dup3
310	.long	sys_pipe2
311	.long	sys_inotify_init1	/* 295 */
312	.long	sys_preadv
313	.long	sys_pwritev
314	.long	sys_rt_tgsigqueueinfo
315	.long	sys_perf_event_open
316	.long	sys_recvmmsg		/* 300 */
317	.long	sys_fanotify_init
318	.long	__sys_fanotify_mark
319	.long	sys_prlimit64
320	.long	sys_name_to_handle_at
321	.long	sys_open_by_handle_at	/* 305 */
322	.long	sys_clock_adjtime
323	.long	sys_syncfs
324	.long	sys_sendmmsg
325	.long	__sys_process_vm_readv
326	.long	__sys_process_vm_writev	/* 310 */
327	.long	sys_kcmp
328	.long	sys_finit_module
329	.long	sys_sched_setattr
330	.long	sys_sched_getattr
331	.long	sys_renameat2		/* 315 */
332	.long	sys_seccomp
333	.long	sys_getrandom
334	.long	sys_memfd_create
335	.long	sys_bpf
336	.long	sys_execveat		/* 320 */
337	.long	sys_ni_syscall		/* r8 is saturated at nr_syscalls */
338