forked from apple/darwin-xnu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
device.defs
813 lines (700 loc) · 20.3 KB
/
device.defs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
/*
* Copyright (c) 1998-2014 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
* compliance with the License. The rights granted to you under the License
* may not be used to create, or enable the creation or redistribution of,
* unlawful or unlicensed copies of an Apple operating system, or to
* circumvent, violate, or enable the circumvention or violation of, any
* terms of an Apple operating system software license agreement.
*
* Please obtain a copy of the License at
* http://www.opensource.apple.com/apsl/ and read it before using this file.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
* Please see the License for the specific language governing rights and
* limitations under the License.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_END@
*/
/*
* @OSF_COPYRIGHT@
*/
/*
* Mach Operating System
* Copyright (c) 1991,1990,1989 Carnegie Mellon University
* All Rights Reserved.
*
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation.
*
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
*
* Carnegie Mellon requests users of this software to return to
*
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science
* Carnegie Mellon University
* Pittsburgh PA 15213-3890
*
* any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes.
*/
/*
* File: device/device.defs
* Author: Douglas Orr
* Feb 10, 1988
* Abstract:
* Mach device support. Mach devices are accessed through
* block and character device interfaces to the kernel.
*/
subsystem
#if KERNEL_SERVER
KernelServer
#endif /* KERNEL_SERVER */
iokit 2800;
#if IOKITSIMD || KERNEL_SERVER
#define IOKIT_ALL_IPC 1
#endif
#include <mach/std_types.defs>
#include <mach/mach_types.defs>
#include <mach/clock_types.defs>
#include <mach/clock_types.defs>
#if !__LP64__
# define __ILP32__ 1
#endif
import <device/device_types.h>;
serverprefix is_;
type reply_port_t = MACH_MSG_TYPE_MAKE_SEND_ONCE | polymorphic
ctype: mach_port_t;
#if IOKIT
type io_name_t = c_string[*:128];
type io_string_t = c_string[*:512];
type io_string_inband_t = c_string[*:4096];
type io_struct_inband_t = array[*:4096] of char;
type io_buf_ptr_t = ^array[] of MACH_MSG_TYPE_INTEGER_8;
type NDR_record_t = struct[8] of char;
#if KERNEL
type io_user_scalar_t = uint64_t;
type io_user_reference_t = uint64_t;
type io_scalar_inband_t = array[*:16] of int;
// must be the same type as OSAsyncReference
type io_async_ref_t = array[*:8] of natural_t;
type io_scalar_inband64_t = array[*:16] of io_user_scalar_t;
type io_async_ref64_t = array[*:8] of io_user_reference_t;
#elif __LP64__
type io_user_scalar_t = uint64_t;
type io_user_reference_t = uint64_t;
type io_scalar_inband_t = array[*:16] of io_user_scalar_t;
type io_async_ref_t = array[*:8] of io_user_reference_t;
type io_scalar_inband64_t = array[*:16] of io_user_scalar_t;
type io_async_ref64_t = array[*:8] of io_user_reference_t;
#else
type io_user_scalar_t = int;
type io_user_reference_t = natural_t;
type io_scalar_inband_t = array[*:16] of io_user_scalar_t;
type io_async_ref_t = array[*:8] of io_user_reference_t;
type io_scalar_inband64_t = array[*:16] of uint64_t;
type io_async_ref64_t = array[*:8] of uint64_t;
#endif // __LP64__
type io_object_t = mach_port_t
ctype: mach_port_t
#if KERNEL_SERVER
intran: io_object_t iokit_lookup_object_port(mach_port_t)
outtran: mach_port_t iokit_make_object_port(io_object_t)
destructor: iokit_remove_reference(io_object_t)
#endif /* KERNEL_SERVER */
;
type io_connect_t = mach_port_t
ctype: mach_port_t
#if KERNEL_SERVER
intran: io_connect_t iokit_lookup_connect_port(mach_port_t)
outtran: mach_port_t iokit_make_connect_port(io_connect_t)
destructor: iokit_remove_connect_reference(io_connect_t)
#endif /* KERNEL_SERVER */
;
routine io_object_get_class(
object : io_object_t;
out className : io_name_t
);
routine io_object_conforms_to(
object : io_object_t;
in className : io_name_t;
out conforms : boolean_t
);
routine io_iterator_next(
iterator : io_object_t;
out object : io_object_t
);
routine io_iterator_reset(
iterator : io_object_t
);
routine io_service_get_matching_services(
master_port : mach_port_t;
in matching : io_string_t;
out existing : io_object_t
);
routine io_registry_entry_get_property(
registry_entry : io_object_t;
in property_name : io_name_t;
out properties : io_buf_ptr_t, physicalcopy
);
routine io_registry_create_iterator(
master_port : mach_port_t;
in plane : io_name_t;
in options : uint32_t;
out iterator : io_object_t
);
routine io_registry_iterator_enter_entry(
iterator : io_object_t
);
routine io_registry_iterator_exit_entry(
iterator : io_object_t
);
routine io_registry_entry_from_path(
master_port : mach_port_t;
in path : io_string_t;
out registry_entry : io_object_t
);
routine io_registry_entry_get_name(
registry_entry : io_object_t;
out name : io_name_t
);
routine io_registry_entry_get_properties(
registry_entry : io_object_t;
out properties : io_buf_ptr_t, physicalcopy
);
routine io_registry_entry_get_property_bytes(
registry_entry : io_object_t;
in property_name : io_name_t;
out data : io_struct_inband_t, CountInOut
);
routine io_registry_entry_get_child_iterator(
registry_entry : io_object_t;
in plane : io_name_t;
out iterator : io_object_t
);
routine io_registry_entry_get_parent_iterator(
registry_entry : io_object_t;
in plane : io_name_t;
out iterator : io_object_t
);
skip;
/* was routine io_service_open
service : io_object_t;
in owningTask : task_t;
in connect_type : uint32_t;
out connection : io_connect_t
);
*/
routine io_service_close(
connection : io_connect_t
);
routine io_connect_get_service(
connection : io_connect_t;
out service : io_object_t
);
#if IOKIT_ALL_IPC || __ILP32__
routine io_connect_set_notification_port(
connection : io_connect_t;
in notification_type : uint32_t;
in port : mach_port_make_send_t;
in reference : uint32_t
);
routine io_connect_map_memory(
connection : io_connect_t;
in memory_type : uint32_t;
in into_task : task_t;
#if IOKIT_ALL_IPC
inout address : uint32_t;
inout size : uint32_t;
#else
inout address : vm_address_t;
inout size : vm_size_t;
#endif
in flags : uint32_t
);
#else
skip;
skip;
#endif
routine io_connect_add_client(
connection : io_connect_t;
in connect_to : io_connect_t
);
routine io_connect_set_properties(
connection : io_connect_t;
in properties : io_buf_ptr_t, physicalcopy;
out result : kern_return_t
);
#if IOKIT_ALL_IPC || __ILP32__
routine io_connect_method_scalarI_scalarO(
connection : io_connect_t;
in selector : uint32_t;
in input : io_scalar_inband_t;
out output : io_scalar_inband_t, CountInOut
);
routine io_connect_method_scalarI_structureO(
connection : io_connect_t;
in selector : uint32_t;
in input : io_scalar_inband_t;
out output : io_struct_inband_t, CountInOut
);
routine io_connect_method_scalarI_structureI(
connection : io_connect_t;
in selector : uint32_t;
in input : io_scalar_inband_t;
in inputStruct : io_struct_inband_t
);
routine io_connect_method_structureI_structureO(
connection : io_connect_t;
in selector : uint32_t;
in input : io_struct_inband_t;
out output : io_struct_inband_t, CountInOut
);
#else
skip;
skip;
skip;
skip;
#endif
routine io_registry_entry_get_path(
registry_entry : io_object_t;
in plane : io_name_t;
out path : io_string_t
);
routine io_registry_get_root_entry(
master_port : mach_port_t;
out root : io_object_t
);
routine io_registry_entry_set_properties(
registry_entry : io_object_t;
in properties : io_buf_ptr_t, physicalcopy;
out result : kern_return_t
);
routine io_registry_entry_in_plane(
registry_entry : io_object_t;
in plane : io_name_t;
out inPlane : boolean_t
);
routine io_object_get_retain_count(
object : io_object_t;
out retainCount : uint32_t
);
routine io_service_get_busy_state(
service : io_object_t;
out busyState : uint32_t
);
routine io_service_wait_quiet(
service : io_object_t;
wait_time : mach_timespec_t
);
routine io_registry_entry_create_iterator(
registry_entry : io_object_t;
in plane : io_name_t;
in options : uint32_t;
out iterator : io_object_t
);
routine io_iterator_is_valid(
iterator : io_object_t;
out is_valid : boolean_t
);
skip;
/* was routine io_make_matching(
master_port : mach_port_t;
in of_type : uint32_t;
in options : uint32_t;
in input : io_struct_inband_t;
out matching : io_string_t
);
*/
routine io_catalog_send_data(
master_port : mach_port_t;
in flag : uint32_t;
in inData : io_buf_ptr_t;
out result : kern_return_t
);
routine io_catalog_terminate(
master_port : mach_port_t;
in flag : uint32_t;
in name : io_name_t
);
routine io_catalog_get_data(
master_port : mach_port_t;
in flag : uint32_t;
out outData : io_buf_ptr_t
);
routine io_catalog_get_gen_count(
master_port : mach_port_t;
out genCount : uint32_t
);
routine io_catalog_module_loaded(
master_port : mach_port_t;
in name : io_name_t
);
routine io_catalog_reset(
master_port : mach_port_t;
in flag : uint32_t
);
routine io_service_request_probe(
service : io_object_t;
in options : uint32_t
);
routine io_registry_entry_get_name_in_plane(
registry_entry : io_object_t;
in plane : io_name_t;
out name : io_name_t
);
routine io_service_match_property_table(
service : io_object_t;
in matching : io_string_t;
out matches : boolean_t
);
#if IOKIT_ALL_IPC || __ILP32__
routine io_async_method_scalarI_scalarO(
connection : io_connect_t;
in wake_port : mach_port_make_send_t;
in reference : io_async_ref_t;
in selector : uint32_t;
in input : io_scalar_inband_t;
out output : io_scalar_inband_t, CountInOut
);
routine io_async_method_scalarI_structureO(
connection : io_connect_t;
in wake_port : mach_port_make_send_t;
in reference : io_async_ref_t;
in selector : uint32_t;
in input : io_scalar_inband_t;
out output : io_struct_inband_t, CountInOut
);
routine io_async_method_scalarI_structureI(
connection : io_connect_t;
in wake_port : mach_port_make_send_t;
in reference : io_async_ref_t;
in selector : uint32_t;
in input : io_scalar_inband_t;
in inputStruct : io_struct_inband_t
);
routine io_async_method_structureI_structureO(
connection : io_connect_t;
in wake_port : mach_port_make_send_t;
in reference : io_async_ref_t;
in selector : uint32_t;
in input : io_struct_inband_t;
out output : io_struct_inband_t, CountInOut
);
#else
skip;
skip;
skip;
skip;
#endif
#if IOKIT_ALL_IPC || __ILP32__
routine io_service_add_notification(
master_port : mach_port_t;
in notification_type : io_name_t;
in matching : io_string_t;
in wake_port : mach_port_make_send_t;
in reference : io_async_ref_t;
out notification : io_object_t
);
routine io_service_add_interest_notification(
service : io_object_t;
in type_of_interest : io_name_t;
in wake_port : mach_port_make_send_t;
in reference : io_async_ref_t;
out notification : io_object_t
);
routine io_service_acknowledge_notification(
service : io_object_t;
in notify_ref : natural_t;
in response : natural_t
);
#else
skip;
skip;
skip;
#endif
routine io_connect_get_notification_semaphore(
connection : io_connect_t;
in notification_type : natural_t;
out semaphore : semaphore_t
);
#if IOKIT_ALL_IPC || __ILP32__
routine io_connect_unmap_memory(
connection : io_connect_t;
in memory_type : uint32_t;
in into_task : task_t;
#if IOKIT_ALL_IPC
in address : uint32_t
#else
in address : vm_address_t
#endif
);
#else
skip;
#endif
routine io_registry_entry_get_location_in_plane(
registry_entry : io_object_t;
in plane : io_name_t;
out location : io_name_t
);
routine io_registry_entry_get_property_recursively(
registry_entry : io_object_t;
in plane : io_name_t;
in property_name : io_name_t;
in options : uint32_t;
out properties : io_buf_ptr_t, physicalcopy
);
routine io_service_get_state(
service : io_object_t;
out state : uint64_t;
out busy_state : uint32_t;
out accumulated_busy_time : uint64_t
);
routine io_service_get_matching_services_ool(
master_port : mach_port_t;
in matching : io_buf_ptr_t, physicalcopy;
out result : kern_return_t;
out existing : io_object_t
);
routine io_service_match_property_table_ool(
service : io_object_t;
in matching : io_buf_ptr_t, physicalcopy;
out result : kern_return_t;
out matches : boolean_t
);
#if IOKIT_ALL_IPC || __ILP32__
routine io_service_add_notification_ool(
master_port : mach_port_t;
in notification_type : io_name_t;
in matching : io_buf_ptr_t, physicalcopy;
in wake_port : mach_port_make_send_t;
in reference : io_async_ref_t;
out result : kern_return_t;
out notification : io_object_t
);
#else
skip;
#endif
routine io_object_get_superclass(
master_port : mach_port_t;
in obj_name : io_name_t;
out class_name : io_name_t
);
routine io_object_get_bundle_identifier(
master_port : mach_port_t;
in obj_name : io_name_t;
out class_name : io_name_t
);
routine io_service_open_extended(
service : io_object_t;
in owningTask : task_t;
in connect_type : uint32_t;
in ndr : NDR_record_t;
in properties : io_buf_ptr_t, physicalcopy;
out result : kern_return_t;
out connection : io_connect_t
);
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
routine io_connect_map_memory_into_task(
connection : io_connect_t;
in memory_type : uint32_t;
in into_task : task_t;
inout address : mach_vm_address_t;
inout size : mach_vm_size_t;
in flags : uint32_t
);
routine io_connect_unmap_memory_from_task(
connection : io_connect_t;
in memory_type : uint32_t;
in from_task : task_t;
in address : mach_vm_address_t
);
routine io_connect_method(
connection : io_connect_t;
in selector : uint32_t;
in scalar_input : io_scalar_inband64_t;
in inband_input : io_struct_inband_t;
in ool_input : mach_vm_address_t;
in ool_input_size : mach_vm_size_t;
out inband_output : io_struct_inband_t, CountInOut;
out scalar_output : io_scalar_inband64_t, CountInOut;
in ool_output : mach_vm_address_t;
inout ool_output_size : mach_vm_size_t
);
routine io_connect_async_method(
connection : io_connect_t;
in wake_port : mach_port_make_send_t;
in reference : io_async_ref64_t;
in selector : uint32_t;
in scalar_input : io_scalar_inband64_t;
in inband_input : io_struct_inband_t;
in ool_input : mach_vm_address_t;
in ool_input_size : mach_vm_size_t;
out inband_output : io_struct_inband_t, CountInOut;
out scalar_output : io_scalar_inband64_t, CountInOut;
in ool_output : mach_vm_address_t;
inout ool_output_size : mach_vm_size_t
);
#if IOKIT_ALL_IPC || __LP64__
#if IOKIT_ALL_IPC
#define FUNC_NAME(name) name ## _64
#else
#define FUNC_NAME(name) name
#endif
routine FUNC_NAME(io_connect_set_notification_port)(
connection : io_connect_t;
in notification_type : uint32_t;
in port : mach_port_make_send_t;
in reference : io_user_reference_t
);
routine FUNC_NAME(io_service_add_notification)(
master_port : mach_port_t;
in notification_type : io_name_t;
in matching : io_string_t;
in wake_port : mach_port_make_send_t;
in reference : io_async_ref64_t;
out notification : io_object_t
);
routine FUNC_NAME(io_service_add_interest_notification)(
service : io_object_t;
in type_of_interest : io_name_t;
in wake_port : mach_port_make_send_t;
in reference : io_async_ref64_t;
out notification : io_object_t
);
routine FUNC_NAME(io_service_add_notification_ool)(
master_port : mach_port_t;
in notification_type : io_name_t;
in matching : io_buf_ptr_t, physicalcopy;
in wake_port : mach_port_make_send_t;
in reference : io_async_ref64_t;
out result : kern_return_t;
out notification : io_object_t
);
#else
skip;
skip;
skip;
skip;
#endif /* IOKIT_ALL_IPC || __LP64__ */
routine io_registry_entry_get_registry_entry_id(
registry_entry : io_object_t;
out entry_id : uint64_t
);
routine io_connect_method_var_output(
connection : io_connect_t;
in selector : uint32_t;
in scalar_input : io_scalar_inband64_t;
in inband_input : io_struct_inband_t;
in ool_input : mach_vm_address_t;
in ool_input_size : mach_vm_size_t;
out inband_output : io_struct_inband_t, CountInOut;
out scalar_output : io_scalar_inband64_t, CountInOut;
out var_output : io_buf_ptr_t, physicalcopy
);
routine io_service_get_matching_service(
master_port : mach_port_t;
in matching : io_string_t;
out service : io_object_t
);
routine io_service_get_matching_service_ool(
master_port : mach_port_t;
in matching : io_buf_ptr_t, physicalcopy;
out result : kern_return_t;
out service : io_object_t
);
routine io_service_get_authorization_id(
service : io_object_t;
out authorization_id : uint64_t
);
routine io_service_set_authorization_id(
service : io_object_t;
in authorization_id : uint64_t
);
/* */
routine io_server_version(
master_port : mach_port_t;
out version : uint64_t
);
routine io_registry_entry_get_properties_bin(
registry_entry : io_object_t;
out properties : io_buf_ptr_t, physicalcopy
);
routine io_registry_entry_get_property_bin(
registry_entry : io_object_t;
in plane : io_name_t;
in property_name : io_name_t;
in options : uint32_t;
out properties : io_buf_ptr_t, physicalcopy
);
routine io_service_get_matching_service_bin(
master_port : mach_port_t;
in matching : io_struct_inband_t;
out service : io_object_t
);
routine io_service_get_matching_services_bin(
master_port : mach_port_t;
in matching : io_struct_inband_t;
out existing : io_object_t
);
routine io_service_match_property_table_bin(
service : io_object_t;
in matching : io_struct_inband_t;
out matches : boolean_t
);
#if IOKIT_ALL_IPC || __ILP32__
routine io_service_add_notification_bin(
master_port : mach_port_t;
in notification_type : io_name_t;
in matching : io_struct_inband_t;
in wake_port : mach_port_make_send_t;
in reference : io_async_ref_t;
out notification : io_object_t
);
#else
skip;
#endif
#if IOKIT_ALL_IPC || __LP64__
routine FUNC_NAME(io_service_add_notification_bin)(
master_port : mach_port_t;
in notification_type : io_name_t;
in matching : io_struct_inband_t;
in wake_port : mach_port_make_send_t;
in reference : io_async_ref64_t;
out notification : io_object_t
);
#else
skip;
#endif
#if !IOKITSIMD
routine io_registry_entry_get_path_ool(
registry_entry : io_object_t;
in plane : io_name_t;
out path : io_string_inband_t;
out path_ool : io_buf_ptr_t, physicalcopy
);
routine io_registry_entry_from_path_ool(
master_port : mach_port_t;
in path : io_string_inband_t;
in path_ool : io_buf_ptr_t, physicalcopy;
out result : kern_return_t;
out registry_entry : io_object_t
);
#endif
#endif /* IOKIT */
/* vim: set ft=c : */