sync hh.org
[hh.org.git] / arch / arm26 / kernel / calls.S
blobe3d276827c84c4726271d63de9d5a8ee2ef8679c
1 /*
2  *  linux/arch/arm26/kernel/calls.S
3  *
4  *  Copyright (C) 2003 Ian Molton
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  *  FIXME
11  *  This file is included twice in entry.S which may not be necessary
12  */
14 //FIXME - clearly NR_syscalls is never defined here
16 #ifndef NR_syscalls
17 #define NR_syscalls 256
18 #else
20 __syscall_start:
21 /* 0 */         .long   sys_ni_syscall
22                 .long   sys_exit
23                 .long   sys_fork_wrapper
24                 .long   sys_read
25                 .long   sys_write
26 /* 5 */         .long   sys_open
27                 .long   sys_close
28                 .long   sys_ni_syscall          /* was sys_waitpid */
29                 .long   sys_creat
30                 .long   sys_link
31 /* 10 */        .long   sys_unlink
32                 .long   sys_execve_wrapper
33                 .long   sys_chdir
34                 .long   sys_time                /* used by libc4 */
35                 .long   sys_mknod
36 /* 15 */        .long   sys_chmod
37                 .long   sys_lchown16
38                 .long   sys_ni_syscall          /* was sys_break */
39                 .long   sys_ni_syscall          /* was sys_stat */
40                 .long   sys_lseek
41 /* 20 */        .long   sys_getpid
42                 .long   sys_mount
43                 .long   sys_oldumount           /* used by libc4 */
44                 .long   sys_setuid16
45                 .long   sys_getuid16
46 /* 25 */        .long   sys_stime
47                 .long   sys_ptrace
48                 .long   sys_alarm               /* used by libc4 */
49                 .long   sys_ni_syscall          /* was sys_fstat */
50                 .long   sys_pause
51 /* 30 */        .long   sys_utime               /* used by libc4 */
52                 .long   sys_ni_syscall          /* was sys_stty */
53                 .long   sys_ni_syscall          /* was sys_getty */
54                 .long   sys_access
55                 .long   sys_nice
56 /* 35 */        .long   sys_ni_syscall          /* was sys_ftime */
57                 .long   sys_sync
58                 .long   sys_kill
59                 .long   sys_rename
60                 .long   sys_mkdir
61 /* 40 */        .long   sys_rmdir
62                 .long   sys_dup
63                 .long   sys_pipe
64                 .long   sys_times
65                 .long   sys_ni_syscall          /* was sys_prof */
66 /* 45 */        .long   sys_brk
67                 .long   sys_setgid16
68                 .long   sys_getgid16
69                 .long   sys_ni_syscall          /* was sys_signal */
70                 .long   sys_geteuid16
71 /* 50 */        .long   sys_getegid16
72                 .long   sys_acct
73                 .long   sys_umount
74                 .long   sys_ni_syscall          /* was sys_lock */
75                 .long   sys_ioctl
76 /* 55 */        .long   sys_fcntl
77                 .long   sys_ni_syscall          /* was sys_mpx */
78                 .long   sys_setpgid
79                 .long   sys_ni_syscall          /* was sys_ulimit */
80                 .long   sys_ni_syscall          /* was sys_olduname */
81 /* 60 */        .long   sys_umask
82                 .long   sys_chroot
83                 .long   sys_ustat
84                 .long   sys_dup2
85                 .long   sys_getppid
86 /* 65 */        .long   sys_getpgrp
87                 .long   sys_setsid
88                 .long   sys_sigaction
89                 .long   sys_ni_syscall          /* was sys_sgetmask */
90                 .long   sys_ni_syscall          /* was sys_ssetmask */
91 /* 70 */        .long   sys_setreuid16
92                 .long   sys_setregid16
93                 .long   sys_sigsuspend_wrapper
94                 .long   sys_sigpending
95                 .long   sys_sethostname
96 /* 75 */        .long   sys_setrlimit
97                 .long   sys_old_getrlimit       /* used by libc4 */
98                 .long   sys_getrusage
99                 .long   sys_gettimeofday
100                 .long   sys_settimeofday
101 /* 80 */        .long   sys_getgroups16
102                 .long   sys_setgroups16
103                 .long   old_select              /* used by libc4 */
104                 .long   sys_symlink
105                 .long   sys_ni_syscall          /* was sys_lstat */
106 /* 85 */        .long   sys_readlink
107                 .long   sys_uselib
108                 .long   sys_swapon
109                 .long   sys_reboot
110                 .long   old_readdir             /* used by libc4 */
111 /* 90 */        .long   old_mmap                /* used by libc4 */
112                 .long   sys_munmap
113                 .long   sys_truncate
114                 .long   sys_ftruncate
115                 .long   sys_fchmod
116 /* 95 */        .long   sys_fchown16
117                 .long   sys_getpriority
118                 .long   sys_setpriority
119                 .long   sys_ni_syscall          /* was sys_profil */
120                 .long   sys_statfs
121 /* 100 */       .long   sys_fstatfs
122                 .long   sys_ni_syscall
123                 .long   sys_socketcall
124                 .long   sys_syslog
125                 .long   sys_setitimer
126 /* 105 */       .long   sys_getitimer
127                 .long   sys_newstat
128                 .long   sys_newlstat
129                 .long   sys_newfstat
130                 .long   sys_ni_syscall          /* was sys_uname */
131 /* 110 */       .long   sys_ni_syscall          /* was sys_iopl */
132                 .long   sys_vhangup
133                 .long   sys_ni_syscall
134                 .long   sys_syscall             /* call a syscall */
135                 .long   sys_wait4
136 /* 115 */       .long   sys_swapoff
137                 .long   sys_sysinfo
138                 .long   sys_ipc
139                 .long   sys_fsync
140                 .long   sys_sigreturn_wrapper
141 /* 120 */       .long   sys_clone_wapper
142                 .long   sys_setdomainname
143                 .long   sys_newuname
144                 .long   sys_ni_syscall
145                 .long   sys_adjtimex
146 /* 125 */       .long   sys_mprotect
147                 .long   sys_sigprocmask
148                 .long   sys_ni_syscall  /* WAS: sys_create_module */
149                 .long   sys_init_module
150                 .long   sys_delete_module
151 /* 130 */       .long   sys_ni_syscall  /* WAS: sys_get_kernel_syms */
152                 .long   sys_quotactl
153                 .long   sys_getpgid
154                 .long   sys_fchdir
155                 .long   sys_bdflush
156 /* 135 */       .long   sys_sysfs
157                 .long   sys_personality
158                 .long   sys_ni_syscall          /* .long        _sys_afs_syscall */
159                 .long   sys_setfsuid16
160                 .long   sys_setfsgid16
161 /* 140 */       .long   sys_llseek
162                 .long   sys_getdents
163                 .long   sys_select
164                 .long   sys_flock
165                 .long   sys_msync
166 /* 145 */       .long   sys_readv
167                 .long   sys_writev
168                 .long   sys_getsid
169                 .long   sys_fdatasync
170                 .long   sys_sysctl
171 /* 150 */       .long   sys_mlock
172                 .long   sys_munlock
173                 .long   sys_mlockall
174                 .long   sys_munlockall
175                 .long   sys_sched_setparam
176 /* 155 */       .long   sys_sched_getparam
177                 .long   sys_sched_setscheduler
178                 .long   sys_sched_getscheduler
179                 .long   sys_sched_yield
180                 .long   sys_sched_get_priority_max
181 /* 160 */       .long   sys_sched_get_priority_min
182                 .long   sys_sched_rr_get_interval
183                 .long   sys_nanosleep
184                 .long   sys_arm_mremap
185                 .long   sys_setresuid16
186 /* 165 */       .long   sys_getresuid16
187                 .long   sys_ni_syscall
188                 .long   sys_ni_syscall /* WAS: sys_query_module */
189                 .long   sys_poll
190                 .long   sys_nfsservctl
191 /* 170 */       .long   sys_setresgid16
192                 .long   sys_getresgid16
193                 .long   sys_prctl
194                 .long   sys_rt_sigreturn_wrapper
195                 .long   sys_rt_sigaction
196 /* 175 */       .long   sys_rt_sigprocmask
197                 .long   sys_rt_sigpending
198                 .long   sys_rt_sigtimedwait
199                 .long   sys_rt_sigqueueinfo
200                 .long   sys_rt_sigsuspend_wrapper
201 /* 180 */       .long   sys_pread64
202                 .long   sys_pwrite64
203                 .long   sys_chown16
204                 .long   sys_getcwd
205                 .long   sys_capget
206 /* 185 */       .long   sys_capset
207                 .long   sys_sigaltstack_wrapper
208                 .long   sys_sendfile
209                 .long   sys_ni_syscall
210                 .long   sys_ni_syscall
211 /* 190 */       .long   sys_vfork_wrapper
212                 .long   sys_getrlimit
213                 .long   sys_mmap2
214                 .long   sys_truncate64
215                 .long   sys_ftruncate64
216 /* 195 */       .long   sys_stat64
217                 .long   sys_lstat64
218                 .long   sys_fstat64
219                 .long   sys_lchown
220                 .long   sys_getuid
221 /* 200 */       .long   sys_getgid
222                 .long   sys_geteuid
223                 .long   sys_getegid
224                 .long   sys_setreuid
225                 .long   sys_setregid
226 /* 205 */       .long   sys_getgroups
227                 .long   sys_setgroups
228                 .long   sys_fchown
229                 .long   sys_setresuid
230                 .long   sys_getresuid
231 /* 210 */       .long   sys_setresgid
232                 .long   sys_getresgid
233                 .long   sys_chown
234                 .long   sys_setuid
235                 .long   sys_setgid
236 /* 215 */       .long   sys_setfsuid
237                 .long   sys_setfsgid
238                 .long   sys_getdents64
239                 .long   sys_pivot_root
240                 .long   sys_mincore
241 /* 220 */       .long   sys_madvise
242                 .long   sys_fcntl64
243                 .long   sys_ni_syscall /* TUX */
244                 .long   sys_ni_syscall /* WAS: sys_security */
245                 .long   sys_gettid
246 /* 225 */       .long   sys_readahead
247                 .long   sys_setxattr
248                 .long   sys_lsetxattr
249                 .long   sys_fsetxattr
250                 .long   sys_getxattr
251 /* 230 */       .long   sys_lgetxattr
252                 .long   sys_fgetxattr
253                 .long   sys_listxattr
254                 .long   sys_llistxattr
255                 .long   sys_flistxattr
256 /* 235 */       .long   sys_removexattr
257                 .long   sys_lremovexattr
258                 .long   sys_fremovexattr
259                 .long   sys_tkill
260 __syscall_end:
262                 .rept   NR_syscalls - (__syscall_end - __syscall_start) / 4
263                         .long   sys_ni_syscall
264                 .endr
265 #endif