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
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
17 #include <sys/param.h>
18 #include <sys/systm.h>
19 #include <sys/signal.h>
20 #include <sys/mount.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
[] = {
34 sys_nosys
}, /* 0 = unimplemented */
36 sys_nosys
}, /* 1 = unimplemented */
38 sys_nosys
}, /* 2 = unimplemented */
40 sys_nosys
}, /* 3 = unimplemented */
42 sys_nosys
}, /* 4 = unimplemented */
44 sys_nosys
}, /* 5 = unimplemented */
46 sys_nosys
}, /* 6 = unimplemented */
48 sys_nosys
}, /* 7 = unimplemented */
50 sys_nosys
}, /* 8 = unimplemented */
52 sys_nosys
}, /* 9 = unimplemented */
54 sys_nosys
}, /* 10 = unimplemented */
56 sys_nosys
}, /* 11 = unimplemented */
58 sys_nosys
}, /* 12 = unimplemented */
60 sys_nosys
}, /* 13 = unimplemented */
62 sys_nosys
}, /* 14 = unimplemented */
64 sys_nosys
}, /* 15 = unimplemented */
66 sys_nosys
}, /* 16 = unimplemented */
68 sys_nosys
}, /* 17 = unimplemented */
70 sys_nosys
}, /* 18 = unimplemented */
72 sys_nosys
}, /* 19 = unimplemented */
74 sys_nosys
}, /* 20 = unimplemented */
76 sys_nosys
}, /* 21 = unimplemented */
78 sys_nosys
}, /* 22 = unimplemented */
80 sys_nosys
}, /* 23 = unimplemented */
82 sys_nosys
}, /* 24 = unimplemented */
84 sys_nosys
}, /* 25 = unimplemented */
86 (sy_call_t
*)mach_sys_reply_port
}, /* 26 = reply_port */
88 (sy_call_t
*)mach_sys_thread_self_trap
},/* 27 = thread_self_trap */
90 (sy_call_t
*)mach_sys_task_self_trap
},/* 28 = task_self_trap */
92 (sy_call_t
*)mach_sys_host_self_trap
},/* 29 = host_self_trap */
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 */
114 sys_nosys
}, /* 40 = unimplemented */
116 (sy_call_t
*)mach_sys_init_process
},/* 41 = init_process */
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 */
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 */
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 */
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 */
138 sys_nosys
}, /* 52 = unimplemented */
140 sys_nosys
}, /* 53 = unimplemented */
142 sys_nosys
}, /* 54 = unimplemented */
144 sys_nosys
}, /* 55 = unimplemented */
146 sys_nosys
}, /* 56 = unimplemented */
148 sys_nosys
}, /* 57 = unimplemented */
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 */
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 */
160 sys_nosys
}, /* 63 = unimplemented */
162 sys_nosys
}, /* 64 = unimplemented */
164 sys_nosys
}, /* 65 = unimplemented */
166 sys_nosys
}, /* 66 = unimplemented */
168 sys_nosys
}, /* 67 = unimplemented */
170 sys_nosys
}, /* 68 = unimplemented */
172 sys_nosys
}, /* 69 = unimplemented */
174 sys_nosys
}, /* 70 = unimplemented */
176 sys_nosys
}, /* 71 = unimplemented */
178 sys_nosys
}, /* 72 = unimplemented */
180 sys_nosys
}, /* 73 = unimplemented */
182 sys_nosys
}, /* 74 = unimplemented */
184 sys_nosys
}, /* 75 = unimplemented */
186 sys_nosys
}, /* 76 = unimplemented */
188 sys_nosys
}, /* 77 = unimplemented */
190 sys_nosys
}, /* 78 = unimplemented */
192 sys_nosys
}, /* 79 = unimplemented */
194 sys_nosys
}, /* 80 = unimplemented */
196 sys_nosys
}, /* 81 = unimplemented */
198 sys_nosys
}, /* 82 = unimplemented */
200 sys_nosys
}, /* 83 = unimplemented */
202 sys_nosys
}, /* 84 = unimplemented */
204 sys_nosys
}, /* 85 = unimplemented */
206 sys_nosys
}, /* 86 = unimplemented */
208 sys_nosys
}, /* 87 = unimplemented */
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 */
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 */
224 (sy_call_t
*)mach_sys_get_time_base_info
},/* 95 = get_time_base_info */
226 sys_nosys
}, /* 96 = unimplemented */
228 sys_nosys
}, /* 97 = unimplemented */
230 sys_nosys
}, /* 98 = unimplemented */
232 sys_nosys
}, /* 99 = unimplemented */
234 sys_nosys
}, /* 100 = unimplemented */
236 sys_nosys
}, /* 101 = unimplemented */
238 sys_nosys
}, /* 102 = unimplemented */
240 sys_nosys
}, /* 103 = unimplemented */
242 sys_nosys
}, /* 104 = unimplemented */
244 sys_nosys
}, /* 105 = unimplemented */
246 sys_nosys
}, /* 106 = unimplemented */
248 sys_nosys
}, /* 107 = unimplemented */
250 sys_nosys
}, /* 108 = unimplemented */
252 sys_nosys
}, /* 109 = unimplemented */
254 sys_nosys
}, /* 110 = unimplemented */
256 sys_nosys
}, /* 111 = unimplemented */
258 sys_nosys
}, /* 112 = unimplemented */
260 sys_nosys
}, /* 113 = unimplemented */
262 sys_nosys
}, /* 114 = unimplemented */
264 sys_nosys
}, /* 115 = unimplemented */
266 sys_nosys
}, /* 116 = unimplemented */
268 sys_nosys
}, /* 117 = unimplemented */
270 sys_nosys
}, /* 118 = unimplemented */
272 sys_nosys
}, /* 119 = unimplemented */
274 sys_nosys
}, /* 120 = unimplemented */
276 sys_nosys
}, /* 121 = unimplemented */
278 sys_nosys
}, /* 122 = unimplemented */
280 sys_nosys
}, /* 123 = unimplemented */
282 sys_nosys
}, /* 124 = unimplemented */
284 sys_nosys
}, /* 125 = unimplemented */
286 sys_nosys
}, /* 126 = unimplemented */
288 sys_nosys
}, /* 127 = unimplemented */