summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/calls.S
blob: c95eeb1b0da8c785f7cf051f641d5bfd72ba0302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
/*
 * linux/arch/arm/lib/calls.h
 *
 * Copyright (C) 1995-1998 Russell King
 *
 * This file is included twice in entry-common.S
 */
#ifndef NR_syscalls
#define NR_syscalls 256
#else

/* 0 */		.long	SYMBOL_NAME(sys_ni_syscall)
		.long	SYMBOL_NAME(sys_exit)
		.long	SYMBOL_NAME(sys_fork_wrapper)
		.long	SYMBOL_NAME(sys_read)
		.long	SYMBOL_NAME(sys_write)
/* 5 */		.long	SYMBOL_NAME(sys_open)
		.long	SYMBOL_NAME(sys_close)
		.long	SYMBOL_NAME(sys_waitpid)
		.long	SYMBOL_NAME(sys_creat)
		.long	SYMBOL_NAME(sys_link)
/* 10 */	.long	SYMBOL_NAME(sys_unlink)
		.long	SYMBOL_NAME(sys_execve_wrapper)
		.long	SYMBOL_NAME(sys_chdir)
		.long	SYMBOL_NAME(sys_time)
		.long	SYMBOL_NAME(sys_mknod)
/* 15 */	.long	SYMBOL_NAME(sys_chmod)
		.long	SYMBOL_NAME(sys_lchown)
		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_break */
		.long	SYMBOL_NAME(sys_stat)
		.long	SYMBOL_NAME(sys_lseek)
/* 20 */	.long	SYMBOL_NAME(sys_getpid)
		.long	SYMBOL_NAME(sys_mount_wrapper)
		.long	SYMBOL_NAME(sys_oldumount)
		.long	SYMBOL_NAME(sys_setuid)
		.long	SYMBOL_NAME(sys_getuid)
/* 25 */	.long	SYMBOL_NAME(sys_stime)
		.long	SYMBOL_NAME(sys_ptrace)
		.long	SYMBOL_NAME(sys_alarm)
		.long	SYMBOL_NAME(sys_fstat)
		.long	SYMBOL_NAME(sys_pause)
/* 30 */	.long	SYMBOL_NAME(sys_utime)
		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_stty */
		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_getty */
		.long	SYMBOL_NAME(sys_access)
		.long	SYMBOL_NAME(sys_nice)
/* 35 */	.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_ftime */
		.long	SYMBOL_NAME(sys_sync)
		.long	SYMBOL_NAME(sys_kill)
		.long	SYMBOL_NAME(sys_rename)
		.long	SYMBOL_NAME(sys_mkdir)
/* 40 */	.long	SYMBOL_NAME(sys_rmdir)
		.long	SYMBOL_NAME(sys_dup)
		.long	SYMBOL_NAME(sys_pipe)
		.long	SYMBOL_NAME(sys_times)
		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_prof */
/* 45 */	.long	SYMBOL_NAME(sys_brk)
		.long	SYMBOL_NAME(sys_setgid)
		.long	SYMBOL_NAME(sys_getgid)
		.long	SYMBOL_NAME(sys_signal)
		.long	SYMBOL_NAME(sys_geteuid)
/* 50 */	.long	SYMBOL_NAME(sys_getegid)
		.long	SYMBOL_NAME(sys_acct)
		.long	SYMBOL_NAME(sys_umount)
		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_lock */
		.long	SYMBOL_NAME(sys_ioctl)
/* 55 */	.long	SYMBOL_NAME(sys_fcntl)
		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_mpx */
		.long	SYMBOL_NAME(sys_setpgid)
		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_ulimit */
		.long	SYMBOL_NAME(sys_olduname)
/* 60 */	.long	SYMBOL_NAME(sys_umask)
		.long	SYMBOL_NAME(sys_chroot)
		.long	SYMBOL_NAME(sys_ustat)
		.long	SYMBOL_NAME(sys_dup2)
		.long	SYMBOL_NAME(sys_getppid)
/* 65 */	.long	SYMBOL_NAME(sys_getpgrp)
		.long	SYMBOL_NAME(sys_setsid)
		.long	SYMBOL_NAME(sys_sigaction)
		.long	SYMBOL_NAME(sys_sgetmask)
		.long	SYMBOL_NAME(sys_ssetmask)
