1 $NetBSD: syscalls.master,v 1.7 2005/02/26 23:10:20 perry 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/sa.h>
46 #include <sys/syscallargs.h>
47
48 #include <compat/mach/mach_types.h>
49 #include <compat/mach/mach_message.h>
50 #include <compat/mach/mach_clock.h>
51 #include <compat/mach/mach_syscallargs.h>
52 %%
53
54 0 UNIMPL
55 1 UNIMPL
56 2 UNIMPL
57 3 UNIMPL
58 4 UNIMPL
59 5 UNIMPL
60 6 UNIMPL
61 7 UNIMPL
62 8 UNIMPL
63 9 UNIMPL
64 10 UNIMPL
65 11 UNIMPL
66 12 UNIMPL
67 13 UNIMPL
68 14 UNIMPL
69 15 UNIMPL
70 16 UNIMPL
71 17 UNIMPL
72 18 UNIMPL
73 19 UNIMPL
74 20 UNIMPL
75 21 UNIMPL
76 22 UNIMPL
77 23 UNIMPL
78 24 UNIMPL
79 25 UNIMPL
80 26 STD { mach_port_name_t mach_sys_reply_port(void); }
81 27 STD { mach_port_name_t \
82 mach_sys_thread_self_trap(void); }
83 28 STD { mach_port_name_t mach_sys_task_self_trap(void); }
84 29 STD { mach_port_name_t mach_sys_host_self_trap(void); }
85 30 UNIMPL
86 31 STD { mach_msg_return_t mach_sys_msg_trap( \
87 mach_msg_header_t *msg, \
88 mach_msg_option_t option, \
89 mach_msg_size_t send_size, \
90 mach_msg_size_t rcv_size, \
91 mach_port_name_t rcv_name, \
92 mach_msg_timeout_t timeout, \
93 mach_port_name_t notify); }
94 32 STD { mach_kern_return_t mach_sys_msg_overwrite_trap( \
95 mach_msg_header_t *msg, \
96 mach_msg_option_t option, \
97 mach_msg_size_t send_size, \
98 mach_msg_size_t rcv_size, \
99 mach_port_name_t rcv_name, \
100 mach_msg_timeout_t timeout, \
101 mach_port_name_t notify, \
102 mach_msg_header_t *rcv_msg, \
103 mach_msg_size_t scatter_list_size); }
104 33 STD { mach_kern_return_t \
105 mach_sys_semaphore_signal_trap( \
106 mach_port_name_t signal_name); }
107 34 STD { mach_kern_return_t \
108 mach_sys_semaphore_signal_all_trap( \
109 mach_port_name_t signal_name); }
110 35 STD { mach_kern_return_t \
111 mach_sys_semaphore_signal_thread_trap( \
112 mach_port_name_t signal_name, \
113 mach_port_name_t thread); }
114 36 STD { mach_kern_return_t \
115 mach_sys_semaphore_wait_trap( \
116 mach_port_name_t wait_name); }
117 37 STD { mach_kern_return_t \
118 mach_sys_semaphore_wait_signal_trap( \
119 mach_port_name_t wait_name, \
120 mach_port_name_t signal_name); }
121 38 STD { mach_kern_return_t \
122 mach_sys_semaphore_timedwait_trap( \
123 mach_port_name_t wait_name, \
124 unsigned int sec, \
125 mach_clock_res_t nsec); }
126 39 STD { mach_kern_return_t \
127 mach_sys_semaphore_timedwait_signal_trap( \
128 mach_port_name_t wait_name, \
129 mach_port_name_t signal_name, \
130 unsigned int sec, \
131 mach_clock_res_t nsec); }
132 40 UNIMPL
133 41 STD { mach_kern_return_t mach_sys_init_process(void); }
134 42 UNIMPL
135 43 STD { mach_kern_return_t mach_sys_map_fd(int fd, \
136 mach_vm_offset_t offset, mach_vm_offset_t *va, \
137 mach_boolean_t findspace, mach_vm_size_t size); }
138 44 UNIMPL
139 45 STD { mach_kern_return_t mach_sys_task_for_pid( \
140 mach_port_t target_tport, int pid, \
141 mach_port_t *t); }
142 46 STD { mach_kern_return_t mach_sys_pid_for_task( \
143 mach_port_t t, int *x); }
144 47 UNIMPL
145 48 STD { mach_kern_return_t mach_sys_macx_swapon( \
146 char *name, int flags, int size, int priority); }
147 49 STD { mach_kern_return_t mach_sys_macx_swapoff( \
148 char *name, int flags); }
149 50 UNIMPL
150 51 STD { mach_kern_return_t mach_sys_macx_triggers( \
151 int hi_water, int low_water, int flags, \
152 mach_port_t alert_port); }
153 52 UNIMPL
154 53 UNIMPL
155 54 UNIMPL
156 55 UNIMPL
157 56 UNIMPL
158 57 UNIMPL
159 58 UNIMPL
160 59 STD { mach_kern_return_t mach_sys_swtch_pri( \
161 int pri); }
162 60 STD { mach_kern_return_t mach_sys_swtch(void); }
163 61 STD { mach_kern_return_t mach_sys_syscall_thread_switch( \
164 mach_port_name_t thread_name, \
165 int option, \
166 mach_msg_timeout_t option_time); }
167 62 STD { mach_kern_return_t mach_sys_clock_sleep_trap( \
168 mach_port_name_t clock_name, \
169 mach_sleep_type_t sleep_type, \
170 int sleep_sec, int sleep_nsec, \
171 mach_timespec_t *wakeup_time); }
172 63 UNIMPL
173 64 UNIMPL
174 65 UNIMPL
175 66 UNIMPL
176 67 UNIMPL
177 68 UNIMPL
178 69 UNIMPL
179 70 UNIMPL
180 71 UNIMPL
181 72 UNIMPL
182 73 UNIMPL
183 74 UNIMPL
184 75 UNIMPL
185 76 UNIMPL
186 77 UNIMPL
187 78 UNIMPL
188 79 UNIMPL
189 80 UNIMPL
190 81 UNIMPL
191 82 UNIMPL
192 83 UNIMPL
193 84 UNIMPL
194 85 UNIMPL
195 86 UNIMPL
196 87 UNIMPL
197 88 UNIMPL
198 89 STD { mach_kern_return_t mach_sys_timebase_info( \
199 mach_timebase_info_t info); }
200 90 STD { mach_kern_return_t mach_sys_wait_until( \
201 u_int64_t deadline); }
202 91 STD { mach_port_name_t mach_sys_timer_create(void); }
203 92 STD { mach_kern_return_t mach_sys_timer_destroy( \
204 mach_port_name_t name); }
205 93 STD { mach_kern_return_t mach_sys_timer_arm( \
206 mach_port_name_t name, \
207 mach_absolute_time_t expire_time); }
208 94 STD { mach_kern_return_t mach_sys_timer_cancel( \
209 mach_port_name_t name, \
210 mach_absolute_time_t *result_time); }
211 95 STD { mach_kern_return_t mach_sys_get_time_base_info(void); }
212 96 UNIMPL
213 97 UNIMPL
214 98 UNIMPL
215 99 UNIMPL
216 100 UNIMPL
217 101 UNIMPL
218 102 UNIMPL
219 103 UNIMPL
220 104 UNIMPL
221 105 UNIMPL
222 106 UNIMPL
223 107 UNIMPL
224 108 UNIMPL
225 109 UNIMPL
226 110 UNIMPL
227 111 UNIMPL
228 112 UNIMPL
229 113 UNIMPL
230 114 UNIMPL
231 115 UNIMPL
232 116 UNIMPL
233 117 UNIMPL
234 118 UNIMPL
235 119 UNIMPL
236 120 UNIMPL
237 121 UNIMPL
238 122 UNIMPL
239 123 UNIMPL
240 124 UNIMPL
241 125 UNIMPL
242 126 UNIMPL
243 127 UNIMPL
Cache object: 259d44f02637028b856967b313653ac2
|