CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/external/source/exploits/CVE-2017-13861/headers/IOKit/iokitmig_unused.h
Views: 11788
1
#if !defined(__LP64__)
2
3
#ifndef _iokit_user_
4
#define _iokit_user_
5
6
/* Module iokit */
7
8
#include <string.h>
9
#include <mach/ndr.h>
10
#include <mach/boolean.h>
11
#include <mach/kern_return.h>
12
#include <mach/notify.h>
13
#include <mach/mach_types.h>
14
#include <mach/message.h>
15
#include <mach/mig_errors.h>
16
#include <mach/port.h>
17
18
#ifdef AUTOTEST
19
#ifndef FUNCTION_PTR_T
20
#define FUNCTION_PTR_T
21
typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t);
22
typedef struct {
23
char *name;
24
function_ptr_t function;
25
} function_table_entry;
26
typedef function_table_entry *function_table_t;
27
#endif /* FUNCTION_PTR_T */
28
#endif /* AUTOTEST */
29
30
#ifndef iokit_MSG_COUNT
31
#define iokit_MSG_COUNT 87
32
#endif /* iokit_MSG_COUNT */
33
34
#include <mach/std_types.h>
35
#include <mach/mig.h>
36
#include <mach/mig.h>
37
#include <mach/mach_types.h>
38
#include <mach/mach_types.h>
39
#include <device/device_types.h>
40
41
#ifdef __BeforeMigUserHeader
42
__BeforeMigUserHeader
43
#endif /* __BeforeMigUserHeader */
44
45
#include <sys/cdefs.h>
46
__BEGIN_DECLS
47
48
49
/* Routine io_object_get_class */
50
#ifdef mig_external
51
mig_external
52
#else
53
extern
54
#endif /* mig_external */
55
kern_return_t io_object_get_class
56
(
57
mach_port_t object,
58
io_name_t className
59
);
60
61
/* Routine io_object_conforms_to */
62
#ifdef mig_external
63
mig_external
64
#else
65
extern
66
#endif /* mig_external */
67
kern_return_t io_object_conforms_to
68
(
69
mach_port_t object,
70
io_name_t className,
71
boolean_t *conforms
72
);
73
74
/* Routine io_iterator_next */
75
#ifdef mig_external
76
mig_external
77
#else
78
extern
79
#endif /* mig_external */
80
kern_return_t io_iterator_next
81
(
82
mach_port_t iterator,
83
mach_port_t *object
84
);
85
86
/* Routine io_iterator_reset */
87
#ifdef mig_external
88
mig_external
89
#else
90
extern
91
#endif /* mig_external */
92
kern_return_t io_iterator_reset
93
(
94
mach_port_t iterator
95
);
96
97
/* Routine io_service_get_matching_services */
98
#ifdef mig_external
99
mig_external
100
#else
101
extern
102
#endif /* mig_external */
103
kern_return_t io_service_get_matching_services
104
(
105
mach_port_t master_port,
106
io_string_t matching,
107
mach_port_t *existing
108
);
109
110
/* Routine io_registry_entry_get_property */
111
#ifdef mig_external
112
mig_external
113
#else
114
extern
115
#endif /* mig_external */
116
kern_return_t io_registry_entry_get_property
117
(
118
mach_port_t registry_entry,
119
io_name_t property_name,
120
io_buf_ptr_t *properties,
121
mach_msg_type_number_t *propertiesCnt
122
);
123
124
/* Routine io_registry_create_iterator */
125
#ifdef mig_external
126
mig_external
127
#else
128
extern
129
#endif /* mig_external */
130
kern_return_t io_registry_create_iterator
131
(
132
mach_port_t master_port,
133
io_name_t plane,
134
uint32_t options,
135
mach_port_t *iterator
136
);
137
138
/* Routine io_registry_iterator_enter_entry */
139
#ifdef mig_external
140
mig_external
141
#else
142
extern
143
#endif /* mig_external */
144
kern_return_t io_registry_iterator_enter_entry
145
(
146
mach_port_t iterator
147
);
148
149
/* Routine io_registry_iterator_exit_entry */
150
#ifdef mig_external
151
mig_external
152
#else
153
extern
154
#endif /* mig_external */
155
kern_return_t io_registry_iterator_exit_entry
156
(
157
mach_port_t iterator
158
);
159
160
/* Routine io_registry_entry_from_path */
161
#ifdef mig_external
162
mig_external
163
#else
164
extern
165
#endif /* mig_external */
166
kern_return_t io_registry_entry_from_path
167
(
168
mach_port_t master_port,
169
io_string_t path,
170
mach_port_t *registry_entry
171
);
172
173
/* Routine io_registry_entry_get_name */
174
#ifdef mig_external
175
mig_external
176
#else
177
extern
178
#endif /* mig_external */
179
kern_return_t io_registry_entry_get_name
180
(
181
mach_port_t registry_entry,
182
io_name_t name
183
);
184
185
/* Routine io_registry_entry_get_properties */
186
#ifdef mig_external
187
mig_external
188
#else
189
extern
190
#endif /* mig_external */
191
kern_return_t io_registry_entry_get_properties
192
(
193
mach_port_t registry_entry,
194
io_buf_ptr_t *properties,
195
mach_msg_type_number_t *propertiesCnt
196
);
197
198
/* Routine io_registry_entry_get_property_bytes */
199
#ifdef mig_external
200
mig_external
201
#else
202
extern
203
#endif /* mig_external */
204
kern_return_t io_registry_entry_get_property_bytes
205
(
206
mach_port_t registry_entry,
207
io_name_t property_name,
208
io_struct_inband_t data,
209
mach_msg_type_number_t *dataCnt
210
);
211
212
/* Routine io_registry_entry_get_child_iterator */
213
#ifdef mig_external
214
mig_external
215
#else
216
extern
217
#endif /* mig_external */
218
kern_return_t io_registry_entry_get_child_iterator
219
(
220
mach_port_t registry_entry,
221
io_name_t plane,
222
mach_port_t *iterator
223
);
224
225
/* Routine io_registry_entry_get_parent_iterator */
226
#ifdef mig_external
227
mig_external
228
#else
229
extern
230
#endif /* mig_external */
231
kern_return_t io_registry_entry_get_parent_iterator
232
(
233
mach_port_t registry_entry,
234
io_name_t plane,
235
mach_port_t *iterator
236
);
237
238
/* Routine io_service_close */
239
#ifdef mig_external
240
mig_external
241
#else
242
extern
243
#endif /* mig_external */
244
kern_return_t io_service_close
245
(
246
mach_port_t connection
247
);
248
249
/* Routine io_connect_get_service */
250
#ifdef mig_external
251
mig_external
252
#else
253
extern
254
#endif /* mig_external */
255
kern_return_t io_connect_get_service
256
(
257
mach_port_t connection,
258
mach_port_t *service
259
);
260
261
/* Routine io_connect_set_notification_port */
262
#ifdef mig_external
263
mig_external
264
#else
265
extern
266
#endif /* mig_external */
267
kern_return_t io_connect_set_notification_port
268
(
269
mach_port_t connection,
270
uint32_t notification_type,
271
mach_port_t port,
272
uint32_t reference
273
);
274
275
/* Routine io_connect_map_memory */
276
#ifdef mig_external
277
mig_external
278
#else
279
extern
280
#endif /* mig_external */
281
kern_return_t io_connect_map_memory
282
(
283
mach_port_t connection,
284
uint32_t memory_type,
285
task_t into_task,
286
vm_address_t *address,
287
vm_size_t *size,
288
uint32_t flags
289
);
290
291
/* Routine io_connect_add_client */
292
#ifdef mig_external
293
mig_external
294
#else
295
extern
296
#endif /* mig_external */
297
kern_return_t io_connect_add_client
298
(
299
mach_port_t connection,
300
mach_port_t connect_to
301
);
302
303
/* Routine io_connect_set_properties */
304
#ifdef mig_external
305
mig_external
306
#else
307
extern
308
#endif /* mig_external */
309
kern_return_t io_connect_set_properties
310
(
311
mach_port_t connection,
312
io_buf_ptr_t properties,
313
mach_msg_type_number_t propertiesCnt,
314
kern_return_t *result
315
);
316
317
/* Routine io_connect_method_scalarI_scalarO */
318
#ifdef mig_external
319
mig_external
320
#else
321
extern
322
#endif /* mig_external */
323
kern_return_t io_connect_method_scalarI_scalarO
324
(
325
mach_port_t connection,
326
uint32_t selector,
327
io_scalar_inband_t input,
328
mach_msg_type_number_t inputCnt,
329
io_scalar_inband_t output,
330
mach_msg_type_number_t *outputCnt
331
);
332
333
/* Routine io_connect_method_scalarI_structureO */
334
#ifdef mig_external
335
mig_external
336
#else
337
extern
338
#endif /* mig_external */
339
kern_return_t io_connect_method_scalarI_structureO
340
(
341
mach_port_t connection,
342
uint32_t selector,
343
io_scalar_inband_t input,
344
mach_msg_type_number_t inputCnt,
345
io_struct_inband_t output,
346
mach_msg_type_number_t *outputCnt
347
);
348
349
/* Routine io_connect_method_scalarI_structureI */
350
#ifdef mig_external
351
mig_external
352
#else
353
extern
354
#endif /* mig_external */
355
kern_return_t io_connect_method_scalarI_structureI
356
(
357
mach_port_t connection,
358
uint32_t selector,
359
io_scalar_inband_t input,
360
mach_msg_type_number_t inputCnt,
361
io_struct_inband_t inputStruct,
362
mach_msg_type_number_t inputStructCnt
363
);
364
365
/* Routine io_connect_method_structureI_structureO */
366
#ifdef mig_external
367
mig_external
368
#else
369
extern
370
#endif /* mig_external */
371
kern_return_t io_connect_method_structureI_structureO
372
(
373
mach_port_t connection,
374
uint32_t selector,
375
io_struct_inband_t input,
376
mach_msg_type_number_t inputCnt,
377
io_struct_inband_t output,
378
mach_msg_type_number_t *outputCnt
379
);
380
381
/* Routine io_registry_entry_get_path */
382
#ifdef mig_external
383
mig_external
384
#else
385
extern
386
#endif /* mig_external */
387
kern_return_t io_registry_entry_get_path
388
(
389
mach_port_t registry_entry,
390
io_name_t plane,
391
io_string_t path
392
);
393
394
/* Routine io_registry_get_root_entry */
395
#ifdef mig_external
396
mig_external
397
#else
398
extern
399
#endif /* mig_external */
400
kern_return_t io_registry_get_root_entry
401
(
402
mach_port_t master_port,
403
mach_port_t *root
404
);
405
406
/* Routine io_registry_entry_set_properties */
407
#ifdef mig_external
408
mig_external
409
#else
410
extern
411
#endif /* mig_external */
412
kern_return_t io_registry_entry_set_properties
413
(
414
mach_port_t registry_entry,
415
io_buf_ptr_t properties,
416
mach_msg_type_number_t propertiesCnt,
417
kern_return_t *result
418
);
419
420
/* Routine io_registry_entry_in_plane */
421
#ifdef mig_external
422
mig_external
423
#else
424
extern
425
#endif /* mig_external */
426
kern_return_t io_registry_entry_in_plane
427
(
428
mach_port_t registry_entry,
429
io_name_t plane,
430
boolean_t *inPlane
431
);
432
433
/* Routine io_object_get_retain_count */
434
#ifdef mig_external
435
mig_external
436
#else
437
extern
438
#endif /* mig_external */
439
kern_return_t io_object_get_retain_count
440
(
441
mach_port_t object,
442
uint32_t *retainCount
443
);
444
445
/* Routine io_service_get_busy_state */
446
#ifdef mig_external
447
mig_external
448
#else
449
extern
450
#endif /* mig_external */
451
kern_return_t io_service_get_busy_state
452
(
453
mach_port_t service,
454
uint32_t *busyState
455
);
456
457
/* Routine io_service_wait_quiet */
458
#ifdef mig_external
459
mig_external
460
#else
461
extern
462
#endif /* mig_external */
463
kern_return_t io_service_wait_quiet
464
(
465
mach_port_t service,
466
mach_timespec_t wait_time
467
);
468
469
/* Routine io_registry_entry_create_iterator */
470
#ifdef mig_external
471
mig_external
472
#else
473
extern
474
#endif /* mig_external */
475
kern_return_t io_registry_entry_create_iterator
476
(
477
mach_port_t registry_entry,
478
io_name_t plane,
479
uint32_t options,
480
mach_port_t *iterator
481
);
482
483
/* Routine io_iterator_is_valid */
484
#ifdef mig_external
485
mig_external
486
#else
487
extern
488
#endif /* mig_external */
489
kern_return_t io_iterator_is_valid
490
(
491
mach_port_t iterator,
492
boolean_t *is_valid
493
);
494
495
/* Routine io_catalog_send_data */
496
#ifdef mig_external
497
mig_external
498
#else
499
extern
500
#endif /* mig_external */
501
kern_return_t io_catalog_send_data
502
(
503
mach_port_t master_port,
504
uint32_t flag,
505
io_buf_ptr_t inData,
506
mach_msg_type_number_t inDataCnt,
507
kern_return_t *result
508
);
509
510
/* Routine io_catalog_terminate */
511
#ifdef mig_external
512
mig_external
513
#else
514
extern
515
#endif /* mig_external */
516
kern_return_t io_catalog_terminate
517
(
518
mach_port_t master_port,
519
uint32_t flag,
520
io_name_t name
521
);
522
523
/* Routine io_catalog_get_data */
524
#ifdef mig_external
525
mig_external
526
#else
527
extern
528
#endif /* mig_external */
529
kern_return_t io_catalog_get_data
530
(
531
mach_port_t master_port,
532
uint32_t flag,
533
io_buf_ptr_t *outData,
534
mach_msg_type_number_t *outDataCnt
535
);
536
537
/* Routine io_catalog_get_gen_count */
538
#ifdef mig_external
539
mig_external
540
#else
541
extern
542
#endif /* mig_external */
543
kern_return_t io_catalog_get_gen_count
544
(
545
mach_port_t master_port,
546
uint32_t *genCount
547
);
548
549
/* Routine io_catalog_module_loaded */
550
#ifdef mig_external
551
mig_external
552
#else
553
extern
554
#endif /* mig_external */
555
kern_return_t io_catalog_module_loaded
556
(
557
mach_port_t master_port,
558
io_name_t name
559
);
560
561
/* Routine io_catalog_reset */
562
#ifdef mig_external
563
mig_external
564
#else
565
extern
566
#endif /* mig_external */
567
kern_return_t io_catalog_reset
568
(
569
mach_port_t master_port,
570
uint32_t flag
571
);
572
573
/* Routine io_service_request_probe */
574
#ifdef mig_external
575
mig_external
576
#else
577
extern
578
#endif /* mig_external */
579
kern_return_t io_service_request_probe
580
(
581
mach_port_t service,
582
uint32_t options
583
);
584
585
/* Routine io_registry_entry_get_name_in_plane */
586
#ifdef mig_external
587
mig_external
588
#else
589
extern
590
#endif /* mig_external */
591
kern_return_t io_registry_entry_get_name_in_plane
592
(
593
mach_port_t registry_entry,
594
io_name_t plane,
595
io_name_t name
596
);
597
598
/* Routine io_service_match_property_table */
599
#ifdef mig_external
600
mig_external
601
#else
602
extern
603
#endif /* mig_external */
604
kern_return_t io_service_match_property_table
605
(
606
mach_port_t service,
607
io_string_t matching,
608
boolean_t *matches
609
);
610
611
/* Routine io_async_method_scalarI_scalarO */
612
#ifdef mig_external
613
mig_external
614
#else
615
extern
616
#endif /* mig_external */
617
kern_return_t io_async_method_scalarI_scalarO
618
(
619
mach_port_t connection,
620
mach_port_t wake_port,
621
io_async_ref_t reference,
622
mach_msg_type_number_t referenceCnt,
623
uint32_t selector,
624
io_scalar_inband_t input,
625
mach_msg_type_number_t inputCnt,
626
io_scalar_inband_t output,
627
mach_msg_type_number_t *outputCnt
628
);
629
630
/* Routine io_async_method_scalarI_structureO */
631
#ifdef mig_external
632
mig_external
633
#else
634
extern
635
#endif /* mig_external */
636
kern_return_t io_async_method_scalarI_structureO
637
(
638
mach_port_t connection,
639
mach_port_t wake_port,
640
io_async_ref_t reference,
641
mach_msg_type_number_t referenceCnt,
642
uint32_t selector,
643
io_scalar_inband_t input,
644
mach_msg_type_number_t inputCnt,
645
io_struct_inband_t output,
646
mach_msg_type_number_t *outputCnt
647
);
648
649
/* Routine io_async_method_scalarI_structureI */
650
#ifdef mig_external
651
mig_external
652
#else
653
extern
654
#endif /* mig_external */
655
kern_return_t io_async_method_scalarI_structureI
656
(
657
mach_port_t connection,
658
mach_port_t wake_port,
659
io_async_ref_t reference,
660
mach_msg_type_number_t referenceCnt,
661
uint32_t selector,
662
io_scalar_inband_t input,
663
mach_msg_type_number_t inputCnt,
664
io_struct_inband_t inputStruct,
665
mach_msg_type_number_t inputStructCnt
666
);
667
668
/* Routine io_async_method_structureI_structureO */
669
#ifdef mig_external
670
mig_external
671
#else
672
extern
673
#endif /* mig_external */
674
kern_return_t io_async_method_structureI_structureO
675
(
676
mach_port_t connection,
677
mach_port_t wake_port,
678
io_async_ref_t reference,
679
mach_msg_type_number_t referenceCnt,
680
uint32_t selector,
681
io_struct_inband_t input,
682
mach_msg_type_number_t inputCnt,
683
io_struct_inband_t output,
684
mach_msg_type_number_t *outputCnt
685
);
686
687
/* Routine io_service_add_notification */
688
#ifdef mig_external
689
mig_external
690
#else
691
extern
692
#endif /* mig_external */
693
kern_return_t io_service_add_notification
694
(
695
mach_port_t master_port,
696
io_name_t notification_type,
697
io_string_t matching,
698
mach_port_t wake_port,
699
io_async_ref_t reference,
700
mach_msg_type_number_t referenceCnt,
701
mach_port_t *notification
702
);
703
704
/* Routine io_service_add_interest_notification */
705
#ifdef mig_external
706
mig_external
707
#else
708
extern
709
#endif /* mig_external */
710
kern_return_t io_service_add_interest_notification
711
(
712
mach_port_t service,
713
io_name_t type_of_interest,
714
mach_port_t wake_port,
715
io_async_ref_t reference,
716
mach_msg_type_number_t referenceCnt,
717
mach_port_t *notification
718
);
719
720
/* Routine io_service_acknowledge_notification */
721
#ifdef mig_external
722
mig_external
723
#else
724
extern
725
#endif /* mig_external */
726
kern_return_t io_service_acknowledge_notification
727
(
728
mach_port_t service,
729
natural_t notify_ref,
730
natural_t response
731
);
732
733
/* Routine io_connect_get_notification_semaphore */
734
#ifdef mig_external
735
mig_external
736
#else
737
extern
738
#endif /* mig_external */
739
kern_return_t io_connect_get_notification_semaphore
740
(
741
mach_port_t connection,
742
natural_t notification_type,
743
semaphore_t *semaphore
744
);
745
746
/* Routine io_connect_unmap_memory */
747
#ifdef mig_external
748
mig_external
749
#else
750
extern
751
#endif /* mig_external */
752
kern_return_t io_connect_unmap_memory
753
(
754
mach_port_t connection,
755
uint32_t memory_type,
756
task_t into_task,
757
vm_address_t address
758
);
759
760
/* Routine io_registry_entry_get_location_in_plane */
761
#ifdef mig_external
762
mig_external
763
#else
764
extern
765
#endif /* mig_external */
766
kern_return_t io_registry_entry_get_location_in_plane
767
(
768
mach_port_t registry_entry,
769
io_name_t plane,
770
io_name_t location
771
);
772
773
/* Routine io_registry_entry_get_property_recursively */
774
#ifdef mig_external
775
mig_external
776
#else
777
extern
778
#endif /* mig_external */
779
kern_return_t io_registry_entry_get_property_recursively
780
(
781
mach_port_t registry_entry,
782
io_name_t plane,
783
io_name_t property_name,
784
uint32_t options,
785
io_buf_ptr_t *properties,
786
mach_msg_type_number_t *propertiesCnt
787
);
788
789
/* Routine io_service_get_state */
790
#ifdef mig_external
791
mig_external
792
#else
793
extern
794
#endif /* mig_external */
795
kern_return_t io_service_get_state
796
(
797
mach_port_t service,
798
uint64_t *state,
799
uint32_t *busy_state,
800
uint64_t *accumulated_busy_time
801
);
802
803
/* Routine io_service_get_matching_services_ool */
804
#ifdef mig_external
805
mig_external
806
#else
807
extern
808
#endif /* mig_external */
809
kern_return_t io_service_get_matching_services_ool
810
(
811
mach_port_t master_port,
812
io_buf_ptr_t matching,
813
mach_msg_type_number_t matchingCnt,
814
kern_return_t *result,
815
mach_port_t *existing
816
);
817
818
/* Routine io_service_match_property_table_ool */
819
#ifdef mig_external
820
mig_external
821
#else
822
extern
823
#endif /* mig_external */
824
kern_return_t io_service_match_property_table_ool
825
(
826
mach_port_t service,
827
io_buf_ptr_t matching,
828
mach_msg_type_number_t matchingCnt,
829
kern_return_t *result,
830
boolean_t *matches
831
);
832
833
/* Routine io_service_add_notification_ool */
834
#ifdef mig_external
835
mig_external
836
#else
837
extern
838
#endif /* mig_external */
839
kern_return_t io_service_add_notification_ool
840
(
841
mach_port_t master_port,
842
io_name_t notification_type,
843
io_buf_ptr_t matching,
844
mach_msg_type_number_t matchingCnt,
845
mach_port_t wake_port,
846
io_async_ref_t reference,
847
mach_msg_type_number_t referenceCnt,
848
kern_return_t *result,
849
mach_port_t *notification
850
);
851
852
/* Routine io_object_get_superclass */
853
#ifdef mig_external
854
mig_external
855
#else
856
extern
857
#endif /* mig_external */
858
kern_return_t io_object_get_superclass
859
(
860
mach_port_t master_port,
861
io_name_t obj_name,
862
io_name_t class_name
863
);
864
865
/* Routine io_object_get_bundle_identifier */
866
#ifdef mig_external
867
mig_external
868
#else
869
extern
870
#endif /* mig_external */
871
kern_return_t io_object_get_bundle_identifier
872
(
873
mach_port_t master_port,
874
io_name_t obj_name,
875
io_name_t class_name
876
);
877
878
/* Routine io_service_open_extended */
879
#ifdef mig_external
880
mig_external
881
#else
882
extern
883
#endif /* mig_external */
884
kern_return_t io_service_open_extended
885
(
886
mach_port_t service,
887
task_t owningTask,
888
uint32_t connect_type,
889
NDR_record_t ndr,
890
io_buf_ptr_t properties,
891
mach_msg_type_number_t propertiesCnt,
892
kern_return_t *result,
893
mach_port_t *connection
894
);
895
896
/* Routine io_connect_map_memory_into_task */
897
#ifdef mig_external
898
mig_external
899
#else
900
extern
901
#endif /* mig_external */
902
kern_return_t io_connect_map_memory_into_task
903
(
904
mach_port_t connection,
905
uint32_t memory_type,
906
task_t into_task,
907
mach_vm_address_t *address,
908
mach_vm_size_t *size,
909
uint32_t flags
910
);
911
912
/* Routine io_connect_unmap_memory_from_task */
913
#ifdef mig_external
914
mig_external
915
#else
916
extern
917
#endif /* mig_external */
918
kern_return_t io_connect_unmap_memory_from_task
919
(
920
mach_port_t connection,
921
uint32_t memory_type,
922
task_t from_task,
923
mach_vm_address_t address
924
);
925
926
/* Routine io_connect_method */
927
#ifdef mig_external
928
mig_external
929
#else
930
extern
931
#endif /* mig_external */
932
kern_return_t io_connect_method
933
(
934
mach_port_t connection,
935
uint32_t selector,
936
io_scalar_inband64_t scalar_input,
937
mach_msg_type_number_t scalar_inputCnt,
938
io_struct_inband_t inband_input,
939
mach_msg_type_number_t inband_inputCnt,
940
mach_vm_address_t ool_input,
941
mach_vm_size_t ool_input_size,
942
io_struct_inband_t inband_output,
943
mach_msg_type_number_t *inband_outputCnt,
944
io_scalar_inband64_t scalar_output,
945
mach_msg_type_number_t *scalar_outputCnt,
946
mach_vm_address_t ool_output,
947
mach_vm_size_t *ool_output_size
948
);
949
950
/* Routine io_connect_async_method */
951
#ifdef mig_external
952
mig_external
953
#else
954
extern
955
#endif /* mig_external */
956
kern_return_t io_connect_async_method
957
(
958
mach_port_t connection,
959
mach_port_t wake_port,
960
io_async_ref64_t reference,
961
mach_msg_type_number_t referenceCnt,
962
uint32_t selector,
963
io_scalar_inband64_t scalar_input,
964
mach_msg_type_number_t scalar_inputCnt,
965
io_struct_inband_t inband_input,
966
mach_msg_type_number_t inband_inputCnt,
967
mach_vm_address_t ool_input,
968
mach_vm_size_t ool_input_size,
969
io_struct_inband_t inband_output,
970
mach_msg_type_number_t *inband_outputCnt,
971
io_scalar_inband64_t scalar_output,
972
mach_msg_type_number_t *scalar_outputCnt,
973
mach_vm_address_t ool_output,
974
mach_vm_size_t *ool_output_size
975
);
976
977
/* Routine io_registry_entry_get_registry_entry_id */
978
#ifdef mig_external
979
mig_external
980
#else
981
extern
982
#endif /* mig_external */
983
kern_return_t io_registry_entry_get_registry_entry_id
984
(
985
mach_port_t registry_entry,
986
uint64_t *entry_id
987
);
988
989
/* Routine io_connect_method_var_output */
990
#ifdef mig_external
991
mig_external
992
#else
993
extern
994
#endif /* mig_external */
995
kern_return_t io_connect_method_var_output
996
(
997
mach_port_t connection,
998
uint32_t selector,
999
io_scalar_inband64_t scalar_input,
1000
mach_msg_type_number_t scalar_inputCnt,
1001
io_struct_inband_t inband_input,
1002
mach_msg_type_number_t inband_inputCnt,
1003
mach_vm_address_t ool_input,
1004
mach_vm_size_t ool_input_size,
1005
io_struct_inband_t inband_output,
1006
mach_msg_type_number_t *inband_outputCnt,
1007
io_scalar_inband64_t scalar_output,
1008
mach_msg_type_number_t *scalar_outputCnt,
1009
io_buf_ptr_t *var_output,
1010
mach_msg_type_number_t *var_outputCnt
1011
);
1012
1013
/* Routine io_service_get_matching_service */
1014
#ifdef mig_external
1015
mig_external
1016
#else
1017
extern
1018
#endif /* mig_external */
1019
kern_return_t io_service_get_matching_service
1020
(
1021
mach_port_t master_port,
1022
io_string_t matching,
1023
mach_port_t *service
1024
);
1025
1026
/* Routine io_service_get_matching_service_ool */
1027
#ifdef mig_external
1028
mig_external
1029
#else
1030
extern
1031
#endif /* mig_external */
1032
kern_return_t io_service_get_matching_service_ool
1033
(
1034
mach_port_t master_port,
1035
io_buf_ptr_t matching,
1036
mach_msg_type_number_t matchingCnt,
1037
kern_return_t *result,
1038
mach_port_t *service
1039
);
1040
1041
/* Routine io_service_get_authorization_id */
1042
#ifdef mig_external
1043
mig_external
1044
#else
1045
extern
1046
#endif /* mig_external */
1047
kern_return_t io_service_get_authorization_id
1048
(
1049
mach_port_t service,
1050
uint64_t *authorization_id
1051
);
1052
1053
/* Routine io_service_set_authorization_id */
1054
#ifdef mig_external
1055
mig_external
1056
#else
1057
extern
1058
#endif /* mig_external */
1059
kern_return_t io_service_set_authorization_id
1060
(
1061
mach_port_t service,
1062
uint64_t authorization_id
1063
);
1064
1065
/* Routine io_server_version */
1066
#ifdef mig_external
1067
mig_external
1068
#else
1069
extern
1070
#endif /* mig_external */
1071
kern_return_t io_server_version
1072
(
1073
mach_port_t master_port,
1074
uint64_t *version
1075
);
1076
1077
/* Routine io_registry_entry_get_properties_bin */
1078
#ifdef mig_external
1079
mig_external
1080
#else
1081
extern
1082
#endif /* mig_external */
1083
kern_return_t io_registry_entry_get_properties_bin
1084
(
1085
mach_port_t registry_entry,
1086
io_buf_ptr_t *properties,
1087
mach_msg_type_number_t *propertiesCnt
1088
);
1089
1090
/* Routine io_registry_entry_get_property_bin */
1091
#ifdef mig_external
1092
mig_external
1093
#else
1094
extern
1095
#endif /* mig_external */
1096
kern_return_t io_registry_entry_get_property_bin
1097
(
1098
mach_port_t registry_entry,
1099
io_name_t plane,
1100
io_name_t property_name,
1101
uint32_t options,
1102
io_buf_ptr_t *properties,
1103
mach_msg_type_number_t *propertiesCnt
1104
);
1105
1106
/* Routine io_service_get_matching_service_bin */
1107
#ifdef mig_external
1108
mig_external
1109
#else
1110
extern
1111
#endif /* mig_external */
1112
kern_return_t io_service_get_matching_service_bin
1113
(
1114
mach_port_t master_port,
1115
io_struct_inband_t matching,
1116
mach_msg_type_number_t matchingCnt,
1117
mach_port_t *service
1118
);
1119
1120
/* Routine io_service_get_matching_services_bin */
1121
#ifdef mig_external
1122
mig_external
1123
#else
1124
extern
1125
#endif /* mig_external */
1126
kern_return_t io_service_get_matching_services_bin
1127
(
1128
mach_port_t master_port,
1129
io_struct_inband_t matching,
1130
mach_msg_type_number_t matchingCnt,
1131
mach_port_t *existing
1132
);
1133
1134
/* Routine io_service_match_property_table_bin */
1135
#ifdef mig_external
1136
mig_external
1137
#else
1138
extern
1139
#endif /* mig_external */
1140
kern_return_t io_service_match_property_table_bin
1141
(
1142
mach_port_t service,
1143
io_struct_inband_t matching,
1144
mach_msg_type_number_t matchingCnt,
1145
boolean_t *matches
1146
);
1147
1148
/* Routine io_service_add_notification_bin */
1149
#ifdef mig_external
1150
mig_external
1151
#else
1152
extern
1153
#endif /* mig_external */
1154
kern_return_t io_service_add_notification_bin
1155
(
1156
mach_port_t master_port,
1157
io_name_t notification_type,
1158
io_struct_inband_t matching,
1159
mach_msg_type_number_t matchingCnt,
1160
mach_port_t wake_port,
1161
io_async_ref_t reference,
1162
mach_msg_type_number_t referenceCnt,
1163
mach_port_t *notification
1164
);
1165
1166
/* Routine io_registry_entry_get_path_ool */
1167
#ifdef mig_external
1168
mig_external
1169
#else
1170
extern
1171
#endif /* mig_external */
1172
kern_return_t io_registry_entry_get_path_ool
1173
(
1174
mach_port_t registry_entry,
1175
io_name_t plane,
1176
io_string_inband_t path,
1177
io_buf_ptr_t *path_ool,
1178
mach_msg_type_number_t *path_oolCnt
1179
);
1180
1181
/* Routine io_registry_entry_from_path_ool */
1182
#ifdef mig_external
1183
mig_external
1184
#else
1185
extern
1186
#endif /* mig_external */
1187
kern_return_t io_registry_entry_from_path_ool
1188
(
1189
mach_port_t master_port,
1190
io_string_inband_t path,
1191
io_buf_ptr_t path_ool,
1192
mach_msg_type_number_t path_oolCnt,
1193
kern_return_t *result,
1194
mach_port_t *registry_entry
1195
);
1196
1197
__END_DECLS
1198
1199
/********************** Caution **************************/
1200
/* The following data types should be used to calculate */
1201
/* maximum message sizes only. The actual message may be */
1202
/* smaller, and the position of the arguments within the */
1203
/* message layout may vary from what is presented here. */
1204
/* For example, if any of the arguments are variable- */
1205
/* sized, and less than the maximum is sent, the data */
1206
/* will be packed tight in the actual message to reduce */
1207
/* the presence of holes. */
1208
/********************** Caution **************************/
1209
1210
/* typedefs for all requests */
1211
1212
#ifndef __Request__iokit_subsystem__defined
1213
#define __Request__iokit_subsystem__defined
1214
1215
#ifdef __MigPackStructs
1216
#pragma pack(4)
1217
#endif
1218
typedef struct {
1219
mach_msg_header_t Head;
1220
} __Request__io_object_get_class_t __attribute__((unused));
1221
#ifdef __MigPackStructs
1222
#pragma pack()
1223
#endif
1224
1225
#ifdef __MigPackStructs
1226
#pragma pack(4)
1227
#endif
1228
typedef struct {
1229
mach_msg_header_t Head;
1230
NDR_record_t NDR;
1231
mach_msg_type_number_t classNameOffset; /* MiG doesn't use it */
1232
mach_msg_type_number_t classNameCnt;
1233
char className[128];
1234
} __Request__io_object_conforms_to_t __attribute__((unused));
1235
#ifdef __MigPackStructs
1236
#pragma pack()
1237
#endif
1238
1239
#ifdef __MigPackStructs
1240
#pragma pack(4)
1241
#endif
1242
typedef struct {
1243
mach_msg_header_t Head;
1244
} __Request__io_iterator_next_t __attribute__((unused));
1245
#ifdef __MigPackStructs
1246
#pragma pack()
1247
#endif
1248
1249
#ifdef __MigPackStructs
1250
#pragma pack(4)
1251
#endif
1252
typedef struct {
1253
mach_msg_header_t Head;
1254
} __Request__io_iterator_reset_t __attribute__((unused));
1255
#ifdef __MigPackStructs
1256
#pragma pack()
1257
#endif
1258
1259
#ifdef __MigPackStructs
1260
#pragma pack(4)
1261
#endif
1262
typedef struct {
1263
mach_msg_header_t Head;
1264
NDR_record_t NDR;
1265
mach_msg_type_number_t matchingOffset; /* MiG doesn't use it */
1266
mach_msg_type_number_t matchingCnt;
1267
char matching[512];
1268
} __Request__io_service_get_matching_services_t __attribute__((unused));
1269
#ifdef __MigPackStructs
1270
#pragma pack()
1271
#endif
1272
1273
#ifdef __MigPackStructs
1274
#pragma pack(4)
1275
#endif
1276
typedef struct {
1277
mach_msg_header_t Head;
1278
NDR_record_t NDR;
1279
mach_msg_type_number_t property_nameOffset; /* MiG doesn't use it */
1280
mach_msg_type_number_t property_nameCnt;
1281
char property_name[128];
1282
} __Request__io_registry_entry_get_property_t __attribute__((unused));
1283
#ifdef __MigPackStructs
1284
#pragma pack()
1285
#endif
1286
1287
#ifdef __MigPackStructs
1288
#pragma pack(4)
1289
#endif
1290
typedef struct {
1291
mach_msg_header_t Head;
1292
NDR_record_t NDR;
1293
mach_msg_type_number_t planeOffset; /* MiG doesn't use it */
1294
mach_msg_type_number_t planeCnt;
1295
char plane[128];
1296
uint32_t options;
1297
} __Request__io_registry_create_iterator_t __attribute__((unused));
1298
#ifdef __MigPackStructs
1299
#pragma pack()
1300
#endif
1301
1302
#ifdef __MigPackStructs
1303
#pragma pack(4)
1304
#endif
1305
typedef struct {
1306
mach_msg_header_t Head;
1307
} __Request__io_registry_iterator_enter_entry_t __attribute__((unused));
1308
#ifdef __MigPackStructs
1309
#pragma pack()
1310
#endif
1311
1312
#ifdef __MigPackStructs
1313
#pragma pack(4)
1314
#endif
1315
typedef struct {
1316
mach_msg_header_t Head;
1317
} __Request__io_registry_iterator_exit_entry_t __attribute__((unused));
1318
#ifdef __MigPackStructs
1319
#pragma pack()
1320
#endif
1321
1322
#ifdef __MigPackStructs
1323
#pragma pack(4)
1324
#endif
1325
typedef struct {
1326
mach_msg_header_t Head;
1327
NDR_record_t NDR;
1328
mach_msg_type_number_t pathOffset; /* MiG doesn't use it */
1329
mach_msg_type_number_t pathCnt;
1330
char path[512];
1331
} __Request__io_registry_entry_from_path_t __attribute__((unused));
1332
#ifdef __MigPackStructs
1333
#pragma pack()
1334
#endif
1335
1336
#ifdef __MigPackStructs
1337
#pragma pack(4)
1338
#endif
1339
typedef struct {
1340
mach_msg_header_t Head;
1341
} __Request__io_registry_entry_get_name_t __attribute__((unused));
1342
#ifdef __MigPackStructs
1343
#pragma pack()
1344
#endif
1345
1346
#ifdef __MigPackStructs
1347
#pragma pack(4)
1348
#endif
1349
typedef struct {
1350
mach_msg_header_t Head;
1351
} __Request__io_registry_entry_get_properties_t __attribute__((unused));
1352
#ifdef __MigPackStructs
1353
#pragma pack()
1354
#endif
1355
1356
#ifdef __MigPackStructs
1357
#pragma pack(4)
1358
#endif
1359
typedef struct {
1360
mach_msg_header_t Head;
1361
NDR_record_t NDR;
1362
mach_msg_type_number_t property_nameOffset; /* MiG doesn't use it */
1363
mach_msg_type_number_t property_nameCnt;
1364
char property_name[128];
1365
mach_msg_type_number_t dataCnt;
1366
} __Request__io_registry_entry_get_property_bytes_t __attribute__((unused));
1367
#ifdef __MigPackStructs
1368
#pragma pack()
1369
#endif
1370
1371
#ifdef __MigPackStructs
1372
#pragma pack(4)
1373
#endif
1374
typedef struct {
1375
mach_msg_header_t Head;
1376
NDR_record_t NDR;
1377
mach_msg_type_number_t planeOffset; /* MiG doesn't use it */
1378
mach_msg_type_number_t planeCnt;
1379
char plane[128];
1380
} __Request__io_registry_entry_get_child_iterator_t __attribute__((unused));
1381
#ifdef __MigPackStructs
1382
#pragma pack()
1383
#endif
1384
1385
#ifdef __MigPackStructs
1386
#pragma pack(4)
1387
#endif
1388
typedef struct {
1389
mach_msg_header_t Head;
1390
NDR_record_t NDR;
1391
mach_msg_type_number_t planeOffset; /* MiG doesn't use it */
1392
mach_msg_type_number_t planeCnt;
1393
char plane[128];
1394
} __Request__io_registry_entry_get_parent_iterator_t __attribute__((unused));
1395
#ifdef __MigPackStructs
1396
#pragma pack()
1397
#endif
1398
1399
#ifdef __MigPackStructs
1400
#pragma pack(4)
1401
#endif
1402
typedef struct {
1403
mach_msg_header_t Head;
1404
} __Request__io_service_close_t __attribute__((unused));
1405
#ifdef __MigPackStructs
1406
#pragma pack()
1407
#endif
1408
1409
#ifdef __MigPackStructs
1410
#pragma pack(4)
1411
#endif
1412
typedef struct {
1413
mach_msg_header_t Head;
1414
} __Request__io_connect_get_service_t __attribute__((unused));
1415
#ifdef __MigPackStructs
1416
#pragma pack()
1417
#endif
1418
1419
#ifdef __MigPackStructs
1420
#pragma pack(4)
1421
#endif
1422
typedef struct {
1423
mach_msg_header_t Head;
1424
/* start of the kernel processed data */
1425
mach_msg_body_t msgh_body;
1426
mach_msg_port_descriptor_t port;
1427
/* end of the kernel processed data */
1428
NDR_record_t NDR;
1429
uint32_t notification_type;
1430
uint32_t reference;
1431
} __Request__io_connect_set_notification_port_t __attribute__((unused));
1432
#ifdef __MigPackStructs
1433
#pragma pack()
1434
#endif
1435
1436
#ifdef __MigPackStructs
1437
#pragma pack(4)
1438
#endif
1439
typedef struct {
1440
mach_msg_header_t Head;
1441
/* start of the kernel processed data */
1442
mach_msg_body_t msgh_body;
1443
mach_msg_port_descriptor_t into_task;
1444
/* end of the kernel processed data */
1445
NDR_record_t NDR;
1446
uint32_t memory_type;
1447
vm_address_t address;
1448
vm_size_t size;
1449
uint32_t flags;
1450
} __Request__io_connect_map_memory_t __attribute__((unused));
1451
#ifdef __MigPackStructs
1452
#pragma pack()
1453
#endif
1454
1455
#ifdef __MigPackStructs
1456
#pragma pack(4)
1457
#endif
1458
typedef struct {
1459
mach_msg_header_t Head;
1460
/* start of the kernel processed data */
1461
mach_msg_body_t msgh_body;
1462
mach_msg_port_descriptor_t connect_to;
1463
/* end of the kernel processed data */
1464
} __Request__io_connect_add_client_t __attribute__((unused));
1465
#ifdef __MigPackStructs
1466
#pragma pack()
1467
#endif
1468
1469
#ifdef __MigPackStructs
1470
#pragma pack(4)
1471
#endif
1472
typedef struct {
1473
mach_msg_header_t Head;
1474
/* start of the kernel processed data */
1475
mach_msg_body_t msgh_body;
1476
mach_msg_ool_descriptor_t properties;
1477
/* end of the kernel processed data */
1478
NDR_record_t NDR;
1479
mach_msg_type_number_t propertiesCnt;
1480
} __Request__io_connect_set_properties_t __attribute__((unused));
1481
#ifdef __MigPackStructs
1482
#pragma pack()
1483
#endif
1484
1485
#ifdef __MigPackStructs
1486
#pragma pack(4)
1487
#endif
1488
typedef struct {
1489
mach_msg_header_t Head;
1490
NDR_record_t NDR;
1491
uint32_t selector;
1492
mach_msg_type_number_t inputCnt;
1493
io_user_scalar_t input[16];
1494
mach_msg_type_number_t outputCnt;
1495
} __Request__io_connect_method_scalarI_scalarO_t __attribute__((unused));
1496
#ifdef __MigPackStructs
1497
#pragma pack()
1498
#endif
1499
1500
#ifdef __MigPackStructs
1501
#pragma pack(4)
1502
#endif
1503
typedef struct {
1504
mach_msg_header_t Head;
1505
NDR_record_t NDR;
1506
uint32_t selector;
1507
mach_msg_type_number_t inputCnt;
1508
io_user_scalar_t input[16];
1509
mach_msg_type_number_t outputCnt;
1510
} __Request__io_connect_method_scalarI_structureO_t __attribute__((unused));
1511
#ifdef __MigPackStructs
1512
#pragma pack()
1513
#endif
1514
1515
#ifdef __MigPackStructs
1516
#pragma pack(4)
1517
#endif
1518
typedef struct {
1519
mach_msg_header_t Head;
1520
NDR_record_t NDR;
1521
uint32_t selector;
1522
mach_msg_type_number_t inputCnt;
1523
io_user_scalar_t input[16];
1524
mach_msg_type_number_t inputStructCnt;
1525
char inputStruct[4096];
1526
} __Request__io_connect_method_scalarI_structureI_t __attribute__((unused));
1527
#ifdef __MigPackStructs
1528
#pragma pack()
1529
#endif
1530
1531
#ifdef __MigPackStructs
1532
#pragma pack(4)
1533
#endif
1534
typedef struct {
1535
mach_msg_header_t Head;
1536
NDR_record_t NDR;
1537
uint32_t selector;
1538
mach_msg_type_number_t inputCnt;
1539
char input[4096];
1540
mach_msg_type_number_t outputCnt;
1541
} __Request__io_connect_method_structureI_structureO_t __attribute__((unused));
1542
#ifdef __MigPackStructs
1543
#pragma pack()
1544
#endif
1545
1546
#ifdef __MigPackStructs
1547
#pragma pack(4)
1548
#endif
1549
typedef struct {
1550
mach_msg_header_t Head;
1551
NDR_record_t NDR;
1552
mach_msg_type_number_t planeOffset; /* MiG doesn't use it */
1553
mach_msg_type_number_t planeCnt;
1554
char plane[128];
1555
} __Request__io_registry_entry_get_path_t __attribute__((unused));
1556
#ifdef __MigPackStructs
1557
#pragma pack()
1558
#endif
1559
1560
#ifdef __MigPackStructs
1561
#pragma pack(4)
1562
#endif
1563
typedef struct {
1564
mach_msg_header_t Head;
1565
} __Request__io_registry_get_root_entry_t __attribute__((unused));
1566
#ifdef __MigPackStructs
1567
#pragma pack()
1568
#endif
1569
1570
#ifdef __MigPackStructs
1571
#pragma pack(4)
1572
#endif
1573
typedef struct {
1574
mach_msg_header_t Head;
1575
/* start of the kernel processed data */
1576
mach_msg_body_t msgh_body;
1577
mach_msg_ool_descriptor_t properties;
1578
/* end of the kernel processed data */
1579
NDR_record_t NDR;
1580
mach_msg_type_number_t propertiesCnt;
1581
} __Request__io_registry_entry_set_properties_t __attribute__((unused));
1582
#ifdef __MigPackStructs
1583
#pragma pack()
1584
#endif
1585
1586
#ifdef __MigPackStructs
1587
#pragma pack(4)
1588
#endif
1589
typedef struct {
1590
mach_msg_header_t Head;
1591
NDR_record_t NDR;
1592
mach_msg_type_number_t planeOffset; /* MiG doesn't use it */
1593
mach_msg_type_number_t planeCnt;
1594
char plane[128];
1595
} __Request__io_registry_entry_in_plane_t __attribute__((unused));
1596
#ifdef __MigPackStructs
1597
#pragma pack()
1598
#endif
1599
1600
#ifdef __MigPackStructs
1601
#pragma pack(4)
1602
#endif
1603
typedef struct {
1604
mach_msg_header_t Head;
1605
} __Request__io_object_get_retain_count_t __attribute__((unused));
1606
#ifdef __MigPackStructs
1607
#pragma pack()
1608
#endif
1609
1610
#ifdef __MigPackStructs
1611
#pragma pack(4)
1612
#endif
1613
typedef struct {
1614
mach_msg_header_t Head;
1615
} __Request__io_service_get_busy_state_t __attribute__((unused));
1616
#ifdef __MigPackStructs
1617
#pragma pack()
1618
#endif
1619
1620
#ifdef __MigPackStructs
1621
#pragma pack(4)
1622
#endif
1623
typedef struct {
1624
mach_msg_header_t Head;
1625
NDR_record_t NDR;
1626
mach_timespec_t wait_time;
1627
} __Request__io_service_wait_quiet_t __attribute__((unused));
1628
#ifdef __MigPackStructs
1629
#pragma pack()
1630
#endif
1631
1632
#ifdef __MigPackStructs
1633
#pragma pack(4)
1634
#endif
1635
typedef struct {
1636
mach_msg_header_t Head;
1637
NDR_record_t NDR;
1638
mach_msg_type_number_t planeOffset; /* MiG doesn't use it */
1639
mach_msg_type_number_t planeCnt;
1640
char plane[128];
1641
uint32_t options;
1642
} __Request__io_registry_entry_create_iterator_t __attribute__((unused));
1643
#ifdef __MigPackStructs
1644
#pragma pack()
1645
#endif
1646
1647
#ifdef __MigPackStructs
1648
#pragma pack(4)
1649
#endif
1650
typedef struct {
1651
mach_msg_header_t Head;
1652
} __Request__io_iterator_is_valid_t __attribute__((unused));
1653
#ifdef __MigPackStructs
1654
#pragma pack()
1655
#endif
1656
1657
#ifdef __MigPackStructs
1658
#pragma pack(4)
1659
#endif
1660
typedef struct {
1661
mach_msg_header_t Head;
1662
/* start of the kernel processed data */
1663
mach_msg_body_t msgh_body;
1664
mach_msg_ool_descriptor_t inData;
1665
/* end of the kernel processed data */
1666
NDR_record_t NDR;
1667
uint32_t flag;
1668
mach_msg_type_number_t inDataCnt;
1669
} __Request__io_catalog_send_data_t __attribute__((unused));
1670
#ifdef __MigPackStructs
1671
#pragma pack()
1672
#endif
1673
1674
#ifdef __MigPackStructs
1675
#pragma pack(4)
1676
#endif
1677
typedef struct {
1678
mach_msg_header_t Head;
1679
NDR_record_t NDR;
1680
uint32_t flag;
1681
mach_msg_type_number_t nameOffset; /* MiG doesn't use it */
1682
mach_msg_type_number_t nameCnt;
1683
char name[128];
1684
} __Request__io_catalog_terminate_t __attribute__((unused));
1685
#ifdef __MigPackStructs
1686
#pragma pack()
1687
#endif
1688
1689
#ifdef __MigPackStructs
1690
#pragma pack(4)
1691
#endif
1692
typedef struct {
1693
mach_msg_header_t Head;
1694
NDR_record_t NDR;
1695
uint32_t flag;
1696
} __Request__io_catalog_get_data_t __attribute__((unused));
1697
#ifdef __MigPackStructs
1698
#pragma pack()
1699
#endif
1700
1701
#ifdef __MigPackStructs
1702
#pragma pack(4)
1703
#endif
1704
typedef struct {
1705
mach_msg_header_t Head;
1706
} __Request__io_catalog_get_gen_count_t __attribute__((unused));
1707
#ifdef __MigPackStructs
1708
#pragma pack()
1709
#endif
1710
1711
#ifdef __MigPackStructs
1712
#pragma pack(4)
1713
#endif
1714
typedef struct {
1715
mach_msg_header_t Head;
1716
NDR_record_t NDR;
1717
mach_msg_type_number_t nameOffset; /* MiG doesn't use it */
1718
mach_msg_type_number_t nameCnt;
1719
char name[128];
1720
} __Request__io_catalog_module_loaded_t __attribute__((unused));
1721
#ifdef __MigPackStructs
1722
#pragma pack()
1723
#endif
1724
1725
#ifdef __MigPackStructs
1726
#pragma pack(4)
1727
#endif
1728
typedef struct {
1729
mach_msg_header_t Head;
1730
NDR_record_t NDR;
1731
uint32_t flag;
1732
} __Request__io_catalog_reset_t __attribute__((unused));
1733
#ifdef __MigPackStructs
1734
#pragma pack()
1735
#endif
1736
1737
#ifdef __MigPackStructs
1738
#pragma pack(4)
1739
#endif
1740
typedef struct {
1741
mach_msg_header_t Head;
1742
NDR_record_t NDR;
1743
uint32_t options;
1744
} __Request__io_service_request_probe_t __attribute__((unused));
1745
#ifdef __MigPackStructs
1746
#pragma pack()
1747
#endif
1748
1749
#ifdef __MigPackStructs
1750
#pragma pack(4)
1751
#endif
1752
typedef struct {
1753
mach_msg_header_t Head;
1754
NDR_record_t NDR;
1755
mach_msg_type_number_t planeOffset; /* MiG doesn't use it */
1756
mach_msg_type_number_t planeCnt;
1757
char plane[128];
1758
} __Request__io_registry_entry_get_name_in_plane_t __attribute__((unused));
1759
#ifdef __MigPackStructs
1760
#pragma pack()
1761
#endif
1762
1763
#ifdef __MigPackStructs
1764
#pragma pack(4)
1765
#endif
1766
typedef struct {
1767
mach_msg_header_t Head;
1768
NDR_record_t NDR;
1769
mach_msg_type_number_t matchingOffset; /* MiG doesn't use it */
1770
mach_msg_type_number_t matchingCnt;
1771
char matching[512];
1772
} __Request__io_service_match_property_table_t __attribute__((unused));
1773
#ifdef __MigPackStructs
1774
#pragma pack()
1775
#endif
1776
1777
#ifdef __MigPackStructs
1778
#pragma pack(4)
1779
#endif
1780
typedef struct {
1781
mach_msg_header_t Head;
1782
/* start of the kernel processed data */
1783
mach_msg_body_t msgh_body;
1784
mach_msg_port_descriptor_t wake_port;
1785
/* end of the kernel processed data */
1786
NDR_record_t NDR;
1787
mach_msg_type_number_t referenceCnt;
1788
io_user_reference_t reference[8];
1789
uint32_t selector;
1790
mach_msg_type_number_t inputCnt;
1791
io_user_scalar_t input[16];
1792
mach_msg_type_number_t outputCnt;
1793
} __Request__io_async_method_scalarI_scalarO_t __attribute__((unused));
1794
#ifdef __MigPackStructs
1795
#pragma pack()
1796
#endif
1797
1798
#ifdef __MigPackStructs
1799
#pragma pack(4)
1800
#endif
1801
typedef struct {
1802
mach_msg_header_t Head;
1803
/* start of the kernel processed data */
1804
mach_msg_body_t msgh_body;
1805
mach_msg_port_descriptor_t wake_port;
1806
/* end of the kernel processed data */
1807
NDR_record_t NDR;
1808
mach_msg_type_number_t referenceCnt;
1809
io_user_reference_t reference[8];
1810
uint32_t selector;
1811
mach_msg_type_number_t inputCnt;
1812
io_user_scalar_t input[16];
1813
mach_msg_type_number_t outputCnt;
1814
} __Request__io_async_method_scalarI_structureO_t __attribute__((unused));
1815
#ifdef __MigPackStructs
1816
#pragma pack()
1817
#endif
1818
1819
#ifdef __MigPackStructs
1820
#pragma pack(4)
1821
#endif
1822
typedef struct {
1823
mach_msg_header_t Head;
1824
/* start of the kernel processed data */
1825
mach_msg_body_t msgh_body;
1826
mach_msg_port_descriptor_t wake_port;
1827
/* end of the kernel processed data */
1828
NDR_record_t NDR;
1829
mach_msg_type_number_t referenceCnt;
1830
io_user_reference_t reference[8];
1831
uint32_t selector;
1832
mach_msg_type_number_t inputCnt;
1833
io_user_scalar_t input[16];
1834
mach_msg_type_number_t inputStructCnt;
1835
char inputStruct[4096];
1836
} __Request__io_async_method_scalarI_structureI_t __attribute__((unused));
1837
#ifdef __MigPackStructs
1838
#pragma pack()
1839
#endif
1840
1841
#ifdef __MigPackStructs
1842
#pragma pack(4)
1843
#endif
1844
typedef struct {
1845
mach_msg_header_t Head;
1846
/* start of the kernel processed data */
1847
mach_msg_body_t msgh_body;
1848
mach_msg_port_descriptor_t wake_port;
1849
/* end of the kernel processed data */
1850
NDR_record_t NDR;
1851
mach_msg_type_number_t referenceCnt;
1852
io_user_reference_t reference[8];
1853
uint32_t selector;
1854
mach_msg_type_number_t inputCnt;
1855
char input[4096];
1856
mach_msg_type_number_t outputCnt;
1857
} __Request__io_async_method_structureI_structureO_t __attribute__((unused));
1858
#ifdef __MigPackStructs
1859
#pragma pack()
1860
#endif
1861
1862
#ifdef __MigPackStructs
1863
#pragma pack(4)
1864
#endif
1865
typedef struct {
1866
mach_msg_header_t Head;
1867
/* start of the kernel processed data */
1868
mach_msg_body_t msgh_body;
1869
mach_msg_port_descriptor_t wake_port;
1870
/* end of the kernel processed data */
1871
NDR_record_t NDR;
1872
mach_msg_type_number_t notification_typeOffset; /* MiG doesn't use it */
1873
mach_msg_type_number_t notification_typeCnt;
1874
char notification_type[128];
1875
mach_msg_type_number_t matchingOffset; /* MiG doesn't use it */
1876
mach_msg_type_number_t matchingCnt;
1877
char matching[512];
1878
mach_msg_type_number_t referenceCnt;
1879
io_user_reference_t reference[8];
1880
} __Request__io_service_add_notification_t __attribute__((unused));
1881
#ifdef __MigPackStructs
1882
#pragma pack()
1883
#endif
1884
1885
#ifdef __MigPackStructs
1886
#pragma pack(4)
1887
#endif
1888
typedef struct {
1889
mach_msg_header_t Head;
1890
/* start of the kernel processed data */
1891
mach_msg_body_t msgh_body;
1892
mach_msg_port_descriptor_t wake_port;
1893
/* end of the kernel processed data */
1894
NDR_record_t NDR;
1895
mach_msg_type_number_t type_of_interestOffset; /* MiG doesn't use it */
1896
mach_msg_type_number_t type_of_interestCnt;
1897
char type_of_interest[128];
1898
mach_msg_type_number_t referenceCnt;
1899
io_user_reference_t reference[8];
1900
} __Request__io_service_add_interest_notification_t __attribute__((unused));
1901
#ifdef __MigPackStructs
1902
#pragma pack()
1903
#endif
1904
1905
#ifdef __MigPackStructs
1906
#pragma pack(4)
1907
#endif
1908
typedef struct {
1909
mach_msg_header_t Head;
1910
NDR_record_t NDR;
1911
natural_t notify_ref;
1912
natural_t response;
1913
} __Request__io_service_acknowledge_notification_t __attribute__((unused));
1914
#ifdef __MigPackStructs
1915
#pragma pack()
1916
#endif
1917
1918
#ifdef __MigPackStructs
1919
#pragma pack(4)
1920
#endif
1921
typedef struct {
1922
mach_msg_header_t Head;
1923
NDR_record_t NDR;
1924
natural_t notification_type;
1925
} __Request__io_connect_get_notification_semaphore_t __attribute__((unused));
1926
#ifdef __MigPackStructs
1927
#pragma pack()
1928
#endif
1929
1930
#ifdef __MigPackStructs
1931
#pragma pack(4)
1932
#endif
1933
typedef struct {
1934
mach_msg_header_t Head;
1935
/* start of the kernel processed data */
1936
mach_msg_body_t msgh_body;
1937
mach_msg_port_descriptor_t into_task;
1938
/* end of the kernel processed data */
1939
NDR_record_t NDR;
1940
uint32_t memory_type;
1941
vm_address_t address;
1942
} __Request__io_connect_unmap_memory_t __attribute__((unused));
1943
#ifdef __MigPackStructs
1944
#pragma pack()
1945
#endif
1946
1947
#ifdef __MigPackStructs
1948
#pragma pack(4)
1949
#endif
1950
typedef struct {
1951
mach_msg_header_t Head;
1952
NDR_record_t NDR;
1953
mach_msg_type_number_t planeOffset; /* MiG doesn't use it */
1954
mach_msg_type_number_t planeCnt;
1955
char plane[128];
1956
} __Request__io_registry_entry_get_location_in_plane_t __attribute__((unused));
1957
#ifdef __MigPackStructs
1958
#pragma pack()
1959
#endif
1960
1961
#ifdef __MigPackStructs
1962
#pragma pack(4)
1963
#endif
1964
typedef struct {
1965
mach_msg_header_t Head;
1966
NDR_record_t NDR;
1967
mach_msg_type_number_t planeOffset; /* MiG doesn't use it */
1968
mach_msg_type_number_t planeCnt;
1969
char plane[128];
1970
mach_msg_type_number_t property_nameOffset; /* MiG doesn't use it */
1971
mach_msg_type_number_t property_nameCnt;
1972
char property_name[128];
1973
uint32_t options;
1974
} __Request__io_registry_entry_get_property_recursively_t __attribute__((unused));
1975
#ifdef __MigPackStructs
1976
#pragma pack()
1977
#endif
1978
1979
#ifdef __MigPackStructs
1980
#pragma pack(4)
1981
#endif
1982
typedef struct {
1983
mach_msg_header_t Head;
1984
} __Request__io_service_get_state_t __attribute__((unused));
1985
#ifdef __MigPackStructs
1986
#pragma pack()
1987
#endif
1988
1989
#ifdef __MigPackStructs
1990
#pragma pack(4)
1991
#endif
1992
typedef struct {
1993
mach_msg_header_t Head;
1994
/* start of the kernel processed data */
1995
mach_msg_body_t msgh_body;
1996
mach_msg_ool_descriptor_t matching;
1997
/* end of the kernel processed data */
1998
NDR_record_t NDR;
1999
mach_msg_type_number_t matchingCnt;
2000
} __Request__io_service_get_matching_services_ool_t __attribute__((unused));
2001
#ifdef __MigPackStructs
2002
#pragma pack()
2003
#endif
2004
2005
#ifdef __MigPackStructs
2006
#pragma pack(4)
2007
#endif
2008
typedef struct {
2009
mach_msg_header_t Head;
2010
/* start of the kernel processed data */
2011
mach_msg_body_t msgh_body;
2012
mach_msg_ool_descriptor_t matching;
2013
/* end of the kernel processed data */
2014
NDR_record_t NDR;
2015
mach_msg_type_number_t matchingCnt;
2016
} __Request__io_service_match_property_table_ool_t __attribute__((unused));
2017
#ifdef __MigPackStructs
2018
#pragma pack()
2019
#endif
2020
2021
#ifdef __MigPackStructs
2022
#pragma pack(4)
2023
#endif
2024
typedef struct {
2025
mach_msg_header_t Head;
2026
/* start of the kernel processed data */
2027
mach_msg_body_t msgh_body;
2028
mach_msg_ool_descriptor_t matching;
2029
mach_msg_port_descriptor_t wake_port;
2030
/* end of the kernel processed data */
2031
NDR_record_t NDR;
2032
mach_msg_type_number_t notification_typeOffset; /* MiG doesn't use it */
2033
mach_msg_type_number_t notification_typeCnt;
2034
char notification_type[128];
2035
mach_msg_type_number_t matchingCnt;
2036
mach_msg_type_number_t referenceCnt;
2037
io_user_reference_t reference[8];
2038
} __Request__io_service_add_notification_ool_t __attribute__((unused));
2039
#ifdef __MigPackStructs
2040
#pragma pack()
2041
#endif
2042
2043
#ifdef __MigPackStructs
2044
#pragma pack(4)
2045
#endif
2046
typedef struct {
2047
mach_msg_header_t Head;
2048
NDR_record_t NDR;
2049
mach_msg_type_number_t obj_nameOffset; /* MiG doesn't use it */
2050
mach_msg_type_number_t obj_nameCnt;
2051
char obj_name[128];
2052
} __Request__io_object_get_superclass_t __attribute__((unused));
2053
#ifdef __MigPackStructs
2054
#pragma pack()
2055
#endif
2056
2057
#ifdef __MigPackStructs
2058
#pragma pack(4)
2059
#endif
2060
typedef struct {
2061
mach_msg_header_t Head;
2062
NDR_record_t NDR;
2063
mach_msg_type_number_t obj_nameOffset; /* MiG doesn't use it */
2064
mach_msg_type_number_t obj_nameCnt;
2065
char obj_name[128];
2066
} __Request__io_object_get_bundle_identifier_t __attribute__((unused));
2067
#ifdef __MigPackStructs
2068
#pragma pack()
2069
#endif
2070
2071
#ifdef __MigPackStructs
2072
#pragma pack(4)
2073
#endif
2074
typedef struct {
2075
mach_msg_header_t Head;
2076
/* start of the kernel processed data */
2077
mach_msg_body_t msgh_body;
2078
mach_msg_port_descriptor_t owningTask;
2079
mach_msg_ool_descriptor_t properties;
2080
/* end of the kernel processed data */
2081
NDR_record_t NDR;
2082
uint32_t connect_type;
2083
NDR_record_t ndr;
2084
mach_msg_type_number_t propertiesCnt;
2085
} __Request__io_service_open_extended_t __attribute__((unused));
2086
#ifdef __MigPackStructs
2087
#pragma pack()
2088
#endif
2089
2090
#ifdef __MigPackStructs
2091
#pragma pack(4)
2092
#endif
2093
typedef struct {
2094
mach_msg_header_t Head;
2095
/* start of the kernel processed data */
2096
mach_msg_body_t msgh_body;
2097
mach_msg_port_descriptor_t into_task;
2098
/* end of the kernel processed data */
2099
NDR_record_t NDR;
2100
uint32_t memory_type;
2101
mach_vm_address_t address;
2102
mach_vm_size_t size;
2103
uint32_t flags;
2104
} __Request__io_connect_map_memory_into_task_t __attribute__((unused));
2105
#ifdef __MigPackStructs
2106
#pragma pack()
2107
#endif
2108
2109
#ifdef __MigPackStructs
2110
#pragma pack(4)
2111
#endif
2112
typedef struct {
2113
mach_msg_header_t Head;
2114
/* start of the kernel processed data */
2115
mach_msg_body_t msgh_body;
2116
mach_msg_port_descriptor_t from_task;
2117
/* end of the kernel processed data */
2118
NDR_record_t NDR;
2119
uint32_t memory_type;
2120
mach_vm_address_t address;
2121
} __Request__io_connect_unmap_memory_from_task_t __attribute__((unused));
2122
#ifdef __MigPackStructs
2123
#pragma pack()
2124
#endif
2125
2126
#ifdef __MigPackStructs
2127
#pragma pack(4)
2128
#endif
2129
typedef struct {
2130
mach_msg_header_t Head;
2131
NDR_record_t NDR;
2132
uint32_t selector;
2133
mach_msg_type_number_t scalar_inputCnt;
2134
uint64_t scalar_input[16];
2135
mach_msg_type_number_t inband_inputCnt;
2136
char inband_input[4096];
2137
mach_vm_address_t ool_input;
2138
mach_vm_size_t ool_input_size;
2139
mach_msg_type_number_t inband_outputCnt;
2140
mach_msg_type_number_t scalar_outputCnt;
2141
mach_vm_address_t ool_output;
2142
mach_vm_size_t ool_output_size;
2143
} __Request__io_connect_method_t __attribute__((unused));
2144
#ifdef __MigPackStructs
2145
#pragma pack()
2146
#endif
2147
2148
#ifdef __MigPackStructs
2149
#pragma pack(4)
2150
#endif
2151
typedef struct {
2152
mach_msg_header_t Head;
2153
/* start of the kernel processed data */
2154
mach_msg_body_t msgh_body;
2155
mach_msg_port_descriptor_t wake_port;
2156
/* end of the kernel processed data */
2157
NDR_record_t NDR;
2158
mach_msg_type_number_t referenceCnt;
2159
uint64_t reference[8];
2160
uint32_t selector;
2161
mach_msg_type_number_t scalar_inputCnt;
2162
uint64_t scalar_input[16];
2163
mach_msg_type_number_t inband_inputCnt;
2164
char inband_input[4096];
2165
mach_vm_address_t ool_input;
2166
mach_vm_size_t ool_input_size;
2167
mach_msg_type_number_t inband_outputCnt;
2168
mach_msg_type_number_t scalar_outputCnt;
2169
mach_vm_address_t ool_output;
2170
mach_vm_size_t ool_output_size;
2171
} __Request__io_connect_async_method_t __attribute__((unused));
2172
#ifdef __MigPackStructs
2173
#pragma pack()
2174
#endif
2175
2176
#ifdef __MigPackStructs
2177
#pragma pack(4)
2178
#endif
2179
typedef struct {
2180
mach_msg_header_t Head;
2181
} __Request__io_registry_entry_get_registry_entry_id_t __attribute__((unused));
2182
#ifdef __MigPackStructs
2183
#pragma pack()
2184
#endif
2185
2186
#ifdef __MigPackStructs
2187
#pragma pack(4)
2188
#endif
2189
typedef struct {
2190
mach_msg_header_t Head;
2191
NDR_record_t NDR;
2192
uint32_t selector;
2193
mach_msg_type_number_t scalar_inputCnt;
2194
uint64_t scalar_input[16];
2195
mach_msg_type_number_t inband_inputCnt;
2196
char inband_input[4096];
2197
mach_vm_address_t ool_input;
2198
mach_vm_size_t ool_input_size;
2199
mach_msg_type_number_t inband_outputCnt;
2200
mach_msg_type_number_t scalar_outputCnt;
2201
} __Request__io_connect_method_var_output_t __attribute__((unused));
2202
#ifdef __MigPackStructs
2203
#pragma pack()
2204
#endif
2205
2206
#ifdef __MigPackStructs
2207
#pragma pack(4)
2208
#endif
2209
typedef struct {
2210
mach_msg_header_t Head;
2211
NDR_record_t NDR;
2212
mach_msg_type_number_t matchingOffset; /* MiG doesn't use it */
2213
mach_msg_type_number_t matchingCnt;
2214
char matching[512];
2215
} __Request__io_service_get_matching_service_t __attribute__((unused));
2216
#ifdef __MigPackStructs
2217
#pragma pack()
2218
#endif
2219
2220
#ifdef __MigPackStructs
2221
#pragma pack(4)
2222
#endif
2223
typedef struct {
2224
mach_msg_header_t Head;
2225
/* start of the kernel processed data */
2226
mach_msg_body_t msgh_body;
2227
mach_msg_ool_descriptor_t matching;
2228
/* end of the kernel processed data */
2229
NDR_record_t NDR;
2230
mach_msg_type_number_t matchingCnt;
2231
} __Request__io_service_get_matching_service_ool_t __attribute__((unused));
2232
#ifdef __MigPackStructs
2233
#pragma pack()
2234
#endif
2235
2236
#ifdef __MigPackStructs
2237
#pragma pack(4)
2238
#endif
2239
typedef struct {
2240
mach_msg_header_t Head;
2241
} __Request__io_service_get_authorization_id_t __attribute__((unused));
2242
#ifdef __MigPackStructs
2243
#pragma pack()
2244
#endif
2245
2246
#ifdef __MigPackStructs
2247
#pragma pack(4)
2248
#endif
2249
typedef struct {
2250
mach_msg_header_t Head;
2251
NDR_record_t NDR;
2252
uint64_t authorization_id;
2253
} __Request__io_service_set_authorization_id_t __attribute__((unused));
2254
#ifdef __MigPackStructs
2255
#pragma pack()
2256
#endif
2257
2258
#ifdef __MigPackStructs
2259
#pragma pack(4)
2260
#endif
2261
typedef struct {
2262
mach_msg_header_t Head;
2263
} __Request__io_server_version_t __attribute__((unused));
2264
#ifdef __MigPackStructs
2265
#pragma pack()
2266
#endif
2267
2268
#ifdef __MigPackStructs
2269
#pragma pack(4)
2270
#endif
2271
typedef struct {
2272
mach_msg_header_t Head;
2273
} __Request__io_registry_entry_get_properties_bin_t __attribute__((unused));
2274
#ifdef __MigPackStructs
2275
#pragma pack()
2276
#endif
2277
2278
#ifdef __MigPackStructs
2279
#pragma pack(4)
2280
#endif
2281
typedef struct {
2282
mach_msg_header_t Head;
2283
NDR_record_t NDR;
2284
mach_msg_type_number_t planeOffset; /* MiG doesn't use it */
2285
mach_msg_type_number_t planeCnt;
2286
char plane[128];
2287
mach_msg_type_number_t property_nameOffset; /* MiG doesn't use it */
2288
mach_msg_type_number_t property_nameCnt;
2289
char property_name[128];
2290
uint32_t options;
2291
} __Request__io_registry_entry_get_property_bin_t __attribute__((unused));
2292
#ifdef __MigPackStructs
2293
#pragma pack()
2294
#endif
2295
2296
#ifdef __MigPackStructs
2297
#pragma pack(4)
2298
#endif
2299
typedef struct {
2300
mach_msg_header_t Head;
2301
NDR_record_t NDR;
2302
mach_msg_type_number_t matchingCnt;
2303
char matching[4096];
2304
} __Request__io_service_get_matching_service_bin_t __attribute__((unused));
2305
#ifdef __MigPackStructs
2306
#pragma pack()
2307
#endif
2308
2309
#ifdef __MigPackStructs
2310
#pragma pack(4)
2311
#endif
2312
typedef struct {
2313
mach_msg_header_t Head;
2314
NDR_record_t NDR;
2315
mach_msg_type_number_t matchingCnt;
2316
char matching[4096];
2317
} __Request__io_service_get_matching_services_bin_t __attribute__((unused));
2318
#ifdef __MigPackStructs
2319
#pragma pack()
2320
#endif
2321
2322
#ifdef __MigPackStructs
2323
#pragma pack(4)
2324
#endif
2325
typedef struct {
2326
mach_msg_header_t Head;
2327
NDR_record_t NDR;
2328
mach_msg_type_number_t matchingCnt;
2329
char matching[4096];
2330
} __Request__io_service_match_property_table_bin_t __attribute__((unused));
2331
#ifdef __MigPackStructs
2332
#pragma pack()
2333
#endif
2334
2335
#ifdef __MigPackStructs
2336
#pragma pack(4)
2337
#endif
2338
typedef struct {
2339
mach_msg_header_t Head;
2340
/* start of the kernel processed data */
2341
mach_msg_body_t msgh_body;
2342
mach_msg_port_descriptor_t wake_port;
2343
/* end of the kernel processed data */
2344
NDR_record_t NDR;
2345
mach_msg_type_number_t notification_typeOffset; /* MiG doesn't use it */
2346
mach_msg_type_number_t notification_typeCnt;
2347
char notification_type[128];
2348
mach_msg_type_number_t matchingCnt;
2349
char matching[4096];
2350
mach_msg_type_number_t referenceCnt;
2351
io_user_reference_t reference[8];
2352
} __Request__io_service_add_notification_bin_t __attribute__((unused));
2353
#ifdef __MigPackStructs
2354
#pragma pack()
2355
#endif
2356
2357
#ifdef __MigPackStructs
2358
#pragma pack(4)
2359
#endif
2360
typedef struct {
2361
mach_msg_header_t Head;
2362
NDR_record_t NDR;
2363
mach_msg_type_number_t planeOffset; /* MiG doesn't use it */
2364
mach_msg_type_number_t planeCnt;
2365
char plane[128];
2366
} __Request__io_registry_entry_get_path_ool_t __attribute__((unused));
2367
#ifdef __MigPackStructs
2368
#pragma pack()
2369
#endif
2370
2371
#ifdef __MigPackStructs
2372
#pragma pack(4)
2373
#endif
2374
typedef struct {
2375
mach_msg_header_t Head;
2376
/* start of the kernel processed data */
2377
mach_msg_body_t msgh_body;
2378
mach_msg_ool_descriptor_t path_ool;
2379
/* end of the kernel processed data */
2380
NDR_record_t NDR;
2381
mach_msg_type_number_t pathOffset; /* MiG doesn't use it */
2382
mach_msg_type_number_t pathCnt;
2383
char path[4096];
2384
mach_msg_type_number_t path_oolCnt;
2385
} __Request__io_registry_entry_from_path_ool_t __attribute__((unused));
2386
#ifdef __MigPackStructs
2387
#pragma pack()
2388
#endif
2389
#endif /* !__Request__iokit_subsystem__defined */
2390
2391
/* union of all requests */
2392
2393
#ifndef __RequestUnion__iokit_subsystem__defined
2394
#define __RequestUnion__iokit_subsystem__defined
2395
union __RequestUnion__iokit_subsystem {
2396
__Request__io_object_get_class_t Request_io_object_get_class;
2397
__Request__io_object_conforms_to_t Request_io_object_conforms_to;
2398
__Request__io_iterator_next_t Request_io_iterator_next;
2399
__Request__io_iterator_reset_t Request_io_iterator_reset;
2400
__Request__io_service_get_matching_services_t Request_io_service_get_matching_services;
2401
__Request__io_registry_entry_get_property_t Request_io_registry_entry_get_property;
2402
__Request__io_registry_create_iterator_t Request_io_registry_create_iterator;
2403
__Request__io_registry_iterator_enter_entry_t Request_io_registry_iterator_enter_entry;
2404
__Request__io_registry_iterator_exit_entry_t Request_io_registry_iterator_exit_entry;
2405
__Request__io_registry_entry_from_path_t Request_io_registry_entry_from_path;
2406
__Request__io_registry_entry_get_name_t Request_io_registry_entry_get_name;
2407
__Request__io_registry_entry_get_properties_t Request_io_registry_entry_get_properties;
2408
__Request__io_registry_entry_get_property_bytes_t Request_io_registry_entry_get_property_bytes;
2409
__Request__io_registry_entry_get_child_iterator_t Request_io_registry_entry_get_child_iterator;
2410
__Request__io_registry_entry_get_parent_iterator_t Request_io_registry_entry_get_parent_iterator;
2411
__Request__io_service_close_t Request_io_service_close;
2412
__Request__io_connect_get_service_t Request_io_connect_get_service;
2413
__Request__io_connect_set_notification_port_t Request_io_connect_set_notification_port;
2414
__Request__io_connect_map_memory_t Request_io_connect_map_memory;
2415
__Request__io_connect_add_client_t Request_io_connect_add_client;
2416
__Request__io_connect_set_properties_t Request_io_connect_set_properties;
2417
__Request__io_connect_method_scalarI_scalarO_t Request_io_connect_method_scalarI_scalarO;
2418
__Request__io_connect_method_scalarI_structureO_t Request_io_connect_method_scalarI_structureO;
2419
__Request__io_connect_method_scalarI_structureI_t Request_io_connect_method_scalarI_structureI;
2420
__Request__io_connect_method_structureI_structureO_t Request_io_connect_method_structureI_structureO;
2421
__Request__io_registry_entry_get_path_t Request_io_registry_entry_get_path;
2422
__Request__io_registry_get_root_entry_t Request_io_registry_get_root_entry;
2423
__Request__io_registry_entry_set_properties_t Request_io_registry_entry_set_properties;
2424
__Request__io_registry_entry_in_plane_t Request_io_registry_entry_in_plane;
2425
__Request__io_object_get_retain_count_t Request_io_object_get_retain_count;
2426
__Request__io_service_get_busy_state_t Request_io_service_get_busy_state;
2427
__Request__io_service_wait_quiet_t Request_io_service_wait_quiet;
2428
__Request__io_registry_entry_create_iterator_t Request_io_registry_entry_create_iterator;
2429
__Request__io_iterator_is_valid_t Request_io_iterator_is_valid;
2430
__Request__io_catalog_send_data_t Request_io_catalog_send_data;
2431
__Request__io_catalog_terminate_t Request_io_catalog_terminate;
2432
__Request__io_catalog_get_data_t Request_io_catalog_get_data;
2433
__Request__io_catalog_get_gen_count_t Request_io_catalog_get_gen_count;
2434
__Request__io_catalog_module_loaded_t Request_io_catalog_module_loaded;
2435
__Request__io_catalog_reset_t Request_io_catalog_reset;
2436
__Request__io_service_request_probe_t Request_io_service_request_probe;
2437
__Request__io_registry_entry_get_name_in_plane_t Request_io_registry_entry_get_name_in_plane;
2438
__Request__io_service_match_property_table_t Request_io_service_match_property_table;
2439
__Request__io_async_method_scalarI_scalarO_t Request_io_async_method_scalarI_scalarO;
2440
__Request__io_async_method_scalarI_structureO_t Request_io_async_method_scalarI_structureO;
2441
__Request__io_async_method_scalarI_structureI_t Request_io_async_method_scalarI_structureI;
2442
__Request__io_async_method_structureI_structureO_t Request_io_async_method_structureI_structureO;
2443
__Request__io_service_add_notification_t Request_io_service_add_notification;
2444
__Request__io_service_add_interest_notification_t Request_io_service_add_interest_notification;
2445
__Request__io_service_acknowledge_notification_t Request_io_service_acknowledge_notification;
2446
__Request__io_connect_get_notification_semaphore_t Request_io_connect_get_notification_semaphore;
2447
__Request__io_connect_unmap_memory_t Request_io_connect_unmap_memory;
2448
__Request__io_registry_entry_get_location_in_plane_t Request_io_registry_entry_get_location_in_plane;
2449
__Request__io_registry_entry_get_property_recursively_t Request_io_registry_entry_get_property_recursively;
2450
__Request__io_service_get_state_t Request_io_service_get_state;
2451
__Request__io_service_get_matching_services_ool_t Request_io_service_get_matching_services_ool;
2452
__Request__io_service_match_property_table_ool_t Request_io_service_match_property_table_ool;
2453
__Request__io_service_add_notification_ool_t Request_io_service_add_notification_ool;
2454
__Request__io_object_get_superclass_t Request_io_object_get_superclass;
2455
__Request__io_object_get_bundle_identifier_t Request_io_object_get_bundle_identifier;
2456
__Request__io_service_open_extended_t Request_io_service_open_extended;
2457
__Request__io_connect_map_memory_into_task_t Request_io_connect_map_memory_into_task;
2458
__Request__io_connect_unmap_memory_from_task_t Request_io_connect_unmap_memory_from_task;
2459
__Request__io_connect_method_t Request_io_connect_method;
2460
__Request__io_connect_async_method_t Request_io_connect_async_method;
2461
__Request__io_registry_entry_get_registry_entry_id_t Request_io_registry_entry_get_registry_entry_id;
2462
__Request__io_connect_method_var_output_t Request_io_connect_method_var_output;
2463
__Request__io_service_get_matching_service_t Request_io_service_get_matching_service;
2464
__Request__io_service_get_matching_service_ool_t Request_io_service_get_matching_service_ool;
2465
__Request__io_service_get_authorization_id_t Request_io_service_get_authorization_id;
2466
__Request__io_service_set_authorization_id_t Request_io_service_set_authorization_id;
2467
__Request__io_server_version_t Request_io_server_version;
2468
__Request__io_registry_entry_get_properties_bin_t Request_io_registry_entry_get_properties_bin;
2469
__Request__io_registry_entry_get_property_bin_t Request_io_registry_entry_get_property_bin;
2470
__Request__io_service_get_matching_service_bin_t Request_io_service_get_matching_service_bin;
2471
__Request__io_service_get_matching_services_bin_t Request_io_service_get_matching_services_bin;
2472
__Request__io_service_match_property_table_bin_t Request_io_service_match_property_table_bin;
2473
__Request__io_service_add_notification_bin_t Request_io_service_add_notification_bin;
2474
__Request__io_registry_entry_get_path_ool_t Request_io_registry_entry_get_path_ool;
2475
__Request__io_registry_entry_from_path_ool_t Request_io_registry_entry_from_path_ool;
2476
};
2477
#endif /* !__RequestUnion__iokit_subsystem__defined */
2478
/* typedefs for all replies */
2479
2480
#ifndef __Reply__iokit_subsystem__defined
2481
#define __Reply__iokit_subsystem__defined
2482
2483
#ifdef __MigPackStructs
2484
#pragma pack(4)
2485
#endif
2486
typedef struct {
2487
mach_msg_header_t Head;
2488
NDR_record_t NDR;
2489
kern_return_t RetCode;
2490
mach_msg_type_number_t classNameOffset; /* MiG doesn't use it */
2491
mach_msg_type_number_t classNameCnt;
2492
char className[128];
2493
} __Reply__io_object_get_class_t __attribute__((unused));
2494
#ifdef __MigPackStructs
2495
#pragma pack()
2496
#endif
2497
2498
#ifdef __MigPackStructs
2499
#pragma pack(4)
2500
#endif
2501
typedef struct {
2502
mach_msg_header_t Head;
2503
NDR_record_t NDR;
2504
kern_return_t RetCode;
2505
boolean_t conforms;
2506
} __Reply__io_object_conforms_to_t __attribute__((unused));
2507
#ifdef __MigPackStructs
2508
#pragma pack()
2509
#endif
2510
2511
#ifdef __MigPackStructs
2512
#pragma pack(4)
2513
#endif
2514
typedef struct {
2515
mach_msg_header_t Head;
2516
/* start of the kernel processed data */
2517
mach_msg_body_t msgh_body;
2518
mach_msg_port_descriptor_t object;
2519
/* end of the kernel processed data */
2520
} __Reply__io_iterator_next_t __attribute__((unused));
2521
#ifdef __MigPackStructs
2522
#pragma pack()
2523
#endif
2524
2525
#ifdef __MigPackStructs
2526
#pragma pack(4)
2527
#endif
2528
typedef struct {
2529
mach_msg_header_t Head;
2530
NDR_record_t NDR;
2531
kern_return_t RetCode;
2532
} __Reply__io_iterator_reset_t __attribute__((unused));
2533
#ifdef __MigPackStructs
2534
#pragma pack()
2535
#endif
2536
2537
#ifdef __MigPackStructs
2538
#pragma pack(4)
2539
#endif
2540
typedef struct {
2541
mach_msg_header_t Head;
2542
/* start of the kernel processed data */
2543
mach_msg_body_t msgh_body;
2544
mach_msg_port_descriptor_t existing;
2545
/* end of the kernel processed data */
2546
} __Reply__io_service_get_matching_services_t __attribute__((unused));
2547
#ifdef __MigPackStructs
2548
#pragma pack()
2549
#endif
2550
2551
#ifdef __MigPackStructs
2552
#pragma pack(4)
2553
#endif
2554
typedef struct {
2555
mach_msg_header_t Head;
2556
/* start of the kernel processed data */
2557
mach_msg_body_t msgh_body;
2558
mach_msg_ool_descriptor_t properties;
2559
/* end of the kernel processed data */
2560
NDR_record_t NDR;
2561
mach_msg_type_number_t propertiesCnt;
2562
} __Reply__io_registry_entry_get_property_t __attribute__((unused));
2563
#ifdef __MigPackStructs
2564
#pragma pack()
2565
#endif
2566
2567
#ifdef __MigPackStructs
2568
#pragma pack(4)
2569
#endif
2570
typedef struct {
2571
mach_msg_header_t Head;
2572
/* start of the kernel processed data */
2573
mach_msg_body_t msgh_body;
2574
mach_msg_port_descriptor_t iterator;
2575
/* end of the kernel processed data */
2576
} __Reply__io_registry_create_iterator_t __attribute__((unused));
2577
#ifdef __MigPackStructs
2578
#pragma pack()
2579
#endif
2580
2581
#ifdef __MigPackStructs
2582
#pragma pack(4)
2583
#endif
2584
typedef struct {
2585
mach_msg_header_t Head;
2586
NDR_record_t NDR;
2587
kern_return_t RetCode;
2588
} __Reply__io_registry_iterator_enter_entry_t __attribute__((unused));
2589
#ifdef __MigPackStructs
2590
#pragma pack()
2591
#endif
2592
2593
#ifdef __MigPackStructs
2594
#pragma pack(4)
2595
#endif
2596
typedef struct {
2597
mach_msg_header_t Head;
2598
NDR_record_t NDR;
2599
kern_return_t RetCode;
2600
} __Reply__io_registry_iterator_exit_entry_t __attribute__((unused));
2601
#ifdef __MigPackStructs
2602
#pragma pack()
2603
#endif
2604
2605
#ifdef __MigPackStructs
2606
#pragma pack(4)
2607
#endif
2608
typedef struct {
2609
mach_msg_header_t Head;
2610
/* start of the kernel processed data */
2611
mach_msg_body_t msgh_body;
2612
mach_msg_port_descriptor_t registry_entry;
2613
/* end of the kernel processed data */
2614
} __Reply__io_registry_entry_from_path_t __attribute__((unused));
2615
#ifdef __MigPackStructs
2616
#pragma pack()
2617
#endif
2618
2619
#ifdef __MigPackStructs
2620
#pragma pack(4)
2621
#endif
2622
typedef struct {
2623
mach_msg_header_t Head;
2624
NDR_record_t NDR;
2625
kern_return_t RetCode;
2626
mach_msg_type_number_t nameOffset; /* MiG doesn't use it */
2627
mach_msg_type_number_t nameCnt;
2628
char name[128];
2629
} __Reply__io_registry_entry_get_name_t __attribute__((unused));
2630
#ifdef __MigPackStructs
2631
#pragma pack()
2632
#endif
2633
2634
#ifdef __MigPackStructs
2635
#pragma pack(4)
2636
#endif
2637
typedef struct {
2638
mach_msg_header_t Head;
2639
/* start of the kernel processed data */
2640
mach_msg_body_t msgh_body;
2641
mach_msg_ool_descriptor_t properties;
2642
/* end of the kernel processed data */
2643
NDR_record_t NDR;
2644
mach_msg_type_number_t propertiesCnt;
2645
} __Reply__io_registry_entry_get_properties_t __attribute__((unused));
2646
#ifdef __MigPackStructs
2647
#pragma pack()
2648
#endif
2649
2650
#ifdef __MigPackStructs
2651
#pragma pack(4)
2652
#endif
2653
typedef struct {
2654
mach_msg_header_t Head;
2655
NDR_record_t NDR;
2656
kern_return_t RetCode;
2657
mach_msg_type_number_t dataCnt;
2658
char data[4096];
2659
} __Reply__io_registry_entry_get_property_bytes_t __attribute__((unused));
2660
#ifdef __MigPackStructs
2661
#pragma pack()
2662
#endif
2663
2664
#ifdef __MigPackStructs
2665
#pragma pack(4)
2666
#endif
2667
typedef struct {
2668
mach_msg_header_t Head;
2669
/* start of the kernel processed data */
2670
mach_msg_body_t msgh_body;
2671
mach_msg_port_descriptor_t iterator;
2672
/* end of the kernel processed data */
2673
} __Reply__io_registry_entry_get_child_iterator_t __attribute__((unused));
2674
#ifdef __MigPackStructs
2675
#pragma pack()
2676
#endif
2677
2678
#ifdef __MigPackStructs
2679
#pragma pack(4)
2680
#endif
2681
typedef struct {
2682
mach_msg_header_t Head;
2683
/* start of the kernel processed data */
2684
mach_msg_body_t msgh_body;
2685
mach_msg_port_descriptor_t iterator;
2686
/* end of the kernel processed data */
2687
} __Reply__io_registry_entry_get_parent_iterator_t __attribute__((unused));
2688
#ifdef __MigPackStructs
2689
#pragma pack()
2690
#endif
2691
2692
#ifdef __MigPackStructs
2693
#pragma pack(4)
2694
#endif
2695
typedef struct {
2696
mach_msg_header_t Head;
2697
NDR_record_t NDR;
2698
kern_return_t RetCode;
2699
} __Reply__io_service_close_t __attribute__((unused));
2700
#ifdef __MigPackStructs
2701
#pragma pack()
2702
#endif
2703
2704
#ifdef __MigPackStructs
2705
#pragma pack(4)
2706
#endif
2707
typedef struct {
2708
mach_msg_header_t Head;
2709
/* start of the kernel processed data */
2710
mach_msg_body_t msgh_body;
2711
mach_msg_port_descriptor_t service;
2712
/* end of the kernel processed data */
2713
} __Reply__io_connect_get_service_t __attribute__((unused));
2714
#ifdef __MigPackStructs
2715
#pragma pack()
2716
#endif
2717
2718
#ifdef __MigPackStructs
2719
#pragma pack(4)
2720
#endif
2721
typedef struct {
2722
mach_msg_header_t Head;
2723
NDR_record_t NDR;
2724
kern_return_t RetCode;
2725
} __Reply__io_connect_set_notification_port_t __attribute__((unused));
2726
#ifdef __MigPackStructs
2727
#pragma pack()
2728
#endif
2729
2730
#ifdef __MigPackStructs
2731
#pragma pack(4)
2732
#endif
2733
typedef struct {
2734
mach_msg_header_t Head;
2735
NDR_record_t NDR;
2736
kern_return_t RetCode;
2737
vm_address_t address;
2738
vm_size_t size;
2739
} __Reply__io_connect_map_memory_t __attribute__((unused));
2740
#ifdef __MigPackStructs
2741
#pragma pack()
2742
#endif
2743
2744
#ifdef __MigPackStructs
2745
#pragma pack(4)
2746
#endif
2747
typedef struct {
2748
mach_msg_header_t Head;
2749
NDR_record_t NDR;
2750
kern_return_t RetCode;
2751
} __Reply__io_connect_add_client_t __attribute__((unused));
2752
#ifdef __MigPackStructs
2753
#pragma pack()
2754
#endif
2755
2756
#ifdef __MigPackStructs
2757
#pragma pack(4)
2758
#endif
2759
typedef struct {
2760
mach_msg_header_t Head;
2761
NDR_record_t NDR;
2762
kern_return_t RetCode;
2763
kern_return_t result;
2764
} __Reply__io_connect_set_properties_t __attribute__((unused));
2765
#ifdef __MigPackStructs
2766
#pragma pack()
2767
#endif
2768
2769
#ifdef __MigPackStructs
2770
#pragma pack(4)
2771
#endif
2772
typedef struct {
2773
mach_msg_header_t Head;
2774
NDR_record_t NDR;
2775
kern_return_t RetCode;
2776
mach_msg_type_number_t outputCnt;
2777
io_user_scalar_t output[16];
2778
} __Reply__io_connect_method_scalarI_scalarO_t __attribute__((unused));
2779
#ifdef __MigPackStructs
2780
#pragma pack()
2781
#endif
2782
2783
#ifdef __MigPackStructs
2784
#pragma pack(4)
2785
#endif
2786
typedef struct {
2787
mach_msg_header_t Head;
2788
NDR_record_t NDR;
2789
kern_return_t RetCode;
2790
mach_msg_type_number_t outputCnt;
2791
char output[4096];
2792
} __Reply__io_connect_method_scalarI_structureO_t __attribute__((unused));
2793
#ifdef __MigPackStructs
2794
#pragma pack()
2795
#endif
2796
2797
#ifdef __MigPackStructs
2798
#pragma pack(4)
2799
#endif
2800
typedef struct {
2801
mach_msg_header_t Head;
2802
NDR_record_t NDR;
2803
kern_return_t RetCode;
2804
} __Reply__io_connect_method_scalarI_structureI_t __attribute__((unused));
2805
#ifdef __MigPackStructs
2806
#pragma pack()
2807
#endif
2808
2809
#ifdef __MigPackStructs
2810
#pragma pack(4)
2811
#endif
2812
typedef struct {
2813
mach_msg_header_t Head;
2814
NDR_record_t NDR;
2815
kern_return_t RetCode;
2816
mach_msg_type_number_t outputCnt;
2817
char output[4096];
2818
} __Reply__io_connect_method_structureI_structureO_t __attribute__((unused));
2819
#ifdef __MigPackStructs
2820
#pragma pack()
2821
#endif
2822
2823
#ifdef __MigPackStructs
2824
#pragma pack(4)
2825
#endif
2826
typedef struct {
2827
mach_msg_header_t Head;
2828
NDR_record_t NDR;
2829
kern_return_t RetCode;
2830
mach_msg_type_number_t pathOffset; /* MiG doesn't use it */
2831
mach_msg_type_number_t pathCnt;
2832
char path[512];
2833
} __Reply__io_registry_entry_get_path_t __attribute__((unused));
2834
#ifdef __MigPackStructs
2835
#pragma pack()
2836
#endif
2837
2838
#ifdef __MigPackStructs
2839
#pragma pack(4)
2840
#endif
2841
typedef struct {
2842
mach_msg_header_t Head;
2843
/* start of the kernel processed data */
2844
mach_msg_body_t msgh_body;
2845
mach_msg_port_descriptor_t root;
2846
/* end of the kernel processed data */
2847
} __Reply__io_registry_get_root_entry_t __attribute__((unused));
2848
#ifdef __MigPackStructs
2849
#pragma pack()
2850
#endif
2851
2852
#ifdef __MigPackStructs
2853
#pragma pack(4)
2854
#endif
2855
typedef struct {
2856
mach_msg_header_t Head;
2857
NDR_record_t NDR;
2858
kern_return_t RetCode;
2859
kern_return_t result;
2860
} __Reply__io_registry_entry_set_properties_t __attribute__((unused));
2861
#ifdef __MigPackStructs
2862
#pragma pack()
2863
#endif
2864
2865
#ifdef __MigPackStructs
2866
#pragma pack(4)
2867
#endif
2868
typedef struct {
2869
mach_msg_header_t Head;
2870
NDR_record_t NDR;
2871
kern_return_t RetCode;
2872
boolean_t inPlane;
2873
} __Reply__io_registry_entry_in_plane_t __attribute__((unused));
2874
#ifdef __MigPackStructs
2875
#pragma pack()
2876
#endif
2877
2878
#ifdef __MigPackStructs
2879
#pragma pack(4)
2880
#endif
2881
typedef struct {
2882
mach_msg_header_t Head;
2883
NDR_record_t NDR;
2884
kern_return_t RetCode;
2885
uint32_t retainCount;
2886
} __Reply__io_object_get_retain_count_t __attribute__((unused));
2887
#ifdef __MigPackStructs
2888
#pragma pack()
2889
#endif
2890
2891
#ifdef __MigPackStructs
2892
#pragma pack(4)
2893
#endif
2894
typedef struct {
2895
mach_msg_header_t Head;
2896
NDR_record_t NDR;
2897
kern_return_t RetCode;
2898
uint32_t busyState;
2899
} __Reply__io_service_get_busy_state_t __attribute__((unused));
2900
#ifdef __MigPackStructs
2901
#pragma pack()
2902
#endif
2903
2904
#ifdef __MigPackStructs
2905
#pragma pack(4)
2906
#endif
2907
typedef struct {
2908
mach_msg_header_t Head;
2909
NDR_record_t NDR;
2910
kern_return_t RetCode;
2911
} __Reply__io_service_wait_quiet_t __attribute__((unused));
2912
#ifdef __MigPackStructs
2913
#pragma pack()
2914
#endif
2915
2916
#ifdef __MigPackStructs
2917
#pragma pack(4)
2918
#endif
2919
typedef struct {
2920
mach_msg_header_t Head;
2921
/* start of the kernel processed data */
2922
mach_msg_body_t msgh_body;
2923
mach_msg_port_descriptor_t iterator;
2924
/* end of the kernel processed data */
2925
} __Reply__io_registry_entry_create_iterator_t __attribute__((unused));
2926
#ifdef __MigPackStructs
2927
#pragma pack()
2928
#endif
2929
2930
#ifdef __MigPackStructs
2931
#pragma pack(4)
2932
#endif
2933
typedef struct {
2934
mach_msg_header_t Head;
2935
NDR_record_t NDR;
2936
kern_return_t RetCode;
2937
boolean_t is_valid;
2938
} __Reply__io_iterator_is_valid_t __attribute__((unused));
2939
#ifdef __MigPackStructs
2940
#pragma pack()
2941
#endif
2942
2943
#ifdef __MigPackStructs
2944
#pragma pack(4)
2945
#endif
2946
typedef struct {
2947
mach_msg_header_t Head;
2948
NDR_record_t NDR;
2949
kern_return_t RetCode;
2950
kern_return_t result;
2951
} __Reply__io_catalog_send_data_t __attribute__((unused));
2952
#ifdef __MigPackStructs
2953
#pragma pack()
2954
#endif
2955
2956
#ifdef __MigPackStructs
2957
#pragma pack(4)
2958
#endif
2959
typedef struct {
2960
mach_msg_header_t Head;
2961
NDR_record_t NDR;
2962
kern_return_t RetCode;
2963
} __Reply__io_catalog_terminate_t __attribute__((unused));
2964
#ifdef __MigPackStructs
2965
#pragma pack()
2966
#endif
2967
2968
#ifdef __MigPackStructs
2969
#pragma pack(4)
2970
#endif
2971
typedef struct {
2972
mach_msg_header_t Head;
2973
/* start of the kernel processed data */
2974
mach_msg_body_t msgh_body;
2975
mach_msg_ool_descriptor_t outData;
2976
/* end of the kernel processed data */
2977
NDR_record_t NDR;
2978
mach_msg_type_number_t outDataCnt;
2979
} __Reply__io_catalog_get_data_t __attribute__((unused));
2980
#ifdef __MigPackStructs
2981
#pragma pack()
2982
#endif
2983
2984
#ifdef __MigPackStructs
2985
#pragma pack(4)
2986
#endif
2987
typedef struct {
2988
mach_msg_header_t Head;
2989
NDR_record_t NDR;
2990
kern_return_t RetCode;
2991
uint32_t genCount;
2992
} __Reply__io_catalog_get_gen_count_t __attribute__((unused));
2993
#ifdef __MigPackStructs
2994
#pragma pack()
2995
#endif
2996
2997
#ifdef __MigPackStructs
2998
#pragma pack(4)
2999
#endif
3000
typedef struct {
3001
mach_msg_header_t Head;
3002
NDR_record_t NDR;
3003
kern_return_t RetCode;
3004
} __Reply__io_catalog_module_loaded_t __attribute__((unused));
3005
#ifdef __MigPackStructs
3006
#pragma pack()
3007
#endif
3008
3009
#ifdef __MigPackStructs
3010
#pragma pack(4)
3011
#endif
3012
typedef struct {
3013
mach_msg_header_t Head;
3014
NDR_record_t NDR;
3015
kern_return_t RetCode;
3016
} __Reply__io_catalog_reset_t __attribute__((unused));
3017
#ifdef __MigPackStructs
3018
#pragma pack()
3019
#endif
3020
3021
#ifdef __MigPackStructs
3022
#pragma pack(4)
3023
#endif
3024
typedef struct {
3025
mach_msg_header_t Head;
3026
NDR_record_t NDR;
3027
kern_return_t RetCode;
3028
} __Reply__io_service_request_probe_t __attribute__((unused));
3029
#ifdef __MigPackStructs
3030
#pragma pack()
3031
#endif
3032
3033
#ifdef __MigPackStructs
3034
#pragma pack(4)
3035
#endif
3036
typedef struct {
3037
mach_msg_header_t Head;
3038
NDR_record_t NDR;
3039
kern_return_t RetCode;
3040
mach_msg_type_number_t nameOffset; /* MiG doesn't use it */
3041
mach_msg_type_number_t nameCnt;
3042
char name[128];
3043
} __Reply__io_registry_entry_get_name_in_plane_t __attribute__((unused));
3044
#ifdef __MigPackStructs
3045
#pragma pack()
3046
#endif
3047
3048
#ifdef __MigPackStructs
3049
#pragma pack(4)
3050
#endif
3051
typedef struct {
3052
mach_msg_header_t Head;
3053
NDR_record_t NDR;
3054
kern_return_t RetCode;
3055
boolean_t matches;
3056
} __Reply__io_service_match_property_table_t __attribute__((unused));
3057
#ifdef __MigPackStructs
3058
#pragma pack()
3059
#endif
3060
3061
#ifdef __MigPackStructs
3062
#pragma pack(4)
3063
#endif
3064
typedef struct {
3065
mach_msg_header_t Head;
3066
NDR_record_t NDR;
3067
kern_return_t RetCode;
3068
mach_msg_type_number_t outputCnt;
3069
io_user_scalar_t output[16];
3070
} __Reply__io_async_method_scalarI_scalarO_t __attribute__((unused));
3071
#ifdef __MigPackStructs
3072
#pragma pack()
3073
#endif
3074
3075
#ifdef __MigPackStructs
3076
#pragma pack(4)
3077
#endif
3078
typedef struct {
3079
mach_msg_header_t Head;
3080
NDR_record_t NDR;
3081
kern_return_t RetCode;
3082
mach_msg_type_number_t outputCnt;
3083
char output[4096];
3084
} __Reply__io_async_method_scalarI_structureO_t __attribute__((unused));
3085
#ifdef __MigPackStructs
3086
#pragma pack()
3087
#endif
3088
3089
#ifdef __MigPackStructs
3090
#pragma pack(4)
3091
#endif
3092
typedef struct {
3093
mach_msg_header_t Head;
3094
NDR_record_t NDR;
3095
kern_return_t RetCode;
3096
} __Reply__io_async_method_scalarI_structureI_t __attribute__((unused));
3097
#ifdef __MigPackStructs
3098
#pragma pack()
3099
#endif
3100
3101
#ifdef __MigPackStructs
3102
#pragma pack(4)
3103
#endif
3104
typedef struct {
3105
mach_msg_header_t Head;
3106
NDR_record_t NDR;
3107
kern_return_t RetCode;
3108
mach_msg_type_number_t outputCnt;
3109
char output[4096];
3110
} __Reply__io_async_method_structureI_structureO_t __attribute__((unused));
3111
#ifdef __MigPackStructs
3112
#pragma pack()
3113
#endif
3114
3115
#ifdef __MigPackStructs
3116
#pragma pack(4)
3117
#endif
3118
typedef struct {
3119
mach_msg_header_t Head;
3120
/* start of the kernel processed data */
3121
mach_msg_body_t msgh_body;
3122
mach_msg_port_descriptor_t notification;
3123
/* end of the kernel processed data */
3124
} __Reply__io_service_add_notification_t __attribute__((unused));
3125
#ifdef __MigPackStructs
3126
#pragma pack()
3127
#endif
3128
3129
#ifdef __MigPackStructs
3130
#pragma pack(4)
3131
#endif
3132
typedef struct {
3133
mach_msg_header_t Head;
3134
/* start of the kernel processed data */
3135
mach_msg_body_t msgh_body;
3136
mach_msg_port_descriptor_t notification;
3137
/* end of the kernel processed data */
3138
} __Reply__io_service_add_interest_notification_t __attribute__((unused));
3139
#ifdef __MigPackStructs
3140
#pragma pack()
3141
#endif
3142
3143
#ifdef __MigPackStructs
3144
#pragma pack(4)
3145
#endif
3146
typedef struct {
3147
mach_msg_header_t Head;
3148
NDR_record_t NDR;
3149
kern_return_t RetCode;
3150
} __Reply__io_service_acknowledge_notification_t __attribute__((unused));
3151
#ifdef __MigPackStructs
3152
#pragma pack()
3153
#endif
3154
3155
#ifdef __MigPackStructs
3156
#pragma pack(4)
3157
#endif
3158
typedef struct {
3159
mach_msg_header_t Head;
3160
/* start of the kernel processed data */
3161
mach_msg_body_t msgh_body;
3162
mach_msg_port_descriptor_t semaphore;
3163
/* end of the kernel processed data */
3164
} __Reply__io_connect_get_notification_semaphore_t __attribute__((unused));
3165
#ifdef __MigPackStructs
3166
#pragma pack()
3167
#endif
3168
3169
#ifdef __MigPackStructs
3170
#pragma pack(4)
3171
#endif
3172
typedef struct {
3173
mach_msg_header_t Head;
3174
NDR_record_t NDR;
3175
kern_return_t RetCode;
3176
} __Reply__io_connect_unmap_memory_t __attribute__((unused));
3177
#ifdef __MigPackStructs
3178
#pragma pack()
3179
#endif
3180
3181
#ifdef __MigPackStructs
3182
#pragma pack(4)
3183
#endif
3184
typedef struct {
3185
mach_msg_header_t Head;
3186
NDR_record_t NDR;
3187
kern_return_t RetCode;
3188
mach_msg_type_number_t locationOffset; /* MiG doesn't use it */
3189
mach_msg_type_number_t locationCnt;
3190
char location[128];
3191
} __Reply__io_registry_entry_get_location_in_plane_t __attribute__((unused));
3192
#ifdef __MigPackStructs
3193
#pragma pack()
3194
#endif
3195
3196
#ifdef __MigPackStructs
3197
#pragma pack(4)
3198
#endif
3199
typedef struct {
3200
mach_msg_header_t Head;
3201
/* start of the kernel processed data */
3202
mach_msg_body_t msgh_body;
3203
mach_msg_ool_descriptor_t properties;
3204
/* end of the kernel processed data */
3205
NDR_record_t NDR;
3206
mach_msg_type_number_t propertiesCnt;
3207
} __Reply__io_registry_entry_get_property_recursively_t __attribute__((unused));
3208
#ifdef __MigPackStructs
3209
#pragma pack()
3210
#endif
3211
3212
#ifdef __MigPackStructs
3213
#pragma pack(4)
3214
#endif
3215
typedef struct {
3216
mach_msg_header_t Head;
3217
NDR_record_t NDR;
3218
kern_return_t RetCode;
3219
uint64_t state;
3220
uint32_t busy_state;
3221
uint64_t accumulated_busy_time;
3222
} __Reply__io_service_get_state_t __attribute__((unused));
3223
#ifdef __MigPackStructs
3224
#pragma pack()
3225
#endif
3226
3227
#ifdef __MigPackStructs
3228
#pragma pack(4)
3229
#endif
3230
typedef struct {
3231
mach_msg_header_t Head;
3232
/* start of the kernel processed data */
3233
mach_msg_body_t msgh_body;
3234
mach_msg_port_descriptor_t existing;
3235
/* end of the kernel processed data */
3236
NDR_record_t NDR;
3237
kern_return_t result;
3238
} __Reply__io_service_get_matching_services_ool_t __attribute__((unused));
3239
#ifdef __MigPackStructs
3240
#pragma pack()
3241
#endif
3242
3243
#ifdef __MigPackStructs
3244
#pragma pack(4)
3245
#endif
3246
typedef struct {
3247
mach_msg_header_t Head;
3248
NDR_record_t NDR;
3249
kern_return_t RetCode;
3250
kern_return_t result;
3251
boolean_t matches;
3252
} __Reply__io_service_match_property_table_ool_t __attribute__((unused));
3253
#ifdef __MigPackStructs
3254
#pragma pack()
3255
#endif
3256
3257
#ifdef __MigPackStructs
3258
#pragma pack(4)
3259
#endif
3260
typedef struct {
3261
mach_msg_header_t Head;
3262
/* start of the kernel processed data */
3263
mach_msg_body_t msgh_body;
3264
mach_msg_port_descriptor_t notification;
3265
/* end of the kernel processed data */
3266
NDR_record_t NDR;
3267
kern_return_t result;
3268
} __Reply__io_service_add_notification_ool_t __attribute__((unused));
3269
#ifdef __MigPackStructs
3270
#pragma pack()
3271
#endif
3272
3273
#ifdef __MigPackStructs
3274
#pragma pack(4)
3275
#endif
3276
typedef struct {
3277
mach_msg_header_t Head;
3278
NDR_record_t NDR;
3279
kern_return_t RetCode;
3280
mach_msg_type_number_t class_nameOffset; /* MiG doesn't use it */
3281
mach_msg_type_number_t class_nameCnt;
3282
char class_name[128];
3283
} __Reply__io_object_get_superclass_t __attribute__((unused));
3284
#ifdef __MigPackStructs
3285
#pragma pack()
3286
#endif
3287
3288
#ifdef __MigPackStructs
3289
#pragma pack(4)
3290
#endif
3291
typedef struct {
3292
mach_msg_header_t Head;
3293
NDR_record_t NDR;
3294
kern_return_t RetCode;
3295
mach_msg_type_number_t class_nameOffset; /* MiG doesn't use it */
3296
mach_msg_type_number_t class_nameCnt;
3297
char class_name[128];
3298
} __Reply__io_object_get_bundle_identifier_t __attribute__((unused));
3299
#ifdef __MigPackStructs
3300
#pragma pack()
3301
#endif
3302
3303
#ifdef __MigPackStructs
3304
#pragma pack(4)
3305
#endif
3306
typedef struct {
3307
mach_msg_header_t Head;
3308
/* start of the kernel processed data */
3309
mach_msg_body_t msgh_body;
3310
mach_msg_port_descriptor_t connection;
3311
/* end of the kernel processed data */
3312
NDR_record_t NDR;
3313
kern_return_t result;
3314
} __Reply__io_service_open_extended_t __attribute__((unused));
3315
#ifdef __MigPackStructs
3316
#pragma pack()
3317
#endif
3318
3319
#ifdef __MigPackStructs
3320
#pragma pack(4)
3321
#endif
3322
typedef struct {
3323
mach_msg_header_t Head;
3324
NDR_record_t NDR;
3325
kern_return_t RetCode;
3326
mach_vm_address_t address;
3327
mach_vm_size_t size;
3328
} __Reply__io_connect_map_memory_into_task_t __attribute__((unused));
3329
#ifdef __MigPackStructs
3330
#pragma pack()
3331
#endif
3332
3333
#ifdef __MigPackStructs
3334
#pragma pack(4)
3335
#endif
3336
typedef struct {
3337
mach_msg_header_t Head;
3338
NDR_record_t NDR;
3339
kern_return_t RetCode;
3340
} __Reply__io_connect_unmap_memory_from_task_t __attribute__((unused));
3341
#ifdef __MigPackStructs
3342
#pragma pack()
3343
#endif
3344
3345
#ifdef __MigPackStructs
3346
#pragma pack(4)
3347
#endif
3348
typedef struct {
3349
mach_msg_header_t Head;
3350
NDR_record_t NDR;
3351
kern_return_t RetCode;
3352
mach_msg_type_number_t inband_outputCnt;
3353
char inband_output[4096];
3354
mach_msg_type_number_t scalar_outputCnt;
3355
uint64_t scalar_output[16];
3356
mach_vm_size_t ool_output_size;
3357
} __Reply__io_connect_method_t __attribute__((unused));
3358
#ifdef __MigPackStructs
3359
#pragma pack()
3360
#endif
3361
3362
#ifdef __MigPackStructs
3363
#pragma pack(4)
3364
#endif
3365
typedef struct {
3366
mach_msg_header_t Head;
3367
NDR_record_t NDR;
3368
kern_return_t RetCode;
3369
mach_msg_type_number_t inband_outputCnt;
3370
char inband_output[4096];
3371
mach_msg_type_number_t scalar_outputCnt;
3372
uint64_t scalar_output[16];
3373
mach_vm_size_t ool_output_size;
3374
} __Reply__io_connect_async_method_t __attribute__((unused));
3375
#ifdef __MigPackStructs
3376
#pragma pack()
3377
#endif
3378
3379
#ifdef __MigPackStructs
3380
#pragma pack(4)
3381
#endif
3382
typedef struct {
3383
mach_msg_header_t Head;
3384
NDR_record_t NDR;
3385
kern_return_t RetCode;
3386
uint64_t entry_id;
3387
} __Reply__io_registry_entry_get_registry_entry_id_t __attribute__((unused));
3388
#ifdef __MigPackStructs
3389
#pragma pack()
3390
#endif
3391
3392
#ifdef __MigPackStructs
3393
#pragma pack(4)
3394
#endif
3395
typedef struct {
3396
mach_msg_header_t Head;
3397
/* start of the kernel processed data */
3398
mach_msg_body_t msgh_body;
3399
mach_msg_ool_descriptor_t var_output;
3400
/* end of the kernel processed data */
3401
NDR_record_t NDR;
3402
mach_msg_type_number_t inband_outputCnt;
3403
char inband_output[4096];
3404
mach_msg_type_number_t scalar_outputCnt;
3405
uint64_t scalar_output[16];
3406
mach_msg_type_number_t var_outputCnt;
3407
} __Reply__io_connect_method_var_output_t __attribute__((unused));
3408
#ifdef __MigPackStructs
3409
#pragma pack()
3410
#endif
3411
3412
#ifdef __MigPackStructs
3413
#pragma pack(4)
3414
#endif
3415
typedef struct {
3416
mach_msg_header_t Head;
3417
/* start of the kernel processed data */
3418
mach_msg_body_t msgh_body;
3419
mach_msg_port_descriptor_t service;
3420
/* end of the kernel processed data */
3421
} __Reply__io_service_get_matching_service_t __attribute__((unused));
3422
#ifdef __MigPackStructs
3423
#pragma pack()
3424
#endif
3425
3426
#ifdef __MigPackStructs
3427
#pragma pack(4)
3428
#endif
3429
typedef struct {
3430
mach_msg_header_t Head;
3431
/* start of the kernel processed data */
3432
mach_msg_body_t msgh_body;
3433
mach_msg_port_descriptor_t service;
3434
/* end of the kernel processed data */
3435
NDR_record_t NDR;
3436
kern_return_t result;
3437
} __Reply__io_service_get_matching_service_ool_t __attribute__((unused));
3438
#ifdef __MigPackStructs
3439
#pragma pack()
3440
#endif
3441
3442
#ifdef __MigPackStructs
3443
#pragma pack(4)
3444
#endif
3445
typedef struct {
3446
mach_msg_header_t Head;
3447
NDR_record_t NDR;
3448
kern_return_t RetCode;
3449
uint64_t authorization_id;
3450
} __Reply__io_service_get_authorization_id_t __attribute__((unused));
3451
#ifdef __MigPackStructs
3452
#pragma pack()
3453
#endif
3454
3455
#ifdef __MigPackStructs
3456
#pragma pack(4)
3457
#endif
3458
typedef struct {
3459
mach_msg_header_t Head;
3460
NDR_record_t NDR;
3461
kern_return_t RetCode;
3462
} __Reply__io_service_set_authorization_id_t __attribute__((unused));
3463
#ifdef __MigPackStructs
3464
#pragma pack()
3465
#endif
3466
3467
#ifdef __MigPackStructs
3468
#pragma pack(4)
3469
#endif
3470
typedef struct {
3471
mach_msg_header_t Head;
3472
NDR_record_t NDR;
3473
kern_return_t RetCode;
3474
uint64_t version;
3475
} __Reply__io_server_version_t __attribute__((unused));
3476
#ifdef __MigPackStructs
3477
#pragma pack()
3478
#endif
3479
3480
#ifdef __MigPackStructs
3481
#pragma pack(4)
3482
#endif
3483
typedef struct {
3484
mach_msg_header_t Head;
3485
/* start of the kernel processed data */
3486
mach_msg_body_t msgh_body;
3487
mach_msg_ool_descriptor_t properties;
3488
/* end of the kernel processed data */
3489
NDR_record_t NDR;
3490
mach_msg_type_number_t propertiesCnt;
3491
} __Reply__io_registry_entry_get_properties_bin_t __attribute__((unused));
3492
#ifdef __MigPackStructs
3493
#pragma pack()
3494
#endif
3495
3496
#ifdef __MigPackStructs
3497
#pragma pack(4)
3498
#endif
3499
typedef struct {
3500
mach_msg_header_t Head;
3501
/* start of the kernel processed data */
3502
mach_msg_body_t msgh_body;
3503
mach_msg_ool_descriptor_t properties;
3504
/* end of the kernel processed data */
3505
NDR_record_t NDR;
3506
mach_msg_type_number_t propertiesCnt;
3507
} __Reply__io_registry_entry_get_property_bin_t __attribute__((unused));
3508
#ifdef __MigPackStructs
3509
#pragma pack()
3510
#endif
3511
3512
#ifdef __MigPackStructs
3513
#pragma pack(4)
3514
#endif
3515
typedef struct {
3516
mach_msg_header_t Head;
3517
/* start of the kernel processed data */
3518
mach_msg_body_t msgh_body;
3519
mach_msg_port_descriptor_t service;
3520
/* end of the kernel processed data */
3521
} __Reply__io_service_get_matching_service_bin_t __attribute__((unused));
3522
#ifdef __MigPackStructs
3523
#pragma pack()
3524
#endif
3525
3526
#ifdef __MigPackStructs
3527
#pragma pack(4)
3528
#endif
3529
typedef struct {
3530
mach_msg_header_t Head;
3531
/* start of the kernel processed data */
3532
mach_msg_body_t msgh_body;
3533
mach_msg_port_descriptor_t existing;
3534
/* end of the kernel processed data */
3535
} __Reply__io_service_get_matching_services_bin_t __attribute__((unused));
3536
#ifdef __MigPackStructs
3537
#pragma pack()
3538
#endif
3539
3540
#ifdef __MigPackStructs
3541
#pragma pack(4)
3542
#endif
3543
typedef struct {
3544
mach_msg_header_t Head;
3545
NDR_record_t NDR;
3546
kern_return_t RetCode;
3547
boolean_t matches;
3548
} __Reply__io_service_match_property_table_bin_t __attribute__((unused));
3549
#ifdef __MigPackStructs
3550
#pragma pack()
3551
#endif
3552
3553
#ifdef __MigPackStructs
3554
#pragma pack(4)
3555
#endif
3556
typedef struct {
3557
mach_msg_header_t Head;
3558
/* start of the kernel processed data */
3559
mach_msg_body_t msgh_body;
3560
mach_msg_port_descriptor_t notification;
3561
/* end of the kernel processed data */
3562
} __Reply__io_service_add_notification_bin_t __attribute__((unused));
3563
#ifdef __MigPackStructs
3564
#pragma pack()
3565
#endif
3566
3567
#ifdef __MigPackStructs
3568
#pragma pack(4)
3569
#endif
3570
typedef struct {
3571
mach_msg_header_t Head;
3572
/* start of the kernel processed data */
3573
mach_msg_body_t msgh_body;
3574
mach_msg_ool_descriptor_t path_ool;
3575
/* end of the kernel processed data */
3576
NDR_record_t NDR;
3577
mach_msg_type_number_t pathOffset; /* MiG doesn't use it */
3578
mach_msg_type_number_t pathCnt;
3579
char path[4096];
3580
mach_msg_type_number_t path_oolCnt;
3581
} __Reply__io_registry_entry_get_path_ool_t __attribute__((unused));
3582
#ifdef __MigPackStructs
3583
#pragma pack()
3584
#endif
3585
3586
#ifdef __MigPackStructs
3587
#pragma pack(4)
3588
#endif
3589
typedef struct {
3590
mach_msg_header_t Head;
3591
/* start of the kernel processed data */
3592
mach_msg_body_t msgh_body;
3593
mach_msg_port_descriptor_t registry_entry;
3594
/* end of the kernel processed data */
3595
NDR_record_t NDR;
3596
kern_return_t result;
3597
} __Reply__io_registry_entry_from_path_ool_t __attribute__((unused));
3598
#ifdef __MigPackStructs
3599
#pragma pack()
3600
#endif
3601
#endif /* !__Reply__iokit_subsystem__defined */
3602
3603
/* union of all replies */
3604
3605
#ifndef __ReplyUnion__iokit_subsystem__defined
3606
#define __ReplyUnion__iokit_subsystem__defined
3607
union __ReplyUnion__iokit_subsystem {
3608
__Reply__io_object_get_class_t Reply_io_object_get_class;
3609
__Reply__io_object_conforms_to_t Reply_io_object_conforms_to;
3610
__Reply__io_iterator_next_t Reply_io_iterator_next;
3611
__Reply__io_iterator_reset_t Reply_io_iterator_reset;
3612
__Reply__io_service_get_matching_services_t Reply_io_service_get_matching_services;
3613
__Reply__io_registry_entry_get_property_t Reply_io_registry_entry_get_property;
3614
__Reply__io_registry_create_iterator_t Reply_io_registry_create_iterator;
3615
__Reply__io_registry_iterator_enter_entry_t Reply_io_registry_iterator_enter_entry;
3616
__Reply__io_registry_iterator_exit_entry_t Reply_io_registry_iterator_exit_entry;
3617
__Reply__io_registry_entry_from_path_t Reply_io_registry_entry_from_path;
3618
__Reply__io_registry_entry_get_name_t Reply_io_registry_entry_get_name;
3619
__Reply__io_registry_entry_get_properties_t Reply_io_registry_entry_get_properties;
3620
__Reply__io_registry_entry_get_property_bytes_t Reply_io_registry_entry_get_property_bytes;
3621
__Reply__io_registry_entry_get_child_iterator_t Reply_io_registry_entry_get_child_iterator;
3622
__Reply__io_registry_entry_get_parent_iterator_t Reply_io_registry_entry_get_parent_iterator;
3623
__Reply__io_service_close_t Reply_io_service_close;
3624
__Reply__io_connect_get_service_t Reply_io_connect_get_service;
3625
__Reply__io_connect_set_notification_port_t Reply_io_connect_set_notification_port;
3626
__Reply__io_connect_map_memory_t Reply_io_connect_map_memory;
3627
__Reply__io_connect_add_client_t Reply_io_connect_add_client;
3628
__Reply__io_connect_set_properties_t Reply_io_connect_set_properties;
3629
__Reply__io_connect_method_scalarI_scalarO_t Reply_io_connect_method_scalarI_scalarO;
3630
__Reply__io_connect_method_scalarI_structureO_t Reply_io_connect_method_scalarI_structureO;
3631
__Reply__io_connect_method_scalarI_structureI_t Reply_io_connect_method_scalarI_structureI;
3632
__Reply__io_connect_method_structureI_structureO_t Reply_io_connect_method_structureI_structureO;
3633
__Reply__io_registry_entry_get_path_t Reply_io_registry_entry_get_path;
3634
__Reply__io_registry_get_root_entry_t Reply_io_registry_get_root_entry;
3635
__Reply__io_registry_entry_set_properties_t Reply_io_registry_entry_set_properties;
3636
__Reply__io_registry_entry_in_plane_t Reply_io_registry_entry_in_plane;
3637
__Reply__io_object_get_retain_count_t Reply_io_object_get_retain_count;
3638
__Reply__io_service_get_busy_state_t Reply_io_service_get_busy_state;
3639
__Reply__io_service_wait_quiet_t Reply_io_service_wait_quiet;
3640
__Reply__io_registry_entry_create_iterator_t Reply_io_registry_entry_create_iterator;
3641
__Reply__io_iterator_is_valid_t Reply_io_iterator_is_valid;
3642
__Reply__io_catalog_send_data_t Reply_io_catalog_send_data;
3643
__Reply__io_catalog_terminate_t Reply_io_catalog_terminate;
3644
__Reply__io_catalog_get_data_t Reply_io_catalog_get_data;
3645
__Reply__io_catalog_get_gen_count_t Reply_io_catalog_get_gen_count;
3646
__Reply__io_catalog_module_loaded_t Reply_io_catalog_module_loaded;
3647
__Reply__io_catalog_reset_t Reply_io_catalog_reset;
3648
__Reply__io_service_request_probe_t Reply_io_service_request_probe;
3649
__Reply__io_registry_entry_get_name_in_plane_t Reply_io_registry_entry_get_name_in_plane;
3650
__Reply__io_service_match_property_table_t Reply_io_service_match_property_table;
3651
__Reply__io_async_method_scalarI_scalarO_t Reply_io_async_method_scalarI_scalarO;
3652
__Reply__io_async_method_scalarI_structureO_t Reply_io_async_method_scalarI_structureO;
3653
__Reply__io_async_method_scalarI_structureI_t Reply_io_async_method_scalarI_structureI;
3654
__Reply__io_async_method_structureI_structureO_t Reply_io_async_method_structureI_structureO;
3655
__Reply__io_service_add_notification_t Reply_io_service_add_notification;
3656
__Reply__io_service_add_interest_notification_t Reply_io_service_add_interest_notification;
3657
__Reply__io_service_acknowledge_notification_t Reply_io_service_acknowledge_notification;
3658
__Reply__io_connect_get_notification_semaphore_t Reply_io_connect_get_notification_semaphore;
3659
__Reply__io_connect_unmap_memory_t Reply_io_connect_unmap_memory;
3660
__Reply__io_registry_entry_get_location_in_plane_t Reply_io_registry_entry_get_location_in_plane;
3661
__Reply__io_registry_entry_get_property_recursively_t Reply_io_registry_entry_get_property_recursively;
3662
__Reply__io_service_get_state_t Reply_io_service_get_state;
3663
__Reply__io_service_get_matching_services_ool_t Reply_io_service_get_matching_services_ool;
3664
__Reply__io_service_match_property_table_ool_t Reply_io_service_match_property_table_ool;
3665
__Reply__io_service_add_notification_ool_t Reply_io_service_add_notification_ool;
3666
__Reply__io_object_get_superclass_t Reply_io_object_get_superclass;
3667
__Reply__io_object_get_bundle_identifier_t Reply_io_object_get_bundle_identifier;
3668
__Reply__io_service_open_extended_t Reply_io_service_open_extended;
3669
__Reply__io_connect_map_memory_into_task_t Reply_io_connect_map_memory_into_task;
3670
__Reply__io_connect_unmap_memory_from_task_t Reply_io_connect_unmap_memory_from_task;
3671
__Reply__io_connect_method_t Reply_io_connect_method;
3672
__Reply__io_connect_async_method_t Reply_io_connect_async_method;
3673
__Reply__io_registry_entry_get_registry_entry_id_t Reply_io_registry_entry_get_registry_entry_id;
3674
__Reply__io_connect_method_var_output_t Reply_io_connect_method_var_output;
3675
__Reply__io_service_get_matching_service_t Reply_io_service_get_matching_service;
3676
__Reply__io_service_get_matching_service_ool_t Reply_io_service_get_matching_service_ool;
3677
__Reply__io_service_get_authorization_id_t Reply_io_service_get_authorization_id;
3678
__Reply__io_service_set_authorization_id_t Reply_io_service_set_authorization_id;
3679
__Reply__io_server_version_t Reply_io_server_version;
3680
__Reply__io_registry_entry_get_properties_bin_t Reply_io_registry_entry_get_properties_bin;
3681
__Reply__io_registry_entry_get_property_bin_t Reply_io_registry_entry_get_property_bin;
3682
__Reply__io_service_get_matching_service_bin_t Reply_io_service_get_matching_service_bin;
3683
__Reply__io_service_get_matching_services_bin_t Reply_io_service_get_matching_services_bin;
3684
__Reply__io_service_match_property_table_bin_t Reply_io_service_match_property_table_bin;
3685
__Reply__io_service_add_notification_bin_t Reply_io_service_add_notification_bin;
3686
__Reply__io_registry_entry_get_path_ool_t Reply_io_registry_entry_get_path_ool;
3687
__Reply__io_registry_entry_from_path_ool_t Reply_io_registry_entry_from_path_ool;
3688
};
3689
#endif /* !__RequestUnion__iokit_subsystem__defined */
3690
3691
#ifndef subsystem_to_name_map_iokit
3692
#define subsystem_to_name_map_iokit \
3693
{ "io_object_get_class", 2800 },\
3694
{ "io_object_conforms_to", 2801 },\
3695
{ "io_iterator_next", 2802 },\
3696
{ "io_iterator_reset", 2803 },\
3697
{ "io_service_get_matching_services", 2804 },\
3698
{ "io_registry_entry_get_property", 2805 },\
3699
{ "io_registry_create_iterator", 2806 },\
3700
{ "io_registry_iterator_enter_entry", 2807 },\
3701
{ "io_registry_iterator_exit_entry", 2808 },\
3702
{ "io_registry_entry_from_path", 2809 },\
3703
{ "io_registry_entry_get_name", 2810 },\
3704
{ "io_registry_entry_get_properties", 2811 },\
3705
{ "io_registry_entry_get_property_bytes", 2812 },\
3706
{ "io_registry_entry_get_child_iterator", 2813 },\
3707
{ "io_registry_entry_get_parent_iterator", 2814 },\
3708
{ "io_service_close", 2816 },\
3709
{ "io_connect_get_service", 2817 },\
3710
{ "io_connect_set_notification_port", 2818 },\
3711
{ "io_connect_map_memory", 2819 },\
3712
{ "io_connect_add_client", 2820 },\
3713
{ "io_connect_set_properties", 2821 },\
3714
{ "io_connect_method_scalarI_scalarO", 2822 },\
3715
{ "io_connect_method_scalarI_structureO", 2823 },\
3716
{ "io_connect_method_scalarI_structureI", 2824 },\
3717
{ "io_connect_method_structureI_structureO", 2825 },\
3718
{ "io_registry_entry_get_path", 2826 },\
3719
{ "io_registry_get_root_entry", 2827 },\
3720
{ "io_registry_entry_set_properties", 2828 },\
3721
{ "io_registry_entry_in_plane", 2829 },\
3722
{ "io_object_get_retain_count", 2830 },\
3723
{ "io_service_get_busy_state", 2831 },\
3724
{ "io_service_wait_quiet", 2832 },\
3725
{ "io_registry_entry_create_iterator", 2833 },\
3726
{ "io_iterator_is_valid", 2834 },\
3727
{ "io_catalog_send_data", 2836 },\
3728
{ "io_catalog_terminate", 2837 },\
3729
{ "io_catalog_get_data", 2838 },\
3730
{ "io_catalog_get_gen_count", 2839 },\
3731
{ "io_catalog_module_loaded", 2840 },\
3732
{ "io_catalog_reset", 2841 },\
3733
{ "io_service_request_probe", 2842 },\
3734
{ "io_registry_entry_get_name_in_plane", 2843 },\
3735
{ "io_service_match_property_table", 2844 },\
3736
{ "io_async_method_scalarI_scalarO", 2845 },\
3737
{ "io_async_method_scalarI_structureO", 2846 },\
3738
{ "io_async_method_scalarI_structureI", 2847 },\
3739
{ "io_async_method_structureI_structureO", 2848 },\
3740
{ "io_service_add_notification", 2849 },\
3741
{ "io_service_add_interest_notification", 2850 },\
3742
{ "io_service_acknowledge_notification", 2851 },\
3743
{ "io_connect_get_notification_semaphore", 2852 },\
3744
{ "io_connect_unmap_memory", 2853 },\
3745
{ "io_registry_entry_get_location_in_plane", 2854 },\
3746
{ "io_registry_entry_get_property_recursively", 2855 },\
3747
{ "io_service_get_state", 2856 },\
3748
{ "io_service_get_matching_services_ool", 2857 },\
3749
{ "io_service_match_property_table_ool", 2858 },\
3750
{ "io_service_add_notification_ool", 2859 },\
3751
{ "io_object_get_superclass", 2860 },\
3752
{ "io_object_get_bundle_identifier", 2861 },\
3753
{ "io_service_open_extended", 2862 },\
3754
{ "io_connect_map_memory_into_task", 2863 },\
3755
{ "io_connect_unmap_memory_from_task", 2864 },\
3756
{ "io_connect_method", 2865 },\
3757
{ "io_connect_async_method", 2866 },\
3758
{ "io_registry_entry_get_registry_entry_id", 2871 },\
3759
{ "io_connect_method_var_output", 2872 },\
3760
{ "io_service_get_matching_service", 2873 },\
3761
{ "io_service_get_matching_service_ool", 2874 },\
3762
{ "io_service_get_authorization_id", 2875 },\
3763
{ "io_service_set_authorization_id", 2876 },\
3764
{ "io_server_version", 2877 },\
3765
{ "io_registry_entry_get_properties_bin", 2878 },\
3766
{ "io_registry_entry_get_property_bin", 2879 },\
3767
{ "io_service_get_matching_service_bin", 2880 },\
3768
{ "io_service_get_matching_services_bin", 2881 },\
3769
{ "io_service_match_property_table_bin", 2882 },\
3770
{ "io_service_add_notification_bin", 2883 },\
3771
{ "io_registry_entry_get_path_ool", 2885 },\
3772
{ "io_registry_entry_from_path_ool", 2886 }
3773
#endif
3774
3775
#ifdef __AfterMigUserHeader
3776
__AfterMigUserHeader
3777
#endif /* __AfterMigUserHeader */
3778
3779
#endif /* _iokit_user_ */
3780
3781
#endif /* !__LP64__ */
3782
3783