2 <!-- Copyright (C) 2010-2014 Free Software Foundation, Inc.
4 Copying and distribution of this file, with or without modification,
5 are permitted in any medium without royalty provided the copyright
6 notice and this notice are preserved. -->
8 <!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
10 <!-- This file was generated using the following file:
12 gawk '$2 ~ /^__NR_/ { gsub(/__NR_/,""); print " <syscall name=\"" $2 "\" number=\"" $3 "\"/>" }'
13 /usr/src/linux/arch/blackfin/include/asm/unistd.h
15 The file mentioned above belongs to the Linux Kernel. -->
18 <syscall name="restart_syscall" number="0"/>
19 <syscall name="exit" number="1"/>
20 <syscall name="fork" number="2"/>
21 <syscall name="read" number="3"/>
22 <syscall name="write" number="4"/>
23 <syscall name="open" number="5"/>
24 <syscall name="close" number="6"/>
25 <syscall name="creat" number="8"/>
26 <syscall name="link" number="9"/>
27 <syscall name="unlink" number="10"/>
28 <syscall name="execve" number="11"/>
29 <syscall name="chdir" number="12"/>
30 <syscall name="time" number="13"/>
31 <syscall name="mknod" number="14"/>
32 <syscall name="chmod" number="15"/>
33 <syscall name="chown" number="16"/>
34 <syscall name="lseek" number="19"/>
35 <syscall name="getpid" number="20"/>
36 <syscall name="mount" number="21"/>
37 <syscall name="setuid" number="23"/>
38 <syscall name="getuid" number="24"/>
39 <syscall name="stime" number="25"/>
40 <syscall name="ptrace" number="26"/>
41 <syscall name="alarm" number="27"/>
42 <syscall name="pause" number="29"/>
43 <syscall name="access" number="33"/>
44 <syscall name="nice" number="34"/>
45 <syscall name="sync" number="36"/>
46 <syscall name="kill" number="37"/>
47 <syscall name="rename" number="38"/>
48 <syscall name="mkdir" number="39"/>
49 <syscall name="rmdir" number="40"/>
50 <syscall name="dup" number="41"/>
51 <syscall name="pipe" number="42"/>
52 <syscall name="times" number="43"/>
53 <syscall name="brk" number="45"/>
54 <syscall name="setgid" number="46"/>
55 <syscall name="getgid" number="47"/>
56 <syscall name="geteuid" number="49"/>
57 <syscall name="getegid" number="50"/>
58 <syscall name="acct" number="51"/>
59 <syscall name="umount2" number="52"/>
60 <syscall name="ioctl" number="54"/>
61 <syscall name="fcntl" number="55"/>
62 <syscall name="setpgid" number="57"/>
63 <syscall name="umask" number="60"/>
64 <syscall name="chroot" number="61"/>
65 <syscall name="ustat" number="62"/>
66 <syscall name="dup2" number="63"/>
67 <syscall name="getppid" number="64"/>
68 <syscall name="getpgrp" number="65"/>
69 <syscall name="setsid" number="66"/>
70 <syscall name="sgetmask" number="68"/>
71 <syscall name="ssetmask" number="69"/>
72 <syscall name="setreuid" number="70"/>
73 <syscall name="setregid" number="71"/>
74 <syscall name="sethostname" number="74"/>
75 <syscall name="setrlimit" number="75"/>
76 <syscall name="getrusage" number="77"/>
77 <syscall name="gettimeofday" number="78"/>
78 <syscall name="settimeofday" number="79"/>
79 <syscall name="getgroups" number="80"/>
80 <syscall name="setgroups" number="81"/>
81 <syscall name="symlink" number="83"/>
82 <syscall name="readlink" number="85"/>
83 <syscall name="reboot" number="88"/>
84 <syscall name="munmap" number="91"/>
85 <syscall name="truncate" number="92"/>
86 <syscall name="ftruncate" number="93"/>
87 <syscall name="fchmod" number="94"/>
88 <syscall name="fchown" number="95"/>
89 <syscall name="getpriority" number="96"/>
90 <syscall name="setpriority" number="97"/>
91 <syscall name="statfs" number="99"/>
92 <syscall name="fstatfs" number="100"/>
93 <syscall name="syslog" number="103"/>
94 <syscall name="setitimer" number="104"/>
95 <syscall name="getitimer" number="105"/>
96 <syscall name="stat" number="106"/>
97 <syscall name="lstat" number="107"/>
98 <syscall name="fstat" number="108"/>
99 <syscall name="vhangup" number="111"/>
100 <syscall name="wait4" number="114"/>
101 <syscall name="sysinfo" number="116"/>
102 <syscall name="fsync" number="118"/>
103 <syscall name="clone" number="120"/>
104 <syscall name="setdomainname" number="121"/>
105 <syscall name="uname" number="122"/>
106 <syscall name="adjtimex" number="124"/>
107 <syscall name="mprotect" number="125"/>
108 <syscall name="init_module" number="128"/>
109 <syscall name="delete_module" number="129"/>
110 <syscall name="quotactl" number="131"/>
111 <syscall name="getpgid" number="132"/>
112 <syscall name="fchdir" number="133"/>
113 <syscall name="bdflush" number="134"/>
114 <syscall name="personality" number="136"/>
115 <syscall name="setfsuid" number="138"/>
116 <syscall name="setfsgid" number="139"/>
117 <syscall name="_llseek" number="140"/>
118 <syscall name="getdents" number="141"/>
119 <syscall name="flock" number="143"/>
120 <syscall name="readv" number="145"/>
121 <syscall name="writev" number="146"/>
122 <syscall name="getsid" number="147"/>
123 <syscall name="fdatasync" number="148"/>
124 <syscall name="_sysctl" number="149"/>
125 <syscall name="sched_setparam" number="154"/>
126 <syscall name="sched_getparam" number="155"/>
127 <syscall name="sched_setscheduler" number="156"/>
128 <syscall name="sched_getscheduler" number="157"/>
129 <syscall name="sched_yield" number="158"/>
130 <syscall name="sched_get_priority_max" number="159"/>
131 <syscall name="sched_get_priority_min" number="160"/>
132 <syscall name="sched_rr_get_interval" number="161"/>
133 <syscall name="nanosleep" number="162"/>
134 <syscall name="mremap" number="163"/>
135 <syscall name="setresuid" number="164"/>
136 <syscall name="getresuid" number="165"/>
137 <syscall name="nfsservctl" number="169"/>
138 <syscall name="setresgid" number="170"/>
139 <syscall name="getresgid" number="171"/>
140 <syscall name="prctl" number="172"/>
141 <syscall name="rt_sigreturn" number="173"/>
142 <syscall name="rt_sigaction" number="174"/>
143 <syscall name="rt_sigprocmask" number="175"/>
144 <syscall name="rt_sigpending" number="176"/>
145 <syscall name="rt_sigtimedwait" number="177"/>
146 <syscall name="rt_sigqueueinfo" number="178"/>
147 <syscall name="rt_sigsuspend" number="179"/>
148 <syscall name="pread" number="180"/>
149 <syscall name="pwrite" number="181"/>
150 <syscall name="lchown" number="182"/>
151 <syscall name="getcwd" number="183"/>
152 <syscall name="capget" number="184"/>
153 <syscall name="capset" number="185"/>
154 <syscall name="sigaltstack" number="186"/>
155 <syscall name="sendfile" number="187"/>
156 <syscall name="vfork" number="190"/>
157 <syscall name="getrlimit" number="191"/>
158 <syscall name="mmap2" number="192"/>
159 <syscall name="truncate64" number="193"/>
160 <syscall name="ftruncate64" number="194"/>
161 <syscall name="stat64" number="195"/>
162 <syscall name="lstat64" number="196"/>
163 <syscall name="fstat64" number="197"/>
164 <syscall name="chown32" number="198"/>
165 <syscall name="getuid32" number="199"/>
166 <syscall name="getgid32" number="200"/>
167 <syscall name="geteuid32" number="201"/>
168 <syscall name="getegid32" number="202"/>
169 <syscall name="setreuid32" number="203"/>
170 <syscall name="setregid32" number="204"/>
171 <syscall name="getgroups32" number="205"/>
172 <syscall name="setgroups32" number="206"/>
173 <syscall name="fchown32" number="207"/>
174 <syscall name="setresuid32" number="208"/>
175 <syscall name="getresuid32" number="209"/>
176 <syscall name="setresgid32" number="210"/>
177 <syscall name="getresgid32" number="211"/>
178 <syscall name="lchown32" number="212"/>
179 <syscall name="setuid32" number="213"/>
180 <syscall name="setgid32" number="214"/>
181 <syscall name="setfsuid32" number="215"/>
182 <syscall name="setfsgid32" number="216"/>
183 <syscall name="pivot_root" number="217"/>
184 <syscall name="getdents64" number="220"/>
185 <syscall name="fcntl64" number="221"/>
186 <syscall name="gettid" number="224"/>
187 <syscall name="readahead" number="225"/>
188 <syscall name="setxattr" number="226"/>
189 <syscall name="lsetxattr" number="227"/>
190 <syscall name="fsetxattr" number="228"/>
191 <syscall name="getxattr" number="229"/>
192 <syscall name="lgetxattr" number="230"/>
193 <syscall name="fgetxattr" number="231"/>
194 <syscall name="listxattr" number="232"/>
195 <syscall name="llistxattr" number="233"/>
196 <syscall name="flistxattr" number="234"/>
197 <syscall name="removexattr" number="235"/>
198 <syscall name="lremovexattr" number="236"/>
199 <syscall name="fremovexattr" number="237"/>
200 <syscall name="tkill" number="238"/>
201 <syscall name="sendfile64" number="239"/>
202 <syscall name="futex" number="240"/>
203 <syscall name="sched_setaffinity" number="241"/>
204 <syscall name="sched_getaffinity" number="242"/>
205 <syscall name="io_setup" number="245"/>
206 <syscall name="io_destroy" number="246"/>
207 <syscall name="io_getevents" number="247"/>
208 <syscall name="io_submit" number="248"/>
209 <syscall name="io_cancel" number="249"/>
210 <syscall name="exit_group" number="252"/>
211 <syscall name="lookup_dcookie" number="253"/>
212 <syscall name="bfin_spinlock" number="254"/>
213 <syscall name="epoll_create" number="255"/>
214 <syscall name="epoll_ctl" number="256"/>
215 <syscall name="epoll_wait" number="257"/>
216 <syscall name="set_tid_address" number="259"/>
217 <syscall name="timer_create" number="260"/>
218 <syscall name="timer_settime" number="261"/>
219 <syscall name="timer_gettime" number="262"/>
220 <syscall name="timer_getoverrun" number="263"/>
221 <syscall name="timer_delete" number="264"/>
222 <syscall name="clock_settime" number="265"/>
223 <syscall name="clock_gettime" number="266"/>
224 <syscall name="clock_getres" number="267"/>
225 <syscall name="clock_nanosleep" number="268"/>
226 <syscall name="statfs64" number="269"/>
227 <syscall name="fstatfs64" number="270"/>
228 <syscall name="tgkill" number="271"/>
229 <syscall name="utimes" number="272"/>
230 <syscall name="fadvise64_64" number="273"/>
231 <syscall name="mq_open" number="278"/>
232 <syscall name="mq_unlink" number="279"/>
233 <syscall name="mq_timedsend" number="280"/>
234 <syscall name="mq_timedreceive" number="281"/>
235 <syscall name="mq_notify" number="282"/>
236 <syscall name="mq_getsetattr" number="283"/>
237 <syscall name="kexec_load" number="284"/>
238 <syscall name="waitid" number="285"/>
239 <syscall name="add_key" number="286"/>
240 <syscall name="request_key" number="287"/>
241 <syscall name="keyctl" number="288"/>
242 <syscall name="ioprio_set" number="289"/>
243 <syscall name="ioprio_get" number="290"/>
244 <syscall name="inotify_init" number="291"/>
245 <syscall name="inotify_add_watch" number="292"/>
246 <syscall name="inotify_rm_watch" number="293"/>
247 <syscall name="openat" number="295"/>
248 <syscall name="mkdirat" number="296"/>
249 <syscall name="mknodat" number="297"/>
250 <syscall name="fchownat" number="298"/>
251 <syscall name="futimesat" number="299"/>
252 <syscall name="fstatat64" number="300"/>
253 <syscall name="unlinkat" number="301"/>
254 <syscall name="renameat" number="302"/>
255 <syscall name="linkat" number="303"/>
256 <syscall name="symlinkat" number="304"/>
257 <syscall name="readlinkat" number="305"/>
258 <syscall name="fchmodat" number="306"/>
259 <syscall name="faccessat" number="307"/>
260 <syscall name="pselect6" number="308"/>
261 <syscall name="ppoll" number="309"/>
262 <syscall name="unshare" number="310"/>
263 <syscall name="sram_alloc" number="311"/>
264 <syscall name="sram_free" number="312"/>
265 <syscall name="dma_memcpy" number="313"/>
266 <syscall name="accept" number="314"/>
267 <syscall name="bind" number="315"/>
268 <syscall name="connect" number="316"/>
269 <syscall name="getpeername" number="317"/>
270 <syscall name="getsockname" number="318"/>
271 <syscall name="getsockopt" number="319"/>
272 <syscall name="listen" number="320"/>
273 <syscall name="recv" number="321"/>
274 <syscall name="recvfrom" number="322"/>
275 <syscall name="recvmsg" number="323"/>
276 <syscall name="send" number="324"/>
277 <syscall name="sendmsg" number="325"/>
278 <syscall name="sendto" number="326"/>
279 <syscall name="setsockopt" number="327"/>
280 <syscall name="shutdown" number="328"/>
281 <syscall name="socket" number="329"/>
282 <syscall name="socketpair" number="330"/>
283 <syscall name="semctl" number="331"/>
284 <syscall name="semget" number="332"/>
285 <syscall name="semop" number="333"/>
286 <syscall name="msgctl" number="334"/>
287 <syscall name="msgget" number="335"/>
288 <syscall name="msgrcv" number="336"/>
289 <syscall name="msgsnd" number="337"/>
290 <syscall name="shmat" number="338"/>
291 <syscall name="shmctl" number="339"/>
292 <syscall name="shmdt" number="340"/>
293 <syscall name="shmget" number="341"/>
294 <syscall name="splice" number="342"/>
295 <syscall name="sync_file_range" number="343"/>
296 <syscall name="tee" number="344"/>
297 <syscall name="vmsplice" number="345"/>
298 <syscall name="epoll_pwait" number="346"/>
299 <syscall name="utimensat" number="347"/>
300 <syscall name="signalfd" number="348"/>
301 <syscall name="timerfd_create" number="349"/>
302 <syscall name="eventfd" number="350"/>
303 <syscall name="pread64" number="351"/>
304 <syscall name="pwrite64" number="352"/>
305 <syscall name="fadvise64" number="353"/>
306 <syscall name="set_robust_list" number="354"/>
307 <syscall name="get_robust_list" number="355"/>
308 <syscall name="fallocate" number="356"/>
309 <syscall name="semtimedop" number="357"/>
310 <syscall name="timerfd_settime" number="358"/>
311 <syscall name="timerfd_gettime" number="359"/>
312 <syscall name="signalfd4" number="360"/>
313 <syscall name="eventfd2" number="361"/>
314 <syscall name="epoll_create1" number="362"/>
315 <syscall name="dup3" number="363"/>
316 <syscall name="pipe2" number="364"/>
317 <syscall name="inotify_init1" number="365"/>
318 <syscall name="preadv" number="366"/>
319 <syscall name="pwritev" number="367"/>
320 <syscall name="rt_tgsigqueueinfo" number="368"/>
321 <syscall name="perf_event_open" number="369"/>
322 <syscall name="recvmmsg" number="370"/>
323 <syscall name="fanotify_init" number="371"/>
324 <syscall name="fanotify_mark" number="372"/>
325 <syscall name="prlimit64" number="373"/>