work around bluetooth linger bug
[trinity.git] / include / syscalls-aarch64.h
blob760f01447c40490648c018dfc5db84556495b781
1 /*
2 * Derived from linux/arch/arm64/include/asm/unistd.h
3 */
5 #include "sanitise.h"
6 #include "syscall.h"
7 #include "syscalls/syscalls.h"
9 struct syscalltable syscalls_aarch64[] = {
10 /* 0 */ { .entry = &syscall_io_setup },
11 /* 1 */ { .entry = &syscall_io_destroy },
12 /* 2 */ { .entry = &syscall_io_submit },
13 /* 3 */ { .entry = &syscall_io_cancel },
14 /* 4 */ { .entry = &syscall_io_getevents },
15 /* 5 */ { .entry = &syscall_setxattr },
16 /* 6 */ { .entry = &syscall_lsetxattr },
17 /* 7 */ { .entry = &syscall_fsetxattr },
18 /* 8 */ { .entry = &syscall_getxattr },
19 /* 9 */ { .entry = &syscall_lgetxattr },
20 /* 10 */ { .entry = &syscall_fgetxattr },
21 /* 11 */ { .entry = &syscall_listxattr },
22 /* 12 */ { .entry = &syscall_llistxattr },
23 /* 13 */ { .entry = &syscall_flistxattr },
24 /* 14 */ { .entry = &syscall_removexattr },
25 /* 15 */ { .entry = &syscall_lremovexattr },
26 /* 16 */ { .entry = &syscall_fremovexattr },
27 /* 17 */ { .entry = &syscall_getcwd },
28 /* 18 */ { .entry = &syscall_lookup_dcookie },
29 /* 19 */ { .entry = &syscall_eventfd2 },
30 /* 20 */ { .entry = &syscall_epoll_create1 },
31 /* 21 */ { .entry = &syscall_epoll_ctl },
32 /* 22 */ { .entry = &syscall_epoll_pwait },
33 /* 23 */ { .entry = &syscall_dup },
34 /* 24 */ { .entry = &syscall_dup3 },
35 /* 25 */ { .entry = &syscall_fcntl },
36 /* 26 */ { .entry = &syscall_inotify_init1 },
37 /* 27 */ { .entry = &syscall_inotify_add_watch },
38 /* 28 */ { .entry = &syscall_inotify_rm_watch },
39 /* 29 */ { .entry = &syscall_ioctl },
40 /* 30 */ { .entry = &syscall_ioprio_set },
41 /* 31 */ { .entry = &syscall_ioprio_get },
42 /* 32 */ { .entry = &syscall_flock },
43 /* 33 */ { .entry = &syscall_mknodat },
44 /* 34 */ { .entry = &syscall_mkdirat },
45 /* 35 */ { .entry = &syscall_unlinkat },
46 /* 36 */ { .entry = &syscall_symlinkat },
47 /* 37 */ { .entry = &syscall_linkat },
48 /* 38 */ { .entry = &syscall_renameat },
49 /* 39 */ { .entry = &syscall_umount },
50 /* 40 */ { .entry = &syscall_mount },
51 /* 41 */ { .entry = &syscall_pivot_root },
52 /* 42 */ { .entry = &syscall_ni_syscall },
53 /* 43 */ { .entry = &syscall_statfs },
54 /* 44 */ { .entry = &syscall_fstatfs },
55 /* 45 */ { .entry = &syscall_truncate },
56 /* 46 */ { .entry = &syscall_ftruncate },
57 /* 47 */ { .entry = &syscall_fallocate },
58 /* 48 */ { .entry = &syscall_faccessat },
59 /* 49 */ { .entry = &syscall_chdir },
60 /* 50 */ { .entry = &syscall_fchdir },
61 /* 51 */ { .entry = &syscall_chroot },
62 /* 52 */ { .entry = &syscall_fchmod },
63 /* 53 */ { .entry = &syscall_fchmodat },
64 /* 54 */ { .entry = &syscall_fchownat },
65 /* 55 */ { .entry = &syscall_fchown },
66 /* 56 */ { .entry = &syscall_openat },
67 /* 57 */ { .entry = &syscall_close },
68 /* 58 */ { .entry = &syscall_vhangup },
69 /* 59 */ { .entry = &syscall_pipe2 },
70 /* 60 */ { .entry = &syscall_quotactl },
71 /* 61 */ { .entry = &syscall_getdents64 },
72 /* 62 */ { .entry = &syscall_lseek },
73 /* 63 */ { .entry = &syscall_read },
74 /* 64 */ { .entry = &syscall_write },
75 /* 65 */ { .entry = &syscall_readv },
76 /* 66 */ { .entry = &syscall_writev },
77 /* 67 */ { .entry = &syscall_pread64 },
78 /* 68 */ { .entry = &syscall_pwrite64 },
79 /* 69 */ { .entry = &syscall_preadv },
80 /* 70 */ { .entry = &syscall_pwritev },
81 /* 71 */ { .entry = &syscall_sendfile64 },
82 /* 72 */ { .entry = &syscall_pselect6 },
83 /* 73 */ { .entry = &syscall_ppoll },
84 /* 74 */ { .entry = &syscall_signalfd4 },
85 /* 75 */ { .entry = &syscall_vmsplice },
86 /* 76 */ { .entry = &syscall_splice },
87 /* 77 */ { .entry = &syscall_tee },
88 /* 78 */ { .entry = &syscall_readlinkat },
89 /* 79 */ { .entry = &syscall_newfstatat },
90 /* 80 */ { .entry = &syscall_newfstat },
91 /* 81 */ { .entry = &syscall_sync },
92 /* 82 */ { .entry = &syscall_fsync },
93 /* 83 */ { .entry = &syscall_fdatasync },
94 /* 84 */ { .entry = &syscall_sync_file_range },
95 /* 85 */ { .entry = &syscall_timerfd_create },
96 /* 86 */ { .entry = &syscall_timerfd_settime },
97 /* 87 */ { .entry = &syscall_timerfd_gettime },
98 /* 88 */ { .entry = &syscall_utimensat },
99 /* 89 */ { .entry = &syscall_acct },
100 /* 90 */ { .entry = &syscall_capget },
101 /* 91 */ { .entry = &syscall_capset },
102 /* 92 */ { .entry = &syscall_personality },
103 /* 93 */ { .entry = &syscall_exit },
104 /* 94 */ { .entry = &syscall_exit_group },
105 /* 95 */ { .entry = &syscall_waitid },
106 /* 96 */ { .entry = &syscall_set_tid_address },
107 /* 97 */ { .entry = &syscall_unshare },
108 /* 98 */ { .entry = &syscall_futex },
109 /* 99 */ { .entry = &syscall_set_robust_list },
110 /* 100 */ { .entry = &syscall_get_robust_list },
111 /* 101 */ { .entry = &syscall_nanosleep },
112 /* 102 */ { .entry = &syscall_getitimer },
113 /* 103 */ { .entry = &syscall_setitimer },
114 /* 104 */ { .entry = &syscall_kexec_load },
115 /* 105 */ { .entry = &syscall_init_module },
116 /* 106 */ { .entry = &syscall_delete_module },
117 /* 107 */ { .entry = &syscall_timer_create },
118 /* 108 */ { .entry = &syscall_timer_gettime },
119 /* 109 */ { .entry = &syscall_timer_getoverrun },
120 /* 110 */ { .entry = &syscall_timer_settime },
121 /* 111 */ { .entry = &syscall_timer_delete },
122 /* 112 */ { .entry = &syscall_clock_settime },
123 /* 113 */ { .entry = &syscall_clock_gettime },
124 /* 114 */ { .entry = &syscall_clock_getres },
125 /* 115 */ { .entry = &syscall_clock_nanosleep },
126 /* 116 */ { .entry = &syscall_syslog },
127 /* 117 */ { .entry = &syscall_ptrace },
128 /* 118 */ { .entry = &syscall_sched_setparam },
129 /* 119 */ { .entry = &syscall_sched_setscheduler },
130 /* 120 */ { .entry = &syscall_sched_getscheduler },
131 /* 121 */ { .entry = &syscall_sched_getparam },
132 /* 122 */ { .entry = &syscall_sched_setaffinity },
133 /* 123 */ { .entry = &syscall_sched_getaffinity },
134 /* 124 */ { .entry = &syscall_sched_yield },
135 /* 125 */ { .entry = &syscall_sched_get_priority_max },
136 /* 126 */ { .entry = &syscall_sched_get_priority_min },
137 /* 127 */ { .entry = &syscall_sched_rr_get_interval },
138 /* 128 */ { .entry = &syscall_restart_syscall },
139 /* 129 */ { .entry = &syscall_kill },
140 /* 130 */ { .entry = &syscall_tkill },
141 /* 131 */ { .entry = &syscall_tgkill },
142 /* 132 */ { .entry = &syscall_sigaltstack },
143 /* 133 */ { .entry = &syscall_rt_sigsuspend },
144 /* 134 */ { .entry = &syscall_rt_sigaction },
145 /* 135 */ { .entry = &syscall_rt_sigprocmask },
146 /* 136 */ { .entry = &syscall_rt_sigpending },
147 /* 137 */ { .entry = &syscall_rt_sigtimedwait },
148 /* 138 */ { .entry = &syscall_rt_sigqueueinfo },
149 /* 139 */ { .entry = &syscall_rt_sigreturn },
150 /* 140 */ { .entry = &syscall_setpriority },
151 /* 141 */ { .entry = &syscall_getpriority },
152 /* 142 */ { .entry = &syscall_reboot },
153 /* 143 */ { .entry = &syscall_setregid },
154 /* 144 */ { .entry = &syscall_setgid },
155 /* 145 */ { .entry = &syscall_setreuid },
156 /* 146 */ { .entry = &syscall_setuid },
157 /* 147 */ { .entry = &syscall_setresuid },
158 /* 148 */ { .entry = &syscall_getresuid },
159 /* 149 */ { .entry = &syscall_setresgid },
160 /* 150 */ { .entry = &syscall_getresgid },
161 /* 151 */ { .entry = &syscall_setfsuid },
162 /* 152 */ { .entry = &syscall_setfsgid },
163 /* 153 */ { .entry = &syscall_times },
164 /* 154 */ { .entry = &syscall_setpgid },
165 /* 155 */ { .entry = &syscall_getpgid },
166 /* 156 */ { .entry = &syscall_getsid },
167 /* 157 */ { .entry = &syscall_setsid },
168 /* 158 */ { .entry = &syscall_getgroups },
169 /* 159 */ { .entry = &syscall_setgroups },
170 /* 160 */ { .entry = &syscall_newuname },
171 /* 161 */ { .entry = &syscall_sethostname },
172 /* 162 */ { .entry = &syscall_setdomainname },
173 /* 163 */ { .entry = &syscall_getrlimit },
174 /* 164 */ { .entry = &syscall_setrlimit },
175 /* 165 */ { .entry = &syscall_getrusage },
176 /* 166 */ { .entry = &syscall_umask },
177 /* 167 */ { .entry = &syscall_prctl },
178 /* 168 */ { .entry = &syscall_getcpu },
179 /* 169 */ { .entry = &syscall_gettimeofday },
180 /* 170 */ { .entry = &syscall_settimeofday },
181 /* 171 */ { .entry = &syscall_adjtimex },
182 /* 172 */ { .entry = &syscall_getpid },
183 /* 173 */ { .entry = &syscall_getppid },
184 /* 174 */ { .entry = &syscall_getuid },
185 /* 175 */ { .entry = &syscall_geteuid },
186 /* 176 */ { .entry = &syscall_getgid },
187 /* 177 */ { .entry = &syscall_getegid },
188 /* 178 */ { .entry = &syscall_gettid },
189 /* 179 */ { .entry = &syscall_sysinfo },
190 /* 180 */ { .entry = &syscall_mq_open },
191 /* 181 */ { .entry = &syscall_mq_unlink },
192 /* 182 */ { .entry = &syscall_mq_timedsend },
193 /* 183 */ { .entry = &syscall_mq_timedreceive },
194 /* 184 */ { .entry = &syscall_mq_notify },
195 /* 185 */ { .entry = &syscall_mq_getsetattr },
196 /* 186 */ { .entry = &syscall_msgget },
197 /* 187 */ { .entry = &syscall_msgctl },
198 /* 188 */ { .entry = &syscall_msgrcv },
199 /* 189 */ { .entry = &syscall_msgsnd },
200 /* 190 */ { .entry = &syscall_semget },
201 /* 191 */ { .entry = &syscall_semctl },
202 /* 192 */ { .entry = &syscall_semtimedop },
203 /* 193 */ { .entry = &syscall_semop },
204 /* 194 */ { .entry = &syscall_shmget },
205 /* 195 */ { .entry = &syscall_shmctl },
206 /* 196 */ { .entry = &syscall_shmat },
207 /* 197 */ { .entry = &syscall_shmdt },
208 /* 198 */ { .entry = &syscall_socket },
209 /* 199 */ { .entry = &syscall_socketpair },
210 /* 200 */ { .entry = &syscall_bind },
211 /* 201 */ { .entry = &syscall_listen },
212 /* 202 */ { .entry = &syscall_accept },
213 /* 203 */ { .entry = &syscall_connect },
214 /* 204 */ { .entry = &syscall_getsockname },
215 /* 205 */ { .entry = &syscall_getpeername },
216 /* 206 */ { .entry = &syscall_sendto },
217 /* 207 */ { .entry = &syscall_recvfrom },
218 /* 208 */ { .entry = &syscall_setsockopt },
219 /* 209 */ { .entry = &syscall_getsockopt },
220 /* 210 */ { .entry = &syscall_shutdown },
221 /* 211 */ { .entry = &syscall_sendmsg },
222 /* 212 */ { .entry = &syscall_recvmsg },
223 /* 213 */ { .entry = &syscall_readahead },
224 /* 214 */ { .entry = &syscall_brk },
225 /* 215 */ { .entry = &syscall_munmap },
226 /* 216 */ { .entry = &syscall_mremap },
227 /* 217 */ { .entry = &syscall_add_key },
228 /* 218 */ { .entry = &syscall_request_key },
229 /* 219 */ { .entry = &syscall_keyctl },
230 /* 220 */ { .entry = &syscall_clone },
231 /* 221 */ { .entry = &syscall_execve },
232 /* 222 */ { .entry = &syscall_mmap },
233 /* 223 */ { .entry = &syscall_fadvise64_64 },
234 /* 224 */ { .entry = &syscall_swapon },
235 /* 225 */ { .entry = &syscall_swapoff },
236 /* 226 */ { .entry = &syscall_mprotect },
237 /* 227 */ { .entry = &syscall_msync },
238 /* 228 */ { .entry = &syscall_mlock },
239 /* 229 */ { .entry = &syscall_munlock },
240 /* 230 */ { .entry = &syscall_mlockall },
241 /* 231 */ { .entry = &syscall_munlockall },
242 /* 232 */ { .entry = &syscall_mincore },
243 /* 233 */ { .entry = &syscall_madvise },
244 /* 234 */ { .entry = &syscall_remap_file_pages },
245 /* 235 */ { .entry = &syscall_mbind },
246 /* 236 */ { .entry = &syscall_get_mempolicy },
247 /* 237 */ { .entry = &syscall_set_mempolicy },
248 /* 238 */ { .entry = &syscall_migrate_pages },
249 /* 239 */ { .entry = &syscall_move_pages },
250 /* 240 */ { .entry = &syscall_rt_tgsigqueueinfo },
251 /* 241 */ { .entry = &syscall_perf_event_open },
252 /* 242 */ { .entry = &syscall_accept4 },
253 /* 243 */ { .entry = &syscall_recvmmsg },
254 /* 244 */ { .entry = &syscall_ni_syscall },
255 /* 245 */ { .entry = &syscall_ni_syscall },
256 /* 246 */ { .entry = &syscall_ni_syscall },
257 /* 247 */ { .entry = &syscall_ni_syscall },
258 /* 248 */ { .entry = &syscall_ni_syscall },
259 /* 249 */ { .entry = &syscall_ni_syscall },
260 /* 250 */ { .entry = &syscall_ni_syscall },
261 /* 251 */ { .entry = &syscall_ni_syscall },
262 /* 252 */ { .entry = &syscall_ni_syscall },
263 /* 253 */ { .entry = &syscall_ni_syscall },
264 /* 254 */ { .entry = &syscall_ni_syscall },
265 /* 255 */ { .entry = &syscall_ni_syscall },
266 /* 256 */ { .entry = &syscall_ni_syscall },
267 /* 257 */ { .entry = &syscall_ni_syscall },
268 /* 258 */ { .entry = &syscall_ni_syscall },
269 /* 259 */ { .entry = &syscall_ni_syscall },
270 /* 260 */ { .entry = &syscall_wait4 },
271 /* 261 */ { .entry = &syscall_prlimit64 },
272 /* 262 */ { .entry = &syscall_fanotify_init },
273 /* 263 */ { .entry = &syscall_fanotify_mark },
274 /* 264 */ { .entry = &syscall_name_to_handle_at },
275 /* 265 */ { .entry = &syscall_open_by_handle_at },
276 /* 266 */ { .entry = &syscall_clock_adjtime },
277 /* 267 */ { .entry = &syscall_syncfs },
278 /* 268 */ { .entry = &syscall_setns },
279 /* 269 */ { .entry = &syscall_sendmmsg },
280 /* 270 */ { .entry = &syscall_process_vm_readv },
281 /* 271 */ { .entry = &syscall_process_vm_writev },
282 /* 272 */ { .entry = &syscall_kcmp },
283 /* 273 */ { .entry = &syscall_finit_module },