1 | #ifndef␉_host_priv_user_␊ |
2 | #define␉_host_priv_user_␊ |
3 | ␊ |
4 | /* Module host_priv */␊ |
5 | ␊ |
6 | #include <string.h>␊ |
7 | #include <mach/ndr.h>␊ |
8 | #include <mach/boolean.h>␊ |
9 | #include <mach/kern_return.h>␊ |
10 | #include <mach/notify.h>␊ |
11 | #include <mach/mach_types.h>␊ |
12 | #include <mach/message.h>␊ |
13 | #include <mach/mig_errors.h>␊ |
14 | #include <mach/port.h>␊ |
15 | ␊ |
16 | #ifdef AUTOTEST␊ |
17 | #ifndef FUNCTION_PTR_T␊ |
18 | #define FUNCTION_PTR_T␊ |
19 | typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t);␊ |
20 | typedef struct {␊ |
21 | char *name;␊ |
22 | function_ptr_t function;␊ |
23 | } function_table_entry;␊ |
24 | typedef function_table_entry *function_table_t;␊ |
25 | #endif /* FUNCTION_PTR_T */␊ |
26 | #endif /* AUTOTEST */␊ |
27 | ␊ |
28 | #ifndef␉host_priv_MSG_COUNT␊ |
29 | #define␉host_priv_MSG_COUNT␉26␊ |
30 | #endif␉/* host_priv_MSG_COUNT */␊ |
31 | ␊ |
32 | #include <mach/std_types.h>␊ |
33 | #include <mach/mig.h>␊ |
34 | #include <mach/mig.h>␊ |
35 | #include <mach/mach_types.h>␊ |
36 | #include <mach/mach_types.h>␊ |
37 | #include <mach_debug/mach_debug_types.h>␊ |
38 | ␊ |
39 | #ifdef __BeforeMigUserHeader␊ |
40 | __BeforeMigUserHeader␊ |
41 | #endif /* __BeforeMigUserHeader */␊ |
42 | ␊ |
43 | #include <sys/cdefs.h>␊ |
44 | __BEGIN_DECLS␊ |
45 | ␊ |
46 | ␊ |
47 | /* Routine host_get_boot_info */␊ |
48 | #ifdef␉mig_external␊ |
49 | mig_external␊ |
50 | #else␊ |
51 | extern␊ |
52 | #endif␉/* mig_external */␊ |
53 | kern_return_t host_get_boot_info␊ |
54 | (␊ |
55 | ␉host_priv_t host_priv,␊ |
56 | ␉kernel_boot_info_t boot_info␊ |
57 | );␊ |
58 | ␊ |
59 | /* Routine host_reboot */␊ |
60 | #ifdef␉mig_external␊ |
61 | mig_external␊ |
62 | #else␊ |
63 | extern␊ |
64 | #endif␉/* mig_external */␊ |
65 | kern_return_t host_reboot␊ |
66 | (␊ |
67 | ␉host_priv_t host_priv,␊ |
68 | ␉int options␊ |
69 | );␊ |
70 | ␊ |
71 | /* Routine host_priv_statistics */␊ |
72 | #ifdef␉mig_external␊ |
73 | mig_external␊ |
74 | #else␊ |
75 | extern␊ |
76 | #endif␉/* mig_external */␊ |
77 | kern_return_t host_priv_statistics␊ |
78 | (␊ |
79 | ␉host_priv_t host_priv,␊ |
80 | ␉host_flavor_t flavor,␊ |
81 | ␉host_info_t host_info_out,␊ |
82 | ␉mach_msg_type_number_t *host_info_outCnt␊ |
83 | );␊ |
84 | ␊ |
85 | /* Routine host_default_memory_manager */␊ |
86 | #ifdef␉mig_external␊ |
87 | mig_external␊ |
88 | #else␊ |
89 | extern␊ |
90 | #endif␉/* mig_external */␊ |
91 | kern_return_t host_default_memory_manager␊ |
92 | (␊ |
93 | ␉host_priv_t host_priv,␊ |
94 | ␉memory_object_default_t *default_manager,␊ |
95 | ␉memory_object_cluster_size_t cluster_size␊ |
96 | );␊ |
97 | ␊ |
98 | /* Routine vm_wire */␊ |
99 | #ifdef␉mig_external␊ |
100 | mig_external␊ |
101 | #else␊ |
102 | extern␊ |
103 | #endif␉/* mig_external */␊ |
104 | kern_return_t vm_wire␊ |
105 | (␊ |
106 | ␉host_priv_t host_priv,␊ |
107 | ␉vm_map_t task,␊ |
108 | ␉vm_address_t address,␊ |
109 | ␉vm_size_t size,␊ |
110 | ␉vm_prot_t desired_access␊ |
111 | );␊ |
112 | ␊ |
113 | /* Routine thread_wire */␊ |
114 | #ifdef␉mig_external␊ |
115 | mig_external␊ |
116 | #else␊ |
117 | extern␊ |
118 | #endif␉/* mig_external */␊ |
119 | kern_return_t thread_wire␊ |
120 | (␊ |
121 | ␉host_priv_t host_priv,␊ |
122 | ␉thread_act_t thread,␊ |
123 | ␉boolean_t wired␊ |
124 | );␊ |
125 | ␊ |
126 | /* Routine vm_allocate_cpm */␊ |
127 | #ifdef␉mig_external␊ |
128 | mig_external␊ |
129 | #else␊ |
130 | extern␊ |
131 | #endif␉/* mig_external */␊ |
132 | kern_return_t vm_allocate_cpm␊ |
133 | (␊ |
134 | ␉host_priv_t host_priv,␊ |
135 | ␉vm_map_t task,␊ |
136 | ␉vm_address_t *address,␊ |
137 | ␉vm_size_t size,␊ |
138 | ␉int flags␊ |
139 | );␊ |
140 | ␊ |
141 | /* Routine host_processors */␊ |
142 | #ifdef␉mig_external␊ |
143 | mig_external␊ |
144 | #else␊ |
145 | extern␊ |
146 | #endif␉/* mig_external */␊ |
147 | kern_return_t host_processors␊ |
148 | (␊ |
149 | ␉host_priv_t host_priv,␊ |
150 | ␉processor_array_t *out_processor_list,␊ |
151 | ␉mach_msg_type_number_t *out_processor_listCnt␊ |
152 | );␊ |
153 | ␊ |
154 | /* Routine host_get_clock_control */␊ |
155 | #ifdef␉mig_external␊ |
156 | mig_external␊ |
157 | #else␊ |
158 | extern␊ |
159 | #endif␉/* mig_external */␊ |
160 | kern_return_t host_get_clock_control␊ |
161 | (␊ |
162 | ␉host_priv_t host_priv,␊ |
163 | ␉clock_id_t clock_id,␊ |
164 | ␉clock_ctrl_t *clock_ctrl␊ |
165 | );␊ |
166 | ␊ |
167 | /* Routine kmod_create */␊ |
168 | #ifdef␉mig_external␊ |
169 | mig_external␊ |
170 | #else␊ |
171 | extern␊ |
172 | #endif␉/* mig_external */␊ |
173 | kern_return_t kmod_create␊ |
174 | (␊ |
175 | ␉host_priv_t host_priv,␊ |
176 | ␉vm_address_t info,␊ |
177 | ␉kmod_t *module␊ |
178 | );␊ |
179 | ␊ |
180 | /* Routine kmod_destroy */␊ |
181 | #ifdef␉mig_external␊ |
182 | mig_external␊ |
183 | #else␊ |
184 | extern␊ |
185 | #endif␉/* mig_external */␊ |
186 | kern_return_t kmod_destroy␊ |
187 | (␊ |
188 | ␉host_priv_t host_priv,␊ |
189 | ␉kmod_t module␊ |
190 | );␊ |
191 | ␊ |
192 | /* Routine kmod_control */␊ |
193 | #ifdef␉mig_external␊ |
194 | mig_external␊ |
195 | #else␊ |
196 | extern␊ |
197 | #endif␉/* mig_external */␊ |
198 | kern_return_t kmod_control␊ |
199 | (␊ |
200 | ␉host_priv_t host_priv,␊ |
201 | ␉kmod_t module,␊ |
202 | ␉kmod_control_flavor_t flavor,␊ |
203 | ␉kmod_args_t *data,␊ |
204 | ␉mach_msg_type_number_t *dataCnt␊ |
205 | );␊ |
206 | ␊ |
207 | /* Routine host_get_special_port */␊ |
208 | #ifdef␉mig_external␊ |
209 | mig_external␊ |
210 | #else␊ |
211 | extern␊ |
212 | #endif␉/* mig_external */␊ |
213 | kern_return_t host_get_special_port␊ |
214 | (␊ |
215 | ␉host_priv_t host_priv,␊ |
216 | ␉int node,␊ |
217 | ␉int which,␊ |
218 | ␉mach_port_t *port␊ |
219 | );␊ |
220 | ␊ |
221 | /* Routine host_set_special_port */␊ |
222 | #ifdef␉mig_external␊ |
223 | mig_external␊ |
224 | #else␊ |
225 | extern␊ |
226 | #endif␉/* mig_external */␊ |
227 | kern_return_t host_set_special_port␊ |
228 | (␊ |
229 | ␉host_priv_t host_priv,␊ |
230 | ␉int which,␊ |
231 | ␉mach_port_t port␊ |
232 | );␊ |
233 | ␊ |
234 | /* Routine host_set_exception_ports */␊ |
235 | #ifdef␉mig_external␊ |
236 | mig_external␊ |
237 | #else␊ |
238 | extern␊ |
239 | #endif␉/* mig_external */␊ |
240 | kern_return_t host_set_exception_ports␊ |
241 | (␊ |
242 | ␉host_priv_t host_priv,␊ |
243 | ␉exception_mask_t exception_mask,␊ |
244 | ␉mach_port_t new_port,␊ |
245 | ␉exception_behavior_t behavior,␊ |
246 | ␉thread_state_flavor_t new_flavor␊ |
247 | );␊ |
248 | ␊ |
249 | /* Routine host_get_exception_ports */␊ |
250 | #ifdef␉mig_external␊ |
251 | mig_external␊ |
252 | #else␊ |
253 | extern␊ |
254 | #endif␉/* mig_external */␊ |
255 | kern_return_t host_get_exception_ports␊ |
256 | (␊ |
257 | ␉host_priv_t host_priv,␊ |
258 | ␉exception_mask_t exception_mask,␊ |
259 | ␉exception_mask_array_t masks,␊ |
260 | ␉mach_msg_type_number_t *masksCnt,␊ |
261 | ␉exception_handler_array_t old_handlers,␊ |
262 | ␉exception_behavior_array_t old_behaviors,␊ |
263 | ␉exception_flavor_array_t old_flavors␊ |
264 | );␊ |
265 | ␊ |
266 | /* Routine host_swap_exception_ports */␊ |
267 | #ifdef␉mig_external␊ |
268 | mig_external␊ |
269 | #else␊ |
270 | extern␊ |
271 | #endif␉/* mig_external */␊ |
272 | kern_return_t host_swap_exception_ports␊ |
273 | (␊ |
274 | ␉host_priv_t host_priv,␊ |
275 | ␉exception_mask_t exception_mask,␊ |
276 | ␉mach_port_t new_port,␊ |
277 | ␉exception_behavior_t behavior,␊ |
278 | ␉thread_state_flavor_t new_flavor,␊ |
279 | ␉exception_mask_array_t masks,␊ |
280 | ␉mach_msg_type_number_t *masksCnt,␊ |
281 | ␉exception_handler_array_t old_handlerss,␊ |
282 | ␉exception_behavior_array_t old_behaviors,␊ |
283 | ␉exception_flavor_array_t old_flavors␊ |
284 | );␊ |
285 | ␊ |
286 | /* Routine mach_vm_wire */␊ |
287 | #ifdef␉mig_external␊ |
288 | mig_external␊ |
289 | #else␊ |
290 | extern␊ |
291 | #endif␉/* mig_external */␊ |
292 | kern_return_t mach_vm_wire␊ |
293 | (␊ |
294 | ␉host_priv_t host_priv,␊ |
295 | ␉vm_map_t task,␊ |
296 | ␉mach_vm_address_t address,␊ |
297 | ␉mach_vm_size_t size,␊ |
298 | ␉vm_prot_t desired_access␊ |
299 | );␊ |
300 | ␊ |
301 | /* Routine host_processor_sets */␊ |
302 | #ifdef␉mig_external␊ |
303 | mig_external␊ |
304 | #else␊ |
305 | extern␊ |
306 | #endif␉/* mig_external */␊ |
307 | kern_return_t host_processor_sets␊ |
308 | (␊ |
309 | ␉host_priv_t host_priv,␊ |
310 | ␉processor_set_name_array_t *processor_sets,␊ |
311 | ␉mach_msg_type_number_t *processor_setsCnt␊ |
312 | );␊ |
313 | ␊ |
314 | /* Routine host_processor_set_priv */␊ |
315 | #ifdef␉mig_external␊ |
316 | mig_external␊ |
317 | #else␊ |
318 | extern␊ |
319 | #endif␉/* mig_external */␊ |
320 | kern_return_t host_processor_set_priv␊ |
321 | (␊ |
322 | ␉host_priv_t host_priv,␊ |
323 | ␉processor_set_name_t set_name,␊ |
324 | ␉processor_set_t *set␊ |
325 | );␊ |
326 | ␊ |
327 | /* Routine set_dp_control_port */␊ |
328 | #ifdef␉mig_external␊ |
329 | mig_external␊ |
330 | #else␊ |
331 | extern␊ |
332 | #endif␉/* mig_external */␊ |
333 | kern_return_t set_dp_control_port␊ |
334 | (␊ |
335 | ␉host_priv_t host,␊ |
336 | ␉mach_port_t control_port␊ |
337 | );␊ |
338 | ␊ |
339 | /* Routine get_dp_control_port */␊ |
340 | #ifdef␉mig_external␊ |
341 | mig_external␊ |
342 | #else␊ |
343 | extern␊ |
344 | #endif␉/* mig_external */␊ |
345 | kern_return_t get_dp_control_port␊ |
346 | (␊ |
347 | ␉host_priv_t host,␊ |
348 | ␉mach_port_t *contorl_port␊ |
349 | );␊ |
350 | ␊ |
351 | /* Routine host_set_UNDServer */␊ |
352 | #ifdef␉mig_external␊ |
353 | mig_external␊ |
354 | #else␊ |
355 | extern␊ |
356 | #endif␉/* mig_external */␊ |
357 | kern_return_t host_set_UNDServer␊ |
358 | (␊ |
359 | ␉host_priv_t host,␊ |
360 | ␉UNDServerRef server␊ |
361 | );␊ |
362 | ␊ |
363 | /* Routine host_get_UNDServer */␊ |
364 | #ifdef␉mig_external␊ |
365 | mig_external␊ |
366 | #else␊ |
367 | extern␊ |
368 | #endif␉/* mig_external */␊ |
369 | kern_return_t host_get_UNDServer␊ |
370 | (␊ |
371 | ␉host_priv_t host,␊ |
372 | ␉UNDServerRef *server␊ |
373 | );␊ |
374 | ␊ |
375 | /* Routine kext_request */␊ |
376 | #ifdef␉mig_external␊ |
377 | mig_external␊ |
378 | #else␊ |
379 | extern␊ |
380 | #endif␉/* mig_external */␊ |
381 | kern_return_t kext_request␊ |
382 | (␊ |
383 | ␉host_priv_t host_priv,␊ |
384 | ␉uint32_t user_log_flags,␊ |
385 | ␉vm_offset_t request_data,␊ |
386 | ␉mach_msg_type_number_t request_dataCnt,␊ |
387 | ␉vm_offset_t *response_data,␊ |
388 | ␉mach_msg_type_number_t *response_dataCnt,␊ |
389 | ␉vm_offset_t *log_data,␊ |
390 | ␉mach_msg_type_number_t *log_dataCnt,␊ |
391 | ␉kern_return_t *op_result␊ |
392 | );␊ |
393 | ␊ |
394 | __END_DECLS␊ |
395 | ␊ |
396 | /********************** Caution **************************/␊ |
397 | /* The following data types should be used to calculate */␊ |
398 | /* maximum message sizes only. The actual message may be */␊ |
399 | /* smaller, and the position of the arguments within the */␊ |
400 | /* message layout may vary from what is presented here. */␊ |
401 | /* For example, if any of the arguments are variable- */␊ |
402 | /* sized, and less than the maximum is sent, the data */␊ |
403 | /* will be packed tight in the actual message to reduce */␊ |
404 | /* the presence of holes. */␊ |
405 | /********************** Caution **************************/␊ |
406 | ␊ |
407 | /* typedefs for all requests */␊ |
408 | ␊ |
409 | #ifndef __Request__host_priv_subsystem__defined␊ |
410 | #define __Request__host_priv_subsystem__defined␊ |
411 | ␊ |
412 | #ifdef __MigPackStructs␊ |
413 | #pragma pack(4)␊ |
414 | #endif␊ |
415 | ␉typedef struct {␊ |
416 | ␉␉mach_msg_header_t Head;␊ |
417 | ␉} __Request__host_get_boot_info_t;␊ |
418 | #ifdef __MigPackStructs␊ |
419 | #pragma pack()␊ |
420 | #endif␊ |
421 | ␊ |
422 | #ifdef __MigPackStructs␊ |
423 | #pragma pack(4)␊ |
424 | #endif␊ |
425 | ␉typedef struct {␊ |
426 | ␉␉mach_msg_header_t Head;␊ |
427 | ␉␉NDR_record_t NDR;␊ |
428 | ␉␉int options;␊ |
429 | ␉} __Request__host_reboot_t;␊ |
430 | #ifdef __MigPackStructs␊ |
431 | #pragma pack()␊ |
432 | #endif␊ |
433 | ␊ |
434 | #ifdef __MigPackStructs␊ |
435 | #pragma pack(4)␊ |
436 | #endif␊ |
437 | ␉typedef struct {␊ |
438 | ␉␉mach_msg_header_t Head;␊ |
439 | ␉␉NDR_record_t NDR;␊ |
440 | ␉␉host_flavor_t flavor;␊ |
441 | ␉␉mach_msg_type_number_t host_info_outCnt;␊ |
442 | ␉} __Request__host_priv_statistics_t;␊ |
443 | #ifdef __MigPackStructs␊ |
444 | #pragma pack()␊ |
445 | #endif␊ |
446 | ␊ |
447 | #ifdef __MigPackStructs␊ |
448 | #pragma pack(4)␊ |
449 | #endif␊ |
450 | ␉typedef struct {␊ |
451 | ␉␉mach_msg_header_t Head;␊ |
452 | ␉␉/* start of the kernel processed data */␊ |
453 | ␉␉mach_msg_body_t msgh_body;␊ |
454 | ␉␉mach_msg_port_descriptor_t default_manager;␊ |
455 | ␉␉/* end of the kernel processed data */␊ |
456 | ␉␉NDR_record_t NDR;␊ |
457 | ␉␉memory_object_cluster_size_t cluster_size;␊ |
458 | ␉} __Request__host_default_memory_manager_t;␊ |
459 | #ifdef __MigPackStructs␊ |
460 | #pragma pack()␊ |
461 | #endif␊ |
462 | ␊ |
463 | #ifdef __MigPackStructs␊ |
464 | #pragma pack(4)␊ |
465 | #endif␊ |
466 | ␉typedef struct {␊ |
467 | ␉␉mach_msg_header_t Head;␊ |
468 | ␉␉/* start of the kernel processed data */␊ |
469 | ␉␉mach_msg_body_t msgh_body;␊ |
470 | ␉␉mach_msg_port_descriptor_t task;␊ |
471 | ␉␉/* end of the kernel processed data */␊ |
472 | ␉␉NDR_record_t NDR;␊ |
473 | ␉␉vm_address_t address;␊ |
474 | ␉␉vm_size_t size;␊ |
475 | ␉␉vm_prot_t desired_access;␊ |
476 | ␉} __Request__vm_wire_t;␊ |
477 | #ifdef __MigPackStructs␊ |
478 | #pragma pack()␊ |
479 | #endif␊ |
480 | ␊ |
481 | #ifdef __MigPackStructs␊ |
482 | #pragma pack(4)␊ |
483 | #endif␊ |
484 | ␉typedef struct {␊ |
485 | ␉␉mach_msg_header_t Head;␊ |
486 | ␉␉/* start of the kernel processed data */␊ |
487 | ␉␉mach_msg_body_t msgh_body;␊ |
488 | ␉␉mach_msg_port_descriptor_t thread;␊ |
489 | ␉␉/* end of the kernel processed data */␊ |
490 | ␉␉NDR_record_t NDR;␊ |
491 | ␉␉boolean_t wired;␊ |
492 | ␉} __Request__thread_wire_t;␊ |
493 | #ifdef __MigPackStructs␊ |
494 | #pragma pack()␊ |
495 | #endif␊ |
496 | ␊ |
497 | #ifdef __MigPackStructs␊ |
498 | #pragma pack(4)␊ |
499 | #endif␊ |
500 | ␉typedef struct {␊ |
501 | ␉␉mach_msg_header_t Head;␊ |
502 | ␉␉/* start of the kernel processed data */␊ |
503 | ␉␉mach_msg_body_t msgh_body;␊ |
504 | ␉␉mach_msg_port_descriptor_t task;␊ |
505 | ␉␉/* end of the kernel processed data */␊ |
506 | ␉␉NDR_record_t NDR;␊ |
507 | ␉␉vm_address_t address;␊ |
508 | ␉␉vm_size_t size;␊ |
509 | ␉␉int flags;␊ |
510 | ␉} __Request__vm_allocate_cpm_t;␊ |
511 | #ifdef __MigPackStructs␊ |
512 | #pragma pack()␊ |
513 | #endif␊ |
514 | ␊ |
515 | #ifdef __MigPackStructs␊ |
516 | #pragma pack(4)␊ |
517 | #endif␊ |
518 | ␉typedef struct {␊ |
519 | ␉␉mach_msg_header_t Head;␊ |
520 | ␉} __Request__host_processors_t;␊ |
521 | #ifdef __MigPackStructs␊ |
522 | #pragma pack()␊ |
523 | #endif␊ |
524 | ␊ |
525 | #ifdef __MigPackStructs␊ |
526 | #pragma pack(4)␊ |
527 | #endif␊ |
528 | ␉typedef struct {␊ |
529 | ␉␉mach_msg_header_t Head;␊ |
530 | ␉␉NDR_record_t NDR;␊ |
531 | ␉␉clock_id_t clock_id;␊ |
532 | ␉} __Request__host_get_clock_control_t;␊ |
533 | #ifdef __MigPackStructs␊ |
534 | #pragma pack()␊ |
535 | #endif␊ |
536 | ␊ |
537 | #ifdef __MigPackStructs␊ |
538 | #pragma pack(4)␊ |
539 | #endif␊ |
540 | ␉typedef struct {␊ |
541 | ␉␉mach_msg_header_t Head;␊ |
542 | ␉␉NDR_record_t NDR;␊ |
543 | ␉␉vm_address_t info;␊ |
544 | ␉} __Request__kmod_create_t;␊ |
545 | #ifdef __MigPackStructs␊ |
546 | #pragma pack()␊ |
547 | #endif␊ |
548 | ␊ |
549 | #ifdef __MigPackStructs␊ |
550 | #pragma pack(4)␊ |
551 | #endif␊ |
552 | ␉typedef struct {␊ |
553 | ␉␉mach_msg_header_t Head;␊ |
554 | ␉␉NDR_record_t NDR;␊ |
555 | ␉␉kmod_t module;␊ |
556 | ␉} __Request__kmod_destroy_t;␊ |
557 | #ifdef __MigPackStructs␊ |
558 | #pragma pack()␊ |
559 | #endif␊ |
560 | ␊ |
561 | #ifdef __MigPackStructs␊ |
562 | #pragma pack(4)␊ |
563 | #endif␊ |
564 | ␉typedef struct {␊ |
565 | ␉␉mach_msg_header_t Head;␊ |
566 | ␉␉/* start of the kernel processed data */␊ |
567 | ␉␉mach_msg_body_t msgh_body;␊ |
568 | ␉␉mach_msg_ool_descriptor_t data;␊ |
569 | ␉␉/* end of the kernel processed data */␊ |
570 | ␉␉NDR_record_t NDR;␊ |
571 | ␉␉kmod_t module;␊ |
572 | ␉␉kmod_control_flavor_t flavor;␊ |
573 | ␉␉mach_msg_type_number_t dataCnt;␊ |
574 | ␉} __Request__kmod_control_t;␊ |
575 | #ifdef __MigPackStructs␊ |
576 | #pragma pack()␊ |
577 | #endif␊ |
578 | ␊ |
579 | #ifdef __MigPackStructs␊ |
580 | #pragma pack(4)␊ |
581 | #endif␊ |
582 | ␉typedef struct {␊ |
583 | ␉␉mach_msg_header_t Head;␊ |
584 | ␉␉NDR_record_t NDR;␊ |
585 | ␉␉int node;␊ |
586 | ␉␉int which;␊ |
587 | ␉} __Request__host_get_special_port_t;␊ |
588 | #ifdef __MigPackStructs␊ |
589 | #pragma pack()␊ |
590 | #endif␊ |
591 | ␊ |
592 | #ifdef __MigPackStructs␊ |
593 | #pragma pack(4)␊ |
594 | #endif␊ |
595 | ␉typedef struct {␊ |
596 | ␉␉mach_msg_header_t Head;␊ |
597 | ␉␉/* start of the kernel processed data */␊ |
598 | ␉␉mach_msg_body_t msgh_body;␊ |
599 | ␉␉mach_msg_port_descriptor_t port;␊ |
600 | ␉␉/* end of the kernel processed data */␊ |
601 | ␉␉NDR_record_t NDR;␊ |
602 | ␉␉int which;␊ |
603 | ␉} __Request__host_set_special_port_t;␊ |
604 | #ifdef __MigPackStructs␊ |
605 | #pragma pack()␊ |
606 | #endif␊ |
607 | ␊ |
608 | #ifdef __MigPackStructs␊ |
609 | #pragma pack(4)␊ |
610 | #endif␊ |
611 | ␉typedef struct {␊ |
612 | ␉␉mach_msg_header_t Head;␊ |
613 | ␉␉/* start of the kernel processed data */␊ |
614 | ␉␉mach_msg_body_t msgh_body;␊ |
615 | ␉␉mach_msg_port_descriptor_t new_port;␊ |
616 | ␉␉/* end of the kernel processed data */␊ |
617 | ␉␉NDR_record_t NDR;␊ |
618 | ␉␉exception_mask_t exception_mask;␊ |
619 | ␉␉exception_behavior_t behavior;␊ |
620 | ␉␉thread_state_flavor_t new_flavor;␊ |
621 | ␉} __Request__host_set_exception_ports_t;␊ |
622 | #ifdef __MigPackStructs␊ |
623 | #pragma pack()␊ |
624 | #endif␊ |
625 | ␊ |
626 | #ifdef __MigPackStructs␊ |
627 | #pragma pack(4)␊ |
628 | #endif␊ |
629 | ␉typedef struct {␊ |
630 | ␉␉mach_msg_header_t Head;␊ |
631 | ␉␉NDR_record_t NDR;␊ |
632 | ␉␉exception_mask_t exception_mask;␊ |
633 | ␉} __Request__host_get_exception_ports_t;␊ |
634 | #ifdef __MigPackStructs␊ |
635 | #pragma pack()␊ |
636 | #endif␊ |
637 | ␊ |
638 | #ifdef __MigPackStructs␊ |
639 | #pragma pack(4)␊ |
640 | #endif␊ |
641 | ␉typedef struct {␊ |
642 | ␉␉mach_msg_header_t Head;␊ |
643 | ␉␉/* start of the kernel processed data */␊ |
644 | ␉␉mach_msg_body_t msgh_body;␊ |
645 | ␉␉mach_msg_port_descriptor_t new_port;␊ |
646 | ␉␉/* end of the kernel processed data */␊ |
647 | ␉␉NDR_record_t NDR;␊ |
648 | ␉␉exception_mask_t exception_mask;␊ |
649 | ␉␉exception_behavior_t behavior;␊ |
650 | ␉␉thread_state_flavor_t new_flavor;␊ |
651 | ␉} __Request__host_swap_exception_ports_t;␊ |
652 | #ifdef __MigPackStructs␊ |
653 | #pragma pack()␊ |
654 | #endif␊ |
655 | ␊ |
656 | #ifdef __MigPackStructs␊ |
657 | #pragma pack(4)␊ |
658 | #endif␊ |
659 | ␉typedef struct {␊ |
660 | ␉␉mach_msg_header_t Head;␊ |
661 | ␉␉/* start of the kernel processed data */␊ |
662 | ␉␉mach_msg_body_t msgh_body;␊ |
663 | ␉␉mach_msg_port_descriptor_t task;␊ |
664 | ␉␉/* end of the kernel processed data */␊ |
665 | ␉␉NDR_record_t NDR;␊ |
666 | ␉␉mach_vm_address_t address;␊ |
667 | ␉␉mach_vm_size_t size;␊ |
668 | ␉␉vm_prot_t desired_access;␊ |
669 | ␉} __Request__mach_vm_wire_t;␊ |
670 | #ifdef __MigPackStructs␊ |
671 | #pragma pack()␊ |
672 | #endif␊ |
673 | ␊ |
674 | #ifdef __MigPackStructs␊ |
675 | #pragma pack(4)␊ |
676 | #endif␊ |
677 | ␉typedef struct {␊ |
678 | ␉␉mach_msg_header_t Head;␊ |
679 | ␉} __Request__host_processor_sets_t;␊ |
680 | #ifdef __MigPackStructs␊ |
681 | #pragma pack()␊ |
682 | #endif␊ |
683 | ␊ |
684 | #ifdef __MigPackStructs␊ |
685 | #pragma pack(4)␊ |
686 | #endif␊ |
687 | ␉typedef struct {␊ |
688 | ␉␉mach_msg_header_t Head;␊ |
689 | ␉␉/* start of the kernel processed data */␊ |
690 | ␉␉mach_msg_body_t msgh_body;␊ |
691 | ␉␉mach_msg_port_descriptor_t set_name;␊ |
692 | ␉␉/* end of the kernel processed data */␊ |
693 | ␉} __Request__host_processor_set_priv_t;␊ |
694 | #ifdef __MigPackStructs␊ |
695 | #pragma pack()␊ |
696 | #endif␊ |
697 | ␊ |
698 | #ifdef __MigPackStructs␊ |
699 | #pragma pack(4)␊ |
700 | #endif␊ |
701 | ␉typedef struct {␊ |
702 | ␉␉mach_msg_header_t Head;␊ |
703 | ␉␉/* start of the kernel processed data */␊ |
704 | ␉␉mach_msg_body_t msgh_body;␊ |
705 | ␉␉mach_msg_port_descriptor_t control_port;␊ |
706 | ␉␉/* end of the kernel processed data */␊ |
707 | ␉} __Request__set_dp_control_port_t;␊ |
708 | #ifdef __MigPackStructs␊ |
709 | #pragma pack()␊ |
710 | #endif␊ |
711 | ␊ |
712 | #ifdef __MigPackStructs␊ |
713 | #pragma pack(4)␊ |
714 | #endif␊ |
715 | ␉typedef struct {␊ |
716 | ␉␉mach_msg_header_t Head;␊ |
717 | ␉} __Request__get_dp_control_port_t;␊ |
718 | #ifdef __MigPackStructs␊ |
719 | #pragma pack()␊ |
720 | #endif␊ |
721 | ␊ |
722 | #ifdef __MigPackStructs␊ |
723 | #pragma pack(4)␊ |
724 | #endif␊ |
725 | ␉typedef struct {␊ |
726 | ␉␉mach_msg_header_t Head;␊ |
727 | ␉␉/* start of the kernel processed data */␊ |
728 | ␉␉mach_msg_body_t msgh_body;␊ |
729 | ␉␉mach_msg_port_descriptor_t server;␊ |
730 | ␉␉/* end of the kernel processed data */␊ |
731 | ␉} __Request__host_set_UNDServer_t;␊ |
732 | #ifdef __MigPackStructs␊ |
733 | #pragma pack()␊ |
734 | #endif␊ |
735 | ␊ |
736 | #ifdef __MigPackStructs␊ |
737 | #pragma pack(4)␊ |
738 | #endif␊ |
739 | ␉typedef struct {␊ |
740 | ␉␉mach_msg_header_t Head;␊ |
741 | ␉} __Request__host_get_UNDServer_t;␊ |
742 | #ifdef __MigPackStructs␊ |
743 | #pragma pack()␊ |
744 | #endif␊ |
745 | ␊ |
746 | #ifdef __MigPackStructs␊ |
747 | #pragma pack(4)␊ |
748 | #endif␊ |
749 | ␉typedef struct {␊ |
750 | ␉␉mach_msg_header_t Head;␊ |
751 | ␉␉/* start of the kernel processed data */␊ |
752 | ␉␉mach_msg_body_t msgh_body;␊ |
753 | ␉␉mach_msg_ool_descriptor_t request_data;␊ |
754 | ␉␉/* end of the kernel processed data */␊ |
755 | ␉␉NDR_record_t NDR;␊ |
756 | ␉␉uint32_t user_log_flags;␊ |
757 | ␉␉mach_msg_type_number_t request_dataCnt;␊ |
758 | ␉} __Request__kext_request_t;␊ |
759 | #ifdef __MigPackStructs␊ |
760 | #pragma pack()␊ |
761 | #endif␊ |
762 | #endif /* !__Request__host_priv_subsystem__defined */␊ |
763 | ␊ |
764 | /* union of all requests */␊ |
765 | ␊ |
766 | #ifndef __RequestUnion__host_priv_subsystem__defined␊ |
767 | #define __RequestUnion__host_priv_subsystem__defined␊ |
768 | union __RequestUnion__host_priv_subsystem {␊ |
769 | ␉__Request__host_get_boot_info_t Request_host_get_boot_info;␊ |
770 | ␉__Request__host_reboot_t Request_host_reboot;␊ |
771 | ␉__Request__host_priv_statistics_t Request_host_priv_statistics;␊ |
772 | ␉__Request__host_default_memory_manager_t Request_host_default_memory_manager;␊ |
773 | ␉__Request__vm_wire_t Request_vm_wire;␊ |
774 | ␉__Request__thread_wire_t Request_thread_wire;␊ |
775 | ␉__Request__vm_allocate_cpm_t Request_vm_allocate_cpm;␊ |
776 | ␉__Request__host_processors_t Request_host_processors;␊ |
777 | ␉__Request__host_get_clock_control_t Request_host_get_clock_control;␊ |
778 | ␉__Request__kmod_create_t Request_kmod_create;␊ |
779 | ␉__Request__kmod_destroy_t Request_kmod_destroy;␊ |
780 | ␉__Request__kmod_control_t Request_kmod_control;␊ |
781 | ␉__Request__host_get_special_port_t Request_host_get_special_port;␊ |
782 | ␉__Request__host_set_special_port_t Request_host_set_special_port;␊ |
783 | ␉__Request__host_set_exception_ports_t Request_host_set_exception_ports;␊ |
784 | ␉__Request__host_get_exception_ports_t Request_host_get_exception_ports;␊ |
785 | ␉__Request__host_swap_exception_ports_t Request_host_swap_exception_ports;␊ |
786 | ␉__Request__mach_vm_wire_t Request_mach_vm_wire;␊ |
787 | ␉__Request__host_processor_sets_t Request_host_processor_sets;␊ |
788 | ␉__Request__host_processor_set_priv_t Request_host_processor_set_priv;␊ |
789 | ␉__Request__set_dp_control_port_t Request_set_dp_control_port;␊ |
790 | ␉__Request__get_dp_control_port_t Request_get_dp_control_port;␊ |
791 | ␉__Request__host_set_UNDServer_t Request_host_set_UNDServer;␊ |
792 | ␉__Request__host_get_UNDServer_t Request_host_get_UNDServer;␊ |
793 | ␉__Request__kext_request_t Request_kext_request;␊ |
794 | };␊ |
795 | #endif /* !__RequestUnion__host_priv_subsystem__defined */␊ |
796 | /* typedefs for all replies */␊ |
797 | ␊ |
798 | #ifndef __Reply__host_priv_subsystem__defined␊ |
799 | #define __Reply__host_priv_subsystem__defined␊ |
800 | ␊ |
801 | #ifdef __MigPackStructs␊ |
802 | #pragma pack(4)␊ |
803 | #endif␊ |
804 | ␉typedef struct {␊ |
805 | ␉␉mach_msg_header_t Head;␊ |
806 | ␉␉NDR_record_t NDR;␊ |
807 | ␉␉kern_return_t RetCode;␊ |
808 | ␉␉mach_msg_type_number_t boot_infoOffset; /* MiG doesn't use it */␊ |
809 | ␉␉mach_msg_type_number_t boot_infoCnt;␊ |
810 | ␉␉char boot_info[4096];␊ |
811 | ␉} __Reply__host_get_boot_info_t;␊ |
812 | #ifdef __MigPackStructs␊ |
813 | #pragma pack()␊ |
814 | #endif␊ |
815 | ␊ |
816 | #ifdef __MigPackStructs␊ |
817 | #pragma pack(4)␊ |
818 | #endif␊ |
819 | ␉typedef struct {␊ |
820 | ␉␉mach_msg_header_t Head;␊ |
821 | ␉␉NDR_record_t NDR;␊ |
822 | ␉␉kern_return_t RetCode;␊ |
823 | ␉} __Reply__host_reboot_t;␊ |
824 | #ifdef __MigPackStructs␊ |
825 | #pragma pack()␊ |
826 | #endif␊ |
827 | ␊ |
828 | #ifdef __MigPackStructs␊ |
829 | #pragma pack(4)␊ |
830 | #endif␊ |
831 | ␉typedef struct {␊ |
832 | ␉␉mach_msg_header_t Head;␊ |
833 | ␉␉NDR_record_t NDR;␊ |
834 | ␉␉kern_return_t RetCode;␊ |
835 | ␉␉mach_msg_type_number_t host_info_outCnt;␊ |
836 | ␉␉integer_t host_info_out[15];␊ |
837 | ␉} __Reply__host_priv_statistics_t;␊ |
838 | #ifdef __MigPackStructs␊ |
839 | #pragma pack()␊ |
840 | #endif␊ |
841 | ␊ |
842 | #ifdef __MigPackStructs␊ |
843 | #pragma pack(4)␊ |
844 | #endif␊ |
845 | ␉typedef struct {␊ |
846 | ␉␉mach_msg_header_t Head;␊ |
847 | ␉␉/* start of the kernel processed data */␊ |
848 | ␉␉mach_msg_body_t msgh_body;␊ |
849 | ␉␉mach_msg_port_descriptor_t default_manager;␊ |
850 | ␉␉/* end of the kernel processed data */␊ |
851 | ␉} __Reply__host_default_memory_manager_t;␊ |
852 | #ifdef __MigPackStructs␊ |
853 | #pragma pack()␊ |
854 | #endif␊ |
855 | ␊ |
856 | #ifdef __MigPackStructs␊ |
857 | #pragma pack(4)␊ |
858 | #endif␊ |
859 | ␉typedef struct {␊ |
860 | ␉␉mach_msg_header_t Head;␊ |
861 | ␉␉NDR_record_t NDR;␊ |
862 | ␉␉kern_return_t RetCode;␊ |
863 | ␉} __Reply__vm_wire_t;␊ |
864 | #ifdef __MigPackStructs␊ |
865 | #pragma pack()␊ |
866 | #endif␊ |
867 | ␊ |
868 | #ifdef __MigPackStructs␊ |
869 | #pragma pack(4)␊ |
870 | #endif␊ |
871 | ␉typedef struct {␊ |
872 | ␉␉mach_msg_header_t Head;␊ |
873 | ␉␉NDR_record_t NDR;␊ |
874 | ␉␉kern_return_t RetCode;␊ |
875 | ␉} __Reply__thread_wire_t;␊ |
876 | #ifdef __MigPackStructs␊ |
877 | #pragma pack()␊ |
878 | #endif␊ |
879 | ␊ |
880 | #ifdef __MigPackStructs␊ |
881 | #pragma pack(4)␊ |
882 | #endif␊ |
883 | ␉typedef struct {␊ |
884 | ␉␉mach_msg_header_t Head;␊ |
885 | ␉␉NDR_record_t NDR;␊ |
886 | ␉␉kern_return_t RetCode;␊ |
887 | ␉␉vm_address_t address;␊ |
888 | ␉} __Reply__vm_allocate_cpm_t;␊ |
889 | #ifdef __MigPackStructs␊ |
890 | #pragma pack()␊ |
891 | #endif␊ |
892 | ␊ |
893 | #ifdef __MigPackStructs␊ |
894 | #pragma pack(4)␊ |
895 | #endif␊ |
896 | ␉typedef struct {␊ |
897 | ␉␉mach_msg_header_t Head;␊ |
898 | ␉␉/* start of the kernel processed data */␊ |
899 | ␉␉mach_msg_body_t msgh_body;␊ |
900 | ␉␉mach_msg_ool_ports_descriptor_t out_processor_list;␊ |
901 | ␉␉/* end of the kernel processed data */␊ |
902 | ␉␉NDR_record_t NDR;␊ |
903 | ␉␉mach_msg_type_number_t out_processor_listCnt;␊ |
904 | ␉} __Reply__host_processors_t;␊ |
905 | #ifdef __MigPackStructs␊ |
906 | #pragma pack()␊ |
907 | #endif␊ |
908 | ␊ |
909 | #ifdef __MigPackStructs␊ |
910 | #pragma pack(4)␊ |
911 | #endif␊ |
912 | ␉typedef struct {␊ |
913 | ␉␉mach_msg_header_t Head;␊ |
914 | ␉␉/* start of the kernel processed data */␊ |
915 | ␉␉mach_msg_body_t msgh_body;␊ |
916 | ␉␉mach_msg_port_descriptor_t clock_ctrl;␊ |
917 | ␉␉/* end of the kernel processed data */␊ |
918 | ␉} __Reply__host_get_clock_control_t;␊ |
919 | #ifdef __MigPackStructs␊ |
920 | #pragma pack()␊ |
921 | #endif␊ |
922 | ␊ |
923 | #ifdef __MigPackStructs␊ |
924 | #pragma pack(4)␊ |
925 | #endif␊ |
926 | ␉typedef struct {␊ |
927 | ␉␉mach_msg_header_t Head;␊ |
928 | ␉␉NDR_record_t NDR;␊ |
929 | ␉␉kern_return_t RetCode;␊ |
930 | ␉␉kmod_t module;␊ |
931 | ␉} __Reply__kmod_create_t;␊ |
932 | #ifdef __MigPackStructs␊ |
933 | #pragma pack()␊ |
934 | #endif␊ |
935 | ␊ |
936 | #ifdef __MigPackStructs␊ |
937 | #pragma pack(4)␊ |
938 | #endif␊ |
939 | ␉typedef struct {␊ |
940 | ␉␉mach_msg_header_t Head;␊ |
941 | ␉␉NDR_record_t NDR;␊ |
942 | ␉␉kern_return_t RetCode;␊ |
943 | ␉} __Reply__kmod_destroy_t;␊ |
944 | #ifdef __MigPackStructs␊ |
945 | #pragma pack()␊ |
946 | #endif␊ |
947 | ␊ |
948 | #ifdef __MigPackStructs␊ |
949 | #pragma pack(4)␊ |
950 | #endif␊ |
951 | ␉typedef struct {␊ |
952 | ␉␉mach_msg_header_t Head;␊ |
953 | ␉␉/* start of the kernel processed data */␊ |
954 | ␉␉mach_msg_body_t msgh_body;␊ |
955 | ␉␉mach_msg_ool_descriptor_t data;␊ |
956 | ␉␉/* end of the kernel processed data */␊ |
957 | ␉␉NDR_record_t NDR;␊ |
958 | ␉␉mach_msg_type_number_t dataCnt;␊ |
959 | ␉} __Reply__kmod_control_t;␊ |
960 | #ifdef __MigPackStructs␊ |
961 | #pragma pack()␊ |
962 | #endif␊ |
963 | ␊ |
964 | #ifdef __MigPackStructs␊ |
965 | #pragma pack(4)␊ |
966 | #endif␊ |
967 | ␉typedef struct {␊ |
968 | ␉␉mach_msg_header_t Head;␊ |
969 | ␉␉/* start of the kernel processed data */␊ |
970 | ␉␉mach_msg_body_t msgh_body;␊ |
971 | ␉␉mach_msg_port_descriptor_t port;␊ |
972 | ␉␉/* end of the kernel processed data */␊ |
973 | ␉} __Reply__host_get_special_port_t;␊ |
974 | #ifdef __MigPackStructs␊ |
975 | #pragma pack()␊ |
976 | #endif␊ |
977 | ␊ |
978 | #ifdef __MigPackStructs␊ |
979 | #pragma pack(4)␊ |
980 | #endif␊ |
981 | ␉typedef struct {␊ |
982 | ␉␉mach_msg_header_t Head;␊ |
983 | ␉␉NDR_record_t NDR;␊ |
984 | ␉␉kern_return_t RetCode;␊ |
985 | ␉} __Reply__host_set_special_port_t;␊ |
986 | #ifdef __MigPackStructs␊ |
987 | #pragma pack()␊ |
988 | #endif␊ |
989 | ␊ |
990 | #ifdef __MigPackStructs␊ |
991 | #pragma pack(4)␊ |
992 | #endif␊ |
993 | ␉typedef struct {␊ |
994 | ␉␉mach_msg_header_t Head;␊ |
995 | ␉␉NDR_record_t NDR;␊ |
996 | ␉␉kern_return_t RetCode;␊ |
997 | ␉} __Reply__host_set_exception_ports_t;␊ |
998 | #ifdef __MigPackStructs␊ |
999 | #pragma pack()␊ |
1000 | #endif␊ |
1001 | ␊ |
1002 | #ifdef __MigPackStructs␊ |
1003 | #pragma pack(4)␊ |
1004 | #endif␊ |
1005 | ␉typedef struct {␊ |
1006 | ␉␉mach_msg_header_t Head;␊ |
1007 | ␉␉/* start of the kernel processed data */␊ |
1008 | ␉␉mach_msg_body_t msgh_body;␊ |
1009 | ␉␉mach_msg_port_descriptor_t old_handlers[32];␊ |
1010 | ␉␉/* end of the kernel processed data */␊ |
1011 | ␉␉NDR_record_t NDR;␊ |
1012 | ␉␉mach_msg_type_number_t masksCnt;␊ |
1013 | ␉␉exception_mask_t masks[32];␊ |
1014 | ␉␉exception_behavior_t old_behaviors[32];␊ |
1015 | ␉␉thread_state_flavor_t old_flavors[32];␊ |
1016 | ␉} __Reply__host_get_exception_ports_t;␊ |
1017 | #ifdef __MigPackStructs␊ |
1018 | #pragma pack()␊ |
1019 | #endif␊ |
1020 | ␊ |
1021 | #ifdef __MigPackStructs␊ |
1022 | #pragma pack(4)␊ |
1023 | #endif␊ |
1024 | ␉typedef struct {␊ |
1025 | ␉␉mach_msg_header_t Head;␊ |
1026 | ␉␉/* start of the kernel processed data */␊ |
1027 | ␉␉mach_msg_body_t msgh_body;␊ |
1028 | ␉␉mach_msg_port_descriptor_t old_handlerss[32];␊ |
1029 | ␉␉/* end of the kernel processed data */␊ |
1030 | ␉␉NDR_record_t NDR;␊ |
1031 | ␉␉mach_msg_type_number_t masksCnt;␊ |
1032 | ␉␉exception_mask_t masks[32];␊ |
1033 | ␉␉exception_behavior_t old_behaviors[32];␊ |
1034 | ␉␉thread_state_flavor_t old_flavors[32];␊ |
1035 | ␉} __Reply__host_swap_exception_ports_t;␊ |
1036 | #ifdef __MigPackStructs␊ |
1037 | #pragma pack()␊ |
1038 | #endif␊ |
1039 | ␊ |
1040 | #ifdef __MigPackStructs␊ |
1041 | #pragma pack(4)␊ |
1042 | #endif␊ |
1043 | ␉typedef struct {␊ |
1044 | ␉␉mach_msg_header_t Head;␊ |
1045 | ␉␉NDR_record_t NDR;␊ |
1046 | ␉␉kern_return_t RetCode;␊ |
1047 | ␉} __Reply__mach_vm_wire_t;␊ |
1048 | #ifdef __MigPackStructs␊ |
1049 | #pragma pack()␊ |
1050 | #endif␊ |
1051 | ␊ |
1052 | #ifdef __MigPackStructs␊ |
1053 | #pragma pack(4)␊ |
1054 | #endif␊ |
1055 | ␉typedef struct {␊ |
1056 | ␉␉mach_msg_header_t Head;␊ |
1057 | ␉␉/* start of the kernel processed data */␊ |
1058 | ␉␉mach_msg_body_t msgh_body;␊ |
1059 | ␉␉mach_msg_ool_ports_descriptor_t processor_sets;␊ |
1060 | ␉␉/* end of the kernel processed data */␊ |
1061 | ␉␉NDR_record_t NDR;␊ |
1062 | ␉␉mach_msg_type_number_t processor_setsCnt;␊ |
1063 | ␉} __Reply__host_processor_sets_t;␊ |
1064 | #ifdef __MigPackStructs␊ |
1065 | #pragma pack()␊ |
1066 | #endif␊ |
1067 | ␊ |
1068 | #ifdef __MigPackStructs␊ |
1069 | #pragma pack(4)␊ |
1070 | #endif␊ |
1071 | ␉typedef struct {␊ |
1072 | ␉␉mach_msg_header_t Head;␊ |
1073 | ␉␉/* start of the kernel processed data */␊ |
1074 | ␉␉mach_msg_body_t msgh_body;␊ |
1075 | ␉␉mach_msg_port_descriptor_t set;␊ |
1076 | ␉␉/* end of the kernel processed data */␊ |
1077 | ␉} __Reply__host_processor_set_priv_t;␊ |
1078 | #ifdef __MigPackStructs␊ |
1079 | #pragma pack()␊ |
1080 | #endif␊ |
1081 | ␊ |
1082 | #ifdef __MigPackStructs␊ |
1083 | #pragma pack(4)␊ |
1084 | #endif␊ |
1085 | ␉typedef struct {␊ |
1086 | ␉␉mach_msg_header_t Head;␊ |
1087 | ␉␉NDR_record_t NDR;␊ |
1088 | ␉␉kern_return_t RetCode;␊ |
1089 | ␉} __Reply__set_dp_control_port_t;␊ |
1090 | #ifdef __MigPackStructs␊ |
1091 | #pragma pack()␊ |
1092 | #endif␊ |
1093 | ␊ |
1094 | #ifdef __MigPackStructs␊ |
1095 | #pragma pack(4)␊ |
1096 | #endif␊ |
1097 | ␉typedef struct {␊ |
1098 | ␉␉mach_msg_header_t Head;␊ |
1099 | ␉␉/* start of the kernel processed data */␊ |
1100 | ␉␉mach_msg_body_t msgh_body;␊ |
1101 | ␉␉mach_msg_port_descriptor_t contorl_port;␊ |
1102 | ␉␉/* end of the kernel processed data */␊ |
1103 | ␉} __Reply__get_dp_control_port_t;␊ |
1104 | #ifdef __MigPackStructs␊ |
1105 | #pragma pack()␊ |
1106 | #endif␊ |
1107 | ␊ |
1108 | #ifdef __MigPackStructs␊ |
1109 | #pragma pack(4)␊ |
1110 | #endif␊ |
1111 | ␉typedef struct {␊ |
1112 | ␉␉mach_msg_header_t Head;␊ |
1113 | ␉␉NDR_record_t NDR;␊ |
1114 | ␉␉kern_return_t RetCode;␊ |
1115 | ␉} __Reply__host_set_UNDServer_t;␊ |
1116 | #ifdef __MigPackStructs␊ |
1117 | #pragma pack()␊ |
1118 | #endif␊ |
1119 | ␊ |
1120 | #ifdef __MigPackStructs␊ |
1121 | #pragma pack(4)␊ |
1122 | #endif␊ |
1123 | ␉typedef struct {␊ |
1124 | ␉␉mach_msg_header_t Head;␊ |
1125 | ␉␉/* start of the kernel processed data */␊ |
1126 | ␉␉mach_msg_body_t msgh_body;␊ |
1127 | ␉␉mach_msg_port_descriptor_t server;␊ |
1128 | ␉␉/* end of the kernel processed data */␊ |
1129 | ␉} __Reply__host_get_UNDServer_t;␊ |
1130 | #ifdef __MigPackStructs␊ |
1131 | #pragma pack()␊ |
1132 | #endif␊ |
1133 | ␊ |
1134 | #ifdef __MigPackStructs␊ |
1135 | #pragma pack(4)␊ |
1136 | #endif␊ |
1137 | ␉typedef struct {␊ |
1138 | ␉␉mach_msg_header_t Head;␊ |
1139 | ␉␉/* start of the kernel processed data */␊ |
1140 | ␉␉mach_msg_body_t msgh_body;␊ |
1141 | ␉␉mach_msg_ool_descriptor_t response_data;␊ |
1142 | ␉␉mach_msg_ool_descriptor_t log_data;␊ |
1143 | ␉␉/* end of the kernel processed data */␊ |
1144 | ␉␉NDR_record_t NDR;␊ |
1145 | ␉␉mach_msg_type_number_t response_dataCnt;␊ |
1146 | ␉␉mach_msg_type_number_t log_dataCnt;␊ |
1147 | ␉␉kern_return_t op_result;␊ |
1148 | ␉} __Reply__kext_request_t;␊ |
1149 | #ifdef __MigPackStructs␊ |
1150 | #pragma pack()␊ |
1151 | #endif␊ |
1152 | #endif /* !__Reply__host_priv_subsystem__defined */␊ |
1153 | ␊ |
1154 | /* union of all replies */␊ |
1155 | ␊ |
1156 | #ifndef __ReplyUnion__host_priv_subsystem__defined␊ |
1157 | #define __ReplyUnion__host_priv_subsystem__defined␊ |
1158 | union __ReplyUnion__host_priv_subsystem {␊ |
1159 | ␉__Reply__host_get_boot_info_t Reply_host_get_boot_info;␊ |
1160 | ␉__Reply__host_reboot_t Reply_host_reboot;␊ |
1161 | ␉__Reply__host_priv_statistics_t Reply_host_priv_statistics;␊ |
1162 | ␉__Reply__host_default_memory_manager_t Reply_host_default_memory_manager;␊ |
1163 | ␉__Reply__vm_wire_t Reply_vm_wire;␊ |
1164 | ␉__Reply__thread_wire_t Reply_thread_wire;␊ |
1165 | ␉__Reply__vm_allocate_cpm_t Reply_vm_allocate_cpm;␊ |
1166 | ␉__Reply__host_processors_t Reply_host_processors;␊ |
1167 | ␉__Reply__host_get_clock_control_t Reply_host_get_clock_control;␊ |
1168 | ␉__Reply__kmod_create_t Reply_kmod_create;␊ |
1169 | ␉__Reply__kmod_destroy_t Reply_kmod_destroy;␊ |
1170 | ␉__Reply__kmod_control_t Reply_kmod_control;␊ |
1171 | ␉__Reply__host_get_special_port_t Reply_host_get_special_port;␊ |
1172 | ␉__Reply__host_set_special_port_t Reply_host_set_special_port;␊ |
1173 | ␉__Reply__host_set_exception_ports_t Reply_host_set_exception_ports;␊ |
1174 | ␉__Reply__host_get_exception_ports_t Reply_host_get_exception_ports;␊ |
1175 | ␉__Reply__host_swap_exception_ports_t Reply_host_swap_exception_ports;␊ |
1176 | ␉__Reply__mach_vm_wire_t Reply_mach_vm_wire;␊ |
1177 | ␉__Reply__host_processor_sets_t Reply_host_processor_sets;␊ |
1178 | ␉__Reply__host_processor_set_priv_t Reply_host_processor_set_priv;␊ |
1179 | ␉__Reply__set_dp_control_port_t Reply_set_dp_control_port;␊ |
1180 | ␉__Reply__get_dp_control_port_t Reply_get_dp_control_port;␊ |
1181 | ␉__Reply__host_set_UNDServer_t Reply_host_set_UNDServer;␊ |
1182 | ␉__Reply__host_get_UNDServer_t Reply_host_get_UNDServer;␊ |
1183 | ␉__Reply__kext_request_t Reply_kext_request;␊ |
1184 | };␊ |
1185 | #endif /* !__RequestUnion__host_priv_subsystem__defined */␊ |
1186 | ␊ |
1187 | #ifndef subsystem_to_name_map_host_priv␊ |
1188 | #define subsystem_to_name_map_host_priv \␊ |
1189 | { "host_get_boot_info", 400 },\␊ |
1190 | { "host_reboot", 401 },\␊ |
1191 | { "host_priv_statistics", 402 },\␊ |
1192 | { "host_default_memory_manager", 403 },\␊ |
1193 | { "vm_wire", 404 },\␊ |
1194 | { "thread_wire", 405 },\␊ |
1195 | { "vm_allocate_cpm", 406 },\␊ |
1196 | { "host_processors", 407 },\␊ |
1197 | { "host_get_clock_control", 408 },\␊ |
1198 | { "kmod_create", 409 },\␊ |
1199 | { "kmod_destroy", 410 },\␊ |
1200 | { "kmod_control", 411 },\␊ |
1201 | { "host_get_special_port", 412 },\␊ |
1202 | { "host_set_special_port", 413 },\␊ |
1203 | { "host_set_exception_ports", 414 },\␊ |
1204 | { "host_get_exception_ports", 415 },\␊ |
1205 | { "host_swap_exception_ports", 416 },\␊ |
1206 | { "mach_vm_wire", 418 },\␊ |
1207 | { "host_processor_sets", 419 },\␊ |
1208 | { "host_processor_set_priv", 420 },\␊ |
1209 | { "set_dp_control_port", 421 },\␊ |
1210 | { "get_dp_control_port", 422 },\␊ |
1211 | { "host_set_UNDServer", 423 },\␊ |
1212 | { "host_get_UNDServer", 424 },\␊ |
1213 | { "kext_request", 425 }␊ |
1214 | #endif␊ |
1215 | ␊ |
1216 | #ifdef __AfterMigUserHeader␊ |
1217 | __AfterMigUserHeader␊ |
1218 | #endif /* __AfterMigUserHeader */␊ |
1219 | ␊ |
1220 | #endif␉ /* _host_priv_user_ */␊ |
1221 | |