1570af302Sopenharmony_ci#define __NR_io_setup 0
2570af302Sopenharmony_ci#define __NR_io_destroy 1
3570af302Sopenharmony_ci#define __NR_io_submit 2
4570af302Sopenharmony_ci#define __NR_io_cancel 3
5570af302Sopenharmony_ci#define __NR_io_getevents 4
6570af302Sopenharmony_ci#define __NR_setxattr 5
7570af302Sopenharmony_ci#define __NR_lsetxattr 6
8570af302Sopenharmony_ci#define __NR_fsetxattr 7
9570af302Sopenharmony_ci#define __NR_getxattr 8
10570af302Sopenharmony_ci#define __NR_lgetxattr 9
11570af302Sopenharmony_ci#define __NR_fgetxattr 10
12570af302Sopenharmony_ci#define __NR_listxattr 11
13570af302Sopenharmony_ci#define __NR_llistxattr 12
14570af302Sopenharmony_ci#define __NR_flistxattr 13
15570af302Sopenharmony_ci#define __NR_removexattr 14
16570af302Sopenharmony_ci#define __NR_lremovexattr 15
17570af302Sopenharmony_ci#define __NR_fremovexattr 16
18570af302Sopenharmony_ci#define __NR_getcwd 17
19570af302Sopenharmony_ci#define __NR_lookup_dcookie 18
20570af302Sopenharmony_ci#define __NR_eventfd2 19
21570af302Sopenharmony_ci#define __NR_epoll_create1 20
22570af302Sopenharmony_ci#define __NR_epoll_ctl 21
23570af302Sopenharmony_ci#define __NR_epoll_pwait 22
24570af302Sopenharmony_ci#define __NR_dup 23
25570af302Sopenharmony_ci#define __NR_dup3 24
26570af302Sopenharmony_ci#define __NR_fcntl 25
27570af302Sopenharmony_ci#define __NR_inotify_init1 26
28570af302Sopenharmony_ci#define __NR_inotify_add_watch 27
29570af302Sopenharmony_ci#define __NR_inotify_rm_watch 28
30570af302Sopenharmony_ci#define __NR_ioctl 29
31570af302Sopenharmony_ci#define __NR_ioprio_set 30
32570af302Sopenharmony_ci#define __NR_ioprio_get 31
33570af302Sopenharmony_ci#define __NR_flock 32
34570af302Sopenharmony_ci#define __NR_mknodat 33
35570af302Sopenharmony_ci#define __NR_mkdirat 34
36570af302Sopenharmony_ci#define __NR_unlinkat 35
37570af302Sopenharmony_ci#define __NR_symlinkat 36
38570af302Sopenharmony_ci#define __NR_linkat 37
39570af302Sopenharmony_ci#define __NR_umount2 39
40570af302Sopenharmony_ci#define __NR_mount 40
41570af302Sopenharmony_ci#define __NR_pivot_root 41
42570af302Sopenharmony_ci#define __NR_nfsservctl 42
43570af302Sopenharmony_ci#define __NR_statfs 43
44570af302Sopenharmony_ci#define __NR_fstatfs 44
45570af302Sopenharmony_ci#define __NR_truncate 45
46570af302Sopenharmony_ci#define __NR_ftruncate 46
47570af302Sopenharmony_ci#define __NR_fallocate 47
48570af302Sopenharmony_ci#define __NR_faccessat 48
49570af302Sopenharmony_ci#define __NR_chdir 49
50570af302Sopenharmony_ci#define __NR_fchdir 50
51570af302Sopenharmony_ci#define __NR_chroot 51
52570af302Sopenharmony_ci#define __NR_fchmod 52
53570af302Sopenharmony_ci#define __NR_fchmodat 53
54570af302Sopenharmony_ci#define __NR_fchownat 54
55570af302Sopenharmony_ci#define __NR_fchown 55
56570af302Sopenharmony_ci#define __NR_openat 56
57570af302Sopenharmony_ci#define __NR_close 57
58570af302Sopenharmony_ci#define __NR_vhangup 58
59570af302Sopenharmony_ci#define __NR_pipe2 59
60570af302Sopenharmony_ci#define __NR_quotactl 60
61570af302Sopenharmony_ci#define __NR_getdents64 61
62570af302Sopenharmony_ci#define __NR_lseek 62
63570af302Sopenharmony_ci#define __NR_read 63
64570af302Sopenharmony_ci#define __NR_write 64
65570af302Sopenharmony_ci#define __NR_readv 65
66570af302Sopenharmony_ci#define __NR_writev 66
67570af302Sopenharmony_ci#define __NR_pread64 67
68570af302Sopenharmony_ci#define __NR_pwrite64 68
69570af302Sopenharmony_ci#define __NR_preadv 69
70570af302Sopenharmony_ci#define __NR_pwritev 70
71570af302Sopenharmony_ci#define __NR_sendfile 71
72570af302Sopenharmony_ci#define __NR_pselect6 72
73570af302Sopenharmony_ci#define __NR_ppoll 73
74570af302Sopenharmony_ci#define __NR_signalfd4 74
75570af302Sopenharmony_ci#define __NR_vmsplice 75
76570af302Sopenharmony_ci#define __NR_splice 76
77570af302Sopenharmony_ci#define __NR_tee 77
78570af302Sopenharmony_ci#define __NR_readlinkat 78
79570af302Sopenharmony_ci#define __NR_newfstatat 79
80570af302Sopenharmony_ci#define __NR_fstat 80
81570af302Sopenharmony_ci#define __NR_sync 81
82570af302Sopenharmony_ci#define __NR_fsync 82
83570af302Sopenharmony_ci#define __NR_fdatasync 83
84570af302Sopenharmony_ci#define __NR_sync_file_range 84
85570af302Sopenharmony_ci#define __NR_timerfd_create 85
86570af302Sopenharmony_ci#define __NR_timerfd_settime 86
87570af302Sopenharmony_ci#define __NR_timerfd_gettime 87
88570af302Sopenharmony_ci#define __NR_utimensat 88
89570af302Sopenharmony_ci#define __NR_acct 89
90570af302Sopenharmony_ci#define __NR_capget 90
91570af302Sopenharmony_ci#define __NR_capset 91
92570af302Sopenharmony_ci#define __NR_personality 92
93570af302Sopenharmony_ci#define __NR_exit 93
94570af302Sopenharmony_ci#define __NR_exit_group 94
95570af302Sopenharmony_ci#define __NR_waitid 95
96570af302Sopenharmony_ci#define __NR_set_tid_address 96
97570af302Sopenharmony_ci#define __NR_unshare 97
98570af302Sopenharmony_ci#define __NR_futex 98
99570af302Sopenharmony_ci#define __NR_set_robust_list 99
100570af302Sopenharmony_ci#define __NR_get_robust_list 100
101570af302Sopenharmony_ci#define __NR_nanosleep 101
102570af302Sopenharmony_ci#define __NR_getitimer 102
103570af302Sopenharmony_ci#define __NR_setitimer 103
104570af302Sopenharmony_ci#define __NR_kexec_load 104
105570af302Sopenharmony_ci#define __NR_init_module 105
106570af302Sopenharmony_ci#define __NR_delete_module 106
107570af302Sopenharmony_ci#define __NR_timer_create 107
108570af302Sopenharmony_ci#define __NR_timer_gettime 108
109570af302Sopenharmony_ci#define __NR_timer_getoverrun 109
110570af302Sopenharmony_ci#define __NR_timer_settime 110
111570af302Sopenharmony_ci#define __NR_timer_delete 111
112570af302Sopenharmony_ci#define __NR_clock_settime 112
113570af302Sopenharmony_ci#define __NR_clock_gettime 113
114570af302Sopenharmony_ci#define __NR_clock_getres 114
115570af302Sopenharmony_ci#define __NR_clock_nanosleep 115
116570af302Sopenharmony_ci#define __NR_syslog 116
117570af302Sopenharmony_ci#define __NR_ptrace 117
118570af302Sopenharmony_ci#define __NR_sched_setparam 118
119570af302Sopenharmony_ci#define __NR_sched_setscheduler 119
120570af302Sopenharmony_ci#define __NR_sched_getscheduler 120
121570af302Sopenharmony_ci#define __NR_sched_getparam 121
122570af302Sopenharmony_ci#define __NR_sched_setaffinity 122
123570af302Sopenharmony_ci#define __NR_sched_getaffinity 123
124570af302Sopenharmony_ci#define __NR_sched_yield 124
125570af302Sopenharmony_ci#define __NR_sched_get_priority_max 125
126570af302Sopenharmony_ci#define __NR_sched_get_priority_min 126
127570af302Sopenharmony_ci#define __NR_sched_rr_get_interval 127
128570af302Sopenharmony_ci#define __NR_restart_syscall 128
129570af302Sopenharmony_ci#define __NR_kill 129
130570af302Sopenharmony_ci#define __NR_tkill 130
131570af302Sopenharmony_ci#define __NR_tgkill 131
132570af302Sopenharmony_ci#define __NR_sigaltstack 132
133570af302Sopenharmony_ci#define __NR_rt_sigsuspend 133
134570af302Sopenharmony_ci#define __NR_rt_sigaction 134
135570af302Sopenharmony_ci#define __NR_rt_sigprocmask 135
136570af302Sopenharmony_ci#define __NR_rt_sigpending 136
137570af302Sopenharmony_ci#define __NR_rt_sigtimedwait 137
138570af302Sopenharmony_ci#define __NR_rt_sigqueueinfo 138
139570af302Sopenharmony_ci#define __NR_rt_sigreturn 139
140570af302Sopenharmony_ci#define __NR_setpriority 140
141570af302Sopenharmony_ci#define __NR_getpriority 141
142570af302Sopenharmony_ci#define __NR_reboot 142
143570af302Sopenharmony_ci#define __NR_setregid 143
144570af302Sopenharmony_ci#define __NR_setgid 144
145570af302Sopenharmony_ci#define __NR_setreuid 145
146570af302Sopenharmony_ci#define __NR_setuid 146
147570af302Sopenharmony_ci#define __NR_setresuid 147
148570af302Sopenharmony_ci#define __NR_getresuid 148
149570af302Sopenharmony_ci#define __NR_setresgid 149
150570af302Sopenharmony_ci#define __NR_getresgid 150
151570af302Sopenharmony_ci#define __NR_setfsuid 151
152570af302Sopenharmony_ci#define __NR_setfsgid 152
153570af302Sopenharmony_ci#define __NR_times 153
154570af302Sopenharmony_ci#define __NR_setpgid 154
155570af302Sopenharmony_ci#define __NR_getpgid 155
156570af302Sopenharmony_ci#define __NR_getsid 156
157570af302Sopenharmony_ci#define __NR_setsid 157
158570af302Sopenharmony_ci#define __NR_getgroups 158
159570af302Sopenharmony_ci#define __NR_setgroups 159
160570af302Sopenharmony_ci#define __NR_uname 160
161570af302Sopenharmony_ci#define __NR_sethostname 161
162570af302Sopenharmony_ci#define __NR_setdomainname 162
163570af302Sopenharmony_ci#define __NR_getrlimit 163
164570af302Sopenharmony_ci#define __NR_setrlimit 164
165570af302Sopenharmony_ci#define __NR_getrusage 165
166570af302Sopenharmony_ci#define __NR_umask 166
167570af302Sopenharmony_ci#define __NR_prctl 167
168570af302Sopenharmony_ci#define __NR_getcpu 168
169570af302Sopenharmony_ci#define __NR_gettimeofday 169
170570af302Sopenharmony_ci#define __NR_settimeofday 170
171570af302Sopenharmony_ci#define __NR_adjtimex 171
172570af302Sopenharmony_ci#define __NR_getpid 172
173570af302Sopenharmony_ci#define __NR_getppid 173
174570af302Sopenharmony_ci#define __NR_getuid 174
175570af302Sopenharmony_ci#define __NR_geteuid 175
176570af302Sopenharmony_ci#define __NR_getgid 176
177570af302Sopenharmony_ci#define __NR_getegid 177
178570af302Sopenharmony_ci#define __NR_gettid 178
179570af302Sopenharmony_ci#define __NR_sysinfo 179
180570af302Sopenharmony_ci#define __NR_mq_open 180
181570af302Sopenharmony_ci#define __NR_mq_unlink 181
182570af302Sopenharmony_ci#define __NR_mq_timedsend 182
183570af302Sopenharmony_ci#define __NR_mq_timedreceive 183
184570af302Sopenharmony_ci#define __NR_mq_notify 184
185570af302Sopenharmony_ci#define __NR_mq_getsetattr 185
186570af302Sopenharmony_ci#define __NR_msgget 186
187570af302Sopenharmony_ci#define __NR_msgctl 187
188570af302Sopenharmony_ci#define __NR_msgrcv 188
189570af302Sopenharmony_ci#define __NR_msgsnd 189
190570af302Sopenharmony_ci#define __NR_semget 190
191570af302Sopenharmony_ci#define __NR_semctl 191
192570af302Sopenharmony_ci#define __NR_semtimedop 192
193570af302Sopenharmony_ci#define __NR_semop 193
194570af302Sopenharmony_ci#define __NR_shmget 194
195570af302Sopenharmony_ci#define __NR_shmctl 195
196570af302Sopenharmony_ci#define __NR_shmat 196
197570af302Sopenharmony_ci#define __NR_shmdt 197
198570af302Sopenharmony_ci#define __NR_socket 198
199570af302Sopenharmony_ci#define __NR_socketpair 199
200570af302Sopenharmony_ci#define __NR_bind 200
201570af302Sopenharmony_ci#define __NR_listen 201
202570af302Sopenharmony_ci#define __NR_accept 202
203570af302Sopenharmony_ci#define __NR_connect 203
204570af302Sopenharmony_ci#define __NR_getsockname 204
205570af302Sopenharmony_ci#define __NR_getpeername 205
206570af302Sopenharmony_ci#define __NR_sendto 206
207570af302Sopenharmony_ci#define __NR_recvfrom 207
208570af302Sopenharmony_ci#define __NR_setsockopt 208
209570af302Sopenharmony_ci#define __NR_getsockopt 209
210570af302Sopenharmony_ci#define __NR_shutdown 210
211570af302Sopenharmony_ci#define __NR_sendmsg 211
212570af302Sopenharmony_ci#define __NR_recvmsg 212
213570af302Sopenharmony_ci#define __NR_readahead 213
214570af302Sopenharmony_ci#define __NR_brk 214
215570af302Sopenharmony_ci#define __NR_munmap 215
216570af302Sopenharmony_ci#define __NR_mremap 216
217570af302Sopenharmony_ci#define __NR_add_key 217
218570af302Sopenharmony_ci#define __NR_request_key 218
219570af302Sopenharmony_ci#define __NR_keyctl 219
220570af302Sopenharmony_ci#define __NR_clone 220
221570af302Sopenharmony_ci#define __NR_execve 221
222570af302Sopenharmony_ci#define __NR_mmap 222
223570af302Sopenharmony_ci#define __NR_fadvise64 223
224570af302Sopenharmony_ci#define __NR_swapon 224
225570af302Sopenharmony_ci#define __NR_swapoff 225
226570af302Sopenharmony_ci#define __NR_mprotect 226
227570af302Sopenharmony_ci#define __NR_msync 227
228570af302Sopenharmony_ci#define __NR_mlock 228
229570af302Sopenharmony_ci#define __NR_munlock 229
230570af302Sopenharmony_ci#define __NR_mlockall 230
231570af302Sopenharmony_ci#define __NR_munlockall 231
232570af302Sopenharmony_ci#define __NR_mincore 232
233570af302Sopenharmony_ci#define __NR_madvise 233
234570af302Sopenharmony_ci#define __NR_remap_file_pages 234
235570af302Sopenharmony_ci#define __NR_mbind 235
236570af302Sopenharmony_ci#define __NR_get_mempolicy 236
237570af302Sopenharmony_ci#define __NR_set_mempolicy 237
238570af302Sopenharmony_ci#define __NR_migrate_pages 238
239570af302Sopenharmony_ci#define __NR_move_pages 239
240570af302Sopenharmony_ci#define __NR_rt_tgsigqueueinfo 240
241570af302Sopenharmony_ci#define __NR_perf_event_open 241
242570af302Sopenharmony_ci#define __NR_accept4 242
243570af302Sopenharmony_ci#define __NR_recvmmsg 243
244570af302Sopenharmony_ci#define __NR_arch_specific_syscall 244
245570af302Sopenharmony_ci#define __NR_wait4 260
246570af302Sopenharmony_ci#define __NR_prlimit64 261
247570af302Sopenharmony_ci#define __NR_fanotify_init 262
248570af302Sopenharmony_ci#define __NR_fanotify_mark 263
249570af302Sopenharmony_ci#define __NR_name_to_handle_at 264
250570af302Sopenharmony_ci#define __NR_open_by_handle_at 265
251570af302Sopenharmony_ci#define __NR_clock_adjtime 266
252570af302Sopenharmony_ci#define __NR_syncfs 267
253570af302Sopenharmony_ci#define __NR_setns 268
254570af302Sopenharmony_ci#define __NR_sendmmsg 269
255570af302Sopenharmony_ci#define __NR_process_vm_readv 270
256570af302Sopenharmony_ci#define __NR_process_vm_writev 271
257570af302Sopenharmony_ci#define __NR_kcmp 272
258570af302Sopenharmony_ci#define __NR_finit_module 273
259570af302Sopenharmony_ci#define __NR_sched_setattr 274
260570af302Sopenharmony_ci#define __NR_sched_getattr 275
261570af302Sopenharmony_ci#define __NR_renameat2 276
262570af302Sopenharmony_ci#define __NR_seccomp 277
263570af302Sopenharmony_ci#define __NR_getrandom 278
264570af302Sopenharmony_ci#define __NR_memfd_create 279
265570af302Sopenharmony_ci#define __NR_bpf 280
266570af302Sopenharmony_ci#define __NR_execveat 281
267570af302Sopenharmony_ci#define __NR_userfaultfd 282
268570af302Sopenharmony_ci#define __NR_membarrier 283
269570af302Sopenharmony_ci#define __NR_mlock2 284
270570af302Sopenharmony_ci#define __NR_copy_file_range 285
271570af302Sopenharmony_ci#define __NR_preadv2 286
272570af302Sopenharmony_ci#define __NR_pwritev2 287
273570af302Sopenharmony_ci#define __NR_pkey_mprotect 288
274570af302Sopenharmony_ci#define __NR_pkey_alloc 289
275570af302Sopenharmony_ci#define __NR_pkey_free 290
276570af302Sopenharmony_ci#define __NR_statx 291
277570af302Sopenharmony_ci#define __NR_io_pgetevents 292
278570af302Sopenharmony_ci#define __NR_rseq 293
279570af302Sopenharmony_ci#define __NR_kexec_file_load 294
280570af302Sopenharmony_ci#define __NR_pidfd_send_signal 424
281570af302Sopenharmony_ci#define __NR_io_uring_setup 425
282570af302Sopenharmony_ci#define __NR_io_uring_enter 426
283570af302Sopenharmony_ci#define __NR_io_uring_register 427
284570af302Sopenharmony_ci#define __NR_open_tree		428
285570af302Sopenharmony_ci#define __NR_move_mount		429
286570af302Sopenharmony_ci#define __NR_fsopen		430
287570af302Sopenharmony_ci#define __NR_fsconfig		431
288570af302Sopenharmony_ci#define __NR_fsmount		432
289570af302Sopenharmony_ci#define __NR_fspick		433
290570af302Sopenharmony_ci#define __NR_pidfd_open		434
291570af302Sopenharmony_ci#define __NR_clone3		435
292570af302Sopenharmony_ci#define __NR_close_range	436
293570af302Sopenharmony_ci#define __NR_openat2		437
294570af302Sopenharmony_ci#define __NR_pidfd_getfd	438
295570af302Sopenharmony_ci#define __NR_faccessat2		439
296570af302Sopenharmony_ci#define __NR_process_madvise	440
297570af302Sopenharmony_ci#define __NR_epoll_pwait2	441
298570af302Sopenharmony_ci#define __NR_mount_setattr	442
299570af302Sopenharmony_ci#define __NR_landlock_create_ruleset	444
300570af302Sopenharmony_ci#define __NR_landlock_add_rule	445
301570af302Sopenharmony_ci#define __NR_landlock_restrict_self	446
302570af302Sopenharmony_ci
303570af302Sopenharmony_ci#define __NR_sysriscv __NR_arch_specific_syscall
304570af302Sopenharmony_ci#define __NR_riscv_flush_icache (__NR_sysriscv + 15)
305