/* 70 */	.long	SYMBOL_NAME(sys_setreuid)
		.long	SYMBOL_NAME(sys_setregid)
		.long	SYMBOL_NAME(sys_sigsuspend_wrapper)
		.long	SYMBOL_NAME(sys_sigpending)
		.long	SYMBOL_NAME(sys_sethostname)
/* 75 */	.long	SYMBOL_NAME(sys_setrlimit)
		.long	SYMBOL_NAME(sys_getrlimit)
		.long	SYMBOL_NAME(sys_getrusage)
		.long	SYMBOL_NAME(sys_gettimeofday)
		.long	SYMBOL_NAME(sys_settimeofday)
/* 80 */	.long	SYMBOL_NAME(sys_getgroups)
		.long	SYMBOL_NAME(sys_setgroups)
		.long	SYMBOL_NAME(old_select)
		.long	SYMBOL_NAME(sys_symlink)
		.long	SYMBOL_NAME(sys_lstat)
/* 85 */	.long	SYMBOL_NAME(sys_readlink)
		.long	SYMBOL_NAME(sys_uselib)
		.long	SYMBOL_NAME(sys_swapon)
		.long	SYMBOL_NAME(sys_reboot)
		.long	SYMBOL_NAME(old_readdir)
/* 90 */	.long	SYMBOL_NAME(old_mmap)
		.long	SYMBOL_NAME(sys_munmap)
		.long	SYMBOL_NAME(sys_truncate)
		.long	SYMBOL_NAME(sys_ftruncate)
		.long	SYMBOL_NAME(sys_fchmod)
/* 95 */	.long	SYMBOL_NAME(sys_fchown)
		.long	SYMBOL_NAME(sys_getpriority)
		.long	SYMBOL_NAME(sys_setpriority)
		.long	SYMBOL_NAME(sys_ni_syscall)		/* was sys_profil */
		.long	SYMBOL_NAME(sys_statfs)
/* 100 */	.long	SYMBOL_NAME(sys_fstatfs)
		.long	SYMBOL_NAME(sys_ni_syscall)
		.long	SYMBOL_NAME(sys_socketcall)
		.long	SYMBOL_NAME(sys_syslog)
		.long	SYMBOL_NAME(sys_setitimer)
/* 105 */	.long	SYMBOL_NAME(sys_getitimer)
		.long	SYMBOL_NAME(sys_newstat)
		.long	SYMBOL_NAME(sys_newlstat)
		.long	SYMBOL_NAME(sys_newfstat)
		.long	SYMBOL_NAME(sys_uname)
/* 110 */	.long	SYMBOL_NAME(sys_iopl)
		.long	SYMBOL_NAME(sys_vhangup)
		.long	SYMBOL_NAME(sys_ni_syscall)
		.long	SYMBOL_NAME(sys_syscall)		/* call a syscall */
		.long	SYMBOL_NAME(sys_wait4)
/* 115 */	.long	SYMBOL_NAME(sys_swapoff)
		.long	SYMBOL_NAME(sys_sysinfo)
		.long	SYMBOL_NAME(sys_ipc)
		.long	SYMBOL_NAME(sys_fsync)
		.long	SYMBOL_NAME(sys_sigreturn_wrapper)
/* 120 */	.long	SYMBOL_NAME(sys_clone_wapper)
		.long	SYMBOL_NAME(sys_setdomainname)
		.long	SYMBOL_NAME(sys_newuname)
		.long	SYMBOL_NAME(sys_ni_syscall)		/* .long	SYMBOL_NAME(sys_modify_ldt) */
		.long	SYMBOL_NAME(sys_adjtimex)
/* 125 */	.long	SYMBOL_NAME(sys_mprotect)
		.long	SYMBOL_NAME(sys_sigprocmask)
		.long	SYMBOL_NAME(sys_create_module)
		.long	SYMBOL_NAME(sys_init_module)
		.long	SYMBOL_NAME(sys_delete_module)
