Linux 3.11-rc3
[cris-mirror.git] / arch / h8300 / kernel / syscalls.S
blobc55e0ed270d5c85fde8020ab83af180b10e847d0
1 /* Systemcall Entry Table */
2 #include <linux/sys.h>
3 #include <asm/linkage.h>
4 #include <asm/unistd.h>
6 #define CALL(x) .long _ ## x
8 .globl _sys_call_table
10 #if defined(CONFIG_CPU_H8300H)
11         .h8300h
12 #endif
13 #if defined(CONFIG_CPU_H8S)
14         .h8300s
15 #endif
16         .section .text
17         .align  2
18 _sys_call_table:
19         CALL(sys_ni_syscall)            /* 0  -  old "setup()" system call*/
20         CALL(sys_exit)
21         CALL(sys_fork)
22         CALL(sys_read)
23         CALL(sys_write)
24         CALL(sys_open)                  /* 5 */
25         CALL(sys_close)
26         CALL(sys_waitpid)
27         CALL(sys_creat)
28         CALL(sys_link)
29         CALL(sys_unlink)                /* 10 */
30         CALL(sys_execve)
31         CALL(sys_chdir)
32         CALL(sys_time)
33         CALL(sys_mknod)
34         CALL(sys_chmod)                 /* 15 */
35         CALL(sys_chown16)
36         CALL(sys_ni_syscall)            /* old break syscall holder */
37         CALL(sys_stat)
38         CALL(sys_lseek)
39         CALL(sys_getpid)                /* 20 */
40         CALL(sys_mount)
41         CALL(sys_oldumount)
42         CALL(sys_setuid16)
43         CALL(sys_getuid16)
44         CALL(sys_stime)                 /* 25 */
45         CALL(sys_ptrace)
46         CALL(sys_alarm)
47         CALL(sys_fstat)
48         CALL(sys_pause)
49         CALL(sys_utime)                 /* 30 */
50         CALL(sys_ni_syscall)            /* old stty syscall holder */
51         CALL(sys_ni_syscall)            /* old gtty syscall holder */
52         CALL(sys_access)
53         CALL(sys_nice)
54         CALL(sys_ni_syscall)            /* 35 old ftime syscall holder */
55         CALL(sys_sync)
56         CALL(sys_kill)
57         CALL(sys_rename)
58         CALL(sys_mkdir)
59         CALL(sys_rmdir)                 /* 40 */
60         CALL(sys_dup)
61         CALL(sys_pipe)
62         CALL(sys_times)
63         CALL(sys_ni_syscall)            /* old prof syscall holder */
64         CALL(sys_brk)                   /* 45 */
65         CALL(sys_setgid16)
66         CALL(sys_getgid16)
67         CALL(sys_signal)
68         CALL(sys_geteuid16)
69         CALL(sys_getegid16)             /* 50 */
70         CALL(sys_acct)
71         CALL(sys_umount)                /* recycled never used phys() */
72         CALL(sys_ni_syscall)            /* old lock syscall holder */
73         CALL(sys_ioctl)
74         CALL(sys_fcntl)                 /* 55 */
75         CALL(sys_ni_syscall)            /* old mpx syscall holder */
76         CALL(sys_setpgid)
77         CALL(sys_ni_syscall)            /* old ulimit syscall holder */
78         CALL(sys_ni_syscall)
79         CALL(sys_umask)                 /* 60 */
80         CALL(sys_chroot)
81         CALL(sys_ustat)
82         CALL(sys_dup2)
83         CALL(sys_getppid)
84         CALL(sys_getpgrp)               /* 65 */
85         CALL(sys_setsid)
86         CALL(sys_sigaction)
87         CALL(sys_sgetmask)
88         CALL(sys_ssetmask)
89         CALL(sys_setreuid16)            /* 70 */
90         CALL(sys_setregid16)
91         CALL(sys_sigsuspend)
92         CALL(sys_sigpending)
93         CALL(sys_sethostname)
94         CALL(sys_setrlimit)             /* 75 */
95         CALL(sys_old_getrlimit)
96         CALL(sys_getrusage)
97         CALL(sys_gettimeofday)
98         CALL(sys_settimeofday)
99         CALL(sys_getgroups16)           /* 80 */
100         CALL(sys_setgroups16)
101         CALL(sys_old_select)
102         CALL(sys_symlink)
103         CALL(sys_lstat)
104         CALL(sys_readlink)              /* 85 */
105         CALL(sys_uselib)
106         CALL(sys_swapon)
107         CALL(sys_reboot)
108         CALL(sys_old_readdir)
109         CALL(sys_old_mmap)              /* 90 */
110         CALL(sys_munmap)
111         CALL(sys_truncate)
112         CALL(sys_ftruncate)
113         CALL(sys_fchmod)
114         CALL(sys_fchown16)              /* 95 */
115         CALL(sys_getpriority)
116         CALL(sys_setpriority)
117         CALL(sys_ni_syscall)            /* old profil syscall holder */
118         CALL(sys_statfs)
119         CALL(sys_fstatfs)               /* 100 */
120         CALL(sys_ni_syscall)            /* ioperm for i386 */
121         CALL(sys_socketcall)
122         CALL(sys_syslog)
123         CALL(sys_setitimer)
124         CALL(sys_getitimer)             /* 105 */
125         CALL(sys_newstat)
126         CALL(sys_newlstat)
127         CALL(sys_newfstat)
128         CALL(sys_ni_syscall)
129         CALL(sys_ni_syscall)            /* iopl for i386 */ /* 110 */
130         CALL(sys_vhangup)
131         CALL(sys_ni_syscall)            /* obsolete idle() syscall */
132         CALL(sys_ni_syscall)            /* vm86old for i386 */
133         CALL(sys_wait4)
134         CALL(sys_swapoff)               /* 115 */
135         CALL(sys_sysinfo)
136         CALL(sys_ipc)
137         CALL(sys_fsync)
138         CALL(sys_sigreturn)
139         CALL(sys_clone)                 /* 120 */
140         CALL(sys_setdomainname)
141         CALL(sys_newuname)
142         CALL(sys_cacheflush)            /* modify_ldt for i386 */
143         CALL(sys_adjtimex)
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 */
150         CALL(sys_quotactl)
151         CALL(sys_getpgid)
152         CALL(sys_fchdir)
153         CALL(sys_bdflush)
154         CALL(sys_sysfs)                 /* 135 */
155         CALL(sys_personality)
156         CALL(sys_ni_syscall)            /* for afs_syscall */
157         CALL(sys_setfsuid16)
158         CALL(sys_setfsgid16)
159         CALL(sys_llseek)                /* 140 */
160         CALL(sys_getdents)
161         CALL(sys_select)
162         CALL(sys_flock)
163         CALL(sys_ni_syscall)            /* sys_msync */
164         CALL(sys_readv)                 /* 145 */
165         CALL(sys_writev)
166         CALL(sys_getsid)
167         CALL(sys_fdatasync)
168         CALL(sys_sysctl)
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)
181         CALL(sys_nanosleep)
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 */
187         CALL(sys_poll)
188         CALL(sys_ni_syscall)            /* old nfsservctl */
189         CALL(sys_setresgid16)           /* 170 */
190         CALL(sys_getresgid16)
191         CALL(sys_prctl)
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 */
200         CALL(sys_pwrite64)
201         CALL(sys_lchown16);
202         CALL(sys_getcwd)
203         CALL(sys_capget)
204         CALL(sys_capset)                /* 185 */
205         CALL(sys_sigaltstack)
206         CALL(sys_sendfile)
207         CALL(sys_ni_syscall)            /* streams1 */
208         CALL(sys_ni_syscall)            /* streams2 */
209         CALL(sys_vfork)                 /* 190 */
210         CALL(sys_getrlimit)
211         CALL(sys_mmap_pgoff)
212         CALL(sys_truncate64)
213         CALL(sys_ftruncate64)
214         CALL(sys_stat64)                /* 195 */
215         CALL(sys_lstat64)
216         CALL(sys_fstat64)
217         CALL(sys_chown)
218         CALL(sys_getuid)
219         CALL(sys_getgid)                /* 200 */
220         CALL(sys_geteuid)
221         CALL(sys_getegid)
222         CALL(sys_setreuid)
223         CALL(sys_setregid)
224         CALL(sys_getgroups)             /* 205 */
225         CALL(sys_setgroups)
226         CALL(sys_fchown)
227         CALL(sys_setresuid)
228         CALL(sys_getresuid)
229         CALL(sys_setresgid)             /* 210 */
230         CALL(sys_getresgid)
231         CALL(sys_lchown)
232         CALL(sys_setuid)
233         CALL(sys_setgid)
234         CALL(sys_setfsuid)              /* 215 */
235         CALL(sys_setfsgid)
236         CALL(sys_pivot_root)
237         CALL(sys_ni_syscall)
238         CALL(sys_ni_syscall)
239         CALL(sys_getdents64)            /* 220 */
240         CALL(sys_fcntl64)
241         CALL(sys_ni_syscall)            /* reserved TUX */
242         CALL(sys_ni_syscall)            /* reserved Security */
243         CALL(sys_gettid)
244         CALL(sys_readahead)             /* 225 */
245         CALL(sys_setxattr)
246         CALL(sys_lsetxattr)
247         CALL(sys_fsetxattr)
248         CALL(sys_getxattr)
249         CALL(sys_lgetxattr)             /* 230 */
250         CALL(sys_fgetxattr)
251         CALL(sys_listxattr)
252         CALL(sys_llistxattr)
253         CALL(sys_flistxattr)
254         CALL(sys_removexattr)           /* 235 */
255         CALL(sys_lremovexattr)
256         CALL(sys_fremovexattr)
257         CALL(sys_tkill)
258         CALL(sys_sendfile64)
259         CALL(sys_futex)                 /* 240 */
260         CALL(sys_sched_setaffinity)
261         CALL(sys_sched_getaffinity)
262         CALL(sys_ni_syscall)
263         CALL(sys_ni_syscall)
264         CALL(sys_io_setup)              /* 245 */
265         CALL(sys_io_destroy)
266         CALL(sys_io_getevents)
267         CALL(sys_io_submit)
268         CALL(sys_io_cancel)
269         CALL(sys_fadvise64)             /* 250 */
270         CALL(sys_ni_syscall)
271         CALL(sys_exit_group)
272         CALL(sys_lookup_dcookie)
273         CALL(sys_epoll_create)
274         CALL(sys_epoll_ctl)             /* 255 */
275         CALL(sys_epoll_wait)
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)
287         CALL(sys_statfs64)
288         CALL(sys_fstatfs64)
289         CALL(sys_tgkill)                /* 270 */
290         CALL(sys_utimes)
291         CALL(sys_fadvise64_64)
292         CALL(sys_ni_syscall)            /* sys_vserver */
293         CALL(sys_ni_syscall)
294         CALL(sys_get_mempolicy)         /* 275 */
295         CALL(sys_set_mempolicy)
296         CALL(sys_mq_open)
297         CALL(sys_mq_unlink)
298         CALL(sys_mq_timedsend)
299         CALL(sys_mq_timedreceive)       /* 280 */
300         CALL(sys_mq_notify)
301         CALL(sys_mq_getsetattr)
302         CALL(sys_waitid)
303         CALL(sys_ni_syscall)            /* sys_kexec_load */
304         CALL(sys_add_key)               /* 285 */
305         CALL(sys_request_key)
306         CALL(sys_keyctl)
307         CALL(sys_ioprio_set)
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 */
314         CALL(sys_mkdirat)
315         CALL(sys_mknodat)
316         CALL(sys_fchownat)
317         CALL(sys_futimesat)
318         CALL(sys_fstatat64)             /* 300 */
319         CALL(sys_unlinkat)
320         CALL(sys_renameat)
321         CALL(sys_linkat)
322         CALL(sys_symlinkat)
323         CALL(sys_readlinkat)            /* 305 */
324         CALL(sys_fchmodat)
325         CALL(sys_faccessat)
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)
331         CALL(sys_splice)
332         CALL(sys_sync_file_range)
333         CALL(sys_tee)                   /* 315 */
334         CALL(sys_vmsplice)
335         CALL(sys_ni_syscall)            /* sys_move_pages */
336         CALL(sys_getcpu)
337         CALL(sys_ni_syscall)            /* sys_epoll_pwait */
338         CALL(sys_setns)                 /* 320 */