Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * linux/arch/m68knommu/kernel/syscalltable.S |
| 3 | * |
| 4 | * Copyright (C) 2002, Greg Ungerer (gerg@snapgear.com) |
| 5 | * |
| 6 | * Based on older entry.S files, the following copyrights apply: |
| 7 | * |
| 8 | * Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>, |
| 9 | * Kenneth Albanowski <kjahds@kjahds.com>, |
| 10 | * Copyright (C) 2000 Lineo Inc. (www.lineo.com) |
| 11 | * Copyright (C) 1991, 1992 Linus Torvalds |
| 12 | */ |
| 13 | |
| 14 | #include <linux/config.h> |
| 15 | #include <linux/sys.h> |
| 16 | #include <linux/linkage.h> |
| 17 | #include <asm/unistd.h> |
| 18 | |
| 19 | .text |
| 20 | ALIGN |
| 21 | ENTRY(sys_call_table) |
| 22 | .long sys_ni_syscall /* 0 - old "setup()" system call*/ |
| 23 | .long sys_exit |
| 24 | .long sys_fork |
| 25 | .long sys_read |
| 26 | .long sys_write |
| 27 | .long sys_open /* 5 */ |
| 28 | .long sys_close |
| 29 | .long sys_waitpid |
| 30 | .long sys_creat |
| 31 | .long sys_link |
| 32 | .long sys_unlink /* 10 */ |
| 33 | .long sys_execve |
| 34 | .long sys_chdir |
| 35 | .long sys_time |
| 36 | .long sys_mknod |
| 37 | .long sys_chmod /* 15 */ |
| 38 | .long sys_chown16 |
| 39 | .long sys_ni_syscall /* old break syscall holder */ |
| 40 | .long sys_stat |
| 41 | .long sys_lseek |
| 42 | .long sys_getpid /* 20 */ |
| 43 | .long sys_mount |
| 44 | .long sys_oldumount |
| 45 | .long sys_setuid16 |
| 46 | .long sys_getuid16 |
| 47 | .long sys_stime /* 25 */ |
| 48 | .long sys_ptrace |
| 49 | .long sys_alarm |
| 50 | .long sys_fstat |
| 51 | .long sys_pause |
| 52 | .long sys_utime /* 30 */ |
| 53 | .long sys_ni_syscall /* old stty syscall holder */ |
| 54 | .long sys_ni_syscall /* old gtty syscall holder */ |
| 55 | .long sys_access |
| 56 | .long sys_nice |
| 57 | .long sys_ni_syscall /* 35 */ /* old ftime syscall holder */ |
| 58 | .long sys_sync |
| 59 | .long sys_kill |
| 60 | .long sys_rename |
| 61 | .long sys_mkdir |
| 62 | .long sys_rmdir /* 40 */ |
| 63 | .long sys_dup |
| 64 | .long sys_pipe |
| 65 | .long sys_times |
| 66 | .long sys_ni_syscall /* old prof syscall holder */ |
| 67 | .long sys_brk /* 45 */ |
| 68 | .long sys_setgid16 |
| 69 | .long sys_getgid16 |
| 70 | .long sys_signal |
| 71 | .long sys_geteuid16 |
| 72 | .long sys_getegid16 /* 50 */ |
| 73 | .long sys_acct |
| 74 | .long sys_umount /* recycled never used phys() */ |
| 75 | .long sys_ni_syscall /* old lock syscall holder */ |
| 76 | .long sys_ioctl |
| 77 | .long sys_fcntl /* 55 */ |
| 78 | .long sys_ni_syscall /* old mpx syscall holder */ |
| 79 | .long sys_setpgid |
| 80 | .long sys_ni_syscall /* old ulimit syscall holder */ |
| 81 | .long sys_ni_syscall |
| 82 | .long sys_umask /* 60 */ |
| 83 | .long sys_chroot |
| 84 | .long sys_ustat |
| 85 | .long sys_dup2 |
| 86 | .long sys_getppid |
| 87 | .long sys_getpgrp /* 65 */ |
| 88 | .long sys_setsid |
| 89 | .long sys_sigaction |
| 90 | .long sys_sgetmask |
| 91 | .long sys_ssetmask |
| 92 | .long sys_setreuid16 /* 70 */ |
| 93 | .long sys_setregid16 |
| 94 | .long sys_sigsuspend |
| 95 | .long sys_sigpending |
| 96 | .long sys_sethostname |
| 97 | .long sys_setrlimit /* 75 */ |
| 98 | .long sys_old_getrlimit |
| 99 | .long sys_getrusage |
| 100 | .long sys_gettimeofday |
| 101 | .long sys_settimeofday |
| 102 | .long sys_getgroups16 /* 80 */ |
| 103 | .long sys_setgroups16 |
| 104 | .long old_select |
| 105 | .long sys_symlink |
| 106 | .long sys_lstat |
| 107 | .long sys_readlink /* 85 */ |
| 108 | .long sys_uselib |
| 109 | .long sys_ni_syscall /* sys_swapon */ |
| 110 | .long sys_reboot |
| 111 | .long old_readdir |
| 112 | .long old_mmap /* 90 */ |
| 113 | .long sys_munmap |
| 114 | .long sys_truncate |
| 115 | .long sys_ftruncate |
| 116 | .long sys_fchmod |
| 117 | .long sys_fchown16 /* 95 */ |
| 118 | .long sys_getpriority |
| 119 | .long sys_setpriority |
| 120 | .long sys_ni_syscall /* old profil syscall holder */ |
| 121 | .long sys_statfs |
| 122 | .long sys_fstatfs /* 100 */ |
| 123 | .long sys_ni_syscall /* ioperm for i386 */ |
| 124 | .long sys_socketcall |
| 125 | .long sys_syslog |
| 126 | .long sys_setitimer |
| 127 | .long sys_getitimer /* 105 */ |
| 128 | .long sys_newstat |
| 129 | .long sys_newlstat |
| 130 | .long sys_newfstat |
| 131 | .long sys_ni_syscall |
| 132 | .long sys_ni_syscall /* iopl for i386 */ /* 110 */ |
| 133 | .long sys_vhangup |
| 134 | .long sys_ni_syscall /* obsolete idle() syscall */ |
| 135 | .long sys_ni_syscall /* vm86old for i386 */ |
| 136 | .long sys_wait4 |
| 137 | .long sys_ni_syscall /* 115 */ /* sys_swapoff */ |
| 138 | .long sys_sysinfo |
| 139 | .long sys_ipc |
| 140 | .long sys_fsync |
| 141 | .long sys_sigreturn |
| 142 | .long sys_clone /* 120 */ |
| 143 | .long sys_setdomainname |
| 144 | .long sys_newuname |
| 145 | .long sys_cacheflush /* modify_ldt for i386 */ |
| 146 | .long sys_adjtimex |
| 147 | .long sys_ni_syscall /* 125 */ /* sys_mprotect */ |
| 148 | .long sys_sigprocmask |
| 149 | .long sys_ni_syscall /* old "creat_module" */ |
| 150 | .long sys_init_module |
| 151 | .long sys_delete_module |
| 152 | .long sys_ni_syscall /* 130: old "get_kernel_syms" */ |
| 153 | .long sys_quotactl |
| 154 | .long sys_getpgid |
| 155 | .long sys_fchdir |
| 156 | .long sys_bdflush |
| 157 | .long sys_sysfs /* 135 */ |
| 158 | .long sys_personality |
| 159 | .long sys_ni_syscall /* for afs_syscall */ |
| 160 | .long sys_setfsuid16 |
| 161 | .long sys_setfsgid16 |
| 162 | .long sys_llseek /* 140 */ |
| 163 | .long sys_getdents |
| 164 | .long sys_select |
| 165 | .long sys_flock |
| 166 | .long sys_ni_syscall /* sys_msync */ |
| 167 | .long sys_readv /* 145 */ |
| 168 | .long sys_writev |
| 169 | .long sys_getsid |
| 170 | .long sys_fdatasync |
| 171 | .long sys_sysctl |
| 172 | .long sys_ni_syscall /* 150 */ /* sys_mlock */ |
| 173 | .long sys_ni_syscall /* sys_munlock */ |
| 174 | .long sys_ni_syscall /* sys_mlockall */ |
| 175 | .long sys_ni_syscall /* sys_munlockall */ |
| 176 | .long sys_sched_setparam |
| 177 | .long sys_sched_getparam /* 155 */ |
| 178 | .long sys_sched_setscheduler |
| 179 | .long sys_sched_getscheduler |
| 180 | .long sys_sched_yield |
| 181 | .long sys_sched_get_priority_max |
| 182 | .long sys_sched_get_priority_min /* 160 */ |
| 183 | .long sys_sched_rr_get_interval |
| 184 | .long sys_nanosleep |
| 185 | .long sys_ni_syscall /* sys_mremap */ |
| 186 | .long sys_setresuid16 |
| 187 | .long sys_getresuid16 /* 165 */ |
| 188 | .long sys_getpagesize /* sys_getpagesize */ |
| 189 | .long sys_ni_syscall /* old "query_module" */ |
| 190 | .long sys_poll |
| 191 | .long sys_ni_syscall /* sys_nfsservctl */ |
| 192 | .long sys_setresgid16 /* 170 */ |
| 193 | .long sys_getresgid16 |
| 194 | .long sys_prctl |
| 195 | .long sys_rt_sigreturn |
| 196 | .long sys_rt_sigaction |
| 197 | .long sys_rt_sigprocmask /* 175 */ |
| 198 | .long sys_rt_sigpending |
| 199 | .long sys_rt_sigtimedwait |
| 200 | .long sys_rt_sigqueueinfo |
| 201 | .long sys_rt_sigsuspend |
| 202 | .long sys_pread64 /* 180 */ |
| 203 | .long sys_pwrite64 |
| 204 | .long sys_lchown16 |
| 205 | .long sys_getcwd |
| 206 | .long sys_capget |
| 207 | .long sys_capset /* 185 */ |
| 208 | .long sys_sigaltstack |
| 209 | .long sys_sendfile |
| 210 | .long sys_ni_syscall /* streams1 */ |
| 211 | .long sys_ni_syscall /* streams2 */ |
| 212 | .long sys_vfork /* 190 */ |
| 213 | .long sys_getrlimit |
| 214 | .long sys_mmap2 |
| 215 | .long sys_truncate64 |
| 216 | .long sys_ftruncate64 |
| 217 | .long sys_stat64 /* 195 */ |
| 218 | .long sys_lstat64 |
| 219 | .long sys_fstat64 |
| 220 | .long sys_chown |
| 221 | .long sys_getuid |
| 222 | .long sys_getgid /* 200 */ |
| 223 | .long sys_geteuid |
| 224 | .long sys_getegid |
| 225 | .long sys_setreuid |
| 226 | .long sys_setregid |
| 227 | .long sys_getgroups /* 205 */ |
| 228 | .long sys_setgroups |
| 229 | .long sys_fchown |
| 230 | .long sys_setresuid |
| 231 | .long sys_getresuid |
| 232 | .long sys_setresgid /* 210 */ |
| 233 | .long sys_getresgid |
| 234 | .long sys_lchown |
| 235 | .long sys_setuid |
| 236 | .long sys_setgid |
| 237 | .long sys_setfsuid /* 215 */ |
| 238 | .long sys_setfsgid |
| 239 | .long sys_pivot_root |
| 240 | .long sys_ni_syscall |
| 241 | .long sys_ni_syscall |
| 242 | .long sys_getdents64 /* 220 */ |
| 243 | .long sys_gettid |
| 244 | .long sys_tkill |
| 245 | .long sys_setxattr |
| 246 | .long sys_lsetxattr |
| 247 | .long sys_fsetxattr /* 225 */ |
| 248 | .long sys_getxattr |
| 249 | .long sys_lgetxattr |
| 250 | .long sys_fgetxattr |
| 251 | .long sys_listxattr |
| 252 | .long sys_llistxattr /* 230 */ |
| 253 | .long sys_flistxattr |
| 254 | .long sys_removexattr |
| 255 | .long sys_lremovexattr |
| 256 | .long sys_fremovexattr |
| 257 | .long sys_futex /* 235 */ |
| 258 | .long sys_sendfile64 |
| 259 | .long sys_ni_syscall /* sys_mincore */ |
| 260 | .long sys_ni_syscall /* sys_madvise */ |
| 261 | .long sys_fcntl64 |
| 262 | .long sys_readahead /* 240 */ |
| 263 | .long sys_io_setup |
| 264 | .long sys_io_destroy |
| 265 | .long sys_io_getevents |
| 266 | .long sys_io_submit |
| 267 | .long sys_io_cancel /* 245 */ |
| 268 | .long sys_fadvise64 |
| 269 | .long sys_exit_group |
| 270 | .long sys_lookup_dcookie |
| 271 | .long sys_epoll_create |
| 272 | .long sys_epoll_ctl /* 250 */ |
| 273 | .long sys_epoll_wait |
| 274 | .long sys_ni_syscall /* sys_remap_file_pages */ |
| 275 | .long sys_set_tid_address |
| 276 | .long sys_timer_create |
| 277 | .long sys_timer_settime /* 255 */ |
| 278 | .long sys_timer_gettime |
| 279 | .long sys_timer_getoverrun |
| 280 | .long sys_timer_delete |
| 281 | .long sys_clock_settime |
| 282 | .long sys_clock_gettime /* 260 */ |
| 283 | .long sys_clock_getres |
| 284 | .long sys_clock_nanosleep |
| 285 | .long sys_statfs64 |
| 286 | .long sys_fstatfs64 |
| 287 | .long sys_tgkill /* 265 */ |
| 288 | .long sys_utimes |
| 289 | .long sys_fadvise64_64 |
| 290 | .long sys_mbind |
| 291 | .long sys_get_mempolicy |
| 292 | .long sys_set_mempolicy /* 270 */ |
| 293 | .long sys_mq_open |
| 294 | .long sys_mq_unlink |
| 295 | .long sys_mq_timedsend |
| 296 | .long sys_mq_timedreceive |
| 297 | .long sys_mq_notify /* 275 */ |
| 298 | .long sys_mq_getsetattr |
| 299 | .long sys_waitid |
| 300 | .long sys_ni_syscall /* sys_setaltroot */ |
| 301 | .long sys_ni_syscall /* sys_add_key */ |
| 302 | .long sys_ni_syscall /* 280 */ /* sys_request_key */ |
| 303 | .long sys_ni_syscall /* sys_keyctl */ |
| 304 | |
| 305 | .rept NR_syscalls-(.-sys_call_table)/4 |
| 306 | .long sys_ni_syscall |
| 307 | .endr |
| 308 | |