Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:13:26

0001 
0002 /*--------------------------------------------------------------------*/
0003 /*--- System call numbers for ppc64-linux.                         ---*/
0004 /*---                                     vki-scnums-ppc64-linux.h ---*/
0005 /*--------------------------------------------------------------------*/
0006 
0007 /*
0008    This file is part of Valgrind, a dynamic binary instrumentation
0009    framework.
0010 
0011    Copyright (C) 2005-2017 Julian Seward
0012       jseward@acm.org
0013 
0014    This program is free software; you can redistribute it and/or
0015    modify it under the terms of the GNU General Public License as
0016    published by the Free Software Foundation; either version 2 of the
0017    License, or (at your option) any later version.
0018 
0019    This program is distributed in the hope that it will be useful, but
0020    WITHOUT ANY WARRANTY; without even the implied warranty of
0021    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0022    General Public License for more details.
0023 
0024    You should have received a copy of the GNU General Public License
0025    along with this program; if not, see <http://www.gnu.org/licenses/>.
0026 
0027    The GNU General Public License is contained in the file COPYING.
0028 */
0029 
0030 #ifndef __VKI_SCNUMS_PPC64_LINUX_H
0031 #define __VKI_SCNUMS_PPC64_LINUX_H
0032 
0033 // From linux/arch/powerpc/include/uapi/asm/unistd.h
0034 
0035 #define __NR_restart_syscall      0
0036 #define __NR_exit                 1
0037 #define __NR_fork                 2
0038 #define __NR_read                 3
0039 #define __NR_write                4
0040 #define __NR_open                 5
0041 #define __NR_close                6
0042 #define __NR_waitpid              7
0043 #define __NR_creat                8
0044 #define __NR_link                 9
0045 #define __NR_unlink              10
0046 #define __NR_execve              11
0047 #define __NR_chdir               12
0048 #define __NR_time                13
0049 #define __NR_mknod               14
0050 #define __NR_chmod               15
0051 #define __NR_lchown              16
0052 #define __NR_break               17
0053 #define __NR_oldstat             18
0054 #define __NR_lseek               19
0055 #define __NR_getpid              20
0056 #define __NR_mount               21
0057 #define __NR_umount              22
0058 #define __NR_setuid              23
0059 #define __NR_getuid              24
0060 #define __NR_stime               25
0061 #define __NR_ptrace              26
0062 #define __NR_alarm               27
0063 #define __NR_oldfstat            28
0064 #define __NR_pause               29
0065 #define __NR_utime               30
0066 #define __NR_stty                31
0067 #define __NR_gtty                32
0068 #define __NR_access              33
0069 #define __NR_nice                34
0070 #define __NR_ftime               35
0071 #define __NR_sync                36
0072 #define __NR_kill                37
0073 #define __NR_rename              38
0074 #define __NR_mkdir               39
0075 #define __NR_rmdir               40
0076 #define __NR_dup                 41
0077 #define __NR_pipe                42
0078 #define __NR_times               43
0079 #define __NR_prof                44
0080 #define __NR_brk                 45
0081 #define __NR_setgid              46
0082 #define __NR_getgid              47
0083 #define __NR_signal              48
0084 #define __NR_geteuid             49
0085 #define __NR_getegid             50
0086 #define __NR_acct                51
0087 #define __NR_umount2             52
0088 #define __NR_lock                53
0089 #define __NR_ioctl               54
0090 #define __NR_fcntl               55
0091 #define __NR_mpx                 56
0092 #define __NR_setpgid             57
0093 #define __NR_ulimit              58
0094 #define __NR_oldolduname         59
0095 #define __NR_umask               60
0096 #define __NR_chroot              61
0097 #define __NR_ustat               62
0098 #define __NR_dup2                63
0099 #define __NR_getppid             64
0100 #define __NR_getpgrp             65
0101 #define __NR_setsid              66
0102 #define __NR_sigaction           67
0103 #define __NR_sgetmask            68
0104 #define __NR_ssetmask            69
0105 #define __NR_setreuid            70
0106 #define __NR_setregid            71
0107 #define __NR_sigsuspend          72
0108 #define __NR_sigpending          73
0109 #define __NR_sethostname         74
0110 #define __NR_setrlimit           75
0111 #define __NR_getrlimit           76
0112 #define __NR_getrusage           77
0113 #define __NR_gettimeofday        78
0114 #define __NR_settimeofday        79
0115 #define __NR_getgroups           80
0116 #define __NR_setgroups           81
0117 #define __NR_select              82
0118 #define __NR_symlink             83
0119 #define __NR_oldlstat            84
0120 #define __NR_readlink            85
0121 #define __NR_uselib              86
0122 #define __NR_swapon              87
0123 #define __NR_reboot              88
0124 #define __NR_readdir             89
0125 #define __NR_mmap                90
0126 #define __NR_munmap              91
0127 #define __NR_truncate            92
0128 #define __NR_ftruncate           93
0129 #define __NR_fchmod              94
0130 #define __NR_fchown              95
0131 #define __NR_getpriority         96
0132 #define __NR_setpriority         97
0133 #define __NR_profil              98
0134 #define __NR_statfs              99
0135 #define __NR_fstatfs            100
0136 #define __NR_ioperm             101
0137 #define __NR_socketcall         102
0138 #define __NR_syslog             103
0139 #define __NR_setitimer          104
0140 #define __NR_getitimer          105
0141 #define __NR_stat               106
0142 #define __NR_lstat              107
0143 #define __NR_fstat              108
0144 #define __NR_olduname           109
0145 #define __NR_iopl               110
0146 #define __NR_vhangup            111
0147 #define __NR_idle               112
0148 #define __NR_vm86               113
0149 #define __NR_wait4              114
0150 #define __NR_swapoff            115
0151 #define __NR_sysinfo            116
0152 #define __NR_ipc                117
0153 #define __NR_fsync              118
0154 #define __NR_sigreturn          119
0155 #define __NR_clone              120
0156 #define __NR_setdomainname      121
0157 #define __NR_uname              122
0158 #define __NR_modify_ldt         123
0159 #define __NR_adjtimex           124
0160 #define __NR_mprotect           125
0161 #define __NR_sigprocmask        126
0162 #define __NR_create_module      127
0163 #define __NR_init_module        128
0164 #define __NR_delete_module      129
0165 #define __NR_get_kernel_syms    130
0166 #define __NR_quotactl           131
0167 #define __NR_getpgid            132
0168 #define __NR_fchdir             133
0169 #define __NR_bdflush            134
0170 #define __NR_sysfs              135
0171 #define __NR_personality        136
0172 #define __NR_afs_syscall        137 /* Syscall for Andrew File System */
0173 #define __NR_setfsuid           138
0174 #define __NR_setfsgid           139
0175 #define __NR__llseek            140
0176 #define __NR_getdents           141
0177 #define __NR__newselect         142
0178 #define __NR_flock              143
0179 #define __NR_msync              144
0180 #define __NR_readv              145
0181 #define __NR_writev             146
0182 #define __NR_getsid             147
0183 #define __NR_fdatasync          148
0184 #define __NR__sysctl            149
0185 #define __NR_mlock              150
0186 #define __NR_munlock            151
0187 #define __NR_mlockall           152
0188 #define __NR_munlockall         153
0189 #define __NR_sched_setparam             154
0190 #define __NR_sched_getparam             155
0191 #define __NR_sched_setscheduler         156
0192 #define __NR_sched_getscheduler         157
0193 #define __NR_sched_yield                158
0194 #define __NR_sched_get_priority_max     159
0195 #define __NR_sched_get_priority_min     160
0196 #define __NR_sched_rr_get_interval      161
0197 #define __NR_nanosleep          162
0198 #define __NR_mremap             163
0199 #define __NR_setresuid          164
0200 #define __NR_getresuid          165
0201 #define __NR_query_module       166
0202 #define __NR_poll               167
0203 #define __NR_nfsservctl         168
0204 #define __NR_setresgid          169
0205 #define __NR_getresgid          170
0206 #define __NR_prctl              171
0207 #define __NR_rt_sigreturn       172
0208 #define __NR_rt_sigaction       173
0209 #define __NR_rt_sigprocmask     174
0210 #define __NR_rt_sigpending      175
0211 #define __NR_rt_sigtimedwait    176
0212 #define __NR_rt_sigqueueinfo    177
0213 #define __NR_rt_sigsuspend      178
0214 #define __NR_pread64            179
0215 #define __NR_pwrite64           180
0216 #define __NR_chown              181
0217 #define __NR_getcwd             182
0218 #define __NR_capget             183
0219 #define __NR_capset             184
0220 #define __NR_sigaltstack        185
0221 #define __NR_sendfile           186
0222 #define __NR_getpmsg            187     /* some people actually want streams */
0223 #define __NR_putpmsg            188     /* some people actually want streams */
0224 #define __NR_vfork              189
0225 #define __NR_ugetrlimit         190     /* SuS compliant getrlimit */
0226 #define __NR_readahead          191
0227 /* #define __NR_mmap2           192     32bit only */
0228 /* #define __NR_truncate64      193     32bit only */
0229 /* #define __NR_ftruncate64     194     32bit only */
0230 /* #define __NR_stat64          195     32bit only */
0231 /* #define __NR_lstat64         196     32bit only */
0232 /* #define __NR_fstat64         197     32bit only */
0233 #define __NR_pciconfig_read     198
0234 #define __NR_pciconfig_write    199
0235 #define __NR_pciconfig_iobase   200
0236 #define __NR_multiplexer        201
0237 #define __NR_getdents64         202
0238 #define __NR_pivot_root         203
0239 #define __NR_fcntl64            204     /* ???!!! 32bit only */
0240 #define __NR_madvise            205
0241 #define __NR_mincore            206
0242 #define __NR_gettid             207
0243 #define __NR_tkill              208
0244 #define __NR_setxattr           209
0245 #define __NR_lsetxattr          210
0246 #define __NR_fsetxattr          211
0247 #define __NR_getxattr           212
0248 #define __NR_lgetxattr          213
0249 #define __NR_fgetxattr          214
0250 #define __NR_listxattr          215
0251 #define __NR_llistxattr         216
0252 #define __NR_flistxattr         217
0253 #define __NR_removexattr        218
0254 #define __NR_lremovexattr       219
0255 #define __NR_fremovexattr       220
0256 #define __NR_futex              221
0257 #define __NR_sched_setaffinity  222
0258 #define __NR_sched_getaffinity  223
0259 /* 224 currently unused */
0260 #define __NR_tuxcall            225
0261 /* #define __NR_sendfile64      226     32bit only */
0262 #define __NR_io_setup           227
0263 #define __NR_io_destroy         228
0264 #define __NR_io_getevents       229
0265 #define __NR_io_submit          230
0266 #define __NR_io_cancel          231
0267 #define __NR_set_tid_address    232
0268 #define __NR_fadvise64          233
0269 #define __NR_exit_group         234
0270 #define __NR_lookup_dcookie     235
0271 #define __NR_epoll_create       236
0272 #define __NR_epoll_ctl          237
0273 #define __NR_epoll_wait         238
0274 #define __NR_remap_file_pages   239
0275 #define __NR_timer_create       240
0276 #define __NR_timer_settime      241
0277 #define __NR_timer_gettime      242
0278 #define __NR_timer_getoverrun   243
0279 #define __NR_timer_delete       244
0280 #define __NR_clock_settime      245
0281 #define __NR_clock_gettime      246
0282 #define __NR_clock_getres       247
0283 #define __NR_clock_nanosleep    248
0284 #define __NR_swapcontext        249
0285 #define __NR_tgkill             250
0286 #define __NR_utimes             251
0287 #define __NR_statfs64           252
0288 #define __NR_fstatfs64          253
0289 /* #define __NR_fadvise64_64    254     32bit only */
0290 #define __NR_rtas               255
0291 /* Number 256 is reserved for sys_debug_setcontext */
0292 /* Number 257 is reserved for vserver */
0293 /* 258 currently unused */
0294 #define __NR_mbind              259
0295 #define __NR_get_mempolicy      260
0296 #define __NR_set_mempolicy      261
0297 #define __NR_mq_open            262
0298 #define __NR_mq_unlink          263
0299 #define __NR_mq_timedsend       264
0300 #define __NR_mq_timedreceive    265
0301 #define __NR_mq_notify          266
0302 #define __NR_mq_getsetattr      267
0303 #define __NR_kexec_load         268
0304 #define __NR_add_key            269
0305 #define __NR_request_key        270
0306 #define __NR_keyctl             271
0307 #define __NR_waitid             272
0308 #define __NR_ioprio_set         273
0309 #define __NR_ioprio_get         274
0310 #define __NR_inotify_init       275
0311 #define __NR_inotify_add_watch  276
0312 #define __NR_inotify_rm_watch   277
0313 #define __NR_spu_run        278
0314 #define __NR_spu_create     279
0315 #define __NR_pselect6       280
0316 #define __NR_ppoll      281
0317 #define __NR_unshare        282
0318 #define __NR_splice     283
0319 #define __NR_tee        284
0320 #define __NR_vmsplice       285
0321 #define __NR_openat     286
0322 #define __NR_mkdirat        287
0323 #define __NR_mknodat        288
0324 #define __NR_fchownat       289
0325 #define __NR_futimesat      290
0326 #define __NR_newfstatat     291
0327 #define __NR_unlinkat       292
0328 #define __NR_renameat       293
0329 #define __NR_linkat     294
0330 #define __NR_symlinkat      295
0331 #define __NR_readlinkat     296
0332 #define __NR_fchmodat       297
0333 #define __NR_faccessat      298
0334 #define __NR_get_robust_list    299
0335 #define __NR_set_robust_list    300
0336 #define __NR_move_pages     301
0337 #define __NR_getcpu     302
0338 #define __NR_epoll_pwait    303
0339 #define __NR_utimensat      304
0340 #define __NR_signalfd       305
0341 #define __NR_timerfd_create 306
0342 #define __NR_eventfd        307
0343 #define __NR_sync_file_range2   308
0344 #define __NR_fallocate      309
0345 #define __NR_subpage_prot   310
0346 #define __NR_timerfd_settime    311
0347 #define __NR_timerfd_gettime    312
0348 #define __NR_signalfd4          313
0349 #define __NR_eventfd2           314
0350 #define __NR_epoll_create1      315
0351 #define __NR_dup3               316
0352 #define __NR_pipe2              317
0353 #define __NR_inotify_init1      318
0354 #define __NR_perf_event_open    319
0355 #define __NR_preadv             320
0356 #define __NR_pwritev            321
0357 #define __NR_rt_tgsigqueueinfo  322
0358 #define __NR_fanotify_init  323
0359 #define __NR_fanotify_mark  324
0360 #define __NR_prlimit64      325
0361 #define __NR_socket     326
0362 #define __NR_bind       327
0363 #define __NR_connect        328
0364 #define __NR_listen     329
0365 #define __NR_accept     330
0366 #define __NR_getsockname    331
0367 #define __NR_getpeername    332
0368 #define __NR_socketpair     333
0369 #define __NR_send       334
0370 #define __NR_sendto     335
0371 #define __NR_recv       336
0372 #define __NR_recvfrom       337
0373 #define __NR_shutdown       338
0374 #define __NR_setsockopt     339
0375 #define __NR_getsockopt     340
0376 #define __NR_sendmsg        341
0377 #define __NR_recvmsg        342
0378 #define __NR_recvmmsg       343
0379 #define __NR_accept4        344
0380 #define __NR_name_to_handle_at  345
0381 #define __NR_open_by_handle_at  346
0382 #define __NR_clock_adjtime  347
0383 #define __NR_syncfs     348
0384 #define __NR_sendmmsg       349
0385 #define __NR_setns      350
0386 #define __NR_process_vm_readv   351
0387 #define __NR_process_vm_writev  352
0388 #define __NR_finit_module   353
0389 #define __NR_kcmp       354
0390 #define __NR_sched_setattr  355
0391 #define __NR_sched_getattr  356
0392 #define __NR_renameat2      357
0393 #define __NR_seccomp        358
0394 #define __NR_getrandom      359
0395 #define __NR_memfd_create   360
0396 #define __NR_bpf        361
0397 #define __NR_execveat       362
0398 #define __NR_switch_endian  363
0399 #define __NR_userfaultfd    364
0400 #define __NR_membarrier     365
0401 #define __NR_mlock2     378
0402 #define __NR_copy_file_range    379
0403 #define __NR_preadv2        380
0404 #define __NR_pwritev2       381
0405 #define __NR_kexec_file_load    382
0406 #define __NR_statx      383
0407 #define __NR_pkey_alloc     384
0408 #define __NR_pkey_free      385
0409 #define __NR_pkey_mprotect  386
0410 #define __NR_rseq       387
0411 
0412 #endif /* __VKI_SCNUMS_PPC64_LINUX_H */
0413 
0414 /*--------------------------------------------------------------------*/
0415 /*--- end                                                          ---*/
0416 /*--------------------------------------------------------------------*/