1 /* Systemcall Entry Table */
3 #include <asm/linkage.h>
4 #include <asm/unistd.h>
6 #define CALL(x) .long _ ## x
10 #if defined(CONFIG_CPU_H8300H)
13 #if defined(CONFIG_CPU_H8S)
19 CALL(sys_ni_syscall) /* 0 - old "setup()" system call*/
24 CALL(sys_open) /* 5 */
29 CALL(sys_unlink) /* 10 */
34 CALL(sys_chmod) /* 15 */
36 CALL(sys_ni_syscall) /* old break syscall holder */
39 CALL(sys_getpid) /* 20 */
44 CALL(sys_stime) /* 25 */
49 CALL(sys_utime) /* 30 */
50 CALL(sys_ni_syscall) /* old stty syscall holder */
51 CALL(sys_ni_syscall) /* old gtty syscall holder */
54 CALL(sys_ni_syscall) /* 35 old ftime syscall holder */
59 CALL(sys_rmdir) /* 40 */
63 CALL(sys_ni_syscall) /* old prof syscall holder */
64 CALL(sys_brk) /* 45 */
69 CALL(sys_getegid16) /* 50 */
71 CALL(sys_umount) /* recycled never used phys() */
72 CALL(sys_ni_syscall) /* old lock syscall holder */
74 CALL(sys_fcntl) /* 55 */
75 CALL(sys_ni_syscall) /* old mpx syscall holder */
77 CALL(sys_ni_syscall) /* old ulimit syscall holder */
79 CALL(sys_umask) /* 60 */
84 CALL(sys_getpgrp) /* 65 */
89 CALL(sys_setreuid16) /* 70 */
94 CALL(sys_setrlimit) /* 75 */
95 CALL(sys_old_getrlimit)
97 CALL(sys_gettimeofday)
98 CALL(sys_settimeofday)
99 CALL(sys_getgroups16) /* 80 */
100 CALL(sys_setgroups16)
104 CALL(sys_readlink) /* 85 */
108 CALL(sys_old_readdir)
109 CALL(sys_old_mmap) /* 90 */
114 CALL(sys_fchown16) /* 95 */
115 CALL(sys_getpriority)
116 CALL(sys_setpriority)
117 CALL(sys_ni_syscall) /* old profil syscall holder */
119 CALL(sys_fstatfs) /* 100 */
120 CALL(sys_ni_syscall) /* ioperm for i386 */
124 CALL(sys_getitimer) /* 105 */
129 CALL(sys_ni_syscall) /* iopl for i386 */ /* 110 */
131 CALL(sys_ni_syscall) /* obsolete idle() syscall */
132 CALL(sys_ni_syscall) /* vm86old for i386 */
134 CALL(sys_swapoff) /* 115 */
139 CALL(sys_clone) /* 120 */
140 CALL(sys_setdomainname)
142 CALL(sys_cacheflush) /* modify_ldt for i386 */
144 CALL(sys_ni_syscall) /* 125 sys_mprotect */
145 CALL(sys_sigprocmask)
146 CALL(sys_ni_syscall) /* sys_create_module */
147 CALL(sys_init_module)
148 CALL(sys_delete_module)
149 CALL(sys_ni_syscall) /* 130 sys_get_kernel_syms */
154 CALL(sys_sysfs) /* 135 */
155 CALL(sys_personality)
156 CALL(sys_ni_syscall) /* for afs_syscall */
159 CALL(sys_llseek) /* 140 */
163 CALL(sys_ni_syscall) /* sys_msync */
164 CALL(sys_readv) /* 145 */
169 CALL(sys_ni_syscall) /* 150 sys_mlock */
170 CALL(sys_ni_syscall) /* sys_munlock */
171 CALL(sys_ni_syscall) /* sys_mlockall */
172 CALL(sys_ni_syscall) /* sys_munlockall */
173 CALL(sys_sched_setparam)
174 CALL(sys_sched_getparam) /* 155 */
175 CALL(sys_sched_setscheduler)
176 CALL(sys_sched_getscheduler)
177 CALL(sys_sched_yield)
178 CALL(sys_sched_get_priority_max)
179 CALL(sys_sched_get_priority_min) /* 160 */
180 CALL(sys_sched_rr_get_interval)
182 CALL(sys_ni_syscall) /* sys_mremap */
183 CALL(sys_setresuid16)
184 CALL(sys_getresuid16) /* 165 */
185 CALL(sys_ni_syscall) /* for vm86 */
186 CALL(sys_ni_syscall) /* sys_query_module */
188 CALL(sys_ni_syscall) /* old nfsservctl */
189 CALL(sys_setresgid16) /* 170 */
190 CALL(sys_getresgid16)
192 CALL(sys_rt_sigreturn)
193 CALL(sys_rt_sigaction)
194 CALL(sys_rt_sigprocmask) /* 175 */
195 CALL(sys_rt_sigpending)
196 CALL(sys_rt_sigtimedwait)
197 CALL(sys_rt_sigqueueinfo)
198 CALL(sys_rt_sigsuspend)
199 CALL(sys_pread64) /* 180 */
204 CALL(sys_capset) /* 185 */
205 CALL(sys_sigaltstack)
207 CALL(sys_ni_syscall) /* streams1 */
208 CALL(sys_ni_syscall) /* streams2 */
209 CALL(sys_vfork) /* 190 */
213 CALL(sys_ftruncate64)
214 CALL(sys_stat64) /* 195 */
219 CALL(sys_getgid) /* 200 */
224 CALL(sys_getgroups) /* 205 */
229 CALL(sys_setresgid) /* 210 */
234 CALL(sys_setfsuid) /* 215 */
239 CALL(sys_getdents64) /* 220 */
241 CALL(sys_ni_syscall) /* reserved TUX */
242 CALL(sys_ni_syscall) /* reserved Security */
244 CALL(sys_readahead) /* 225 */
249 CALL(sys_lgetxattr) /* 230 */
254 CALL(sys_removexattr) /* 235 */
255 CALL(sys_lremovexattr)
256 CALL(sys_fremovexattr)
259 CALL(sys_futex) /* 240 */
260 CALL(sys_sched_setaffinity)
261 CALL(sys_sched_getaffinity)
264 CALL(sys_io_setup) /* 245 */
266 CALL(sys_io_getevents)
269 CALL(sys_fadvise64) /* 250 */
272 CALL(sys_lookup_dcookie)
273 CALL(sys_epoll_create)
274 CALL(sys_epoll_ctl) /* 255 */
276 CALL(sys_ni_syscall) /* sys_remap_file_pages */
277 CALL(sys_set_tid_address)
278 CALL(sys_timer_create)
279 CALL(sys_timer_settime) /* 260 */
280 CALL(sys_timer_gettime)
281 CALL(sys_timer_getoverrun)
282 CALL(sys_timer_delete)
283 CALL(sys_clock_settime)
284 CALL(sys_clock_gettime) /* 265 */
285 CALL(sys_clock_getres)
286 CALL(sys_clock_nanosleep)
289 CALL(sys_tgkill) /* 270 */
291 CALL(sys_fadvise64_64)
292 CALL(sys_ni_syscall) /* sys_vserver */
294 CALL(sys_get_mempolicy) /* 275 */
295 CALL(sys_set_mempolicy)
298 CALL(sys_mq_timedsend)
299 CALL(sys_mq_timedreceive) /* 280 */
301 CALL(sys_mq_getsetattr)
303 CALL(sys_ni_syscall) /* sys_kexec_load */
304 CALL(sys_add_key) /* 285 */
305 CALL(sys_request_key)
308 CALL(sys_ioprio_get) /* 290 */
309 CALL(sys_inotify_init)
310 CALL(sys_inotify_add_watch)
311 CALL(sys_inotify_rm_watch)
312 CALL(sys_migrate_pages)
313 CALL(sys_openat) /* 295 */
318 CALL(sys_fstatat64) /* 300 */
323 CALL(sys_readlinkat) /* 305 */
326 CALL(sys_ni_syscall) /* sys_pselect6 */
327 CALL(sys_ni_syscall) /* sys_ppoll */
328 CALL(sys_unshare) /* 310 */
329 CALL(sys_set_robust_list)
330 CALL(sys_get_robust_list)
332 CALL(sys_sync_file_range)
333 CALL(sys_tee) /* 315 */
335 CALL(sys_ni_syscall) /* sys_move_pages */
337 CALL(sys_ni_syscall) /* sys_epoll_pwait */
338 CALL(sys_setns) /* 320 */