Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl> |
| 3 | * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com> |
| 4 | * All rights reserved. |
| 5 | * |
| 6 | * Redistribution and use in source and binary forms, with or without |
| 7 | * modification, are permitted provided that the following conditions |
| 8 | * are met: |
| 9 | * 1. Redistributions of source code must retain the above copyright |
| 10 | * notice, this list of conditions and the following disclaimer. |
| 11 | * 2. Redistributions in binary form must reproduce the above copyright |
| 12 | * notice, this list of conditions and the following disclaimer in the |
| 13 | * documentation and/or other materials provided with the distribution. |
| 14 | * 3. The name of the author may not be used to endorse or promote products |
| 15 | * derived from this software without specific prior written permission. |
| 16 | * |
| 17 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 20 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 22 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 27 | */ |
| 28 | |
| 29 | #include "dummy.h" |
| 30 | |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 31 | /* common syscalls */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 32 | |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 33 | int sys_accept(); |
| 34 | int sys_accept4(); |
| 35 | int sys_access(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 36 | int sys_adjtimex(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 37 | int sys_arch_prctl(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 38 | int sys_bind(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 39 | int sys_brk(); |
| 40 | int sys_capget(); |
| 41 | int sys_capset(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 42 | int sys_chdir(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 43 | int sys_chmod(); |
| 44 | int sys_chown(); |
Dmitry V. Levin | 7321547 | 2012-03-11 21:25:51 +0000 | [diff] [blame] | 45 | int sys_clock_adjtime(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 46 | int sys_clock_gettime(); |
| 47 | int sys_clock_nanosleep(); |
| 48 | int sys_clock_settime(); |
| 49 | int sys_clone(); |
| 50 | int sys_close(); |
| 51 | int sys_connect(); |
| 52 | int sys_creat(); |
| 53 | int sys_create_module(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 54 | int sys_dup2(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 55 | int sys_dup3(); |
| 56 | int sys_epoll_create(); |
| 57 | int sys_epoll_create1(); |
| 58 | int sys_epoll_ctl(); |
| 59 | int sys_epoll_pwait(); |
| 60 | int sys_epoll_wait(); |
| 61 | int sys_eventfd(); |
| 62 | int sys_eventfd2(); |
| 63 | int sys_execve(); |
| 64 | int sys_exit(); |
| 65 | int sys_faccessat(); |
| 66 | int sys_fadvise64(); |
| 67 | int sys_fadvise64_64(); |
| 68 | int sys_fallocate(); |
| 69 | int sys_fchmod(); |
| 70 | int sys_fchmodat(); |
| 71 | int sys_fchown(); |
| 72 | int sys_fchownat(); |
| 73 | int sys_fcntl(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 74 | int sys_fgetxattr(); |
| 75 | int sys_flistxattr(); |
| 76 | int sys_flock(); |
| 77 | int sys_fork(); |
| 78 | int sys_fremovexattr(); |
| 79 | int sys_fsetxattr(); |
| 80 | int sys_fstat(); |
| 81 | int sys_fstat64(); |
| 82 | int sys_fstatfs(); |
| 83 | int sys_fstatfs64(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 84 | int sys_ftruncate(); |
| 85 | int sys_ftruncate64(); |
| 86 | int sys_futex(); |
| 87 | int sys_futimesat(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 88 | int sys_get_mempolicy(); |
Dmitry V. Levin | 1b0bae2 | 2012-03-11 22:32:26 +0000 | [diff] [blame] | 89 | int sys_get_robust_list(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 90 | int sys_get_thread_area(); |
| 91 | int sys_getcpu(); |
| 92 | int sys_getcwd(); |
| 93 | int sys_getdents(); |
| 94 | int sys_getdents64(); |
| 95 | int sys_getdtablesize(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 96 | int sys_getgroups(); |
| 97 | int sys_getgroups32(); |
| 98 | int sys_gethostname(); |
| 99 | int sys_getitimer(); |
| 100 | int sys_getpeername(); |
Denys Vlasenko | e7db465 | 2013-03-05 16:17:46 +0100 | [diff] [blame] | 101 | int sys_getpmsg(); /* TODO: non-Linux, remove? */ |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 102 | int sys_getpriority(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 103 | int sys_getresuid(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 104 | int sys_getrlimit(); |
| 105 | int sys_getrusage(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 106 | int sys_getsockname(); |
| 107 | int sys_getsockopt(); |
| 108 | int sys_gettimeofday(); |
| 109 | int sys_getuid(); |
| 110 | int sys_getxattr(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 111 | int sys_init_module(); |
| 112 | int sys_inotify_add_watch(); |
| 113 | int sys_inotify_init1(); |
| 114 | int sys_inotify_rm_watch(); |
| 115 | int sys_io_cancel(); |
| 116 | int sys_io_destroy(); |
| 117 | int sys_io_getevents(); |
| 118 | int sys_io_setup(); |
| 119 | int sys_io_submit(); |
| 120 | int sys_ioctl(); |
Dmitry V. Levin | b5e88d4 | 2012-02-20 17:02:38 +0000 | [diff] [blame] | 121 | int sys_ipc(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 122 | int sys_kill(); |
| 123 | int sys_link(); |
| 124 | int sys_linkat(); |
| 125 | int sys_listen(); |
| 126 | int sys_listxattr(); |
| 127 | int sys_llseek(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 128 | int sys_lseek(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 129 | int sys_madvise(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 130 | int sys_mbind(); |
Dmitry V. Levin | 64d0e71 | 2012-03-11 22:44:14 +0000 | [diff] [blame] | 131 | int sys_migrate_pages(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 132 | int sys_mincore(); |
| 133 | int sys_mkdir(); |
| 134 | int sys_mkdirat(); |
| 135 | int sys_mknod(); |
| 136 | int sys_mknodat(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 137 | int sys_mlockall(); |
| 138 | int sys_mmap(); |
Denys Vlasenko | 1ba8543 | 2013-02-19 11:28:20 +0100 | [diff] [blame] | 139 | int sys_mmap_pgoff(); |
| 140 | int sys_mmap_4koff(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 141 | int sys_modify_ldt(); |
| 142 | int sys_mount(); |
| 143 | int sys_move_pages(); |
| 144 | int sys_mprotect(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 145 | int sys_mq_getsetattr(); |
| 146 | int sys_mq_notify(); |
| 147 | int sys_mq_open(); |
| 148 | int sys_mq_timedreceive(); |
| 149 | int sys_mq_timedsend(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 150 | int sys_mremap(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 151 | int sys_msgctl(); |
| 152 | int sys_msgget(); |
| 153 | int sys_msgrcv(); |
| 154 | int sys_msgsnd(); |
| 155 | int sys_msync(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 156 | int sys_munmap(); |
| 157 | int sys_nanosleep(); |
| 158 | int sys_newfstatat(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 159 | int sys_old_mmap(); |
Denys Vlasenko | 1ba8543 | 2013-02-19 11:28:20 +0100 | [diff] [blame] | 160 | int sys_old_mmap_pgoff(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 161 | int sys_oldfstat(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 162 | int sys_oldselect(); |
| 163 | int sys_oldstat(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 164 | int sys_open(); |
| 165 | int sys_openat(); |
Ben Noordhuis | 88eafd8 | 2013-02-04 00:04:57 +0100 | [diff] [blame] | 166 | int sys_perf_event_open(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 167 | int sys_personality(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 168 | int sys_pipe(); |
| 169 | int sys_pipe2(); |
| 170 | int sys_poll(); |
| 171 | int sys_poll(); |
| 172 | int sys_ppoll(); |
| 173 | int sys_prctl(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 174 | int sys_pread(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 175 | int sys_preadv(); |
Dmitry V. Levin | b468f23 | 2012-03-16 23:05:21 +0400 | [diff] [blame] | 176 | int sys_prlimit64(); |
Denys Vlasenko | 3af224c | 2012-01-28 01:46:33 +0100 | [diff] [blame] | 177 | int sys_process_vm_readv(); |
Dmitry V. Levin | 0395210 | 2012-03-10 14:14:49 +0000 | [diff] [blame] | 178 | int sys_process_vm_writev(); |
Dmitry V. Levin | b468f23 | 2012-03-16 23:05:21 +0400 | [diff] [blame] | 179 | int sys_pselect6(); |
| 180 | int sys_ptrace(); |
Denys Vlasenko | e7db465 | 2013-03-05 16:17:46 +0100 | [diff] [blame] | 181 | int sys_putpmsg(); /* TODO: non-Linux, remove? */ |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 182 | int sys_pwrite(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 183 | int sys_pwritev(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 184 | int sys_query_module(); |
| 185 | int sys_quotactl(); |
| 186 | int sys_read(); |
| 187 | int sys_readahead(); |
| 188 | int sys_readdir(); |
| 189 | int sys_readlink(); |
| 190 | int sys_readlinkat(); |
| 191 | int sys_readv(); |
| 192 | int sys_reboot(); |
| 193 | int sys_recv(); |
| 194 | int sys_recvfrom(); |
| 195 | int sys_recvmmsg(); |
| 196 | int sys_recvmsg(); |
| 197 | int sys_remap_file_pages(); |
| 198 | int sys_removexattr(); |
| 199 | int sys_renameat(); |
| 200 | int sys_restart_syscall(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 201 | int sys_rt_sigaction(); |
| 202 | int sys_rt_sigpending(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 203 | int sys_rt_sigprocmask(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 204 | int sys_rt_sigqueueinfo(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 205 | int sys_rt_sigsuspend(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 206 | int sys_rt_sigtimedwait(); |
Dmitry V. Levin | 297632b | 2012-03-13 15:51:13 +0000 | [diff] [blame] | 207 | int sys_rt_tgsigqueueinfo(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 208 | int sys_sched_get_priority_min(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 209 | int sys_sched_getaffinity(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 210 | int sys_sched_getparam(); |
| 211 | int sys_sched_getscheduler(); |
Dmitry V. Levin | 1ff463d | 2012-03-11 23:00:11 +0000 | [diff] [blame] | 212 | int sys_sched_rr_get_interval(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 213 | int sys_sched_setaffinity(); |
| 214 | int sys_sched_setparam(); |
| 215 | int sys_sched_setscheduler(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 216 | int sys_select(); |
| 217 | int sys_semctl(); |
| 218 | int sys_semget(); |
| 219 | int sys_semop(); |
| 220 | int sys_semtimedop(); |
| 221 | int sys_send(); |
| 222 | int sys_sendfile(); |
| 223 | int sys_sendfile64(); |
Dmitry V. Levin | 7af9f35 | 2012-03-11 23:59:29 +0000 | [diff] [blame] | 224 | int sys_sendmmsg(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 225 | int sys_sendmsg(); |
| 226 | int sys_sendto(); |
| 227 | int sys_set_mempolicy(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 228 | int sys_set_thread_area(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 229 | int sys_setdomainname(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 230 | int sys_setfsuid(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 231 | int sys_setgroups(); |
| 232 | int sys_setgroups32(); |
| 233 | int sys_sethostname(); |
| 234 | int sys_setitimer(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 235 | int sys_setpriority(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 236 | int sys_setresuid(); |
| 237 | int sys_setreuid(); |
| 238 | int sys_setrlimit(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 239 | int sys_setsockopt(); |
| 240 | int sys_settimeofday(); |
| 241 | int sys_setuid(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 242 | int sys_setxattr(); |
| 243 | int sys_shmat(); |
| 244 | int sys_shmctl(); |
| 245 | int sys_shmdt(); |
| 246 | int sys_shmget(); |
| 247 | int sys_shutdown(); |
| 248 | int sys_sigaction(); |
| 249 | int sys_sigaltstack(); |
| 250 | int sys_siggetmask(); |
| 251 | int sys_signal(); |
| 252 | int sys_signalfd(); |
| 253 | int sys_signalfd4(); |
| 254 | int sys_sigpending(); |
| 255 | int sys_sigprocmask(); |
| 256 | int sys_sigreturn(); |
| 257 | int sys_sigsetmask(); |
| 258 | int sys_sigsuspend(); |
| 259 | int sys_socket(); |
Dmitry V. Levin | b5e88d4 | 2012-02-20 17:02:38 +0000 | [diff] [blame] | 260 | int sys_socketcall(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 261 | int sys_socketpair(); |
| 262 | int sys_splice(); |
| 263 | int sys_stat(); |
| 264 | int sys_stat64(); |
| 265 | int sys_statfs(); |
| 266 | int sys_statfs64(); |
| 267 | int sys_stime(); |
Dmitry V. Levin | 8829365 | 2012-03-09 21:02:19 +0000 | [diff] [blame] | 268 | int sys_swapon(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 269 | int sys_symlinkat(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 270 | int sys_sysctl(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 271 | int sys_sysinfo(); |
Dmitry V. Levin | ee3c22c | 2012-03-13 15:28:01 +0000 | [diff] [blame] | 272 | int sys_syslog(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 273 | int sys_tee(); |
| 274 | int sys_tgkill(); |
| 275 | int sys_time(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 276 | int sys_timer_create(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 277 | int sys_timer_gettime(); |
| 278 | int sys_timer_settime(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 279 | int sys_timerfd(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 280 | int sys_timerfd_create(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 281 | int sys_timerfd_gettime(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 282 | int sys_timerfd_settime(); |
| 283 | int sys_times(); |
| 284 | int sys_truncate(); |
| 285 | int sys_truncate64(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 286 | int sys_umask(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 287 | int sys_umount2(); |
| 288 | int sys_uname(); |
Dmitry V. Levin | 95ebf5a | 2006-10-13 20:25:12 +0000 | [diff] [blame] | 289 | int sys_unlinkat(); |
Dmitry V. Levin | 95ebf5a | 2006-10-13 20:25:12 +0000 | [diff] [blame] | 290 | int sys_unshare(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 291 | int sys_utime(); |
| 292 | int sys_utimensat(); |
| 293 | int sys_utimes(); |
| 294 | int sys_vfork(); |
Dmitry V. Levin | d99e48c | 2011-10-11 17:07:05 +0000 | [diff] [blame] | 295 | int sys_vmsplice(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 296 | int sys_wait4(); |
| 297 | int sys_waitid(); |
| 298 | int sys_waitpid(); |
| 299 | int sys_write(); |
| 300 | int sys_writev(); |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 301 | |
Wichert Akkerman | 0ae852b | 1999-11-18 17:12:55 +0000 | [diff] [blame] | 302 | /* architecture-specific calls */ |
| 303 | #ifdef ALPHA |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 304 | int osf_statfs(); |
| 305 | int osf_fstatfs(); |
Wichert Akkerman | 221f54f | 1999-11-18 17:26:45 +0000 | [diff] [blame] | 306 | int sys_osf_getitimer(); |
Wichert Akkerman | 221f54f | 1999-11-18 17:26:45 +0000 | [diff] [blame] | 307 | int sys_osf_getrusage(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 308 | int sys_osf_gettimeofday(); |
| 309 | int sys_osf_select(); |
| 310 | int sys_osf_setitimer(); |
| 311 | int sys_osf_settimeofday(); |
Wichert Akkerman | 221f54f | 1999-11-18 17:26:45 +0000 | [diff] [blame] | 312 | int sys_osf_utimes(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 313 | int sys_osf_wait4(); |
Wichert Akkerman | 0ae852b | 1999-11-18 17:12:55 +0000 | [diff] [blame] | 314 | #endif |
| 315 | |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 316 | #if defined(ALPHA) || defined(IA64) || defined(SPARC) || defined(SPARC64) |
Wichert Akkerman | 8b1b40c | 2000-02-03 21:58:30 +0000 | [diff] [blame] | 317 | int sys_getpagesize(); |
| 318 | #endif |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 319 | |
Wichert Akkerman | 0cbfb32 | 2001-02-19 13:35:53 +0000 | [diff] [blame] | 320 | #ifdef MIPS |
Wichert Akkerman | d6b9249 | 2001-04-07 21:37:12 +0000 | [diff] [blame] | 321 | int sys_sysmips(); |
Wichert Akkerman | 0cbfb32 | 2001-02-19 13:35:53 +0000 | [diff] [blame] | 322 | #endif |
| 323 | |
Carmelo AMOROSO | f8e5650 | 2010-12-01 14:27:07 +0100 | [diff] [blame] | 324 | #if defined M68K || defined SH |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 325 | int sys_cacheflush(); |
| 326 | #endif |
Roland McGrath | 542c2c6 | 2008-05-20 01:11:56 +0000 | [diff] [blame] | 327 | |
Christian Svensson | 492f81f | 2013-02-14 13:26:27 +0100 | [diff] [blame] | 328 | #if defined OR1K |
| 329 | int sys_or1k_atomic(); |
| 330 | #endif |
| 331 | |
Roland McGrath | 4a6f652 | 2008-08-25 03:09:16 +0000 | [diff] [blame] | 332 | #ifdef POWERPC |
| 333 | int sys_subpage_prot(); |
| 334 | #endif |
Dmitry V. Levin | 87ea1f4 | 2008-11-10 22:21:41 +0000 | [diff] [blame] | 335 | |
| 336 | #ifdef BFIN |
Mike Frysinger | 260e571 | 2010-09-11 15:04:18 -0400 | [diff] [blame] | 337 | int sys_cacheflush(); |
Dmitry V. Levin | a12c70d | 2011-11-28 23:41:58 +0000 | [diff] [blame] | 338 | int sys_sram_alloc(); |
Dmitry V. Levin | 87ea1f4 | 2008-11-10 22:21:41 +0000 | [diff] [blame] | 339 | #endif |
Mike Frysinger | 330a895 | 2011-02-19 15:48:52 -0500 | [diff] [blame] | 340 | |
| 341 | #if defined SPARC || defined SPARC64 |
| 342 | #include "sparc/syscall1.h" |
| 343 | int sys_execv(); |
Dmitry V. Levin | dd76085 | 2011-11-28 23:25:13 +0000 | [diff] [blame] | 344 | int sys_getmsg(); |
| 345 | int sys_putmsg(); |
Mike Frysinger | 330a895 | 2011-02-19 15:48:52 -0500 | [diff] [blame] | 346 | #endif |