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