diff options
author | Hirokazu Takata <takata@linux-m32r.org> | 2007-08-19 20:12:46 -0400 |
---|---|---|
committer | Hirokazu Takata <takata@linux-m32r.org> | 2007-09-02 22:30:19 -0400 |
commit | 9990b48a403fa465b4ff600cd8a7b5108d1bc135 (patch) | |
tree | 052986aad67ccb5d31cecaf528e4f00ca3be794e /arch/m32r/kernel/syscall_table.S | |
parent | de2232edb8d82aca938570eb6f136e2d70a26418 (diff) |
m32r: Separate syscall table from entry.S
- Separate sys_call_table from arch/m32r/kernel/entry.S and
move it to arch/m32r/kernel/system_call.S.
- Change sys_call_table section from .data to .rodata.
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Diffstat (limited to 'arch/m32r/kernel/syscall_table.S')
-rw-r--r-- | arch/m32r/kernel/syscall_table.S | 286 |
1 files changed, 286 insertions, 0 deletions
diff --git a/arch/m32r/kernel/syscall_table.S b/arch/m32r/kernel/syscall_table.S new file mode 100644 index 000000000000..751ac2a3d120 --- /dev/null +++ b/arch/m32r/kernel/syscall_table.S | |||
@@ -0,0 +1,286 @@ | |||
1 | ENTRY(sys_call_table) | ||
2 | .long sys_restart_syscall /* 0 - old "setup()" system call*/ | ||
3 | .long sys_exit | ||
4 | .long sys_fork | ||
5 | .long sys_read | ||
6 | .long sys_write | ||
7 | .long sys_open /* 5 */ | ||
8 | .long sys_close | ||
9 | .long sys_waitpid | ||
10 | .long sys_creat | ||
11 | .long sys_link | ||
12 | .long sys_unlink /* 10 */ | ||
13 | .long sys_execve | ||
14 | .long sys_chdir | ||
15 | .long sys_time | ||
16 | .long sys_mknod | ||
17 | .long sys_chmod /* 15 */ | ||
18 | .long sys_ni_syscall /* lchown16 syscall holder */ | ||
19 | .long sys_ni_syscall /* old break syscall holder */ | ||
20 | .long sys_ni_syscall /* old stat syscall holder */ | ||
21 | .long sys_lseek | ||
22 | .long sys_getpid /* 20 */ | ||
23 | .long sys_mount | ||
24 | .long sys_oldumount | ||
25 | .long sys_ni_syscall /* setuid16 syscall holder */ | ||
26 | .long sys_ni_syscall /* getuid16 syscall holder */ | ||
27 | .long sys_stime /* 25 */ | ||
28 | .long sys_ptrace | ||
29 | .long sys_alarm | ||
30 | .long sys_ni_syscall /* old fstat syscall holder */ | ||
31 | .long sys_pause | ||
32 | .long sys_utime /* 30 */ | ||
33 | .long sys_ni_syscall /* old stty syscall holder */ | ||
34 | .long sys_cachectl /* for M32R */ /* old gtty syscall holder */ | ||
35 | .long sys_access | ||
36 | .long sys_ni_syscall /* nice syscall holder */ | ||
37 | .long sys_ni_syscall /* 35 - old ftime syscall holder */ | ||
38 | .long sys_sync | ||
39 | .long sys_kill | ||
40 | .long sys_rename | ||
41 | .long sys_mkdir | ||
42 | .long sys_rmdir /* 40 */ | ||
43 | .long sys_dup | ||
44 | .long sys_pipe | ||
45 | .long sys_times | ||
46 | .long sys_ni_syscall /* old prof syscall holder */ | ||
47 | .long sys_brk /* 45 */ | ||
48 | .long sys_ni_syscall /* setgid16 syscall holder */ | ||
49 | .long sys_getgid /* will be unused */ | ||
50 | .long sys_ni_syscall /* signal syscall holder */ | ||
51 | .long sys_ni_syscall /* geteuid16 syscall holder */ | ||
52 | .long sys_ni_syscall /* 50 - getegid16 syscall holder */ | ||
53 | .long sys_acct | ||
54 | .long sys_umount /* recycled never used phys() */ | ||
55 | .long sys_ni_syscall /* old lock syscall holder */ | ||
56 | .long sys_ioctl | ||
57 | .long sys_fcntl /* 55 - will be unused */ | ||
58 | .long sys_ni_syscall /* mpx syscall holder */ | ||
59 | .long sys_setpgid | ||
60 | .long sys_ni_syscall /* old ulimit syscall holder */ | ||
61 | .long sys_ni_syscall /* sys_olduname */ | ||
62 | .long sys_umask /* 60 */ | ||
63 | .long sys_chroot | ||
64 | .long sys_ustat | ||
65 | .long sys_dup2 | ||
66 | .long sys_getppid | ||
67 | .long sys_getpgrp /* 65 */ | ||
68 | .long sys_setsid | ||
69 | .long sys_ni_syscall /* sigaction syscall holder */ | ||
70 | .long sys_ni_syscall /* sgetmask syscall holder */ | ||
71 | .long sys_ni_syscall /* ssetmask syscall holder */ | ||
72 | .long sys_ni_syscall /* 70 - setreuid16 syscall holder */ | ||
73 | .long sys_ni_syscall /* setregid16 syscall holder */ | ||
74 | .long sys_ni_syscall /* sigsuspend syscall holder */ | ||
75 | .long sys_ni_syscall /* sigpending syscall holder */ | ||
76 | .long sys_sethostname | ||
77 | .long sys_setrlimit /* 75 */ | ||
78 | .long sys_getrlimit/*will be unused*/ | ||
79 | .long sys_getrusage | ||
80 | .long sys_gettimeofday | ||
81 | .long sys_settimeofday | ||
82 | .long sys_ni_syscall /* 80 - getgroups16 syscall holder */ | ||
83 | .long sys_ni_syscall /* setgroups16 syscall holder */ | ||
84 | .long sys_ni_syscall /* sys_oldselect */ | ||
85 | .long sys_symlink | ||
86 | .long sys_ni_syscall /* old lstat syscall holder */ | ||
87 | .long sys_readlink /* 85 */ | ||
88 | .long sys_uselib | ||
89 | .long sys_swapon | ||
90 | .long sys_reboot | ||
91 | .long sys_ni_syscall /* readdir syscall holder */ | ||
92 | .long sys_ni_syscall /* 90 - old_mmap syscall holder */ | ||
93 | .long sys_munmap | ||
94 | .long sys_truncate | ||
95 | .long sys_ftruncate | ||
96 | .long sys_fchmod | ||
97 | .long sys_ni_syscall /* 95 - fchwon16 syscall holder */ | ||
98 | .long sys_getpriority | ||
99 | .long sys_setpriority | ||
100 | .long sys_ni_syscall /* old profil syscall holder */ | ||
101 | .long sys_statfs | ||
102 | .long sys_fstatfs /* 100 */ | ||
103 | .long sys_ni_syscall /* ioperm syscall holder */ | ||
104 | .long sys_socketcall | ||
105 | .long sys_syslog | ||
106 | .long sys_setitimer | ||
107 | .long sys_getitimer /* 105 */ | ||
108 | .long sys_newstat | ||
109 | .long sys_newlstat | ||
110 | .long sys_newfstat | ||
111 | .long sys_ni_syscall /* old uname syscall holder */ | ||
112 | .long sys_ni_syscall /* 110 - iopl syscall holder */ | ||
113 | .long sys_vhangup | ||
114 | .long sys_ni_syscall /* idle syscall holder */ | ||
115 | .long sys_ni_syscall /* vm86old syscall holder */ | ||
116 | .long sys_wait4 | ||
117 | .long sys_swapoff /* 115 */ | ||
118 | .long sys_sysinfo | ||
119 | .long sys_ipc | ||
120 | .long sys_fsync | ||
121 | .long sys_ni_syscall /* sigreturn syscall holder */ | ||
122 | .long sys_clone /* 120 */ | ||
123 | .long sys_setdomainname | ||
124 | .long sys_newuname | ||
125 | .long sys_ni_syscall /* modify_ldt syscall holder */ | ||
126 | .long sys_adjtimex | ||
127 | .long sys_mprotect /* 125 */ | ||
128 | .long sys_ni_syscall /* sigprocmask syscall holder */ | ||
129 | .long sys_ni_syscall /* create_module syscall holder */ | ||
130 | .long sys_init_module | ||
131 | .long sys_delete_module | ||
132 | .long sys_ni_syscall /* 130 - get_kernel_syms */ | ||
133 | .long sys_quotactl | ||
134 | .long sys_getpgid | ||
135 | .long sys_fchdir | ||
136 | .long sys_bdflush | ||
137 | .long sys_sysfs /* 135 */ | ||
138 | .long sys_personality | ||
139 | .long sys_ni_syscall /* afs_syscall syscall holder */ | ||
140 | .long sys_ni_syscall /* setfsuid16 syscall holder */ | ||
141 | .long sys_ni_syscall /* setfsgid16 syscall holder */ | ||
142 | .long sys_llseek /* 140 */ | ||
143 | .long sys_getdents | ||
144 | .long sys_select | ||
145 | .long sys_flock | ||
146 | .long sys_msync | ||
147 | .long sys_readv /* 145 */ | ||
148 | .long sys_writev | ||
149 | .long sys_getsid | ||
150 | .long sys_fdatasync | ||
151 | .long sys_sysctl | ||
152 | .long sys_mlock /* 150 */ | ||
153 | .long sys_munlock | ||
154 | .long sys_mlockall | ||
155 | .long sys_munlockall | ||
156 | .long sys_sched_setparam | ||
157 | .long sys_sched_getparam /* 155 */ | ||
158 | .long sys_sched_setscheduler | ||
159 | .long sys_sched_getscheduler | ||
160 | .long sys_sched_yield | ||
161 | .long sys_sched_get_priority_max | ||
162 | .long sys_sched_get_priority_min /* 160 */ | ||
163 | .long sys_sched_rr_get_interval | ||
164 | .long sys_nanosleep | ||
165 | .long sys_mremap | ||
166 | .long sys_ni_syscall /* setresuid16 syscall holder */ | ||
167 | .long sys_ni_syscall /* 165 - getresuid16 syscall holder */ | ||
168 | .long sys_tas /* vm86 syscall holder */ | ||
169 | .long sys_ni_syscall /* query_module syscall holder */ | ||
170 | .long sys_poll | ||
171 | .long sys_nfsservctl | ||
172 | .long sys_setresgid /* 170 */ | ||
173 | .long sys_getresgid | ||
174 | .long sys_prctl | ||
175 | .long sys_rt_sigreturn | ||
176 | .long sys_rt_sigaction | ||
177 | .long sys_rt_sigprocmask /* 175 */ | ||
178 | .long sys_rt_sigpending | ||
179 | .long sys_rt_sigtimedwait | ||
180 | .long sys_rt_sigqueueinfo | ||
181 | .long sys_rt_sigsuspend | ||
182 | .long sys_pread64 /* 180 */ | ||
183 | .long sys_pwrite64 | ||
184 | .long sys_ni_syscall /* chown16 syscall holder */ | ||
185 | .long sys_getcwd | ||
186 | .long sys_capget | ||
187 | .long sys_capset /* 185 */ | ||
188 | .long sys_sigaltstack | ||
189 | .long sys_sendfile | ||
190 | .long sys_ni_syscall /* streams1 */ | ||
191 | .long sys_ni_syscall /* streams2 */ | ||
192 | .long sys_vfork /* 190 */ | ||
193 | .long sys_getrlimit | ||
194 | .long sys_mmap2 | ||
195 | .long sys_truncate64 | ||
196 | .long sys_ftruncate64 | ||
197 | .long sys_stat64 /* 195 */ | ||
198 | .long sys_lstat64 | ||
199 | .long sys_fstat64 | ||
200 | .long sys_lchown | ||
201 | .long sys_getuid | ||
202 | .long sys_getgid /* 200 */ | ||
203 | .long sys_geteuid | ||
204 | .long sys_getegid | ||
205 | .long sys_setreuid | ||
206 | .long sys_setregid | ||
207 | .long sys_getgroups /* 205 */ | ||
208 | .long sys_setgroups | ||
209 | .long sys_fchown | ||
210 | .long sys_setresuid | ||
211 | .long sys_getresuid | ||
212 | .long sys_setresgid /* 210 */ | ||
213 | .long sys_getresgid | ||
214 | .long sys_chown | ||
215 | .long sys_setuid | ||
216 | .long sys_setgid | ||
217 | .long sys_setfsuid /* 215 */ | ||
218 | .long sys_setfsgid | ||
219 | .long sys_pivot_root | ||
220 | .long sys_mincore | ||
221 | .long sys_madvise | ||
222 | .long sys_getdents64 /* 220 */ | ||
223 | .long sys_fcntl64 | ||
224 | .long sys_ni_syscall /* reserved for TUX */ | ||
225 | .long sys_ni_syscall /* Reserved for Security */ | ||
226 | .long sys_gettid | ||
227 | .long sys_readahead /* 225 */ | ||
228 | .long sys_setxattr | ||
229 | .long sys_lsetxattr | ||
230 | .long sys_fsetxattr | ||
231 | .long sys_getxattr | ||
232 | .long sys_lgetxattr /* 230 */ | ||
233 | .long sys_fgetxattr | ||
234 | .long sys_listxattr | ||
235 | .long sys_llistxattr | ||
236 | .long sys_flistxattr | ||
237 | .long sys_removexattr /* 235 */ | ||
238 | .long sys_lremovexattr | ||
239 | .long sys_fremovexattr | ||
240 | .long sys_tkill | ||
241 | .long sys_sendfile64 | ||
242 | .long sys_futex /* 240 */ | ||
243 | .long sys_sched_setaffinity | ||
244 | .long sys_sched_getaffinity | ||
245 | .long sys_ni_syscall /* reserved for "set_thread_area" system call */ | ||
246 | .long sys_ni_syscall /* reserved for "get_thread_area" system call */ | ||
247 | .long sys_io_setup /* 245 */ | ||
248 | .long sys_io_destroy | ||
249 | .long sys_io_getevents | ||
250 | .long sys_io_submit | ||
251 | .long sys_io_cancel | ||
252 | .long sys_fadvise64 /* 250 */ | ||
253 | .long sys_ni_syscall | ||
254 | .long sys_exit_group | ||
255 | .long sys_lookup_dcookie | ||
256 | .long sys_epoll_create | ||
257 | .long sys_epoll_ctl /* 255 */ | ||
258 | .long sys_epoll_wait | ||
259 | .long sys_remap_file_pages | ||
260 | .long sys_set_tid_address | ||
261 | .long sys_timer_create | ||
262 | .long sys_timer_settime /* 260 */ | ||
263 | .long sys_timer_gettime | ||
264 | .long sys_timer_getoverrun | ||
265 | .long sys_timer_delete | ||
266 | .long sys_clock_settime | ||
267 | .long sys_clock_gettime /* 265 */ | ||
268 | .long sys_clock_getres | ||
269 | .long sys_clock_nanosleep | ||
270 | .long sys_statfs64 | ||
271 | .long sys_fstatfs64 | ||
272 | .long sys_tgkill /* 270 */ | ||
273 | .long sys_utimes | ||
274 | .long sys_fadvise64_64 | ||
275 | .long sys_ni_syscall /* Reserved for sys_vserver */ | ||
276 | .long sys_ni_syscall /* Reserved for sys_mbind */ | ||
277 | .long sys_ni_syscall /* Reserved for sys_get_mempolicy */ | ||
278 | .long sys_ni_syscall /* Reserved for sys_set_mempolicy */ | ||
279 | .long sys_mq_open | ||
280 | .long sys_mq_unlink | ||
281 | .long sys_mq_timedsend | ||
282 | .long sys_mq_timedreceive /* 280 */ | ||
283 | .long sys_mq_notify | ||
284 | .long sys_mq_getsetattr | ||
285 | .long sys_ni_syscall /* reserved for kexec */ | ||
286 | .long sys_waitid | ||