No empty .Rs/.Re
[netbsd-mini2440.git] / sys / compat / mach / syscalls.master
blob1e1d852814aabb1667ea35111146888cd15e4d25
1         $NetBSD: syscalls.master,v 1.9 2007/02/09 21:55:22 ad Exp $
3 ;       @(#)syscalls.master     8.1 (Berkeley) 7/19/93
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.)
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.
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
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).
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]
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.
35 #if defined(_KERNEL_OPT)
36 #include "opt_ntp.h"
37 #include "opt_sysv.h"
38 #endif
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>
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>
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|mach_sys||thread_self_trap(void); }
81 28      STD             { mach_port_name_t|mach_sys||task_self_trap(void); }
82 29      STD             { mach_port_name_t|mach_sys||host_self_trap(void); }
83 30      UNIMPL
84 31      STD             { mach_msg_return_t|mach_sys||msg_trap( \
85                             mach_msg_header_t   *msg, \
86                             mach_msg_option_t   option, \
87                             mach_msg_size_t     send_size, \
88                             mach_msg_size_t     rcv_size, \
89                             mach_port_name_t    rcv_name, \
90                             mach_msg_timeout_t  timeout, \
91                             mach_port_name_t    notify); }
92 32      STD             { mach_kern_return_t|mach_sys||msg_overwrite_trap( \
93                             mach_msg_header_t   *msg, \
94                             mach_msg_option_t   option, \
95                             mach_msg_size_t     send_size, \
96                             mach_msg_size_t     rcv_size, \
97                             mach_port_name_t    rcv_name, \
98                             mach_msg_timeout_t  timeout, \
99                             mach_port_name_t    notify, \
100                             mach_msg_header_t   *rcv_msg, \
101                             mach_msg_size_t     scatter_list_size); }
102 33      STD             { mach_kern_return_t|\
103                             mach_sys||semaphore_signal_trap( \
104                             mach_port_name_t signal_name); }
105 34      STD             { mach_kern_return_t|\
106                             mach_sys||semaphore_signal_all_trap( \
107                             mach_port_name_t signal_name); }
108 35      STD             { mach_kern_return_t|\
109                             mach_sys||semaphore_signal_thread_trap( \
110                             mach_port_name_t signal_name, \
111                             mach_port_name_t thread); }
112 36      STD             { mach_kern_return_t|\
113                             mach_sys||semaphore_wait_trap( \
114                             mach_port_name_t wait_name); }
115 37      STD             { mach_kern_return_t|\
116                             mach_sys||semaphore_wait_signal_trap( \
117                             mach_port_name_t wait_name, \
118                             mach_port_name_t signal_name); }
119 38      STD             { mach_kern_return_t|\
120                             mach_sys||semaphore_timedwait_trap( \
121                             mach_port_name_t wait_name, \
122                             unsigned int sec, \
123                             mach_clock_res_t nsec); }
124 39      STD             { mach_kern_return_t|\
125                             mach_sys||semaphore_timedwait_signal_trap( \
126                             mach_port_name_t wait_name, \
127                             mach_port_name_t signal_name, \
128                             unsigned int sec, \
129                             mach_clock_res_t nsec); }
130 40      UNIMPL
131 41      STD             { mach_kern_return_t|mach_sys||init_process(void); }
132 42      UNIMPL
133 43      STD             { mach_kern_return_t|mach_sys||map_fd(int fd, \
134                             mach_vm_offset_t offset, mach_vm_offset_t *va, \
135                             mach_boolean_t findspace, mach_vm_size_t size); }
136 44      UNIMPL
137 45      STD             { mach_kern_return_t|mach_sys||task_for_pid( \
138                             mach_port_t target_tport, int pid, \
139                             mach_port_t *t); }
140 46      STD             { mach_kern_return_t|mach_sys||pid_for_task( \
141                             mach_port_t t, int *x); }
142 47      UNIMPL
143 48      STD             { mach_kern_return_t|mach_sys||macx_swapon( \
144                             char *name, int flags, int size, int priority); }
145 49      STD             { mach_kern_return_t|mach_sys||macx_swapoff( \
146                             char *name, int flags); }
147 50      UNIMPL
148 51      STD             { mach_kern_return_t|mach_sys||macx_triggers( \
149                             int hi_water, int low_water, int flags, \
150                             mach_port_t alert_port); }
151 52      UNIMPL
152 53      UNIMPL
153 54      UNIMPL
154 55      UNIMPL
155 56      UNIMPL
156 57      UNIMPL
157 58      UNIMPL
158 59      STD             { mach_kern_return_t|mach_sys||swtch_pri( \
159                             int pri); }
160 60      STD             { mach_kern_return_t|mach_sys||swtch(void); }
161 61      STD             { mach_kern_return_t|mach_sys||syscall_thread_switch( \
162                             mach_port_name_t thread_name, \
163                             int option, \
164                             mach_msg_timeout_t option_time); }
165 62      STD             { mach_kern_return_t|mach_sys||clock_sleep_trap( \
166                             mach_port_name_t clock_name, \
167                             mach_sleep_type_t sleep_type, \
168                             int sleep_sec, int sleep_nsec, \
169                             mach_timespec_t *wakeup_time); }
170 63      UNIMPL
171 64      UNIMPL
172 65      UNIMPL
173 66      UNIMPL
174 67      UNIMPL
175 68      UNIMPL
176 69      UNIMPL
177 70      UNIMPL
178 71      UNIMPL
179 72      UNIMPL
180 73      UNIMPL
181 74      UNIMPL
182 75      UNIMPL
183 76      UNIMPL
184 77      UNIMPL
185 78      UNIMPL
186 79      UNIMPL
187 80      UNIMPL
188 81      UNIMPL
189 82      UNIMPL
190 83      UNIMPL
191 84      UNIMPL
192 85      UNIMPL
193 86      UNIMPL
194 87      UNIMPL
195 88      UNIMPL
196 89      STD             { mach_kern_return_t|mach_sys||timebase_info( \
197                             mach_timebase_info_t info); }
198 90      STD             { mach_kern_return_t|mach_sys||wait_until( \
199                             u_int64_t deadline); }
200 91      STD             { mach_port_name_t|mach_sys||timer_create(void); }
201 92      STD             { mach_kern_return_t|mach_sys||timer_destroy( \
202                             mach_port_name_t name); }
203 93      STD             { mach_kern_return_t|mach_sys||timer_arm( \
204                             mach_port_name_t name, \
205                             mach_absolute_time_t expire_time); }
206 94      STD             { mach_kern_return_t|mach_sys||timer_cancel( \
207                             mach_port_name_t name, \
208                             mach_absolute_time_t *result_time); }
209 95      STD             { mach_kern_return_t|mach_sys||get_time_base_info(void); }
210 96      UNIMPL
211 97      UNIMPL
212 98      UNIMPL
213 99      UNIMPL
214 100     UNIMPL
215 101     UNIMPL
216 102     UNIMPL
217 103     UNIMPL
218 104     UNIMPL
219 105     UNIMPL
220 106     UNIMPL
221 107     UNIMPL
222 108     UNIMPL
223 109     UNIMPL
224 110     UNIMPL
225 111     UNIMPL
226 112     UNIMPL
227 113     UNIMPL
228 114     UNIMPL
229 115     UNIMPL
230 116     UNIMPL
231 117     UNIMPL
232 118     UNIMPL
233 119     UNIMPL
234 120     UNIMPL
235 121     UNIMPL
236 122     UNIMPL
237 123     UNIMPL
238 124     UNIMPL
239 125     UNIMPL
240 126     UNIMPL
241 127     UNIMPL