Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / compat / linux / arch / powerpc / linux_syscalls.c
blob593d6c6f048f5a4d5e62a6fa4e00d9c486f6b990
1 /* $NetBSD$ */
3 /*
4 * System call names.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.44 2009/11/24 10:42:44 njoly Exp
8 */
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #include <sys/param.h>
15 #include <sys/poll.h>
16 #include <sys/systm.h>
17 #include <sys/signal.h>
18 #include <sys/mount.h>
19 #include <sys/syscallargs.h>
20 #include <compat/linux/common/linux_types.h>
21 #include <compat/linux/common/linux_signal.h>
22 #include <compat/linux/common/linux_siginfo.h>
23 #include <compat/linux/common/linux_machdep.h>
24 #include <compat/linux/common/linux_mmap.h>
25 #include <compat/linux/linux_syscallargs.h>
26 #endif /* _KERNEL_OPT */
28 const char *const linux_syscallnames[] = {
29 /* 0 */ "syscall",
30 /* 1 */ "exit",
31 /* 2 */ "fork",
32 /* 3 */ "read",
33 /* 4 */ "write",
34 /* 5 */ "open",
35 /* 6 */ "close",
36 /* 7 */ "waitpid",
37 /* 8 */ "creat",
38 /* 9 */ "link",
39 /* 10 */ "unlink",
40 /* 11 */ "execve",
41 /* 12 */ "chdir",
42 /* 13 */ "time",
43 /* 14 */ "mknod",
44 /* 15 */ "chmod",
45 /* 16 */ "__posix_lchown",
46 /* 17 */ "#17 (obsolete break)",
47 /* 18 */ "#18 (obsolete ostat)",
48 /* 19 */ "lseek",
49 /* 20 */ "getpid",
50 /* 21 */ "#21 (unimplemented mount)",
51 /* 22 */ "#22 (obsolete umount)",
52 /* 23 */ "setuid",
53 /* 24 */ "getuid",
54 /* 25 */ "stime",
55 /* 26 */ "ptrace",
56 /* 27 */ "alarm",
57 /* 28 */ "#28 (obsolete ofstat)",
58 /* 29 */ "pause",
59 /* 30 */ "utime",
60 /* 31 */ "#31 (obsolete stty)",
61 /* 32 */ "#32 (obsolete gtty)",
62 /* 33 */ "access",
63 /* 34 */ "nice",
64 /* 35 */ "#35 (obsolete ftime)",
65 /* 36 */ "sync",
66 /* 37 */ "kill",
67 /* 38 */ "__posix_rename",
68 /* 39 */ "mkdir",
69 /* 40 */ "rmdir",
70 /* 41 */ "dup",
71 /* 42 */ "pipe",
72 /* 43 */ "times",
73 /* 44 */ "#44 (obsolete prof)",
74 /* 45 */ "brk",
75 /* 46 */ "setgid",
76 /* 47 */ "getgid",
77 /* 48 */ "signal",
78 /* 49 */ "geteuid",
79 /* 50 */ "getegid",
80 /* 51 */ "acct",
81 /* 52 */ "#52 (unimplemented umount)",
82 /* 53 */ "#53 (obsolete lock)",
83 /* 54 */ "ioctl",
84 /* 55 */ "fcntl",
85 /* 56 */ "#56 (obsolete mpx)",
86 /* 57 */ "setpgid",
87 /* 58 */ "#58 (obsolete ulimit)",
88 /* 59 */ "olduname",
89 /* 60 */ "umask",
90 /* 61 */ "chroot",
91 /* 62 */ "#62 (unimplemented ustat)",
92 /* 63 */ "dup2",
93 /* 64 */ "getppid",
94 /* 65 */ "getpgrp",
95 /* 66 */ "setsid",
96 /* 67 */ "sigaction",
97 /* 68 */ "siggetmask",
98 /* 69 */ "sigsetmask",
99 /* 70 */ "setreuid",
100 /* 71 */ "setregid",
101 /* 72 */ "sigsuspend",
102 /* 73 */ "sigpending",
103 /* 74 */ "sethostname",
104 /* 75 */ "setrlimit",
105 /* 76 */ "getrlimit",
106 /* 77 */ "getrusage",
107 /* 78 */ "gettimeofday",
108 /* 79 */ "settimeofday",
109 /* 80 */ "getgroups",
110 /* 81 */ "setgroups",
111 /* 82 */ "select",
112 /* 83 */ "symlink",
113 /* 84 */ "oolstat",
114 /* 85 */ "readlink",
115 #ifdef EXEC_AOUT
116 /* 86 */ "uselib",
117 #else
118 /* 86 */ "#86 (unimplemented sys_uselib)",
119 #endif
120 /* 87 */ "swapon",
121 /* 88 */ "reboot",
122 /* 89 */ "readdir",
123 /* 90 */ "mmap",
124 /* 91 */ "munmap",
125 /* 92 */ "truncate",
126 /* 93 */ "ftruncate",
127 /* 94 */ "fchmod",
128 /* 95 */ "__posix_fchown",
129 /* 96 */ "getpriority",
130 /* 97 */ "setpriority",
131 /* 98 */ "profil",
132 /* 99 */ "statfs",
133 /* 100 */ "fstatfs",
134 /* 101 */ "ioperm",
135 /* 102 */ "socketcall",
136 /* 103 */ "#103 (unimplemented syslog)",
137 /* 104 */ "setitimer",
138 /* 105 */ "getitimer",
139 /* 106 */ "stat",
140 /* 107 */ "lstat",
141 /* 108 */ "fstat",
142 /* 109 */ "uname",
143 /* 110 */ "#110 (unimplemented iopl)",
144 /* 111 */ "#111 (unimplemented vhangup)",
145 /* 112 */ "#112 (unimplemented idle)",
146 /* 113 */ "#113 (unimplemented vm86old)",
147 /* 114 */ "wait4",
148 /* 115 */ "swapoff",
149 /* 116 */ "sysinfo",
150 /* 117 */ "ipc",
151 /* 118 */ "fsync",
152 /* 119 */ "sigreturn",
153 /* 120 */ "clone",
154 /* 121 */ "setdomainname",
155 /* 122 */ "new_uname",
156 /* 123 */ "#123 (unimplemented modify_ldt)",
157 /* 124 */ "#124 (unimplemented adjtimex)",
158 /* 125 */ "mprotect",
159 /* 126 */ "sigprocmask",
160 /* 127 */ "#127 (unimplemented create_module)",
161 /* 128 */ "#128 (unimplemented init_module)",
162 /* 129 */ "#129 (unimplemented delete_module)",
163 /* 130 */ "#130 (unimplemented get_kernel_syms)",
164 /* 131 */ "#131 (unimplemented quotactl)",
165 /* 132 */ "getpgid",
166 /* 133 */ "fchdir",
167 /* 134 */ "#134 (unimplemented bdflush)",
168 /* 135 */ "#135 (unimplemented sysfs)",
169 /* 136 */ "personality",
170 /* 137 */ "#137 (unimplemented afs_syscall)",
171 /* 138 */ "setfsuid",
172 /* 139 */ "setfsgid",
173 /* 140 */ "llseek",
174 /* 141 */ "getdents",
175 /* 142 */ "new_select",
176 /* 143 */ "flock",
177 /* 144 */ "__msync13",
178 /* 145 */ "readv",
179 /* 146 */ "writev",
180 /* 147 */ "getsid",
181 /* 148 */ "fdatasync",
182 /* 149 */ "__sysctl",
183 /* 150 */ "mlock",
184 /* 151 */ "munlock",
185 /* 152 */ "mlockall",
186 /* 153 */ "munlockall",
187 /* 154 */ "sched_setparam",
188 /* 155 */ "sched_getparam",
189 /* 156 */ "sched_setscheduler",
190 /* 157 */ "sched_getscheduler",
191 /* 158 */ "sched_yield",
192 /* 159 */ "sched_get_priority_max",
193 /* 160 */ "sched_get_priority_min",
194 /* 161 */ "#161 (unimplemented sched_rr_get_interval)",
195 /* 162 */ "nanosleep",
196 /* 163 */ "mremap",
197 /* 164 */ "setresuid",
198 /* 165 */ "getresuid",
199 /* 166 */ "#166 (unimplemented query_module)",
200 /* 167 */ "poll",
201 /* 168 */ "#168 (unimplemented nfsservctl)",
202 /* 169 */ "setresgid",
203 /* 170 */ "getresgid",
204 /* 171 */ "#171 (unimplemented prctl)",
205 /* 172 */ "rt_sigreturn",
206 /* 173 */ "rt_sigaction",
207 /* 174 */ "rt_sigprocmask",
208 /* 175 */ "rt_sigpending",
209 /* 176 */ "#176 (unimplemented rt_sigtimedwait)",
210 /* 177 */ "rt_queueinfo",
211 /* 178 */ "rt_sigsuspend",
212 /* 179 */ "pread",
213 /* 180 */ "pwrite",
214 /* 181 */ "__posix_chown",
215 /* 182 */ "__getcwd",
216 /* 183 */ "#183 (unimplemented capget)",
217 /* 184 */ "#184 (unimplemented capset)",
218 /* 185 */ "sigaltstack",
219 /* 186 */ "#186 (unimplemented sendfile)",
220 /* 187 */ "#187 (unimplemented getpmsg)",
221 /* 188 */ "#188 (unimplemented putpmsg)",
222 /* 189 */ "__vfork14",
223 /* 190 */ "ugetrlimit",
224 /* 191 */ "#191 (unimplemented / * unused * /)",
225 #define linux_sys_mmap2_args linux_sys_mmap_args
226 /* 192 */ "mmap2",
227 /* 193 */ "truncate64",
228 /* 194 */ "ftruncate64",
229 /* 195 */ "stat64",
230 /* 196 */ "lstat64",
231 /* 197 */ "fstat64",
232 /* 198 */ "#198 (unimplemented sys_pciconfig_read)",
233 /* 199 */ "#199 (unimplemented sys_pciconfig_write)",
234 /* 200 */ "#200 (unimplemented sys_pciconfig_iobase)",
235 /* 201 */ "#201 (unimplemented / * Unused ( MacOnLinux project ) * /)",
236 /* 202 */ "getdents64",
237 /* 203 */ "#203 (unimplemented pivot_root)",
238 /* 204 */ "fcntl64",
239 /* 205 */ "mincore",
240 /* 206 */ "madvise",
241 /* 207 */ "#207 (unimplemented gettid)",
242 /* 208 */ "#208 (unimplemented tkill)",
243 /* 209 */ "setxattr",
244 /* 210 */ "lsetxattr",
245 /* 211 */ "fsetxattr",
246 /* 212 */ "getxattr",
247 /* 213 */ "lgetxattr",
248 /* 214 */ "fgetxattr",
249 /* 215 */ "listxattr",
250 /* 216 */ "llistxattr",
251 /* 217 */ "flistxattr",
252 /* 218 */ "removexattr",
253 /* 219 */ "lremovexattr",
254 /* 220 */ "fremovexattr",
255 /* 221 */ "#221 (unimplemented futex)",
256 /* 222 */ "#222 (unimplemented sched_setaffinity)",
257 /* 223 */ "#223 (unimplemented sched_getaffinity)",
258 /* 224 */ "#224 (unimplemented / * unused * /)",
259 /* 225 */ "#225 (unimplemented tuxcall)",
260 /* 226 */ "#226 (unimplemented sendfile64)",
261 /* 227 */ "#227 (unimplemented io_setup)",
262 /* 228 */ "#228 (unimplemented io_destroy)",
263 /* 229 */ "#229 (unimplemented io_getevents)",
264 /* 230 */ "#230 (unimplemented io_submit)",
265 /* 231 */ "#231 (unimplemented io_cancel)",
266 /* 232 */ "#232 (unimplemented set_tid_address)",
267 /* 233 */ "#233 (unimplemented fadvise64)",
268 /* 234 */ "exit_group",
269 /* 235 */ "#235 (unimplemented lookup_dcookie)",
270 /* 236 */ "#236 (unimplemented epoll_create)",
271 /* 237 */ "#237 (unimplemented epoll_ctl)",
272 /* 238 */ "#238 (unimplemented epoll_wait)",
273 /* 239 */ "#239 (unimplemented remap_file_pages)",
274 /* 240 */ "#240 (unimplemented timer_create)",
275 /* 241 */ "#241 (unimplemented timer_settime)",
276 /* 242 */ "#242 (unimplemented timer_gettime)",
277 /* 243 */ "#243 (unimplemented timer_getoverrun)",
278 /* 244 */ "#244 (unimplemented timer_delete)",
279 /* 245 */ "clock_settime",
280 /* 246 */ "clock_gettime",
281 /* 247 */ "clock_getres",
282 /* 248 */ "clock_nanosleep",
283 /* 249 */ "#249 (unimplemented swapcontext)",
284 /* 250 */ "#250 (unimplemented tgkill)",
285 /* 251 */ "#251 (unimplemented utimes)",
286 /* 252 */ "statfs64",
287 /* 253 */ "fstatfs64",
288 /* 254 */ "#254 (unimplemented fadvise64_64)",
289 /* 255 */ "#255 (unimplemented rtas)",
290 /* 256 */ "#256 (unimplemented / * reserved for sys_debug_setcontext * /)",
291 /* 257 */ "#257 (unimplemented / * reserved for vserver * /)",
292 /* 258 */ "#258 (unimplemented / * reserved for new sys_remap_file_pages * /)",
293 /* 259 */ "#259 (unimplemented / * reserved for new sys_mbind * /)",
294 /* 260 */ "#260 (unimplemented / * reserved for new sys_get_mempolicy * /)",
295 /* 261 */ "#261 (unimplemented / * reserved for new sys_set_mempolicy * /)",
296 /* 262 */ "#262 (unimplemented mq_open)",
297 /* 263 */ "#263 (unimplemented mq_unlink)",
298 /* 264 */ "#264 (unimplemented mq_timedsend)",
299 /* 265 */ "#265 (unimplemented mq_timedreceive)",
300 /* 266 */ "#266 (unimplemented mq_notify)",
301 /* 267 */ "#267 (unimplemented mq_getsetattr)",
302 /* 268 */ "#268 (unimplemented kexec_load)",