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