No empty .Rs/.Re
[netbsd-mini2440.git] / sys / compat / mach / mach_sysent.c
blob9c63003d9923c2cf72596d91bfabe1f8bb3ccd10
1 /* $NetBSD$ */
3 /*
4 * System call switch table.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.10 2009/01/13 22:27:43 pooka Exp
8 */
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #include "opt_ntp.h"
15 #include "opt_sysv.h"
16 #endif
17 #include <sys/param.h>
18 #include <sys/systm.h>
19 #include <sys/signal.h>
20 #include <sys/mount.h>
21 #include <sys/poll.h>
22 #include <sys/syscallargs.h>
23 #include <compat/mach/mach_types.h>
24 #include <compat/mach/mach_message.h>
25 #include <compat/mach/mach_clock.h>
26 #include <compat/mach/mach_syscallargs.h>
28 #define s(type) sizeof(type)
29 #define n(type) (sizeof(type)/sizeof (register_t))
30 #define ns(type) n(type), s(type)
32 struct sysent mach_sysent[] = {
33 { 0, 0, 0,
34 sys_nosys }, /* 0 = unimplemented */
35 { 0, 0, 0,
36 sys_nosys }, /* 1 = unimplemented */
37 { 0, 0, 0,
38 sys_nosys }, /* 2 = unimplemented */
39 { 0, 0, 0,
40 sys_nosys }, /* 3 = unimplemented */
41 { 0, 0, 0,
42 sys_nosys }, /* 4 = unimplemented */
43 { 0, 0, 0,
44 sys_nosys }, /* 5 = unimplemented */
45 { 0, 0, 0,
46 sys_nosys }, /* 6 = unimplemented */
47 { 0, 0, 0,
48 sys_nosys }, /* 7 = unimplemented */
49 { 0, 0, 0,
50 sys_nosys }, /* 8 = unimplemented */
51 { 0, 0, 0,
52 sys_nosys }, /* 9 = unimplemented */
53 { 0, 0, 0,
54 sys_nosys }, /* 10 = unimplemented */
55 { 0, 0, 0,
56 sys_nosys }, /* 11 = unimplemented */
57 { 0, 0, 0,
58 sys_nosys }, /* 12 = unimplemented */
59 { 0, 0, 0,
60 sys_nosys }, /* 13 = unimplemented */
61 { 0, 0, 0,
62 sys_nosys }, /* 14 = unimplemented */
63 { 0, 0, 0,
64 sys_nosys }, /* 15 = unimplemented */
65 { 0, 0, 0,
66 sys_nosys }, /* 16 = unimplemented */
67 { 0, 0, 0,
68 sys_nosys }, /* 17 = unimplemented */
69 { 0, 0, 0,
70 sys_nosys }, /* 18 = unimplemented */
71 { 0, 0, 0,
72 sys_nosys }, /* 19 = unimplemented */
73 { 0, 0, 0,
74 sys_nosys }, /* 20 = unimplemented */
75 { 0, 0, 0,
76 sys_nosys }, /* 21 = unimplemented */
77 { 0, 0, 0,
78 sys_nosys }, /* 22 = unimplemented */
79 { 0, 0, 0,
80 sys_nosys }, /* 23 = unimplemented */
81 { 0, 0, 0,
82 sys_nosys }, /* 24 = unimplemented */
83 { 0, 0, 0,
84 sys_nosys }, /* 25 = unimplemented */
85 { 0, 0, 0,
86 (sy_call_t *)mach_sys_reply_port }, /* 26 = reply_port */
87 { 0, 0, 0,
88 (sy_call_t *)mach_sys_thread_self_trap },/* 27 = thread_self_trap */
89 { 0, 0, 0,
90 (sy_call_t *)mach_sys_task_self_trap },/* 28 = task_self_trap */
91 { 0, 0, 0,
92 (sy_call_t *)mach_sys_host_self_trap },/* 29 = host_self_trap */
93 { 0, 0, 0,
94 sys_nosys }, /* 30 = unimplemented */
95 { ns(struct mach_sys_msg_trap_args), 0,
96 (sy_call_t *)mach_sys_msg_trap }, /* 31 = msg_trap */
97 { ns(struct mach_sys_msg_overwrite_trap_args), 0,
98 (sy_call_t *)mach_sys_msg_overwrite_trap },/* 32 = msg_overwrite_trap */
99 { ns(struct mach_sys_semaphore_signal_trap_args), 0,
100 (sy_call_t *)mach_sys_semaphore_signal_trap },/* 33 = semaphore_signal_trap */
101 { ns(struct mach_sys_semaphore_signal_all_trap_args), 0,
102 (sy_call_t *)mach_sys_semaphore_signal_all_trap },/* 34 = semaphore_signal_all_trap */
103 { ns(struct mach_sys_semaphore_signal_thread_trap_args), 0,
104 (sy_call_t *)mach_sys_semaphore_signal_thread_trap },/* 35 = semaphore_signal_thread_trap */
105 { ns(struct mach_sys_semaphore_wait_trap_args), 0,
106 (sy_call_t *)mach_sys_semaphore_wait_trap },/* 36 = semaphore_wait_trap */
107 { ns(struct mach_sys_semaphore_wait_signal_trap_args), 0,
108 (sy_call_t *)mach_sys_semaphore_wait_signal_trap },/* 37 = semaphore_wait_signal_trap */
109 { ns(struct mach_sys_semaphore_timedwait_trap_args), 0,
110 (sy_call_t *)mach_sys_semaphore_timedwait_trap },/* 38 = semaphore_timedwait_trap */
111 { ns(struct mach_sys_semaphore_timedwait_signal_trap_args), 0,
112 (sy_call_t *)mach_sys_semaphore_timedwait_signal_trap },/* 39 = semaphore_timedwait_signal_trap */
113 { 0, 0, 0,
114 sys_nosys }, /* 40 = unimplemented */
115 { 0, 0, 0,
116 (sy_call_t *)mach_sys_init_process },/* 41 = init_process */
117 { 0, 0, 0,
118 sys_nosys }, /* 42 = unimplemented */
119 { ns(struct mach_sys_map_fd_args), 0,
120 (sy_call_t *)mach_sys_map_fd }, /* 43 = map_fd */
121 { 0, 0, 0,
122 sys_nosys }, /* 44 = unimplemented */
123 { ns(struct mach_sys_task_for_pid_args), 0,
124 (sy_call_t *)mach_sys_task_for_pid },/* 45 = task_for_pid */
125 { ns(struct mach_sys_pid_for_task_args), 0,
126 (sy_call_t *)mach_sys_pid_for_task },/* 46 = pid_for_task */
127 { 0, 0, 0,
128 sys_nosys }, /* 47 = unimplemented */
129 { ns(struct mach_sys_macx_swapon_args), 0,
130 (sy_call_t *)mach_sys_macx_swapon },/* 48 = macx_swapon */
131 { ns(struct mach_sys_macx_swapoff_args), 0,
132 (sy_call_t *)mach_sys_macx_swapoff },/* 49 = macx_swapoff */
133 { 0, 0, 0,
134 sys_nosys }, /* 50 = unimplemented */
135 { ns(struct mach_sys_macx_triggers_args), 0,
136 (sy_call_t *)mach_sys_macx_triggers },/* 51 = macx_triggers */
137 { 0, 0, 0,
138 sys_nosys }, /* 52 = unimplemented */
139 { 0, 0, 0,
140 sys_nosys }, /* 53 = unimplemented */
141 { 0, 0, 0,
142 sys_nosys }, /* 54 = unimplemented */
143 { 0, 0, 0,
144 sys_nosys }, /* 55 = unimplemented */
145 { 0, 0, 0,
146 sys_nosys }, /* 56 = unimplemented */
147 { 0, 0, 0,
148 sys_nosys }, /* 57 = unimplemented */
149 { 0, 0, 0,
150 sys_nosys }, /* 58 = unimplemented */
151 { ns(struct mach_sys_swtch_pri_args), 0,
152 (sy_call_t *)mach_sys_swtch_pri }, /* 59 = swtch_pri */
153 { 0, 0, 0,
154 (sy_call_t *)mach_sys_swtch }, /* 60 = swtch */
155 { ns(struct mach_sys_syscall_thread_switch_args), 0,
156 (sy_call_t *)mach_sys_syscall_thread_switch },/* 61 = syscall_thread_switch */
157 { ns(struct mach_sys_clock_sleep_trap_args), 0,
158 (sy_call_t *)mach_sys_clock_sleep_trap },/* 62 = clock_sleep_trap */
159 { 0, 0, 0,
160 sys_nosys }, /* 63 = unimplemented */
161 { 0, 0, 0,
162 sys_nosys }, /* 64 = unimplemented */
163 { 0, 0, 0,
164 sys_nosys }, /* 65 = unimplemented */
165 { 0, 0, 0,
166 sys_nosys }, /* 66 = unimplemented */
167 { 0, 0, 0,
168 sys_nosys }, /* 67 = unimplemented */
169 { 0, 0, 0,
170 sys_nosys }, /* 68 = unimplemented */
171 { 0, 0, 0,
172 sys_nosys }, /* 69 = unimplemented */
173 { 0, 0, 0,
174 sys_nosys }, /* 70 = unimplemented */
175 { 0, 0, 0,
176 sys_nosys }, /* 71 = unimplemented */
177 { 0, 0, 0,
178 sys_nosys }, /* 72 = unimplemented */
179 { 0, 0, 0,
180 sys_nosys }, /* 73 = unimplemented */
181 { 0, 0, 0,
182 sys_nosys }, /* 74 = unimplemented */
183 { 0, 0, 0,
184 sys_nosys }, /* 75 = unimplemented */
185 { 0, 0, 0,
186 sys_nosys }, /* 76 = unimplemented */
187 { 0, 0, 0,
188 sys_nosys }, /* 77 = unimplemented */
189 { 0, 0, 0,
190 sys_nosys }, /* 78 = unimplemented */
191 { 0, 0, 0,
192 sys_nosys }, /* 79 = unimplemented */
193 { 0, 0, 0,
194 sys_nosys }, /* 80 = unimplemented */
195 { 0, 0, 0,
196 sys_nosys }, /* 81 = unimplemented */
197 { 0, 0, 0,
198 sys_nosys }, /* 82 = unimplemented */
199 { 0, 0, 0,
200 sys_nosys }, /* 83 = unimplemented */
201 { 0, 0, 0,
202 sys_nosys }, /* 84 = unimplemented */
203 { 0, 0, 0,
204 sys_nosys }, /* 85 = unimplemented */
205 { 0, 0, 0,
206 sys_nosys }, /* 86 = unimplemented */
207 { 0, 0, 0,
208 sys_nosys }, /* 87 = unimplemented */
209 { 0, 0, 0,
210 sys_nosys }, /* 88 = unimplemented */
211 { ns(struct mach_sys_timebase_info_args), 0,
212 (sy_call_t *)mach_sys_timebase_info },/* 89 = timebase_info */
213 { ns(struct mach_sys_wait_until_args), 0,
214 (sy_call_t *)mach_sys_wait_until }, /* 90 = wait_until */
215 { 0, 0, 0,
216 (sy_call_t *)mach_sys_timer_create },/* 91 = timer_create */
217 { ns(struct mach_sys_timer_destroy_args), 0,
218 (sy_call_t *)mach_sys_timer_destroy },/* 92 = timer_destroy */
219 { ns(struct mach_sys_timer_arm_args), 0,
220 (sy_call_t *)mach_sys_timer_arm }, /* 93 = timer_arm */
221 { ns(struct mach_sys_timer_cancel_args), 0,
222 (sy_call_t *)mach_sys_timer_cancel },/* 94 = timer_cancel */
223 { 0, 0, 0,
224 (sy_call_t *)mach_sys_get_time_base_info },/* 95 = get_time_base_info */
225 { 0, 0, 0,
226 sys_nosys }, /* 96 = unimplemented */
227 { 0, 0, 0,
228 sys_nosys }, /* 97 = unimplemented */
229 { 0, 0, 0,
230 sys_nosys }, /* 98 = unimplemented */
231 { 0, 0, 0,
232 sys_nosys }, /* 99 = unimplemented */
233 { 0, 0, 0,
234 sys_nosys }, /* 100 = unimplemented */
235 { 0, 0, 0,
236 sys_nosys }, /* 101 = unimplemented */
237 { 0, 0, 0,
238 sys_nosys }, /* 102 = unimplemented */
239 { 0, 0, 0,
240 sys_nosys }, /* 103 = unimplemented */
241 { 0, 0, 0,
242 sys_nosys }, /* 104 = unimplemented */
243 { 0, 0, 0,
244 sys_nosys }, /* 105 = unimplemented */
245 { 0, 0, 0,
246 sys_nosys }, /* 106 = unimplemented */
247 { 0, 0, 0,
248 sys_nosys }, /* 107 = unimplemented */
249 { 0, 0, 0,
250 sys_nosys }, /* 108 = unimplemented */
251 { 0, 0, 0,
252 sys_nosys }, /* 109 = unimplemented */
253 { 0, 0, 0,
254 sys_nosys }, /* 110 = unimplemented */
255 { 0, 0, 0,
256 sys_nosys }, /* 111 = unimplemented */
257 { 0, 0, 0,
258 sys_nosys }, /* 112 = unimplemented */
259 { 0, 0, 0,
260 sys_nosys }, /* 113 = unimplemented */
261 { 0, 0, 0,
262 sys_nosys }, /* 114 = unimplemented */
263 { 0, 0, 0,
264 sys_nosys }, /* 115 = unimplemented */
265 { 0, 0, 0,
266 sys_nosys }, /* 116 = unimplemented */
267 { 0, 0, 0,
268 sys_nosys }, /* 117 = unimplemented */
269 { 0, 0, 0,
270 sys_nosys }, /* 118 = unimplemented */
271 { 0, 0, 0,
272 sys_nosys }, /* 119 = unimplemented */
273 { 0, 0, 0,
274 sys_nosys }, /* 120 = unimplemented */
275 { 0, 0, 0,
276 sys_nosys }, /* 121 = unimplemented */
277 { 0, 0, 0,
278 sys_nosys }, /* 122 = unimplemented */
279 { 0, 0, 0,
280 sys_nosys }, /* 123 = unimplemented */
281 { 0, 0, 0,
282 sys_nosys }, /* 124 = unimplemented */
283 { 0, 0, 0,
284 sys_nosys }, /* 125 = unimplemented */
285 { 0, 0, 0,
286 sys_nosys }, /* 126 = unimplemented */
287 { 0, 0, 0,
288 sys_nosys }, /* 127 = unimplemented */