/* 130 */	.long	SYMBOL_NAME(sys_get_kernel_syms)
		.long	SYMBOL_NAME(sys_quotactl)
		.long	SYMBOL_NAME(sys_getpgid)
		.long	SYMBOL_NAME(sys_fchdir)
		.long	SYMBOL_NAME(sys_bdflush)
/* 135 */	.long	SYMBOL_NAME(sys_sysfs)
		.long	SYMBOL_NAME(sys_personality)
		.long	SYMBOL_NAME(sys_ni_syscall)		/* .long	_sys_afs_syscall */
		.long	SYMBOL_NAME(sys_setfsuid)
		.long	SYMBOL_NAME(sys_setfsgid)
/* 140 */	.long	SYMBOL_NAME(sys_llseek_wrapper)
		.long	SYMBOL_NAME(sys_getdents)
		.long	SYMBOL_NAME(sys_select)
		.long	SYMBOL_NAME(sys_flock)
		.long	SYMBOL_NAME(sys_msync)
/* 145 */	.long	SYMBOL_NAME(sys_readv)
		.long	SYMBOL_NAME(sys_writev)
		.long	SYMBOL_NAME(sys_getsid)
		.long	SYMBOL_NAME(sys_fdatasync)
		.long	SYMBOL_NAME(sys_sysctl)
/* 150 */	.long	SYMBOL_NAME(sys_mlock)
		.long	SYMBOL_NAME(sys_munlock)
		.long	SYMBOL_NAME(sys_mlockall)
		.long	SYMBOL_NAME(sys_munlockall)
		.long	SYMBOL_NAME(sys_sched_setparam)
/* 155 */	.long	SYMBOL_NAME(sys_sched_getparam)
		.long	SYMBOL_NAME(sys_sched_setscheduler)
		.long	SYMBOL_NAME(sys_sched_getscheduler)
		.long	SYMBOL_NAME(sys_sched_yield)
		.long	SYMBOL_NAME(sys_sched_get_priority_max)
/* 160 */	.long	SYMBOL_NAME(sys_sched_get_priority_min)
		.long	SYMBOL_NAME(sys_sched_rr_get_interval)
		.long	SYMBOL_NAME(sys_nanosleep)
		.long	SYMBOL_NAME(sys_mremap)
		.long	SYMBOL_NAME(sys_setresuid)
/* 165 */	.long	SYMBOL_NAME(sys_getresuid)
		.long	SYMBOL_NAME(sys_ni_syscall)
		.long	SYMBOL_NAME(sys_query_module)
		.long	SYMBOL_NAME(sys_poll)
		.long	SYMBOL_NAME(sys_nfsservctl)
/* 170 */	.long	SYMBOL_NAME(sys_setresgid)
		.long	SYMBOL_NAME(sys_getresgid)
		.long	SYMBOL_NAME(sys_prctl)
		.long	SYMBOL_NAME(sys_rt_sigreturn_wrapper)
		.long	SYMBOL_NAME(sys_rt_sigaction)
/* 175 */	.long	SYMBOL_NAME(sys_rt_sigprocmask)
		.long	SYMBOL_NAME(sys_rt_sigpending)
		.long	SYMBOL_NAME(sys_rt_sigtimedwait)
		.long	SYMBOL_NAME(sys_rt_sigqueueinfo)
		.long	SYMBOL_NAME(sys_rt_sigsuspend_wrapper)
/* 180 */	.long	SYMBOL_NAME(sys_pread)
		.long	SYMBOL_NAME(sys_pwrite)
		.long	SYMBOL_NAME(sys_chown)
		.long	SYMBOL_NAME(sys_getcwd)
		.long	SYMBOL_NAME(sys_capget)
/* 185 */	.long	SYMBOL_NAME(sys_capset)
		.long	SYMBOL_NAME(sys_sigaltstack_wrapper)
		.long	SYMBOL_NAME(sys_sendfile)
		.long	SYMBOL_NAME(sys_ni_syscall)
		.long	SYMBOL_NAME(sys_ni_syscall)
/* 190 */	.long	SYMBOL_NAME(sys_vfork_wrapper)

		.rept	NR_syscalls-186
			.long	SYMBOL_NAME(sys_ni_syscall)
		.endr
#endif