1 $NetBSD: syscalls.master,v 1.9 2007/02/09 21:55:22 ad Exp $
2
3 ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4
5 ; NetBSD COMPAT_MACH system call name/number "master" file.
6 ; This is used for the negative mach syscalls.
7 ; (See syscalls.conf to see what it is processed into.)
8 ;
9 ; Fields: number type [type-dependent ...]
10 ; number system call number, must be in order
11 ; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
12 ; the compatibility options defined in syscalls.conf.
13 ;
14 ; types:
15 ; STD always included
16 ; OBSOL obsolete, not included in system
17 ; UNIMPL unimplemented, not included in system
18 ; NODEF included, but don't define the syscall number
19 ; NOARGS included, but don't define the syscall args structure
20 ;
21 ; The compat options are defined in the syscalls.conf file, and the
22 ; compat option name is prefixed to the syscall name. Other than
23 ; that, they're like NODEF (for 'compat' options), or STD (for
24 ; 'libcompat' options).
25 ;
26 ; The type-dependent arguments are as follows:
27 ; For STD, NODEF, NOARGS, and compat syscalls:
28 ; { pseudo-proto } [alias]
29 ; For other syscalls:
30 ; [comment]
31 ;
32 ; #ifdef's, etc. may be included, and are copied to the output files.
33 ; #include's are copied to the syscall names and switch definition files only.
34
35 #if defined(_KERNEL_OPT)
36 #include "opt_ntp.h"
37 #include "opt_sysv.h"
38 #endif
39
40 #include <sys/param.h>
41 #include <sys/systm.h>
42 #include <sys/signal.h>
43 #include <sys/mount.h>
44 #include <sys/poll.h>
45 #include <sys/syscallargs.h>
46
47 #include <compat/mach/mach_types.h>
48 #include <compat/mach/mach_message.h>
49 #include <compat/mach/mach_clock.h>
50 #include <compat/mach/mach_syscallargs.h>
51 %%
52
53 0 UNIMPL
54 1 UNIMPL
55 2 UNIMPL
56 3 UNIMPL
57 4 UNIMPL
58 5 UNIMPL
59 6 UNIMPL
60 7 UNIMPL
61 8 UNIMPL
62 9 UNIMPL
63 10 UNIMPL
64 11 UNIMPL
65 12 UNIMPL
66 13 UNIMPL
67 14 UNIMPL
68 15 UNIMPL
69 16 UNIMPL
70 17 UNIMPL
71 18 UNIMPL
72 19 UNIMPL
73 20 UNIMPL
74 21 UNIMPL
75 22 UNIMPL
76 23 UNIMPL
77 24 UNIMPL
78 25 UNIMPL
79 26 STD { mach_port_name_t mach_sys_reply_port(void); }
80 27 STD { mach_port_name_t \
81 mach_sys_thread_self_trap(void); }
82 28 STD { mach_port_name_t mach_sys_task_self_trap(void); }
83 29 STD { mach_port_name_t mach_sys_host_self_trap(void); }
84 30 UNIMPL
85 31 STD { mach_msg_return_t mach_sys_msg_trap( \
86 mach_msg_header_t *msg, \
87 mach_msg_option_t option, \
88 mach_msg_size_t send_size, \
89 mach_msg_size_t rcv_size, \
90 mach_port_name_t rcv_name, \
91 mach_msg_timeout_t timeout, \
92 mach_port_name_t notify); }
93 32 STD { mach_kern_return_t mach_sys_msg_overwrite_trap( \
94 mach_msg_header_t *msg, \
95 mach_msg_option_t option, \
96 mach_msg_size_t send_size, \
97 mach_msg_size_t rcv_size, \
98 mach_port_name_t rcv_name, \
99 mach_msg_timeout_t timeout, \
100 mach_port_name_t notify, \
101 mach_msg_header_t *rcv_msg, \
102 mach_msg_size_t scatter_list_size); }
103 33 STD { mach_kern_return_t \
104 mach_sys_semaphore_signal_trap( \
105 mach_port_name_t signal_name); }
106 34 STD { mach_kern_return_t \
107 mach_sys_semaphore_signal_all_trap( \
108 mach_port_name_t signal_name); }
109 35 STD { mach_kern_return_t \
110 mach_sys_semaphore_signal_thread_trap( \
111 mach_port_name_t signal_name, \
112 mach_port_name_t thread); }
113 36 STD { mach_kern_return_t \
114 mach_sys_semaphore_wait_trap( \
115 mach_port_name_t wait_name); }
116 37 STD { mach_kern_return_t \
117 mach_sys_semaphore_wait_signal_trap( \
118 mach_port_name_t wait_name, \
119 mach_port_name_t signal_name); }
120 38 STD { mach_kern_return_t \
121 mach_sys_semaphore_timedwait_trap( \
122 mach_port_name_t wait_name, \
123 unsigned int sec, \
124 mach_clock_res_t nsec); }
125 39 STD { mach_kern_return_t \
126 mach_sys_semaphore_timedwait_signal_trap( \
127 mach_port_name_t wait_name, \
128 mach_port_name_t signal_name, \
129 unsigned int sec, \
130 mach_clock_res_t nsec); }
131 40 UNIMPL
132 41 STD { mach_kern_return_t mach_sys_init_process(void); }
133 42 UNIMPL
134 43 STD { mach_kern_return_t mach_sys_map_fd(int fd, \
135 mach_vm_offset_t offset, mach_vm_offset_t *va, \
136 mach_boolean_t findspace, mach_vm_size_t size); }
137 44 UNIMPL
138 45 STD { mach_kern_return_t mach_sys_task_for_pid( \
139 mach_port_t target_tport, int pid, \
140 mach_port_t *t); }
141 46 STD { mach_kern_return_t mach_sys_pid_for_task( \
142 mach_port_t t, int *x); }
143 47 UNIMPL
144 48 STD { mach_kern_return_t mach_sys_macx_swapon( \
145 char *name, int flags, int size, int priority); }
146 49 STD { mach_kern_return_t mach_sys_macx_swapoff( \
147 char *name, int flags); }
148 50 UNIMPL
149 51 STD { mach_kern_return_t mach_sys_macx_triggers( \
150 int hi_water, int low_water, int flags, \
151 mach_port_t alert_port); }
152 52 UNIMPL
153 53 UNIMPL
154 54 UNIMPL
155 55 UNIMPL
156 56 UNIMPL
157 57 UNIMPL
158 58 UNIMPL
159 59 STD { mach_kern_return_t mach_sys_swtch_pri( \
160 int pri); }
161 60 STD { mach_kern_return_t mach_sys_swtch(void); }
162 61 STD { mach_kern_return_t mach_sys_syscall_thread_switch( \
163 mach_port_name_t thread_name, \
164 int option, \
165 mach_msg_timeout_t option_time); }
166 62 STD { mach_kern_return_t mach_sys_clock_sleep_trap( \
167 mach_port_name_t clock_name, \
168 mach_sleep_type_t sleep_type, \
169 int sleep_sec, int sleep_nsec, \
170 mach_timespec_t *wakeup_time); }
171 63 UNIMPL
172 64 UNIMPL
173 65 UNIMPL
174 66 UNIMPL
175 67 UNIMPL
176 68 UNIMPL
177 69 UNIMPL
178 70 UNIMPL
179 71 UNIMPL
180 72 UNIMPL
181 73 UNIMPL
182 74 UNIMPL
183 75 UNIMPL
184 76 UNIMPL
185 77 UNIMPL
186 78 UNIMPL
187 79 UNIMPL
188 80 UNIMPL
189 81 UNIMPL
190 82 UNIMPL
191 83 UNIMPL
192 84 UNIMPL
193 85 UNIMPL
194 86 UNIMPL
195 87 UNIMPL
196 88 UNIMPL
197 89 STD { mach_kern_return_t mach_sys_timebase_info( \
198 mach_timebase_info_t info); }
199 90 STD { mach_kern_return_t mach_sys_wait_until( \
200 u_int64_t deadline); }
201 91 STD { mach_port_name_t mach_sys_timer_create(void); }
202 92 STD { mach_kern_return_t mach_sys_timer_destroy( \
203 mach_port_name_t name); }
204 93 STD { mach_kern_return_t mach_sys_timer_arm( \
205 mach_port_name_t name, \
206 mach_absolute_time_t expire_time); }
207 94 STD { mach_kern_return_t mach_sys_timer_cancel( \
208 mach_port_name_t name, \
209 mach_absolute_time_t *result_time); }
210 95 STD { mach_kern_return_t mach_sys_get_time_base_info(void); }
211 96 UNIMPL
212 97 UNIMPL
213 98 UNIMPL
214 99 UNIMPL
215 100 UNIMPL
216 101 UNIMPL
217 102 UNIMPL
218 103 UNIMPL
219 104 UNIMPL
220 105 UNIMPL
221 106 UNIMPL
222 107 UNIMPL
223 108 UNIMPL
224 109 UNIMPL
225 110 UNIMPL
226 111 UNIMPL
227 112 UNIMPL
228 113 UNIMPL
229 114 UNIMPL
230 115 UNIMPL
231 116 UNIMPL
232 117 UNIMPL
233 118 UNIMPL
234 119 UNIMPL
235 120 UNIMPL
236 121 UNIMPL
237 122 UNIMPL
238 123 UNIMPL
239 124 UNIMPL
240 125 UNIMPL
241 126 UNIMPL
242 127 UNIMPL
Cache object: cde2bbb1050e02bbbe745edac9f384e6
|