1 |
dpavlin |
4 |
/* |
2 |
|
|
* gxemul: $Id: syscall_linux_ppc.h,v 1.2 2005/03/05 12:34:03 debug Exp $ |
3 |
|
|
* |
4 |
|
|
* Note: These syscall numbers are for Linux/PPC only, not for other Linux |
5 |
|
|
* emulation modes. |
6 |
|
|
*/ |
7 |
|
|
|
8 |
|
|
#ifndef SYSCALL_LINUX_PPC_H |
9 |
|
|
#define SYSCALL_LINUX_PPC_H |
10 |
|
|
|
11 |
|
|
/* $NetBSD: linux_syscall.h,v 1.22 2003/08/10 20:17:30 jdolecek Exp $ */ |
12 |
|
|
|
13 |
|
|
|
14 |
|
|
/* |
15 |
|
|
* System call numbers. |
16 |
|
|
* |
17 |
|
|
* DO NOT EDIT-- this file is automatically generated. |
18 |
|
|
* created from NetBSD: syscalls.master,v 1.16 2003/08/10 20:16:26 jdolecek Exp |
19 |
|
|
*/ |
20 |
|
|
|
21 |
|
|
/* syscall: "syscall" ret: "int" args: */ |
22 |
|
|
#define LINUX_PPC_SYS_syscall 0 |
23 |
|
|
|
24 |
|
|
/* syscall: "exit" ret: "int" args: "int" */ |
25 |
|
|
#define LINUX_PPC_SYS_exit 1 |
26 |
|
|
|
27 |
|
|
/* syscall: "fork" ret: "int" args: */ |
28 |
|
|
#define LINUX_PPC_SYS_fork 2 |
29 |
|
|
|
30 |
|
|
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */ |
31 |
|
|
#define LINUX_PPC_SYS_read 3 |
32 |
|
|
|
33 |
|
|
/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */ |
34 |
|
|
#define LINUX_PPC_SYS_write 4 |
35 |
|
|
|
36 |
|
|
/* syscall: "open" ret: "int" args: "const char *" "int" "int" */ |
37 |
|
|
#define LINUX_PPC_SYS_open 5 |
38 |
|
|
|
39 |
|
|
/* syscall: "close" ret: "int" args: "int" */ |
40 |
|
|
#define LINUX_PPC_SYS_close 6 |
41 |
|
|
|
42 |
|
|
/* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */ |
43 |
|
|
#define LINUX_PPC_SYS_waitpid 7 |
44 |
|
|
|
45 |
|
|
/* syscall: "creat" ret: "int" args: "const char *" "int" */ |
46 |
|
|
#define LINUX_PPC_SYS_creat 8 |
47 |
|
|
|
48 |
|
|
/* syscall: "link" ret: "int" args: "const char *" "const char *" */ |
49 |
|
|
#define LINUX_PPC_SYS_link 9 |
50 |
|
|
|
51 |
|
|
/* syscall: "unlink" ret: "int" args: "const char *" */ |
52 |
|
|
#define LINUX_PPC_SYS_unlink 10 |
53 |
|
|
|
54 |
|
|
/* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */ |
55 |
|
|
#define LINUX_PPC_SYS_execve 11 |
56 |
|
|
|
57 |
|
|
/* syscall: "chdir" ret: "int" args: "const char *" */ |
58 |
|
|
#define LINUX_PPC_SYS_chdir 12 |
59 |
|
|
|
60 |
|
|
/* syscall: "time" ret: "int" args: "linux_time_t *" */ |
61 |
|
|
#define LINUX_PPC_SYS_time 13 |
62 |
|
|
|
63 |
|
|
/* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */ |
64 |
|
|
#define LINUX_PPC_SYS_mknod 14 |
65 |
|
|
|
66 |
|
|
/* syscall: "chmod" ret: "int" args: "const char *" "int" */ |
67 |
|
|
#define LINUX_PPC_SYS_chmod 15 |
68 |
|
|
|
69 |
|
|
/* syscall: "lchown" ret: "int" args: "const char *" "int" "int" */ |
70 |
|
|
#define LINUX_PPC_SYS_lchown 16 |
71 |
|
|
|
72 |
|
|
/* 17 is obsolete break */ |
73 |
|
|
/* 18 is obsolete ostat */ |
74 |
|
|
/* syscall: "lseek" ret: "long" args: "int" "long" "int" */ |
75 |
|
|
#define LINUX_PPC_SYS_lseek 19 |
76 |
|
|
|
77 |
|
|
/* syscall: "getpid" ret: "pid_t" args: */ |
78 |
|
|
#define LINUX_PPC_SYS_getpid 20 |
79 |
|
|
|
80 |
|
|
/* 22 is obsolete umount */ |
81 |
|
|
/* syscall: "setuid" ret: "int" args: "uid_t" */ |
82 |
|
|
#define LINUX_PPC_SYS_setuid 23 |
83 |
|
|
|
84 |
|
|
/* syscall: "getuid" ret: "uid_t" args: */ |
85 |
|
|
#define LINUX_PPC_SYS_getuid 24 |
86 |
|
|
|
87 |
|
|
/* syscall: "stime" ret: "int" args: "linux_time_t *" */ |
88 |
|
|
#define LINUX_PPC_SYS_stime 25 |
89 |
|
|
|
90 |
|
|
/* syscall: "ptrace" ret: "int" args: "int" "int" "int" "int" */ |
91 |
|
|
#define LINUX_PPC_SYS_ptrace 26 |
92 |
|
|
|
93 |
|
|
/* syscall: "alarm" ret: "int" args: "unsigned int" */ |
94 |
|
|
#define LINUX_PPC_SYS_alarm 27 |
95 |
|
|
|
96 |
|
|
/* 28 is obsolete ofstat */ |
97 |
|
|
/* syscall: "pause" ret: "int" args: */ |
98 |
|
|
#define LINUX_PPC_SYS_pause 29 |
99 |
|
|
|
100 |
|
|
/* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */ |
101 |
|
|
#define LINUX_PPC_SYS_utime 30 |
102 |
|
|
|
103 |
|
|
/* 31 is obsolete stty */ |
104 |
|
|
/* 32 is obsolete gtty */ |
105 |
|
|
/* syscall: "access" ret: "int" args: "const char *" "int" */ |
106 |
|
|
#define LINUX_PPC_SYS_access 33 |
107 |
|
|
|
108 |
|
|
/* syscall: "nice" ret: "int" args: "int" */ |
109 |
|
|
#define LINUX_PPC_SYS_nice 34 |
110 |
|
|
|
111 |
|
|
/* 35 is obsolete ftime */ |
112 |
|
|
/* syscall: "sync" ret: "int" args: */ |
113 |
|
|
#define LINUX_PPC_SYS_sync 36 |
114 |
|
|
|
115 |
|
|
/* syscall: "kill" ret: "int" args: "int" "int" */ |
116 |
|
|
#define LINUX_PPC_SYS_kill 37 |
117 |
|
|
|
118 |
|
|
/* syscall: "rename" ret: "int" args: "const char *" "const char *" */ |
119 |
|
|
#define LINUX_PPC_SYS_rename 38 |
120 |
|
|
|
121 |
|
|
/* syscall: "mkdir" ret: "int" args: "const char *" "int" */ |
122 |
|
|
#define LINUX_PPC_SYS_mkdir 39 |
123 |
|
|
|
124 |
|
|
/* syscall: "rmdir" ret: "int" args: "const char *" */ |
125 |
|
|
#define LINUX_PPC_SYS_rmdir 40 |
126 |
|
|
|
127 |
|
|
/* syscall: "dup" ret: "int" args: "u_int" */ |
128 |
|
|
#define LINUX_PPC_SYS_dup 41 |
129 |
|
|
|
130 |
|
|
/* syscall: "pipe" ret: "int" args: "int *" */ |
131 |
|
|
#define LINUX_PPC_SYS_pipe 42 |
132 |
|
|
|
133 |
|
|
/* syscall: "times" ret: "int" args: "struct times *" */ |
134 |
|
|
#define LINUX_PPC_SYS_times 43 |
135 |
|
|
|
136 |
|
|
/* 44 is obsolete prof */ |
137 |
|
|
/* syscall: "brk" ret: "int" args: "char *" */ |
138 |
|
|
#define LINUX_PPC_SYS_brk 45 |
139 |
|
|
|
140 |
|
|
/* syscall: "setgid" ret: "int" args: "gid_t" */ |
141 |
|
|
#define LINUX_PPC_SYS_setgid 46 |
142 |
|
|
|
143 |
|
|
/* syscall: "getgid" ret: "gid_t" args: */ |
144 |
|
|
#define LINUX_PPC_SYS_getgid 47 |
145 |
|
|
|
146 |
|
|
/* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */ |
147 |
|
|
#define LINUX_PPC_SYS_signal 48 |
148 |
|
|
|
149 |
|
|
/* syscall: "geteuid" ret: "uid_t" args: */ |
150 |
|
|
#define LINUX_PPC_SYS_geteuid 49 |
151 |
|
|
|
152 |
|
|
/* syscall: "getegid" ret: "gid_t" args: */ |
153 |
|
|
#define LINUX_PPC_SYS_getegid 50 |
154 |
|
|
|
155 |
|
|
/* syscall: "acct" ret: "int" args: "char *" */ |
156 |
|
|
#define LINUX_PPC_SYS_acct 51 |
157 |
|
|
|
158 |
|
|
/* 53 is obsolete lock */ |
159 |
|
|
/* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */ |
160 |
|
|
#define LINUX_PPC_SYS_ioctl 54 |
161 |
|
|
|
162 |
|
|
/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */ |
163 |
|
|
#define LINUX_PPC_SYS_fcntl 55 |
164 |
|
|
|
165 |
|
|
/* 56 is obsolete mpx */ |
166 |
|
|
/* syscall: "setpgid" ret: "int" args: "int" "int" */ |
167 |
|
|
#define LINUX_PPC_SYS_setpgid 57 |
168 |
|
|
|
169 |
|
|
/* 58 is obsolete ulimit */ |
170 |
|
|
/* syscall: "olduname" ret: "int" args: "struct linux_old_utsname *" */ |
171 |
|
|
#define LINUX_PPC_SYS_olduname 59 |
172 |
|
|
|
173 |
|
|
/* syscall: "umask" ret: "int" args: "int" */ |
174 |
|
|
#define LINUX_PPC_SYS_umask 60 |
175 |
|
|
|
176 |
|
|
/* syscall: "chroot" ret: "int" args: "char *" */ |
177 |
|
|
#define LINUX_PPC_SYS_chroot 61 |
178 |
|
|
|
179 |
|
|
/* syscall: "dup2" ret: "int" args: "u_int" "u_int" */ |
180 |
|
|
#define LINUX_PPC_SYS_dup2 63 |
181 |
|
|
|
182 |
|
|
/* syscall: "getppid" ret: "pid_t" args: */ |
183 |
|
|
#define LINUX_PPC_SYS_getppid 64 |
184 |
|
|
|
185 |
|
|
/* syscall: "getpgrp" ret: "int" args: */ |
186 |
|
|
#define LINUX_PPC_SYS_getpgrp 65 |
187 |
|
|
|
188 |
|
|
/* syscall: "setsid" ret: "int" args: */ |
189 |
|
|
#define LINUX_PPC_SYS_setsid 66 |
190 |
|
|
|
191 |
|
|
/* syscall: "sigaction" ret: "int" args: "int" "const struct linux_old_sigaction *" "struct linux_old_sigaction *" */ |
192 |
|
|
#define LINUX_PPC_SYS_sigaction 67 |
193 |
|
|
|
194 |
|
|
/* syscall: "siggetmask" ret: "int" args: */ |
195 |
|
|
#define LINUX_PPC_SYS_siggetmask 68 |
196 |
|
|
|
197 |
|
|
/* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */ |
198 |
|
|
#define LINUX_PPC_SYS_sigsetmask 69 |
199 |
|
|
|
200 |
|
|
/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */ |
201 |
|
|
#define LINUX_PPC_SYS_setreuid 70 |
202 |
|
|
|
203 |
|
|
/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */ |
204 |
|
|
#define LINUX_PPC_SYS_setregid 71 |
205 |
|
|
|
206 |
|
|
/* syscall: "sigsuspend" ret: "int" args: "caddr_t" "int" "int" */ |
207 |
|
|
#define LINUX_PPC_SYS_sigsuspend 72 |
208 |
|
|
|
209 |
|
|
/* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */ |
210 |
|
|
#define LINUX_PPC_SYS_sigpending 73 |
211 |
|
|
|
212 |
|
|
/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */ |
213 |
|
|
#define LINUX_PPC_SYS_sethostname 74 |
214 |
|
|
|
215 |
|
|
/* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */ |
216 |
|
|
#define LINUX_PPC_SYS_setrlimit 75 |
217 |
|
|
|
218 |
|
|
/* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */ |
219 |
|
|
#define LINUX_PPC_SYS_getrlimit 76 |
220 |
|
|
|
221 |
|
|
/* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */ |
222 |
|
|
#define LINUX_PPC_SYS_getrusage 77 |
223 |
|
|
|
224 |
|
|
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */ |
225 |
|
|
#define LINUX_PPC_SYS_gettimeofday 78 |
226 |
|
|
|
227 |
|
|
/* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */ |
228 |
|
|
#define LINUX_PPC_SYS_settimeofday 79 |
229 |
|
|
|
230 |
|
|
/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */ |
231 |
|
|
#define LINUX_PPC_SYS_getgroups 80 |
232 |
|
|
|
233 |
|
|
/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */ |
234 |
|
|
#define LINUX_PPC_SYS_setgroups 81 |
235 |
|
|
|
236 |
|
|
/* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */ |
237 |
|
|
#define LINUX_PPC_SYS_select 82 |
238 |
|
|
|
239 |
|
|
/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */ |
240 |
|
|
#define LINUX_PPC_SYS_symlink 83 |
241 |
|
|
|
242 |
|
|
/* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */ |
243 |
|
|
#define LINUX_PPC_SYS_oolstat 84 |
244 |
|
|
|
245 |
|
|
/* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */ |
246 |
|
|
#define LINUX_PPC_SYS_readlink 85 |
247 |
|
|
|
248 |
|
|
/* syscall: "uselib" ret: "int" args: "const char *" */ |
249 |
|
|
#define LINUX_PPC_SYS_uselib 86 |
250 |
|
|
|
251 |
|
|
/* syscall: "swapon" ret: "int" args: "char *" */ |
252 |
|
|
#define LINUX_PPC_SYS_swapon 87 |
253 |
|
|
|
254 |
|
|
/* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */ |
255 |
|
|
#define LINUX_PPC_SYS_reboot 88 |
256 |
|
|
|
257 |
|
|
/* syscall: "readdir" ret: "int" args: "int" "caddr_t" "unsigned int" */ |
258 |
|
|
#define LINUX_PPC_SYS_readdir 89 |
259 |
|
|
|
260 |
|
|
/* syscall: "mmap" ret: "int" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */ |
261 |
|
|
#define LINUX_PPC_SYS_mmap 90 |
262 |
|
|
|
263 |
|
|
/* syscall: "munmap" ret: "int" args: "caddr_t" "int" */ |
264 |
|
|
#define LINUX_PPC_SYS_munmap 91 |
265 |
|
|
|
266 |
|
|
/* syscall: "truncate" ret: "int" args: "const char *" "long" */ |
267 |
|
|
#define LINUX_PPC_SYS_truncate 92 |
268 |
|
|
|
269 |
|
|
/* syscall: "ftruncate" ret: "int" args: "int" "long" */ |
270 |
|
|
#define LINUX_PPC_SYS_ftruncate 93 |
271 |
|
|
|
272 |
|
|
/* syscall: "fchmod" ret: "int" args: "int" "int" */ |
273 |
|
|
#define LINUX_PPC_SYS_fchmod 94 |
274 |
|
|
|
275 |
|
|
/* syscall: "__posix_fchown" ret: "int" args: "int" "int" "int" */ |
276 |
|
|
#define LINUX_PPC_SYS___posix_fchown 95 |
277 |
|
|
|
278 |
|
|
/* syscall: "getpriority" ret: "int" args: "int" "int" */ |
279 |
|
|
#define LINUX_PPC_SYS_getpriority 96 |
280 |
|
|
|
281 |
|
|
/* syscall: "setpriority" ret: "int" args: "int" "int" "int" */ |
282 |
|
|
#define LINUX_PPC_SYS_setpriority 97 |
283 |
|
|
|
284 |
|
|
/* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */ |
285 |
|
|
#define LINUX_PPC_SYS_profil 98 |
286 |
|
|
|
287 |
|
|
/* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */ |
288 |
|
|
#define LINUX_PPC_SYS_statfs 99 |
289 |
|
|
|
290 |
|
|
/* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */ |
291 |
|
|
#define LINUX_PPC_SYS_fstatfs 100 |
292 |
|
|
|
293 |
|
|
/* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */ |
294 |
|
|
#define LINUX_PPC_SYS_ioperm 101 |
295 |
|
|
|
296 |
|
|
/* syscall: "socketcall" ret: "int" args: "int" "void *" */ |
297 |
|
|
#define LINUX_PPC_SYS_socketcall 102 |
298 |
|
|
|
299 |
|
|
/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */ |
300 |
|
|
#define LINUX_PPC_SYS_setitimer 104 |
301 |
|
|
|
302 |
|
|
/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */ |
303 |
|
|
#define LINUX_PPC_SYS_getitimer 105 |
304 |
|
|
|
305 |
|
|
/* syscall: "stat" ret: "int" args: "const char *" "struct linux_stat *" */ |
306 |
|
|
#define LINUX_PPC_SYS_stat 106 |
307 |
|
|
|
308 |
|
|
/* syscall: "lstat" ret: "int" args: "const char *" "struct linux_stat *" */ |
309 |
|
|
#define LINUX_PPC_SYS_lstat 107 |
310 |
|
|
|
311 |
|
|
/* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */ |
312 |
|
|
#define LINUX_PPC_SYS_fstat 108 |
313 |
|
|
|
314 |
|
|
/* syscall: "uname" ret: "int" args: "struct linux_utsname *" */ |
315 |
|
|
#define LINUX_PPC_SYS_uname 109 |
316 |
|
|
|
317 |
|
|
/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */ |
318 |
|
|
#define LINUX_PPC_SYS_wait4 114 |
319 |
|
|
|
320 |
|
|
/* syscall: "swapoff" ret: "int" args: "const char *" */ |
321 |
|
|
#define LINUX_PPC_SYS_swapoff 115 |
322 |
|
|
|
323 |
|
|
/* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */ |
324 |
|
|
#define LINUX_PPC_SYS_sysinfo 116 |
325 |
|
|
|
326 |
|
|
/* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */ |
327 |
|
|
#define LINUX_PPC_SYS_ipc 117 |
328 |
|
|
|
329 |
|
|
/* syscall: "fsync" ret: "int" args: "int" */ |
330 |
|
|
#define LINUX_PPC_SYS_fsync 118 |
331 |
|
|
|
332 |
|
|
/* syscall: "sigreturn" ret: "int" args: "struct linux_sigcontext *" */ |
333 |
|
|
#define LINUX_PPC_SYS_sigreturn 119 |
334 |
|
|
|
335 |
|
|
/* syscall: "clone" ret: "int" args: "int" "void *" */ |
336 |
|
|
#define LINUX_PPC_SYS_clone 120 |
337 |
|
|
|
338 |
|
|
/* syscall: "setdomainname" ret: "int" args: "char *" "int" */ |
339 |
|
|
#define LINUX_PPC_SYS_setdomainname 121 |
340 |
|
|
|
341 |
|
|
/* syscall: "new_uname" ret: "int" args: "struct linux_utsname *" */ |
342 |
|
|
#define LINUX_PPC_SYS_new_uname 122 |
343 |
|
|
|
344 |
|
|
/* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */ |
345 |
|
|
#define LINUX_PPC_SYS_mprotect 125 |
346 |
|
|
|
347 |
|
|
/* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */ |
348 |
|
|
#define LINUX_PPC_SYS_sigprocmask 126 |
349 |
|
|
|
350 |
|
|
/* syscall: "getpgid" ret: "int" args: "int" */ |
351 |
|
|
#define LINUX_PPC_SYS_getpgid 132 |
352 |
|
|
|
353 |
|
|
/* syscall: "fchdir" ret: "int" args: "int" */ |
354 |
|
|
#define LINUX_PPC_SYS_fchdir 133 |
355 |
|
|
|
356 |
|
|
/* syscall: "personality" ret: "int" args: "int" */ |
357 |
|
|
#define LINUX_PPC_SYS_personality 136 |
358 |
|
|
|
359 |
|
|
/* syscall: "setfsuid" ret: "int" args: "uid_t" */ |
360 |
|
|
#define LINUX_PPC_SYS_setfsuid 138 |
361 |
|
|
|
362 |
|
|
/* syscall: "getfsuid" ret: "int" args: */ |
363 |
|
|
#define LINUX_PPC_SYS_getfsuid 139 |
364 |
|
|
|
365 |
|
|
/* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "caddr_t" "int" */ |
366 |
|
|
#define LINUX_PPC_SYS_llseek 140 |
367 |
|
|
|
368 |
|
|
/* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */ |
369 |
|
|
#define LINUX_PPC_SYS_getdents 141 |
370 |
|
|
|
371 |
|
|
/* syscall: "new_select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */ |
372 |
|
|
#define LINUX_PPC_SYS_new_select 142 |
373 |
|
|
|
374 |
|
|
/* syscall: "flock" ret: "int" args: "int" "int" */ |
375 |
|
|
#define LINUX_PPC_SYS_flock 143 |
376 |
|
|
|
377 |
|
|
/* syscall: "msync" ret: "int" args: "caddr_t" "int" "int" */ |
378 |
|
|
#define LINUX_PPC_SYS_msync 144 |
379 |
|
|
|
380 |
|
|
/* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */ |
381 |
|
|
#define LINUX_PPC_SYS_readv 145 |
382 |
|
|
|
383 |
|
|
/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */ |
384 |
|
|
#define LINUX_PPC_SYS_writev 146 |
385 |
|
|
|
386 |
|
|
/* syscall: "getsid" ret: "pid_t" args: "pid_t" */ |
387 |
|
|
#define LINUX_PPC_SYS_getsid 147 |
388 |
|
|
|
389 |
|
|
/* syscall: "fdatasync" ret: "int" args: "int" */ |
390 |
|
|
#define LINUX_PPC_SYS_fdatasync 148 |
391 |
|
|
|
392 |
|
|
/* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */ |
393 |
|
|
#define LINUX_PPC_SYS___sysctl 149 |
394 |
|
|
|
395 |
|
|
/* syscall: "mlock" ret: "int" args: "caddr_t" "size_t" */ |
396 |
|
|
#define LINUX_PPC_SYS_mlock 150 |
397 |
|
|
|
398 |
|
|
/* syscall: "munlock" ret: "int" args: "caddr_t" "size_t" */ |
399 |
|
|
#define LINUX_PPC_SYS_munlock 151 |
400 |
|
|
|
401 |
|
|
/* syscall: "mlockall" ret: "int" args: "int" */ |
402 |
|
|
#define LINUX_PPC_SYS_mlockall 152 |
403 |
|
|
|
404 |
|
|
/* syscall: "munlockall" ret: "int" args: */ |
405 |
|
|
#define LINUX_PPC_SYS_munlockall 153 |
406 |
|
|
|
407 |
|
|
/* syscall: "sched_setparam" ret: "int" args: "pid_t" "const struct linux_sched_param *" */ |
408 |
|
|
#define LINUX_PPC_SYS_sched_setparam 154 |
409 |
|
|
|
410 |
|
|
/* syscall: "sched_getparam" ret: "int" args: "pid_t" "struct linux_sched_param *" */ |
411 |
|
|
#define LINUX_PPC_SYS_sched_getparam 155 |
412 |
|
|
|
413 |
|
|
/* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "const struct linux_sched_param *" */ |
414 |
|
|
#define LINUX_PPC_SYS_sched_setscheduler 156 |
415 |
|
|
|
416 |
|
|
/* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */ |
417 |
|
|
#define LINUX_PPC_SYS_sched_getscheduler 157 |
418 |
|
|
|
419 |
|
|
/* syscall: "sched_yield" ret: "int" args: */ |
420 |
|
|
#define LINUX_PPC_SYS_sched_yield 158 |
421 |
|
|
|
422 |
|
|
/* syscall: "sched_get_priority_max" ret: "int" args: "int" */ |
423 |
|
|
#define LINUX_PPC_SYS_sched_get_priority_max 159 |
424 |
|
|
|
425 |
|
|
/* syscall: "sched_get_priority_min" ret: "int" args: "int" */ |
426 |
|
|
#define LINUX_PPC_SYS_sched_get_priority_min 160 |
427 |
|
|
|
428 |
|
|
/* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */ |
429 |
|
|
#define LINUX_PPC_SYS_nanosleep 162 |
430 |
|
|
|
431 |
|
|
/* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */ |
432 |
|
|
#define LINUX_PPC_SYS_mremap 163 |
433 |
|
|
|
434 |
|
|
/* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */ |
435 |
|
|
#define LINUX_PPC_SYS_setresuid 164 |
436 |
|
|
|
437 |
|
|
/* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */ |
438 |
|
|
#define LINUX_PPC_SYS_getresuid 165 |
439 |
|
|
|
440 |
|
|
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */ |
441 |
|
|
#define LINUX_PPC_SYS_poll 167 |
442 |
|
|
|
443 |
|
|
/* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */ |
444 |
|
|
#define LINUX_PPC_SYS_setresgid 169 |
445 |
|
|
|
446 |
|
|
/* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */ |
447 |
|
|
#define LINUX_PPC_SYS_getresgid 170 |
448 |
|
|
|
449 |
|
|
/* syscall: "rt_sigreturn" ret: "int" args: "struct linux_rt_sigframe *" */ |
450 |
|
|
#define LINUX_PPC_SYS_rt_sigreturn 172 |
451 |
|
|
|
452 |
|
|
/* syscall: "rt_sigaction" ret: "int" args: "int" "const struct linux_sigaction *" "struct linux_sigaction *" "size_t" */ |
453 |
|
|
#define LINUX_PPC_SYS_rt_sigaction 173 |
454 |
|
|
|
455 |
|
|
/* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */ |
456 |
|
|
#define LINUX_PPC_SYS_rt_sigprocmask 174 |
457 |
|
|
|
458 |
|
|
/* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */ |
459 |
|
|
#define LINUX_PPC_SYS_rt_sigpending 175 |
460 |
|
|
|
461 |
|
|
/* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "void *" */ |
462 |
|
|
#define LINUX_PPC_SYS_rt_queueinfo 177 |
463 |
|
|
|
464 |
|
|
/* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */ |
465 |
|
|
#define LINUX_PPC_SYS_rt_sigsuspend 178 |
466 |
|
|
|
467 |
|
|
/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */ |
468 |
|
|
#define LINUX_PPC_SYS_pread 179 |
469 |
|
|
|
470 |
|
|
/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */ |
471 |
|
|
#define LINUX_PPC_SYS_pwrite 180 |
472 |
|
|
|
473 |
|
|
/* syscall: "chown" ret: "int" args: "const char *" "int" "int" */ |
474 |
|
|
#define LINUX_PPC_SYS_chown 181 |
475 |
|
|
|
476 |
|
|
/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */ |
477 |
|
|
#define LINUX_PPC_SYS___getcwd 182 |
478 |
|
|
|
479 |
|
|
/* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */ |
480 |
|
|
#define LINUX_PPC_SYS_sigaltstack 185 |
481 |
|
|
|
482 |
|
|
/* syscall: "__vfork14" ret: "int" args: */ |
483 |
|
|
#define LINUX_PPC_SYS___vfork14 189 |
484 |
|
|
|
485 |
|
|
/* syscall: "ugetrlimit" ret: "int" args: "int" "struct rlimit *" */ |
486 |
|
|
#define LINUX_PPC_SYS_ugetrlimit 190 |
487 |
|
|
|
488 |
|
|
/* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */ |
489 |
|
|
#define LINUX_PPC_SYS_mmap2 192 |
490 |
|
|
|
491 |
|
|
/* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */ |
492 |
|
|
#define LINUX_PPC_SYS_truncate64 193 |
493 |
|
|
|
494 |
|
|
/* syscall: "ftruncate64" ret: "int" args: "unsigned int" "off_t" */ |
495 |
|
|
#define LINUX_PPC_SYS_ftruncate64 194 |
496 |
|
|
|
497 |
|
|
/* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */ |
498 |
|
|
#define LINUX_PPC_SYS_stat64 195 |
499 |
|
|
|
500 |
|
|
/* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */ |
501 |
|
|
#define LINUX_PPC_SYS_lstat64 196 |
502 |
|
|
|
503 |
|
|
/* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */ |
504 |
|
|
#define LINUX_PPC_SYS_fstat64 197 |
505 |
|
|
|
506 |
|
|
/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */ |
507 |
|
|
#define LINUX_PPC_SYS_getdents64 202 |
508 |
|
|
|
509 |
|
|
/* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */ |
510 |
|
|
#define LINUX_PPC_SYS_fcntl64 204 |
511 |
|
|
|
512 |
|
|
#define LINUX_PPC_SYS_MAXSYSCALL 207 |
513 |
|
|
#define LINUX_PPC_SYS_NSYSENT 256 |
514 |
|
|
|
515 |
|
|
#endif /* SYSCALL_LINUX_PPC_H */ |