ultrix_syscalls.c revision 1.55
1/* $NetBSD: ultrix_syscalls.c,v 1.55 2008/06/19 12:29:34 hans Exp $ */
2
3/*
4 * System call names.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from	NetBSD: syscalls.master,v 1.46 2008/06/19 12:28:12 hans Exp
8 */
9
10#include <sys/cdefs.h>
11__KERNEL_RCSID(0, "$NetBSD: ultrix_syscalls.c,v 1.55 2008/06/19 12:29:34 hans Exp $");
12
13#if defined(_KERNEL_OPT)
14#if defined(_KERNEL_OPT)
15#include "opt_nfsserver.h"
16#include "fs_nfs.h"
17#endif
18#include <sys/param.h>
19#include <sys/systm.h>
20#include <sys/signal.h>
21#include <sys/mount.h>
22#include <sys/sched.h>
23#include <sys/syscallargs.h>
24#include <compat/ultrix/ultrix_syscallargs.h>
25#endif /* _KERNEL_OPT */
26
27const char *const ultrix_syscallnames[] = {
28	/*   0 */	"syscall",
29	/*   1 */	"exit",
30	/*   2 */	"fork",
31	/*   3 */	"read",
32	/*   4 */	"write",
33	/*   5 */	"open",
34	/*   6 */	"close",
35	/*   7 */	"owait",
36	/*   8 */	"creat",
37	/*   9 */	"link",
38	/*  10 */	"unlink",
39	/*  11 */	"execv",
40	/*  12 */	"chdir",
41	/*  13 */	"#13 (obsolete time)",
42	/*  14 */	"mknod",
43	/*  15 */	"chmod",
44	/*  16 */	"__posix_chown",
45	/*  17 */	"break",
46	/*  18 */	"#18 (obsolete stat)",
47	/*  19 */	"lseek",
48	/*  20 */	"getpid",
49	/*  21 */	"mount",
50	/*  22 */	"#22 (obsolete sysV_unmount)",
51	/*  23 */	"setuid",
52	/*  24 */	"getuid",
53	/*  25 */	"#25 (obsolete v7 stime)",
54	/*  26 */	"#26 (obsolete v7 ptrace)",
55	/*  27 */	"#27 (obsolete v7 alarm)",
56	/*  28 */	"#28 (obsolete v7 fstat)",
57	/*  29 */	"#29 (obsolete v7 pause)",
58	/*  30 */	"#30 (obsolete v7 utime)",
59	/*  31 */	"#31 (obsolete v7 stty)",
60	/*  32 */	"#32 (obsolete v7 gtty)",
61	/*  33 */	"access",
62	/*  34 */	"#34 (obsolete v7 nice)",
63	/*  35 */	"#35 (obsolete v7 ftime)",
64	/*  36 */	"sync",
65	/*  37 */	"kill",
66	/*  38 */	"stat43",
67	/*  39 */	"#39 (obsolete v7 setpgrp)",
68	/*  40 */	"lstat43",
69	/*  41 */	"dup",
70	/*  42 */	"pipe",
71	/*  43 */	"#43 (obsolete v7 times)",
72	/*  44 */	"profil",
73	/*  45 */	"#45 (unimplemented)",
74	/*  46 */	"#46 (obsolete v7 setgid)",
75	/*  47 */	"getgid",
76	/*  48 */	"#48 (unimplemented ssig)",
77	/*  49 */	"#49 (unimplemented reserved for USG)",
78	/*  50 */	"#50 (unimplemented reserved for USG)",
79	/*  51 */	"acct",
80	/*  52 */	"#52 (unimplemented)",
81	/*  53 */	"#53 (unimplemented syslock)",
82	/*  54 */	"ioctl",
83	/*  55 */	"reboot",
84	/*  56 */	"#56 (unimplemented v7 mpxchan)",
85	/*  57 */	"symlink",
86	/*  58 */	"readlink",
87	/*  59 */	"execve",
88	/*  60 */	"umask",
89	/*  61 */	"chroot",
90	/*  62 */	"fstat",
91	/*  63 */	"#63 (unimplemented)",
92	/*  64 */	"getpagesize",
93	/*  65 */	"#65 (unimplemented mremap)",
94	/*  66 */	"vfork",
95	/*  67 */	"#67 (obsolete vread)",
96	/*  68 */	"#68 (obsolete vwrite)",
97	/*  69 */	"sbrk",
98	/*  70 */	"sstk",
99	/*  71 */	"mmap",
100	/*  72 */	"vadvise",
101	/*  73 */	"munmap",
102	/*  74 */	"mprotect",
103	/*  75 */	"madvise",
104	/*  76 */	"vhangup",
105	/*  77 */	"#77 (unimplemented old vlimit)",
106	/*  78 */	"mincore",
107	/*  79 */	"getgroups",
108	/*  80 */	"setgroups",
109	/*  81 */	"getpgrp",
110	/*  82 */	"setpgrp",
111	/*  83 */	"setitimer",
112	/*  84 */	"wait3",
113	/*  85 */	"swapon",
114	/*  86 */	"getitimer",
115	/*  87 */	"gethostname",
116	/*  88 */	"sethostname",
117	/*  89 */	"getdtablesize",
118	/*  90 */	"dup2",
119	/*  91 */	"#91 (unimplemented getdopt)",
120	/*  92 */	"fcntl",
121	/*  93 */	"select",
122	/*  94 */	"#94 (unimplemented setdopt)",
123	/*  95 */	"fsync",
124	/*  96 */	"setpriority",
125	/*  97 */	"socket",
126	/*  98 */	"connect",
127	/*  99 */	"accept",
128	/* 100 */	"getpriority",
129	/* 101 */	"send",
130	/* 102 */	"recv",
131	/* 103 */	"sigreturn",
132	/* 104 */	"bind",
133	/* 105 */	"setsockopt",
134	/* 106 */	"listen",
135	/* 107 */	"#107 (unimplemented vtimes)",
136	/* 108 */	"sigvec",
137	/* 109 */	"sigblock",
138	/* 110 */	"sigsetmask",
139	/* 111 */	"sigsuspend",
140	/* 112 */	"sigstack",
141	/* 113 */	"recvmsg",
142	/* 114 */	"sendmsg",
143	/* 115 */	"#115 (obsolete vtrace)",
144	/* 116 */	"gettimeofday",
145	/* 117 */	"getrusage",
146	/* 118 */	"getsockopt",
147	/* 119 */	"#119 (unimplemented resuba)",
148	/* 120 */	"readv",
149	/* 121 */	"writev",
150	/* 122 */	"settimeofday",
151	/* 123 */	"__posix_fchown",
152	/* 124 */	"fchmod",
153	/* 125 */	"recvfrom",
154	/* 126 */	"setreuid",
155	/* 127 */	"setregid",
156	/* 128 */	"rename",
157	/* 129 */	"truncate",
158	/* 130 */	"ftruncate",
159	/* 131 */	"flock",
160	/* 132 */	"#132 (unimplemented)",
161	/* 133 */	"sendto",
162	/* 134 */	"shutdown",
163	/* 135 */	"socketpair",
164	/* 136 */	"mkdir",
165	/* 137 */	"rmdir",
166	/* 138 */	"utimes",
167	/* 139 */	"sigcleanup",
168	/* 140 */	"adjtime",
169	/* 141 */	"getpeername",
170	/* 142 */	"gethostid",
171	/* 143 */	"#143 (unimplemented old sethostid)",
172	/* 144 */	"getrlimit",
173	/* 145 */	"setrlimit",
174	/* 146 */	"killpg",
175	/* 147 */	"#147 (unimplemented)",
176	/* 148 */	"#148 (unimplemented setquota)",
177	/* 149 */	"#149 (unimplemented quota / * needs to be nullop to boot on Ultrix root partition * /)",
178	/* 150 */	"getsockname",
179	/* 151 */	"#151 (unimplemented sysmips / * 4 args * /)",
180#ifdef __mips
181	/* 152 */	"cacheflush",
182	/* 153 */	"cachectl",
183#else	/* !mips */
184	/* 152 */	"#152 (unimplemented)",
185	/* 153 */	"#153 (unimplemented)",
186#endif	/* !mips */
187	/* 154 */	"#154 (unimplemented)",
188	/* 155 */	"#155 (unimplemented atomic_op)",
189	/* 156 */	"#156 (unimplemented)",
190	/* 157 */	"#157 (unimplemented)",
191#ifdef NFSSERVER
192	/* 158 */	"nfssvc",
193#else
194	/* 158 */	"#158 (unimplemented)",
195#endif
196	/* 159 */	"getdirentries",
197	/* 160 */	"statfs",
198	/* 161 */	"fstatfs",
199	/* 162 */	"#162 (unimplemented umount)",
200#ifdef NFS
201	/* 163 */	"async_daemon",
202	/* 164 */	"getfh",
203#else
204	/* 163 */	"#163 (unimplemented async_daemon)",
205	/* 164 */	"#164 (unimplemented getfh)",
206#endif
207	/* 165 */	"getdomainname",
208	/* 166 */	"setdomainname",
209	/* 167 */	"#167 (unimplemented)",
210	/* 168 */	"quotactl",
211	/* 169 */	"exportfs",
212	/* 170 */	"#170 (unimplemented { int ultrix_sys_mount ( char * special , char * dir , int rdonly , int type , void * data ) ; })",
213	/* 171 */	"#171 (unimplemented 4 hdwconf)",
214	/* 172 */	"#172 (unimplemented msgctl)",
215	/* 173 */	"#173 (unimplemented msgget)",
216	/* 174 */	"#174 (unimplemented msgrcv)",
217	/* 175 */	"#175 (unimplemented msgsnd)",
218	/* 176 */	"#176 (unimplemented semctl)",
219	/* 177 */	"#177 (unimplemented semget)",
220	/* 178 */	"#178 (unimplemented semop)",
221	/* 179 */	"uname",
222	/* 180 */	"shmsys",
223	/* 181 */	"#181 (unimplemented 0 plock)",
224	/* 182 */	"#182 (unimplemented 0 lockf)",
225	/* 183 */	"ustat",
226	/* 184 */	"getmnt",
227	/* 185 */	"#185 (unimplemented notdef)",
228	/* 186 */	"#186 (unimplemented notdef)",
229	/* 187 */	"sigpending",
230	/* 188 */	"setsid",
231	/* 189 */	"waitpid",
232	/* 190 */	"#190 (unimplemented)",
233	/* 191 */	"#191 (unimplemented)",
234	/* 192 */	"#192 (unimplemented)",
235	/* 193 */	"#193 (unimplemented)",
236	/* 194 */	"#194 (unimplemented)",
237	/* 195 */	"#195 (unimplemented)",
238	/* 196 */	"#196 (unimplemented)",
239	/* 197 */	"#197 (unimplemented)",
240	/* 198 */	"#198 (unimplemented)",
241	/* 199 */	"#199 (unimplemented)",
242	/* 200 */	"#200 (unimplemented)",
243	/* 201 */	"#201 (unimplemented)",
244	/* 202 */	"#202 (unimplemented)",
245	/* 203 */	"#203 (unimplemented)",
246	/* 204 */	"#204 (unimplemented)",
247	/* 205 */	"#205 (unimplemented)",
248	/* 206 */	"#206 (unimplemented)",
249	/* 207 */	"#207 (unimplemented)",
250	/* 208 */	"#208 (unimplemented)",
251	/* 209 */	"#209 (unimplemented)",
252	/* 210 */	"#210 (unimplemented)",
253	/* 211 */	"#211 (unimplemented)",
254	/* 212 */	"#212 (unimplemented)",
255	/* 213 */	"#213 (unimplemented)",
256	/* 214 */	"#214 (unimplemented)",
257	/* 215 */	"#215 (unimplemented)",
258	/* 216 */	"#216 (unimplemented)",
259	/* 217 */	"#217 (unimplemented)",
260	/* 218 */	"#218 (unimplemented)",
261	/* 219 */	"#219 (unimplemented)",
262	/* 220 */	"#220 (unimplemented)",
263	/* 221 */	"#221 (unimplemented)",
264	/* 222 */	"#222 (unimplemented)",
265	/* 223 */	"#223 (unimplemented)",
266	/* 224 */	"#224 (unimplemented)",
267	/* 225 */	"#225 (unimplemented)",
268	/* 226 */	"#226 (unimplemented)",
269	/* 227 */	"#227 (unimplemented)",
270	/* 228 */	"#228 (unimplemented)",
271	/* 229 */	"#229 (unimplemented)",
272	/* 230 */	"#230 (unimplemented)",
273	/* 231 */	"#231 (unimplemented)",
274	/* 232 */	"#232 (unimplemented)",
275	/* 233 */	"#233 (unimplemented 1 utc_gettime)",
276	/* 234 */	"#234 (unimplemented 2 utc_adjtime)",
277	/* 235 */	"#235 (unimplemented)",
278	/* 236 */	"#236 (unimplemented)",
279	/* 237 */	"#237 (unimplemented)",
280	/* 238 */	"#238 (unimplemented)",
281	/* 239 */	"#239 (unimplemented)",
282	/* 240 */	"#240 (unimplemented)",
283	/* 241 */	"#241 (unimplemented)",
284	/* 242 */	"#242 (unimplemented)",
285	/* 243 */	"#243 (unimplemented)",
286	/* 244 */	"#244 (unimplemented)",
287	/* 245 */	"#245 (unimplemented)",
288	/* 246 */	"#246 (unimplemented)",
289	/* 247 */	"#247 (unimplemented)",
290	/* 248 */	"#248 (unimplemented)",
291	/* 249 */	"#249 (unimplemented)",
292	/* 250 */	"#250 (unimplemented)",
293	/* 251 */	"#251 (unimplemented)",
294	/* 252 */	"#252 (unimplemented audctl / * Make no-op for installation on Ultrix rootpartition? * /)",
295	/* 253 */	"#253 (unimplemented audgen / * Make no-op for installation on Ultrix rootpartition? * /)",
296	/* 254 */	"#254 (unimplemented startcpu)",
297	/* 255 */	"#255 (unimplemented stopcpu)",
298	/* 256 */	"getsysinfo",
299	/* 257 */	"setsysinfo",
300};
301