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