1/*
2 *  linux/arch/arm/kernel/calls.S
3 *
4 *  Copyright (C) 1995-2003 Russell King
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 *  This file is included twice in entry-common.S
11 */
12#ifndef NR_syscalls
13#define NR_syscalls 288
14#else
15
16__syscall_start:
17/* 0 */		.long	SYMBOL_NAME(sys_ni_syscall)
18		.long	SYMBOL_NAME(sys_exit)
19		.long	SYMBOL_NAME(sys_fork_wrapper)
20		.long	SYMBOL_NAME(sys_read)
21		.long	SYMBOL_NAME(sys_write)
22/* 5 */		.long	SYMBOL_NAME(sys_open)
23		.long	SYMBOL_NAME(sys_close)
24		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_waitpid */
25		.long	SYMBOL_NAME(sys_creat)
26		.long	SYMBOL_NAME(sys_link)
27/* 10 */	.long	SYMBOL_NAME(sys_unlink)
28		.long	SYMBOL_NAME(sys_execve_wrapper)
29		.long	SYMBOL_NAME(sys_chdir)
30		.long	SYMBOL_NAME(sys_time)			/* used by libc4 */
31		.long	SYMBOL_NAME(sys_mknod)
32/* 15 */	.long	SYMBOL_NAME(sys_chmod)
33		.long	SYMBOL_NAME(sys_lchown16)
34		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_break */
35		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_stat */
36		.long	SYMBOL_NAME(sys_lseek)
37/* 20 */	.long	SYMBOL_NAME(sys_getpid)
38		.long	SYMBOL_NAME(sys_mount)
39		.long	SYMBOL_NAME(sys_oldumount)		/* used by libc4 */
40		.long	SYMBOL_NAME(sys_setuid16)
41		.long	SYMBOL_NAME(sys_getuid16)
42/* 25 */	.long	SYMBOL_NAME(sys_stime)
43		.long	SYMBOL_NAME(sys_ptrace)
44		.long	SYMBOL_NAME(sys_alarm)			/* used by libc4 */
45		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_fstat */
46		.long	SYMBOL_NAME(sys_pause)
47/* 30 */	.long	SYMBOL_NAME(sys_utime)			/* used by libc4 */
48		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_stty */
49		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_getty */
50		.long	SYMBOL_NAME(sys_access)
51		.long	SYMBOL_NAME(sys_nice)
52/* 35 */	.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_ftime */
53		.long	SYMBOL_NAME(sys_sync)
54		.long	SYMBOL_NAME(sys_kill)
55		.long	SYMBOL_NAME(sys_rename)
56		.long	SYMBOL_NAME(sys_mkdir)
57/* 40 */	.long	SYMBOL_NAME(sys_rmdir)
58		.long	SYMBOL_NAME(sys_dup)
59		.long	SYMBOL_NAME(sys_pipe)
60		.long	SYMBOL_NAME(sys_times)
61		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_prof */
62/* 45 */	.long	SYMBOL_NAME(sys_brk)
63		.long	SYMBOL_NAME(sys_setgid16)
64		.long	SYMBOL_NAME(sys_getgid16)
65		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_signal */
66		.long	SYMBOL_NAME(sys_geteuid16)
67/* 50 */	.long	SYMBOL_NAME(sys_getegid16)
68		.long	SYMBOL_NAME(sys_acct)
69		.long	SYMBOL_NAME(sys_umount)
70		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_lock */
71		.long	SYMBOL_NAME(sys_ioctl)
72/* 55 */	.long	SYMBOL_NAME(sys_fcntl)
73		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_mpx */
74		.long	SYMBOL_NAME(sys_setpgid)
75		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_ulimit */
76		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_olduname */
77/* 60 */	.long	SYMBOL_NAME(sys_umask)
78		.long	SYMBOL_NAME(sys_chroot)
79		.long	SYMBOL_NAME(sys_ustat)
80		.long	SYMBOL_NAME(sys_dup2)
81		.long	SYMBOL_NAME(sys_getppid)
82/* 65 */	.long	SYMBOL_NAME(sys_getpgrp)
83		.long	SYMBOL_NAME(sys_setsid)
84		.long	SYMBOL_NAME(sys_sigaction)
85		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_sgetmask */
86		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_ssetmask */
87/* 70 */	.long	SYMBOL_NAME(sys_setreuid16)
88		.long	SYMBOL_NAME(sys_setregid16)
89		.long	SYMBOL_NAME(sys_sigsuspend_wrapper)
90		.long	SYMBOL_NAME(sys_sigpending)
91		.long	SYMBOL_NAME(sys_sethostname)
92/* 75 */	.long	SYMBOL_NAME(sys_setrlimit)
93		.long	SYMBOL_NAME(sys_old_getrlimit)		/* used by libc4 */
94		.long	SYMBOL_NAME(sys_getrusage)
95		.long	SYMBOL_NAME(sys_gettimeofday)
96		.long	SYMBOL_NAME(sys_settimeofday)
97/* 80 */	.long	SYMBOL_NAME(sys_getgroups16)
98		.long	SYMBOL_NAME(sys_setgroups16)
99		.long	SYMBOL_NAME(old_select)			/* used by libc4 */
100		.long	SYMBOL_NAME(sys_symlink)
101		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_lstat */
102/* 85 */	.long	SYMBOL_NAME(sys_readlink)
103		.long	SYMBOL_NAME(sys_uselib)
104		.long	SYMBOL_NAME(sys_swapon)
105		.long	SYMBOL_NAME(sys_reboot)
106		.long	SYMBOL_NAME(old_readdir)		/* used by libc4 */
107/* 90 */	.long	SYMBOL_NAME(old_mmap)			/* used by libc4 */
108		.long	SYMBOL_NAME(sys_munmap)
109		.long	SYMBOL_NAME(sys_truncate)
110		.long	SYMBOL_NAME(sys_ftruncate)
111		.long	SYMBOL_NAME(sys_fchmod)
112/* 95 */	.long	SYMBOL_NAME(sys_fchown16)
113		.long	SYMBOL_NAME(sys_getpriority)
114		.long	SYMBOL_NAME(sys_setpriority)
115		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_profil */
116		.long	SYMBOL_NAME(sys_statfs)
117/* 100 */	.long	SYMBOL_NAME(sys_fstatfs)
118		.long	SYMBOL_NAME(sys_ni_syscall)
119		.long	SYMBOL_NAME(sys_socketcall)
120		.long	SYMBOL_NAME(sys_syslog)
121		.long	SYMBOL_NAME(sys_setitimer)
122/* 105 */	.long	SYMBOL_NAME(sys_getitimer)
123		.long	SYMBOL_NAME(sys_newstat)
124		.long	SYMBOL_NAME(sys_newlstat)
125		.long	SYMBOL_NAME(sys_newfstat)
126		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_uname */
127/* 110 */	.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_iopl */
128		.long	SYMBOL_NAME(sys_vhangup)
129		.long	SYMBOL_NAME(sys_ni_syscall)
130		.long	SYMBOL_NAME(sys_syscall)		/* call a syscall */
131		.long	SYMBOL_NAME(sys_wait4)
132/* 115 */	.long	SYMBOL_NAME(sys_swapoff)
133		.long	SYMBOL_NAME(sys_sysinfo)
134		.long	SYMBOL_NAME(sys_ipc)
135		.long	SYMBOL_NAME(sys_fsync)
136		.long	SYMBOL_NAME(sys_sigreturn_wrapper)
137/* 120 */	.long	SYMBOL_NAME(sys_clone_wapper)
138		.long	SYMBOL_NAME(sys_setdomainname)
139		.long	SYMBOL_NAME(sys_newuname)
140		.long	SYMBOL_NAME(sys_ni_syscall)
141		.long	SYMBOL_NAME(sys_adjtimex)
142/* 125 */	.long	SYMBOL_NAME(sys_mprotect)
143		.long	SYMBOL_NAME(sys_sigprocmask)
144		.long	SYMBOL_NAME(sys_create_module)
145		.long	SYMBOL_NAME(sys_init_module)
146		.long	SYMBOL_NAME(sys_delete_module)
147/* 130 */	.long	SYMBOL_NAME(sys_get_kernel_syms)
148		.long	SYMBOL_NAME(sys_quotactl)
149		.long	SYMBOL_NAME(sys_getpgid)
150		.long	SYMBOL_NAME(sys_fchdir)
151		.long	SYMBOL_NAME(sys_bdflush)
152/* 135 */	.long	SYMBOL_NAME(sys_sysfs)
153		.long	SYMBOL_NAME(sys_personality)
154		.long	SYMBOL_NAME(sys_ni_syscall)		/* .long	_sys_afs_syscall */
155		.long	SYMBOL_NAME(sys_setfsuid16)
156		.long	SYMBOL_NAME(sys_setfsgid16)
157/* 140 */	.long	SYMBOL_NAME(sys_llseek)
158		.long	SYMBOL_NAME(sys_getdents)
159		.long	SYMBOL_NAME(sys_select)
160		.long	SYMBOL_NAME(sys_flock)
161		.long	SYMBOL_NAME(sys_msync)
162/* 145 */	.long	SYMBOL_NAME(sys_readv)
163		.long	SYMBOL_NAME(sys_writev)
164		.long	SYMBOL_NAME(sys_getsid)
165		.long	SYMBOL_NAME(sys_fdatasync)
166		.long	SYMBOL_NAME(sys_sysctl)
167/* 150 */	.long	SYMBOL_NAME(sys_mlock)
168		.long	SYMBOL_NAME(sys_munlock)
169		.long	SYMBOL_NAME(sys_mlockall)
170		.long	SYMBOL_NAME(sys_munlockall)
171		.long	SYMBOL_NAME(sys_sched_setparam)
172/* 155 */	.long	SYMBOL_NAME(sys_sched_getparam)
173		.long	SYMBOL_NAME(sys_sched_setscheduler)
174		.long	SYMBOL_NAME(sys_sched_getscheduler)
175		.long	SYMBOL_NAME(sys_sched_yield)
176		.long	SYMBOL_NAME(sys_sched_get_priority_max)
177/* 160 */	.long	SYMBOL_NAME(sys_sched_get_priority_min)
178		.long	SYMBOL_NAME(sys_sched_rr_get_interval)
179		.long	SYMBOL_NAME(sys_nanosleep)
180		.long	SYMBOL_NAME(sys_arm_mremap)
181		.long	SYMBOL_NAME(sys_setresuid16)
182/* 165 */	.long	SYMBOL_NAME(sys_getresuid16)
183		.long	SYMBOL_NAME(sys_ni_syscall)
184		.long	SYMBOL_NAME(sys_query_module)
185		.long	SYMBOL_NAME(sys_poll)
186		.long	SYMBOL_NAME(sys_nfsservctl)
187/* 170 */	.long	SYMBOL_NAME(sys_setresgid16)
188		.long	SYMBOL_NAME(sys_getresgid16)
189		.long	SYMBOL_NAME(sys_prctl)
190		.long	SYMBOL_NAME(sys_rt_sigreturn_wrapper)
191		.long	SYMBOL_NAME(sys_rt_sigaction)
192/* 175 */	.long	SYMBOL_NAME(sys_rt_sigprocmask)
193		.long	SYMBOL_NAME(sys_rt_sigpending)
194		.long	SYMBOL_NAME(sys_rt_sigtimedwait)
195		.long	SYMBOL_NAME(sys_rt_sigqueueinfo)
196		.long	SYMBOL_NAME(sys_rt_sigsuspend_wrapper)
197/* 180 */	.long	SYMBOL_NAME(sys_pread)
198		.long	SYMBOL_NAME(sys_pwrite)
199		.long	SYMBOL_NAME(sys_chown16)
200		.long	SYMBOL_NAME(sys_getcwd)
201		.long	SYMBOL_NAME(sys_capget)
202/* 185 */	.long	SYMBOL_NAME(sys_capset)
203		.long	SYMBOL_NAME(sys_sigaltstack_wrapper)
204		.long	SYMBOL_NAME(sys_sendfile)
205		.long	SYMBOL_NAME(sys_ni_syscall)
206		.long	SYMBOL_NAME(sys_ni_syscall)
207/* 190 */	.long	SYMBOL_NAME(sys_vfork_wrapper)
208		.long	SYMBOL_NAME(sys_getrlimit)
209		.long	SYMBOL_NAME(sys_mmap2)
210		.long	SYMBOL_NAME(sys_truncate64)
211		.long	SYMBOL_NAME(sys_ftruncate64)
212/* 195 */	.long	SYMBOL_NAME(sys_stat64)
213		.long	SYMBOL_NAME(sys_lstat64)
214		.long	SYMBOL_NAME(sys_fstat64)
215		.long	SYMBOL_NAME(sys_lchown)
216		.long	SYMBOL_NAME(sys_getuid)
217/* 200 */	.long	SYMBOL_NAME(sys_getgid)
218		.long	SYMBOL_NAME(sys_geteuid)
219		.long	SYMBOL_NAME(sys_getegid)
220		.long	SYMBOL_NAME(sys_setreuid)
221		.long	SYMBOL_NAME(sys_setregid)
222/* 205 */	.long	SYMBOL_NAME(sys_getgroups)
223		.long	SYMBOL_NAME(sys_setgroups)
224		.long	SYMBOL_NAME(sys_fchown)
225		.long	SYMBOL_NAME(sys_setresuid)
226		.long	SYMBOL_NAME(sys_getresuid)
227/* 210 */	.long	SYMBOL_NAME(sys_setresgid)
228		.long	SYMBOL_NAME(sys_getresgid)
229		.long	SYMBOL_NAME(sys_chown)
230		.long	SYMBOL_NAME(sys_setuid)
231		.long	SYMBOL_NAME(sys_setgid)
232/* 215 */	.long	SYMBOL_NAME(sys_setfsuid)
233		.long	SYMBOL_NAME(sys_setfsgid)
234		.long	SYMBOL_NAME(sys_getdents64)
235		.long	SYMBOL_NAME(sys_pivot_root)
236		.long	SYMBOL_NAME(sys_mincore)
237/* 220 */	.long	SYMBOL_NAME(sys_madvise)
238		.long	SYMBOL_NAME(sys_fcntl64)
239		.long	SYMBOL_NAME(sys_ni_syscall) /* TUX */
240		.long	SYMBOL_NAME(sys_ni_syscall) /* Security */
241		.long	SYMBOL_NAME(sys_gettid)
242/* 225 */	.long	SYMBOL_NAME(sys_readahead)
243		.long	SYMBOL_NAME(sys_ni_syscall) /* setxattr */
244		.long	SYMBOL_NAME(sys_ni_syscall) /* lsetxattr */
245		.long	SYMBOL_NAME(sys_ni_syscall) /* fsetxattr */
246		.long	SYMBOL_NAME(sys_ni_syscall) /* getxattr */
247/* 230 */	.long	SYMBOL_NAME(sys_ni_syscall) /* lgetxattr */
248		.long	SYMBOL_NAME(sys_ni_syscall) /* fgetxattr */
249		.long	SYMBOL_NAME(sys_ni_syscall) /* listxattr */
250		.long	SYMBOL_NAME(sys_ni_syscall) /* llistxattr */
251		.long	SYMBOL_NAME(sys_ni_syscall) /* flistxattr */
252/* 235 */	.long	SYMBOL_NAME(sys_ni_syscall) /* removexattr */
253		.long	SYMBOL_NAME(sys_ni_syscall) /* lremovexattr */
254		.long	SYMBOL_NAME(sys_ni_syscall) /* fremovexattr */
255		.long	SYMBOL_NAME(sys_tkill)
256		.long	SYMBOL_NAME(sys_ni_syscall) /* sendfile64 */
257/* 240 */	.long	SYMBOL_NAME(sys_ni_syscall) /* futex */
258		.long	SYMBOL_NAME(sys_ni_syscall) /* sched_setaffinity */
259		.long	SYMBOL_NAME(sys_ni_syscall) /* sched_getaffinity */
260		.long	SYMBOL_NAME(sys_ni_syscall) /* io_setup */
261		.long	SYMBOL_NAME(sys_ni_syscall) /* io_destroy */
262/* 245 */	.long	SYMBOL_NAME(sys_ni_syscall) /* io_getevents */
263		.long	SYMBOL_NAME(sys_ni_syscall) /* io_submit */
264		.long	SYMBOL_NAME(sys_ni_syscall) /* io_cancel */
265		.long	SYMBOL_NAME(sys_ni_syscall) /* exit_group */
266		.long	SYMBOL_NAME(sys_ni_syscall) /* lookup_dcookie */
267/* 250 */	.long	SYMBOL_NAME(sys_ni_syscall) /* epoll_create */
268		.long	SYMBOL_NAME(sys_ni_syscall) /* epoll_ctl */
269		.long	SYMBOL_NAME(sys_ni_syscall) /* epoll_wait */
270		.long	SYMBOL_NAME(sys_ni_syscall) /* remap_file_pages */
271		.long	SYMBOL_NAME(sys_ni_syscall) /* set_thread_area */
272/* 255 */	.long	SYMBOL_NAME(sys_ni_syscall) /* get_thread_area */
273		.long	SYMBOL_NAME(sys_ni_syscall) /* set_tid_address */
274__syscall_end:
275
276		.rept	NR_syscalls - (__syscall_end - __syscall_start) / 4
277			.long	SYMBOL_NAME(sys_ni_syscall)
278		.endr
279#endif
280