| 1 | #ifndef _mach_host_server_ |
| 2 | #define _mach_host_server_ |
| 3 | |
| 4 | /* Module mach_host */ |
| 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 | #ifndef __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS_CSTRING_ATTR |
| 29 | #define __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS_CSTRING_COUNTEDBY_ATTR(C) __unsafe_indexable |
| 30 | #endif |
| 31 | extern int mig_strncpy_zerofill(char * dest, const char * src, int len) __attribute__((weak_import)); |
| 32 | #ifdef __cplusplus |
| 33 | } |
| 34 | #endif |
| 35 | #endif /* __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS__ */ |
| 36 | #endif /* __has_include(<mach/mig_strncpy_zerofill_support.h>) */ |
| 37 | #endif /* __has_include */ |
| 38 | |
| 39 | /* END MIG_STRNCPY_ZEROFILL CODE */ |
| 40 | |
| 41 | |
| 42 | #ifdef AUTOTEST |
| 43 | #ifndef FUNCTION_PTR_T |
| 44 | #define FUNCTION_PTR_T |
| 45 | typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t); |
| 46 | typedef struct { |
| 47 | char * name; |
| 48 | function_ptr_t function; |
| 49 | } function_table_entry; |
| 50 | typedef function_table_entry *function_table_t; |
| 51 | #endif /* FUNCTION_PTR_T */ |
| 52 | #endif /* AUTOTEST */ |
| 53 | |
| 54 | #ifndef mach_host_MSG_COUNT |
| 55 | #define mach_host_MSG_COUNT 35 |
| 56 | #endif /* mach_host_MSG_COUNT */ |
| 57 | |
| 58 | #include <Availability.h> |
| 59 | #include <mach/std_types.h> |
| 60 | #include <mach/mig.h> |
| 61 | #include <ipc/ipc_voucher.h> |
| 62 | #include <kern/ipc_kobject.h> |
| 63 | #include <kern/ipc_tt.h> |
| 64 | #include <kern/ipc_host.h> |
| 65 | #include <kern/ledger.h> |
| 66 | #include <kern/processor.h> |
| 67 | #include <kern/sync_sema.h> |
| 68 | #include <ipc/ipc_eventlink.h> |
| 69 | #include <vm/memory_object.h> |
| 70 | #include <vm/vm_map.h> |
| 71 | #include <kern/arcade.h> |
| 72 | #include <kern/ipc_mig.h> |
| 73 | #include <kern/task_ident.h> |
| 74 | #include <kern/kern_cdata.h> |
| 75 | #include <mach/mig.h> |
| 76 | #include <mach/mach_types.h> |
| 77 | #include <mach/mach_types.h> |
| 78 | #include <mach_debug/mach_debug_types.h> |
| 79 | |
| 80 | #ifdef __BeforeMigServerHeader |
| 81 | __BeforeMigServerHeader |
| 82 | #endif /* __BeforeMigServerHeader */ |
| 83 | |
| 84 | #ifndef MIG_SERVER_ROUTINE |
| 85 | #define MIG_SERVER_ROUTINE |
| 86 | #endif |
| 87 | |
| 88 | |
| 89 | /* Routine host_info */ |
| 90 | #ifdef mig_external |
| 91 | mig_external |
| 92 | #else |
| 93 | extern |
| 94 | #endif /* mig_external */ |
| 95 | MIG_SERVER_ROUTINE |
| 96 | kern_return_t host_info |
| 97 | ( |
| 98 | host_t host, |
| 99 | host_flavor_t flavor, |
| 100 | host_info_t host_info_out, |
| 101 | mach_msg_type_number_t *host_info_outCnt |
| 102 | ); |
| 103 | |
| 104 | /* Routine host_kernel_version */ |
| 105 | #ifdef mig_external |
| 106 | mig_external |
| 107 | #else |
| 108 | extern |
| 109 | #endif /* mig_external */ |
| 110 | MIG_SERVER_ROUTINE |
| 111 | kern_return_t host_kernel_version |
| 112 | ( |
| 113 | host_t host, |
| 114 | kernel_version_t kernel_version |
| 115 | ); |
| 116 | |
| 117 | /* Routine host_page_size */ |
| 118 | #ifdef mig_external |
| 119 | mig_external |
| 120 | #else |
| 121 | extern |
| 122 | #endif /* mig_external */ |
| 123 | MIG_SERVER_ROUTINE |
| 124 | kern_return_t host_page_size |
| 125 | ( |
| 126 | host_t host, |
| 127 | vm_size_t *out_page_size |
| 128 | ); |
| 129 | |
| 130 | /* Routine mach_memory_object_memory_entry */ |
| 131 | #ifdef mig_external |
| 132 | mig_external |
| 133 | #else |
| 134 | extern |
| 135 | #endif /* mig_external */ |
| 136 | MIG_SERVER_ROUTINE |
| 137 | kern_return_t mach_memory_object_memory_entry |
| 138 | ( |
| 139 | host_t host, |
| 140 | boolean_t internal, |
| 141 | vm_size_t size, |
| 142 | vm_prot_t permission, |
| 143 | memory_object_t , |
| 144 | mach_port_t *entry_handle |
| 145 | ); |
| 146 | |
| 147 | /* Routine host_processor_info */ |
| 148 | #ifdef mig_external |
| 149 | mig_external |
| 150 | #else |
| 151 | extern |
| 152 | #endif /* mig_external */ |
| 153 | MIG_SERVER_ROUTINE |
| 154 | kern_return_t host_processor_info |
| 155 | ( |
| 156 | host_t host, |
| 157 | processor_flavor_t flavor, |
| 158 | natural_t *out_processor_count, |
| 159 | processor_info_array_t *out_processor_info, |
| 160 | mach_msg_type_number_t *out_processor_infoCnt |
| 161 | ); |
| 162 | |
| 163 | /* Routine host_get_io_main */ |
| 164 | #ifdef mig_external |
| 165 | mig_external |
| 166 | #else |
| 167 | extern |
| 168 | #endif /* mig_external */ |
| 169 | MIG_SERVER_ROUTINE |
| 170 | kern_return_t host_get_io_main |
| 171 | ( |
| 172 | host_t host, |
| 173 | io_main_t *io_main |
| 174 | ); |
| 175 | |
| 176 | /* Routine host_get_clock_service */ |
| 177 | #ifdef mig_external |
| 178 | mig_external |
| 179 | #else |
| 180 | extern |
| 181 | #endif /* mig_external */ |
| 182 | MIG_SERVER_ROUTINE |
| 183 | kern_return_t host_get_clock_service |
| 184 | ( |
| 185 | host_t host, |
| 186 | clock_id_t clock_id, |
| 187 | clock_serv_t *clock_serv |
| 188 | ); |
| 189 | |
| 190 | /* Routine kmod_get_info */ |
| 191 | #ifdef mig_external |
| 192 | mig_external |
| 193 | #else |
| 194 | extern |
| 195 | #endif /* mig_external */ |
| 196 | MIG_SERVER_ROUTINE |
| 197 | kern_return_t kmod_get_info |
| 198 | ( |
| 199 | host_t host, |
| 200 | kmod_args_t *modules, |
| 201 | mach_msg_type_number_t *modulesCnt |
| 202 | ); |
| 203 | |
| 204 | /* Routine host_virtual_physical_table_info */ |
| 205 | #ifdef mig_external |
| 206 | mig_external |
| 207 | #else |
| 208 | extern |
| 209 | #endif /* mig_external */ |
| 210 | MIG_SERVER_ROUTINE |
| 211 | kern_return_t host_virtual_physical_table_info |
| 212 | ( |
| 213 | host_t host, |
| 214 | hash_info_bucket_array_t *info, |
| 215 | mach_msg_type_number_t *infoCnt |
| 216 | ); |
| 217 | |
| 218 | /* Routine processor_set_default */ |
| 219 | #ifdef mig_external |
| 220 | mig_external |
| 221 | #else |
| 222 | extern |
| 223 | #endif /* mig_external */ |
| 224 | MIG_SERVER_ROUTINE |
| 225 | kern_return_t processor_set_default |
| 226 | ( |
| 227 | host_t host, |
| 228 | processor_set_name_t *default_set |
| 229 | ); |
| 230 | |
| 231 | /* Routine mach_memory_object_memory_entry_64 */ |
| 232 | #ifdef mig_external |
| 233 | mig_external |
| 234 | #else |
| 235 | extern |
| 236 | #endif /* mig_external */ |
| 237 | MIG_SERVER_ROUTINE |
| 238 | kern_return_t mach_memory_object_memory_entry_64 |
| 239 | ( |
| 240 | host_t host, |
| 241 | boolean_t internal, |
| 242 | memory_object_size_t size, |
| 243 | vm_prot_t permission, |
| 244 | memory_object_t , |
| 245 | mach_port_t *entry_handle |
| 246 | ); |
| 247 | |
| 248 | /* Routine host_statistics_from_user */ |
| 249 | #ifdef mig_external |
| 250 | mig_external |
| 251 | #else |
| 252 | extern |
| 253 | #endif /* mig_external */ |
| 254 | MIG_SERVER_ROUTINE |
| 255 | kern_return_t host_statistics_from_user |
| 256 | ( |
| 257 | host_t host_priv, |
| 258 | host_flavor_t flavor, |
| 259 | host_info_t host_info_out, |
| 260 | mach_msg_type_number_t *host_info_outCnt |
| 261 | ); |
| 262 | |
| 263 | /* Routine host_request_notification */ |
| 264 | #ifdef mig_external |
| 265 | mig_external |
| 266 | #else |
| 267 | extern |
| 268 | #endif /* mig_external */ |
| 269 | MIG_SERVER_ROUTINE |
| 270 | kern_return_t host_request_notification |
| 271 | ( |
| 272 | host_t host, |
| 273 | host_flavor_t notify_type, |
| 274 | mach_port_t notify_port |
| 275 | ); |
| 276 | |
| 277 | /* Routine host_lockgroup_info */ |
| 278 | #ifdef mig_external |
| 279 | mig_external |
| 280 | #else |
| 281 | extern |
| 282 | #endif /* mig_external */ |
| 283 | MIG_SERVER_ROUTINE |
| 284 | kern_return_t host_lockgroup_info |
| 285 | ( |
| 286 | host_t host, |
| 287 | lockgroup_info_array_t *lockgroup_info, |
| 288 | mach_msg_type_number_t *lockgroup_infoCnt |
| 289 | ); |
| 290 | |
| 291 | /* Routine host_statistics64_from_user */ |
| 292 | #ifdef mig_external |
| 293 | mig_external |
| 294 | #else |
| 295 | extern |
| 296 | #endif /* mig_external */ |
| 297 | MIG_SERVER_ROUTINE |
| 298 | kern_return_t host_statistics64_from_user |
| 299 | ( |
| 300 | host_t host_priv, |
| 301 | host_flavor_t flavor, |
| 302 | host_info64_t host_info64_out, |
| 303 | mach_msg_type_number_t *host_info64_outCnt |
| 304 | ); |
| 305 | |
| 306 | /* Routine mach_zone_info */ |
| 307 | #ifdef mig_external |
| 308 | mig_external |
| 309 | #else |
| 310 | extern |
| 311 | #endif /* mig_external */ |
| 312 | MIG_SERVER_ROUTINE |
| 313 | kern_return_t mach_zone_info |
| 314 | ( |
| 315 | mach_port_t host, |
| 316 | mach_zone_name_array_t *names, |
| 317 | mach_msg_type_number_t *namesCnt, |
| 318 | mach_zone_info_array_t *info, |
| 319 | mach_msg_type_number_t *infoCnt |
| 320 | ); |
| 321 | |
| 322 | /* Routine mach_zone_force_gc */ |
| 323 | #ifdef mig_external |
| 324 | mig_external |
| 325 | #else |
| 326 | extern |
| 327 | #endif /* mig_external */ |
| 328 | MIG_SERVER_ROUTINE |
| 329 | kern_return_t mach_zone_force_gc |
| 330 | ( |
| 331 | host_t host |
| 332 | ); |
| 333 | |
| 334 | /* Routine host_create_mach_voucher */ |
| 335 | #ifdef mig_external |
| 336 | mig_external |
| 337 | #else |
| 338 | extern |
| 339 | #endif /* mig_external */ |
| 340 | MIG_SERVER_ROUTINE |
| 341 | kern_return_t host_create_mach_voucher |
| 342 | ( |
| 343 | host_t host, |
| 344 | mach_voucher_attr_raw_recipe_array_t recipes, |
| 345 | mach_msg_type_number_t recipesCnt, |
| 346 | ipc_voucher_t *voucher |
| 347 | ); |
| 348 | |
| 349 | /* Routine host_set_atm_diagnostic_flag */ |
| 350 | #ifdef mig_external |
| 351 | mig_external |
| 352 | #else |
| 353 | extern |
| 354 | #endif /* mig_external */ |
| 355 | MIG_SERVER_ROUTINE |
| 356 | kern_return_t host_set_atm_diagnostic_flag |
| 357 | ( |
| 358 | host_t host, |
| 359 | uint32_t diagnostic_flag |
| 360 | ); |
| 361 | |
| 362 | /* Routine mach_memory_info */ |
| 363 | #ifdef mig_external |
| 364 | mig_external |
| 365 | #else |
| 366 | extern |
| 367 | #endif /* mig_external */ |
| 368 | MIG_SERVER_ROUTINE |
| 369 | kern_return_t mach_memory_info |
| 370 | ( |
| 371 | mach_port_t host, |
| 372 | mach_zone_name_array_t *names, |
| 373 | mach_msg_type_number_t *namesCnt, |
| 374 | mach_zone_info_array_t *info, |
| 375 | mach_msg_type_number_t *infoCnt, |
| 376 | mach_memory_info_array_t *memory_info, |
| 377 | mach_msg_type_number_t *memory_infoCnt |
| 378 | ); |
| 379 | |
| 380 | /* Routine host_set_multiuser_config_flags */ |
| 381 | #ifdef mig_external |
| 382 | mig_external |
| 383 | #else |
| 384 | extern |
| 385 | #endif /* mig_external */ |
| 386 | MIG_SERVER_ROUTINE |
| 387 | kern_return_t host_set_multiuser_config_flags |
| 388 | ( |
| 389 | host_priv_t host_priv, |
| 390 | uint32_t multiuser_flags |
| 391 | ); |
| 392 | |
| 393 | /* Routine mach_zone_info_for_zone */ |
| 394 | #ifdef mig_external |
| 395 | mig_external |
| 396 | #else |
| 397 | extern |
| 398 | #endif /* mig_external */ |
| 399 | MIG_SERVER_ROUTINE |
| 400 | kern_return_t mach_zone_info_for_zone |
| 401 | ( |
| 402 | host_priv_t host, |
| 403 | mach_zone_name_t name, |
| 404 | mach_zone_info_t *info |
| 405 | ); |
| 406 | |
| 407 | /* Routine mach_zone_info_for_largest_zone */ |
| 408 | #ifdef mig_external |
| 409 | mig_external |
| 410 | #else |
| 411 | extern |
| 412 | #endif /* mig_external */ |
| 413 | MIG_SERVER_ROUTINE |
| 414 | kern_return_t mach_zone_info_for_largest_zone |
| 415 | ( |
| 416 | host_priv_t host, |
| 417 | mach_zone_name_t *name, |
| 418 | mach_zone_info_t *info |
| 419 | ); |
| 420 | |
| 421 | /* Routine mach_zone_get_zlog_zones */ |
| 422 | #ifdef mig_external |
| 423 | mig_external |
| 424 | #else |
| 425 | extern |
| 426 | #endif /* mig_external */ |
| 427 | MIG_SERVER_ROUTINE |
| 428 | kern_return_t mach_zone_get_zlog_zones |
| 429 | ( |
| 430 | host_priv_t host, |
| 431 | mach_zone_name_array_t *names, |
| 432 | mach_msg_type_number_t *namesCnt |
| 433 | ); |
| 434 | |
| 435 | /* Routine mach_zone_get_btlog_records */ |
| 436 | #ifdef mig_external |
| 437 | mig_external |
| 438 | #else |
| 439 | extern |
| 440 | #endif /* mig_external */ |
| 441 | MIG_SERVER_ROUTINE |
| 442 | kern_return_t mach_zone_get_btlog_records |
| 443 | ( |
| 444 | host_priv_t host, |
| 445 | mach_zone_name_t name, |
| 446 | zone_btrecord_array_t *recs, |
| 447 | mach_msg_type_number_t *recsCnt |
| 448 | ); |
| 449 | |
| 450 | #ifdef mig_external |
| 451 | mig_external |
| 452 | #else |
| 453 | extern |
| 454 | #endif /* mig_external */ |
| 455 | boolean_t mach_host_server( |
| 456 | mach_msg_header_t *InHeadP, |
| 457 | void *InDataP, |
| 458 | mach_msg_max_trailer_t *InTrailerP, |
| 459 | mach_msg_header_t *OutHeadP, |
| 460 | void *OutDataP); |
| 461 | |
| 462 | #ifdef mig_external |
| 463 | mig_external |
| 464 | #else |
| 465 | extern |
| 466 | #endif /* mig_external */ |
| 467 | mig_kern_routine_t mach_host_server_routine( |
| 468 | mach_msg_header_t *InHeadP); |
| 469 | |
| 470 | |
| 471 | /* Description of this kernel subsystem, for use in direct RPC */ |
| 472 | extern const struct mach_host_subsystem { |
| 473 | mig_kern_server_routine_t kserver; /* Server routine */ |
| 474 | mach_msg_id_t start; /* Min routine number */ |
| 475 | mach_msg_id_t end; /* Max routine number + 1 */ |
| 476 | unsigned int maxsize; /* Max msg size */ |
| 477 | vm_address_t reserved; /* Reserved */ |
| 478 | struct kern_routine_descriptor /* Array of routine descriptors */ |
| 479 | kroutine[35]; |
| 480 | } mach_host_subsystem; |
| 481 | |
| 482 | /* typedefs for all requests */ |
| 483 | |
| 484 | #ifndef __Request__mach_host_subsystem__defined |
| 485 | #define __Request__mach_host_subsystem__defined |
| 486 | |
| 487 | #ifdef __MigPackStructs |
| 488 | #pragma pack(push, 4) |
| 489 | #endif |
| 490 | typedef struct { |
| 491 | mach_msg_header_t Head; |
| 492 | NDR_record_t NDR; |
| 493 | host_flavor_t flavor; |
| 494 | mach_msg_type_number_t host_info_outCnt; |
| 495 | } __Request__host_info_t __attribute__((unused)); |
| 496 | #ifdef __MigPackStructs |
| 497 | #pragma pack(pop) |
| 498 | #endif |
| 499 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 500 | #ifdef __MigPackStructs |
| 501 | #pragma pack(push, 4) |
| 502 | #endif |
| 503 | typedef struct { |
| 504 | mach_msg_header_t Head; |
| 505 | } __RequestKData__host_info_t __attribute__((unused)); |
| 506 | #ifdef __MigPackStructs |
| 507 | #pragma pack(pop) |
| 508 | #endif |
| 509 | /* Struct for pure user data */ |
| 510 | #ifdef __MigPackStructs |
| 511 | #pragma pack(push, 4) |
| 512 | #endif |
| 513 | typedef struct { |
| 514 | NDR_record_t NDR; |
| 515 | host_flavor_t flavor; |
| 516 | mach_msg_type_number_t host_info_outCnt; |
| 517 | char padding[0]; /* Avoid generating empty UData structs */ |
| 518 | } __RequestUData__host_info_t __attribute__((unused)); |
| 519 | #ifdef __MigPackStructs |
| 520 | #pragma pack(pop) |
| 521 | #endif |
| 522 | |
| 523 | #ifdef __MigPackStructs |
| 524 | #pragma pack(push, 4) |
| 525 | #endif |
| 526 | typedef struct { |
| 527 | mach_msg_header_t Head; |
| 528 | } __Request__host_kernel_version_t __attribute__((unused)); |
| 529 | #ifdef __MigPackStructs |
| 530 | #pragma pack(pop) |
| 531 | #endif |
| 532 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 533 | #ifdef __MigPackStructs |
| 534 | #pragma pack(push, 4) |
| 535 | #endif |
| 536 | typedef struct { |
| 537 | mach_msg_header_t Head; |
| 538 | } __RequestKData__host_kernel_version_t __attribute__((unused)); |
| 539 | #ifdef __MigPackStructs |
| 540 | #pragma pack(pop) |
| 541 | #endif |
| 542 | /* Struct for pure user data */ |
| 543 | #ifdef __MigPackStructs |
| 544 | #pragma pack(push, 4) |
| 545 | #endif |
| 546 | typedef struct { |
| 547 | char padding[0]; /* Avoid generating empty UData structs */ |
| 548 | } __RequestUData__host_kernel_version_t __attribute__((unused)); |
| 549 | #ifdef __MigPackStructs |
| 550 | #pragma pack(pop) |
| 551 | #endif |
| 552 | |
| 553 | #ifdef __MigPackStructs |
| 554 | #pragma pack(push, 4) |
| 555 | #endif |
| 556 | typedef struct { |
| 557 | mach_msg_header_t Head; |
| 558 | } __Request__host_page_size_t __attribute__((unused)); |
| 559 | #ifdef __MigPackStructs |
| 560 | #pragma pack(pop) |
| 561 | #endif |
| 562 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 563 | #ifdef __MigPackStructs |
| 564 | #pragma pack(push, 4) |
| 565 | #endif |
| 566 | typedef struct { |
| 567 | mach_msg_header_t Head; |
| 568 | } __RequestKData__host_page_size_t __attribute__((unused)); |
| 569 | #ifdef __MigPackStructs |
| 570 | #pragma pack(pop) |
| 571 | #endif |
| 572 | /* Struct for pure user data */ |
| 573 | #ifdef __MigPackStructs |
| 574 | #pragma pack(push, 4) |
| 575 | #endif |
| 576 | typedef struct { |
| 577 | char padding[0]; /* Avoid generating empty UData structs */ |
| 578 | } __RequestUData__host_page_size_t __attribute__((unused)); |
| 579 | #ifdef __MigPackStructs |
| 580 | #pragma pack(pop) |
| 581 | #endif |
| 582 | |
| 583 | #ifdef __MigPackStructs |
| 584 | #pragma pack(push, 4) |
| 585 | #endif |
| 586 | typedef struct { |
| 587 | mach_msg_header_t Head; |
| 588 | /* start of the kernel processed data */ |
| 589 | mach_msg_body_t msgh_body; |
| 590 | mach_msg_port_descriptor_t ; |
| 591 | /* end of the kernel processed data */ |
| 592 | NDR_record_t NDR; |
| 593 | boolean_t internal; |
| 594 | vm_size_t size; |
| 595 | vm_prot_t permission; |
| 596 | } __Request__mach_memory_object_memory_entry_t __attribute__((unused)); |
| 597 | #ifdef __MigPackStructs |
| 598 | #pragma pack(pop) |
| 599 | #endif |
| 600 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 601 | #ifdef __MigPackStructs |
| 602 | #pragma pack(push, 4) |
| 603 | #endif |
| 604 | typedef struct { |
| 605 | mach_msg_header_t Head; |
| 606 | mach_msg_body_t msgh_body; |
| 607 | mach_msg_port_descriptor_t ; |
| 608 | } __RequestKData__mach_memory_object_memory_entry_t __attribute__((unused)); |
| 609 | #ifdef __MigPackStructs |
| 610 | #pragma pack(pop) |
| 611 | #endif |
| 612 | /* Struct for pure user data */ |
| 613 | #ifdef __MigPackStructs |
| 614 | #pragma pack(push, 4) |
| 615 | #endif |
| 616 | typedef struct { |
| 617 | NDR_record_t NDR; |
| 618 | boolean_t internal; |
| 619 | vm_size_t size; |
| 620 | vm_prot_t permission; |
| 621 | char padding[0]; /* Avoid generating empty UData structs */ |
| 622 | } __RequestUData__mach_memory_object_memory_entry_t __attribute__((unused)); |
| 623 | #ifdef __MigPackStructs |
| 624 | #pragma pack(pop) |
| 625 | #endif |
| 626 | |
| 627 | #ifdef __MigPackStructs |
| 628 | #pragma pack(push, 4) |
| 629 | #endif |
| 630 | typedef struct { |
| 631 | mach_msg_header_t Head; |
| 632 | NDR_record_t NDR; |
| 633 | processor_flavor_t flavor; |
| 634 | } __Request__host_processor_info_t __attribute__((unused)); |
| 635 | #ifdef __MigPackStructs |
| 636 | #pragma pack(pop) |
| 637 | #endif |
| 638 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 639 | #ifdef __MigPackStructs |
| 640 | #pragma pack(push, 4) |
| 641 | #endif |
| 642 | typedef struct { |
| 643 | mach_msg_header_t Head; |
| 644 | } __RequestKData__host_processor_info_t __attribute__((unused)); |
| 645 | #ifdef __MigPackStructs |
| 646 | #pragma pack(pop) |
| 647 | #endif |
| 648 | /* Struct for pure user data */ |
| 649 | #ifdef __MigPackStructs |
| 650 | #pragma pack(push, 4) |
| 651 | #endif |
| 652 | typedef struct { |
| 653 | NDR_record_t NDR; |
| 654 | processor_flavor_t flavor; |
| 655 | char padding[0]; /* Avoid generating empty UData structs */ |
| 656 | } __RequestUData__host_processor_info_t __attribute__((unused)); |
| 657 | #ifdef __MigPackStructs |
| 658 | #pragma pack(pop) |
| 659 | #endif |
| 660 | |
| 661 | #ifdef __MigPackStructs |
| 662 | #pragma pack(push, 4) |
| 663 | #endif |
| 664 | typedef struct { |
| 665 | mach_msg_header_t Head; |
| 666 | } __Request__host_get_io_main_t __attribute__((unused)); |
| 667 | #ifdef __MigPackStructs |
| 668 | #pragma pack(pop) |
| 669 | #endif |
| 670 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 671 | #ifdef __MigPackStructs |
| 672 | #pragma pack(push, 4) |
| 673 | #endif |
| 674 | typedef struct { |
| 675 | mach_msg_header_t Head; |
| 676 | } __RequestKData__host_get_io_main_t __attribute__((unused)); |
| 677 | #ifdef __MigPackStructs |
| 678 | #pragma pack(pop) |
| 679 | #endif |
| 680 | /* Struct for pure user data */ |
| 681 | #ifdef __MigPackStructs |
| 682 | #pragma pack(push, 4) |
| 683 | #endif |
| 684 | typedef struct { |
| 685 | char padding[0]; /* Avoid generating empty UData structs */ |
| 686 | } __RequestUData__host_get_io_main_t __attribute__((unused)); |
| 687 | #ifdef __MigPackStructs |
| 688 | #pragma pack(pop) |
| 689 | #endif |
| 690 | |
| 691 | #ifdef __MigPackStructs |
| 692 | #pragma pack(push, 4) |
| 693 | #endif |
| 694 | typedef struct { |
| 695 | mach_msg_header_t Head; |
| 696 | NDR_record_t NDR; |
| 697 | clock_id_t clock_id; |
| 698 | } __Request__host_get_clock_service_t __attribute__((unused)); |
| 699 | #ifdef __MigPackStructs |
| 700 | #pragma pack(pop) |
| 701 | #endif |
| 702 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 703 | #ifdef __MigPackStructs |
| 704 | #pragma pack(push, 4) |
| 705 | #endif |
| 706 | typedef struct { |
| 707 | mach_msg_header_t Head; |
| 708 | } __RequestKData__host_get_clock_service_t __attribute__((unused)); |
| 709 | #ifdef __MigPackStructs |
| 710 | #pragma pack(pop) |
| 711 | #endif |
| 712 | /* Struct for pure user data */ |
| 713 | #ifdef __MigPackStructs |
| 714 | #pragma pack(push, 4) |
| 715 | #endif |
| 716 | typedef struct { |
| 717 | NDR_record_t NDR; |
| 718 | clock_id_t clock_id; |
| 719 | char padding[0]; /* Avoid generating empty UData structs */ |
| 720 | } __RequestUData__host_get_clock_service_t __attribute__((unused)); |
| 721 | #ifdef __MigPackStructs |
| 722 | #pragma pack(pop) |
| 723 | #endif |
| 724 | |
| 725 | #ifdef __MigPackStructs |
| 726 | #pragma pack(push, 4) |
| 727 | #endif |
| 728 | typedef struct { |
| 729 | mach_msg_header_t Head; |
| 730 | } __Request__kmod_get_info_t __attribute__((unused)); |
| 731 | #ifdef __MigPackStructs |
| 732 | #pragma pack(pop) |
| 733 | #endif |
| 734 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 735 | #ifdef __MigPackStructs |
| 736 | #pragma pack(push, 4) |
| 737 | #endif |
| 738 | typedef struct { |
| 739 | mach_msg_header_t Head; |
| 740 | } __RequestKData__kmod_get_info_t __attribute__((unused)); |
| 741 | #ifdef __MigPackStructs |
| 742 | #pragma pack(pop) |
| 743 | #endif |
| 744 | /* Struct for pure user data */ |
| 745 | #ifdef __MigPackStructs |
| 746 | #pragma pack(push, 4) |
| 747 | #endif |
| 748 | typedef struct { |
| 749 | char padding[0]; /* Avoid generating empty UData structs */ |
| 750 | } __RequestUData__kmod_get_info_t __attribute__((unused)); |
| 751 | #ifdef __MigPackStructs |
| 752 | #pragma pack(pop) |
| 753 | #endif |
| 754 | |
| 755 | #ifdef __MigPackStructs |
| 756 | #pragma pack(push, 4) |
| 757 | #endif |
| 758 | typedef struct { |
| 759 | mach_msg_header_t Head; |
| 760 | } __Request__host_virtual_physical_table_info_t __attribute__((unused)); |
| 761 | #ifdef __MigPackStructs |
| 762 | #pragma pack(pop) |
| 763 | #endif |
| 764 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 765 | #ifdef __MigPackStructs |
| 766 | #pragma pack(push, 4) |
| 767 | #endif |
| 768 | typedef struct { |
| 769 | mach_msg_header_t Head; |
| 770 | } __RequestKData__host_virtual_physical_table_info_t __attribute__((unused)); |
| 771 | #ifdef __MigPackStructs |
| 772 | #pragma pack(pop) |
| 773 | #endif |
| 774 | /* Struct for pure user data */ |
| 775 | #ifdef __MigPackStructs |
| 776 | #pragma pack(push, 4) |
| 777 | #endif |
| 778 | typedef struct { |
| 779 | char padding[0]; /* Avoid generating empty UData structs */ |
| 780 | } __RequestUData__host_virtual_physical_table_info_t __attribute__((unused)); |
| 781 | #ifdef __MigPackStructs |
| 782 | #pragma pack(pop) |
| 783 | #endif |
| 784 | |
| 785 | #ifdef __MigPackStructs |
| 786 | #pragma pack(push, 4) |
| 787 | #endif |
| 788 | typedef struct { |
| 789 | mach_msg_header_t Head; |
| 790 | } __Request__processor_set_default_t __attribute__((unused)); |
| 791 | #ifdef __MigPackStructs |
| 792 | #pragma pack(pop) |
| 793 | #endif |
| 794 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 795 | #ifdef __MigPackStructs |
| 796 | #pragma pack(push, 4) |
| 797 | #endif |
| 798 | typedef struct { |
| 799 | mach_msg_header_t Head; |
| 800 | } __RequestKData__processor_set_default_t __attribute__((unused)); |
| 801 | #ifdef __MigPackStructs |
| 802 | #pragma pack(pop) |
| 803 | #endif |
| 804 | /* Struct for pure user data */ |
| 805 | #ifdef __MigPackStructs |
| 806 | #pragma pack(push, 4) |
| 807 | #endif |
| 808 | typedef struct { |
| 809 | char padding[0]; /* Avoid generating empty UData structs */ |
| 810 | } __RequestUData__processor_set_default_t __attribute__((unused)); |
| 811 | #ifdef __MigPackStructs |
| 812 | #pragma pack(pop) |
| 813 | #endif |
| 814 | |
| 815 | #ifdef __MigPackStructs |
| 816 | #pragma pack(push, 4) |
| 817 | #endif |
| 818 | typedef struct { |
| 819 | mach_msg_header_t Head; |
| 820 | /* start of the kernel processed data */ |
| 821 | mach_msg_body_t msgh_body; |
| 822 | mach_msg_port_descriptor_t ; |
| 823 | /* end of the kernel processed data */ |
| 824 | NDR_record_t NDR; |
| 825 | boolean_t internal; |
| 826 | memory_object_size_t size; |
| 827 | vm_prot_t permission; |
| 828 | } __Request__mach_memory_object_memory_entry_64_t __attribute__((unused)); |
| 829 | #ifdef __MigPackStructs |
| 830 | #pragma pack(pop) |
| 831 | #endif |
| 832 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 833 | #ifdef __MigPackStructs |
| 834 | #pragma pack(push, 4) |
| 835 | #endif |
| 836 | typedef struct { |
| 837 | mach_msg_header_t Head; |
| 838 | mach_msg_body_t msgh_body; |
| 839 | mach_msg_port_descriptor_t ; |
| 840 | } __RequestKData__mach_memory_object_memory_entry_64_t __attribute__((unused)); |
| 841 | #ifdef __MigPackStructs |
| 842 | #pragma pack(pop) |
| 843 | #endif |
| 844 | /* Struct for pure user data */ |
| 845 | #ifdef __MigPackStructs |
| 846 | #pragma pack(push, 4) |
| 847 | #endif |
| 848 | typedef struct { |
| 849 | NDR_record_t NDR; |
| 850 | boolean_t internal; |
| 851 | memory_object_size_t size; |
| 852 | vm_prot_t permission; |
| 853 | char padding[0]; /* Avoid generating empty UData structs */ |
| 854 | } __RequestUData__mach_memory_object_memory_entry_64_t __attribute__((unused)); |
| 855 | #ifdef __MigPackStructs |
| 856 | #pragma pack(pop) |
| 857 | #endif |
| 858 | |
| 859 | #ifdef __MigPackStructs |
| 860 | #pragma pack(push, 4) |
| 861 | #endif |
| 862 | typedef struct { |
| 863 | mach_msg_header_t Head; |
| 864 | NDR_record_t NDR; |
| 865 | host_flavor_t flavor; |
| 866 | mach_msg_type_number_t host_info_outCnt; |
| 867 | } __Request__host_statistics_from_user_t __attribute__((unused)); |
| 868 | #ifdef __MigPackStructs |
| 869 | #pragma pack(pop) |
| 870 | #endif |
| 871 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 872 | #ifdef __MigPackStructs |
| 873 | #pragma pack(push, 4) |
| 874 | #endif |
| 875 | typedef struct { |
| 876 | mach_msg_header_t Head; |
| 877 | } __RequestKData__host_statistics_from_user_t __attribute__((unused)); |
| 878 | #ifdef __MigPackStructs |
| 879 | #pragma pack(pop) |
| 880 | #endif |
| 881 | /* Struct for pure user data */ |
| 882 | #ifdef __MigPackStructs |
| 883 | #pragma pack(push, 4) |
| 884 | #endif |
| 885 | typedef struct { |
| 886 | NDR_record_t NDR; |
| 887 | host_flavor_t flavor; |
| 888 | mach_msg_type_number_t host_info_outCnt; |
| 889 | char padding[0]; /* Avoid generating empty UData structs */ |
| 890 | } __RequestUData__host_statistics_from_user_t __attribute__((unused)); |
| 891 | #ifdef __MigPackStructs |
| 892 | #pragma pack(pop) |
| 893 | #endif |
| 894 | |
| 895 | #ifdef __MigPackStructs |
| 896 | #pragma pack(push, 4) |
| 897 | #endif |
| 898 | typedef struct { |
| 899 | mach_msg_header_t Head; |
| 900 | /* start of the kernel processed data */ |
| 901 | mach_msg_body_t msgh_body; |
| 902 | mach_msg_port_descriptor_t notify_port; |
| 903 | /* end of the kernel processed data */ |
| 904 | NDR_record_t NDR; |
| 905 | host_flavor_t notify_type; |
| 906 | } __Request__host_request_notification_t __attribute__((unused)); |
| 907 | #ifdef __MigPackStructs |
| 908 | #pragma pack(pop) |
| 909 | #endif |
| 910 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 911 | #ifdef __MigPackStructs |
| 912 | #pragma pack(push, 4) |
| 913 | #endif |
| 914 | typedef struct { |
| 915 | mach_msg_header_t Head; |
| 916 | mach_msg_body_t msgh_body; |
| 917 | mach_msg_port_descriptor_t notify_port; |
| 918 | } __RequestKData__host_request_notification_t __attribute__((unused)); |
| 919 | #ifdef __MigPackStructs |
| 920 | #pragma pack(pop) |
| 921 | #endif |
| 922 | /* Struct for pure user data */ |
| 923 | #ifdef __MigPackStructs |
| 924 | #pragma pack(push, 4) |
| 925 | #endif |
| 926 | typedef struct { |
| 927 | NDR_record_t NDR; |
| 928 | host_flavor_t notify_type; |
| 929 | char padding[0]; /* Avoid generating empty UData structs */ |
| 930 | } __RequestUData__host_request_notification_t __attribute__((unused)); |
| 931 | #ifdef __MigPackStructs |
| 932 | #pragma pack(pop) |
| 933 | #endif |
| 934 | |
| 935 | #ifdef __MigPackStructs |
| 936 | #pragma pack(push, 4) |
| 937 | #endif |
| 938 | typedef struct { |
| 939 | mach_msg_header_t Head; |
| 940 | } __Request__host_lockgroup_info_t __attribute__((unused)); |
| 941 | #ifdef __MigPackStructs |
| 942 | #pragma pack(pop) |
| 943 | #endif |
| 944 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 945 | #ifdef __MigPackStructs |
| 946 | #pragma pack(push, 4) |
| 947 | #endif |
| 948 | typedef struct { |
| 949 | mach_msg_header_t Head; |
| 950 | } __RequestKData__host_lockgroup_info_t __attribute__((unused)); |
| 951 | #ifdef __MigPackStructs |
| 952 | #pragma pack(pop) |
| 953 | #endif |
| 954 | /* Struct for pure user data */ |
| 955 | #ifdef __MigPackStructs |
| 956 | #pragma pack(push, 4) |
| 957 | #endif |
| 958 | typedef struct { |
| 959 | char padding[0]; /* Avoid generating empty UData structs */ |
| 960 | } __RequestUData__host_lockgroup_info_t __attribute__((unused)); |
| 961 | #ifdef __MigPackStructs |
| 962 | #pragma pack(pop) |
| 963 | #endif |
| 964 | |
| 965 | #ifdef __MigPackStructs |
| 966 | #pragma pack(push, 4) |
| 967 | #endif |
| 968 | typedef struct { |
| 969 | mach_msg_header_t Head; |
| 970 | NDR_record_t NDR; |
| 971 | host_flavor_t flavor; |
| 972 | mach_msg_type_number_t host_info64_outCnt; |
| 973 | } __Request__host_statistics64_from_user_t __attribute__((unused)); |
| 974 | #ifdef __MigPackStructs |
| 975 | #pragma pack(pop) |
| 976 | #endif |
| 977 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 978 | #ifdef __MigPackStructs |
| 979 | #pragma pack(push, 4) |
| 980 | #endif |
| 981 | typedef struct { |
| 982 | mach_msg_header_t Head; |
| 983 | } __RequestKData__host_statistics64_from_user_t __attribute__((unused)); |
| 984 | #ifdef __MigPackStructs |
| 985 | #pragma pack(pop) |
| 986 | #endif |
| 987 | /* Struct for pure user data */ |
| 988 | #ifdef __MigPackStructs |
| 989 | #pragma pack(push, 4) |
| 990 | #endif |
| 991 | typedef struct { |
| 992 | NDR_record_t NDR; |
| 993 | host_flavor_t flavor; |
| 994 | mach_msg_type_number_t host_info64_outCnt; |
| 995 | char padding[0]; /* Avoid generating empty UData structs */ |
| 996 | } __RequestUData__host_statistics64_from_user_t __attribute__((unused)); |
| 997 | #ifdef __MigPackStructs |
| 998 | #pragma pack(pop) |
| 999 | #endif |
| 1000 | |
| 1001 | #ifdef __MigPackStructs |
| 1002 | #pragma pack(push, 4) |
| 1003 | #endif |
| 1004 | typedef struct { |
| 1005 | mach_msg_header_t Head; |
| 1006 | } __Request__mach_zone_info_t __attribute__((unused)); |
| 1007 | #ifdef __MigPackStructs |
| 1008 | #pragma pack(pop) |
| 1009 | #endif |
| 1010 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1011 | #ifdef __MigPackStructs |
| 1012 | #pragma pack(push, 4) |
| 1013 | #endif |
| 1014 | typedef struct { |
| 1015 | mach_msg_header_t Head; |
| 1016 | } __RequestKData__mach_zone_info_t __attribute__((unused)); |
| 1017 | #ifdef __MigPackStructs |
| 1018 | #pragma pack(pop) |
| 1019 | #endif |
| 1020 | /* Struct for pure user data */ |
| 1021 | #ifdef __MigPackStructs |
| 1022 | #pragma pack(push, 4) |
| 1023 | #endif |
| 1024 | typedef struct { |
| 1025 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1026 | } __RequestUData__mach_zone_info_t __attribute__((unused)); |
| 1027 | #ifdef __MigPackStructs |
| 1028 | #pragma pack(pop) |
| 1029 | #endif |
| 1030 | |
| 1031 | #ifdef __MigPackStructs |
| 1032 | #pragma pack(push, 4) |
| 1033 | #endif |
| 1034 | typedef struct { |
| 1035 | mach_msg_header_t Head; |
| 1036 | } __Request__mach_zone_force_gc_t __attribute__((unused)); |
| 1037 | #ifdef __MigPackStructs |
| 1038 | #pragma pack(pop) |
| 1039 | #endif |
| 1040 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1041 | #ifdef __MigPackStructs |
| 1042 | #pragma pack(push, 4) |
| 1043 | #endif |
| 1044 | typedef struct { |
| 1045 | mach_msg_header_t Head; |
| 1046 | } __RequestKData__mach_zone_force_gc_t __attribute__((unused)); |
| 1047 | #ifdef __MigPackStructs |
| 1048 | #pragma pack(pop) |
| 1049 | #endif |
| 1050 | /* Struct for pure user data */ |
| 1051 | #ifdef __MigPackStructs |
| 1052 | #pragma pack(push, 4) |
| 1053 | #endif |
| 1054 | typedef struct { |
| 1055 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1056 | } __RequestUData__mach_zone_force_gc_t __attribute__((unused)); |
| 1057 | #ifdef __MigPackStructs |
| 1058 | #pragma pack(pop) |
| 1059 | #endif |
| 1060 | |
| 1061 | #ifdef __MigPackStructs |
| 1062 | #pragma pack(push, 4) |
| 1063 | #endif |
| 1064 | typedef struct { |
| 1065 | mach_msg_header_t Head; |
| 1066 | NDR_record_t NDR; |
| 1067 | mach_msg_type_number_t recipesCnt; |
| 1068 | uint8_t recipes[5120]; |
| 1069 | } __Request__host_create_mach_voucher_t __attribute__((unused)); |
| 1070 | #ifdef __MigPackStructs |
| 1071 | #pragma pack(pop) |
| 1072 | #endif |
| 1073 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1074 | #ifdef __MigPackStructs |
| 1075 | #pragma pack(push, 4) |
| 1076 | #endif |
| 1077 | typedef struct { |
| 1078 | mach_msg_header_t Head; |
| 1079 | } __RequestKData__host_create_mach_voucher_t __attribute__((unused)); |
| 1080 | #ifdef __MigPackStructs |
| 1081 | #pragma pack(pop) |
| 1082 | #endif |
| 1083 | /* Struct for pure user data */ |
| 1084 | #ifdef __MigPackStructs |
| 1085 | #pragma pack(push, 4) |
| 1086 | #endif |
| 1087 | typedef struct { |
| 1088 | NDR_record_t NDR; |
| 1089 | mach_msg_type_number_t recipesCnt; |
| 1090 | uint8_t recipes[5120]; |
| 1091 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1092 | } __RequestUData__host_create_mach_voucher_t __attribute__((unused)); |
| 1093 | #ifdef __MigPackStructs |
| 1094 | #pragma pack(pop) |
| 1095 | #endif |
| 1096 | |
| 1097 | #ifdef __MigPackStructs |
| 1098 | #pragma pack(push, 4) |
| 1099 | #endif |
| 1100 | typedef struct { |
| 1101 | mach_msg_header_t Head; |
| 1102 | NDR_record_t NDR; |
| 1103 | uint32_t diagnostic_flag; |
| 1104 | } __Request__host_set_atm_diagnostic_flag_t __attribute__((unused)); |
| 1105 | #ifdef __MigPackStructs |
| 1106 | #pragma pack(pop) |
| 1107 | #endif |
| 1108 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1109 | #ifdef __MigPackStructs |
| 1110 | #pragma pack(push, 4) |
| 1111 | #endif |
| 1112 | typedef struct { |
| 1113 | mach_msg_header_t Head; |
| 1114 | } __RequestKData__host_set_atm_diagnostic_flag_t __attribute__((unused)); |
| 1115 | #ifdef __MigPackStructs |
| 1116 | #pragma pack(pop) |
| 1117 | #endif |
| 1118 | /* Struct for pure user data */ |
| 1119 | #ifdef __MigPackStructs |
| 1120 | #pragma pack(push, 4) |
| 1121 | #endif |
| 1122 | typedef struct { |
| 1123 | NDR_record_t NDR; |
| 1124 | uint32_t diagnostic_flag; |
| 1125 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1126 | } __RequestUData__host_set_atm_diagnostic_flag_t __attribute__((unused)); |
| 1127 | #ifdef __MigPackStructs |
| 1128 | #pragma pack(pop) |
| 1129 | #endif |
| 1130 | |
| 1131 | #ifdef __MigPackStructs |
| 1132 | #pragma pack(push, 4) |
| 1133 | #endif |
| 1134 | typedef struct { |
| 1135 | mach_msg_header_t Head; |
| 1136 | } __Request__mach_memory_info_t __attribute__((unused)); |
| 1137 | #ifdef __MigPackStructs |
| 1138 | #pragma pack(pop) |
| 1139 | #endif |
| 1140 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1141 | #ifdef __MigPackStructs |
| 1142 | #pragma pack(push, 4) |
| 1143 | #endif |
| 1144 | typedef struct { |
| 1145 | mach_msg_header_t Head; |
| 1146 | } __RequestKData__mach_memory_info_t __attribute__((unused)); |
| 1147 | #ifdef __MigPackStructs |
| 1148 | #pragma pack(pop) |
| 1149 | #endif |
| 1150 | /* Struct for pure user data */ |
| 1151 | #ifdef __MigPackStructs |
| 1152 | #pragma pack(push, 4) |
| 1153 | #endif |
| 1154 | typedef struct { |
| 1155 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1156 | } __RequestUData__mach_memory_info_t __attribute__((unused)); |
| 1157 | #ifdef __MigPackStructs |
| 1158 | #pragma pack(pop) |
| 1159 | #endif |
| 1160 | |
| 1161 | #ifdef __MigPackStructs |
| 1162 | #pragma pack(push, 4) |
| 1163 | #endif |
| 1164 | typedef struct { |
| 1165 | mach_msg_header_t Head; |
| 1166 | NDR_record_t NDR; |
| 1167 | uint32_t multiuser_flags; |
| 1168 | } __Request__host_set_multiuser_config_flags_t __attribute__((unused)); |
| 1169 | #ifdef __MigPackStructs |
| 1170 | #pragma pack(pop) |
| 1171 | #endif |
| 1172 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1173 | #ifdef __MigPackStructs |
| 1174 | #pragma pack(push, 4) |
| 1175 | #endif |
| 1176 | typedef struct { |
| 1177 | mach_msg_header_t Head; |
| 1178 | } __RequestKData__host_set_multiuser_config_flags_t __attribute__((unused)); |
| 1179 | #ifdef __MigPackStructs |
| 1180 | #pragma pack(pop) |
| 1181 | #endif |
| 1182 | /* Struct for pure user data */ |
| 1183 | #ifdef __MigPackStructs |
| 1184 | #pragma pack(push, 4) |
| 1185 | #endif |
| 1186 | typedef struct { |
| 1187 | NDR_record_t NDR; |
| 1188 | uint32_t multiuser_flags; |
| 1189 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1190 | } __RequestUData__host_set_multiuser_config_flags_t __attribute__((unused)); |
| 1191 | #ifdef __MigPackStructs |
| 1192 | #pragma pack(pop) |
| 1193 | #endif |
| 1194 | |
| 1195 | #ifdef __MigPackStructs |
| 1196 | #pragma pack(push, 4) |
| 1197 | #endif |
| 1198 | typedef struct { |
| 1199 | mach_msg_header_t Head; |
| 1200 | NDR_record_t NDR; |
| 1201 | mach_zone_name_t name; |
| 1202 | } __Request__mach_zone_info_for_zone_t __attribute__((unused)); |
| 1203 | #ifdef __MigPackStructs |
| 1204 | #pragma pack(pop) |
| 1205 | #endif |
| 1206 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1207 | #ifdef __MigPackStructs |
| 1208 | #pragma pack(push, 4) |
| 1209 | #endif |
| 1210 | typedef struct { |
| 1211 | mach_msg_header_t Head; |
| 1212 | } __RequestKData__mach_zone_info_for_zone_t __attribute__((unused)); |
| 1213 | #ifdef __MigPackStructs |
| 1214 | #pragma pack(pop) |
| 1215 | #endif |
| 1216 | /* Struct for pure user data */ |
| 1217 | #ifdef __MigPackStructs |
| 1218 | #pragma pack(push, 4) |
| 1219 | #endif |
| 1220 | typedef struct { |
| 1221 | NDR_record_t NDR; |
| 1222 | mach_zone_name_t name; |
| 1223 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1224 | } __RequestUData__mach_zone_info_for_zone_t __attribute__((unused)); |
| 1225 | #ifdef __MigPackStructs |
| 1226 | #pragma pack(pop) |
| 1227 | #endif |
| 1228 | |
| 1229 | #ifdef __MigPackStructs |
| 1230 | #pragma pack(push, 4) |
| 1231 | #endif |
| 1232 | typedef struct { |
| 1233 | mach_msg_header_t Head; |
| 1234 | } __Request__mach_zone_info_for_largest_zone_t __attribute__((unused)); |
| 1235 | #ifdef __MigPackStructs |
| 1236 | #pragma pack(pop) |
| 1237 | #endif |
| 1238 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1239 | #ifdef __MigPackStructs |
| 1240 | #pragma pack(push, 4) |
| 1241 | #endif |
| 1242 | typedef struct { |
| 1243 | mach_msg_header_t Head; |
| 1244 | } __RequestKData__mach_zone_info_for_largest_zone_t __attribute__((unused)); |
| 1245 | #ifdef __MigPackStructs |
| 1246 | #pragma pack(pop) |
| 1247 | #endif |
| 1248 | /* Struct for pure user data */ |
| 1249 | #ifdef __MigPackStructs |
| 1250 | #pragma pack(push, 4) |
| 1251 | #endif |
| 1252 | typedef struct { |
| 1253 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1254 | } __RequestUData__mach_zone_info_for_largest_zone_t __attribute__((unused)); |
| 1255 | #ifdef __MigPackStructs |
| 1256 | #pragma pack(pop) |
| 1257 | #endif |
| 1258 | |
| 1259 | #ifdef __MigPackStructs |
| 1260 | #pragma pack(push, 4) |
| 1261 | #endif |
| 1262 | typedef struct { |
| 1263 | mach_msg_header_t Head; |
| 1264 | } __Request__mach_zone_get_zlog_zones_t __attribute__((unused)); |
| 1265 | #ifdef __MigPackStructs |
| 1266 | #pragma pack(pop) |
| 1267 | #endif |
| 1268 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1269 | #ifdef __MigPackStructs |
| 1270 | #pragma pack(push, 4) |
| 1271 | #endif |
| 1272 | typedef struct { |
| 1273 | mach_msg_header_t Head; |
| 1274 | } __RequestKData__mach_zone_get_zlog_zones_t __attribute__((unused)); |
| 1275 | #ifdef __MigPackStructs |
| 1276 | #pragma pack(pop) |
| 1277 | #endif |
| 1278 | /* Struct for pure user data */ |
| 1279 | #ifdef __MigPackStructs |
| 1280 | #pragma pack(push, 4) |
| 1281 | #endif |
| 1282 | typedef struct { |
| 1283 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1284 | } __RequestUData__mach_zone_get_zlog_zones_t __attribute__((unused)); |
| 1285 | #ifdef __MigPackStructs |
| 1286 | #pragma pack(pop) |
| 1287 | #endif |
| 1288 | |
| 1289 | #ifdef __MigPackStructs |
| 1290 | #pragma pack(push, 4) |
| 1291 | #endif |
| 1292 | typedef struct { |
| 1293 | mach_msg_header_t Head; |
| 1294 | NDR_record_t NDR; |
| 1295 | mach_zone_name_t name; |
| 1296 | } __Request__mach_zone_get_btlog_records_t __attribute__((unused)); |
| 1297 | #ifdef __MigPackStructs |
| 1298 | #pragma pack(pop) |
| 1299 | #endif |
| 1300 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1301 | #ifdef __MigPackStructs |
| 1302 | #pragma pack(push, 4) |
| 1303 | #endif |
| 1304 | typedef struct { |
| 1305 | mach_msg_header_t Head; |
| 1306 | } __RequestKData__mach_zone_get_btlog_records_t __attribute__((unused)); |
| 1307 | #ifdef __MigPackStructs |
| 1308 | #pragma pack(pop) |
| 1309 | #endif |
| 1310 | /* Struct for pure user data */ |
| 1311 | #ifdef __MigPackStructs |
| 1312 | #pragma pack(push, 4) |
| 1313 | #endif |
| 1314 | typedef struct { |
| 1315 | NDR_record_t NDR; |
| 1316 | mach_zone_name_t name; |
| 1317 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1318 | } __RequestUData__mach_zone_get_btlog_records_t __attribute__((unused)); |
| 1319 | #ifdef __MigPackStructs |
| 1320 | #pragma pack(pop) |
| 1321 | #endif |
| 1322 | #endif /* !__Request__mach_host_subsystem__defined */ |
| 1323 | |
| 1324 | |
| 1325 | /* union of all requests */ |
| 1326 | |
| 1327 | #ifndef __RequestUnion__mach_host_subsystem__defined |
| 1328 | #define __RequestUnion__mach_host_subsystem__defined |
| 1329 | union __RequestUnion__mach_host_subsystem { |
| 1330 | __Request__host_info_t Request_host_info; |
| 1331 | __Request__host_kernel_version_t Request_host_kernel_version; |
| 1332 | __Request__host_page_size_t Request_host_page_size; |
| 1333 | __Request__mach_memory_object_memory_entry_t Request_mach_memory_object_memory_entry; |
| 1334 | __Request__host_processor_info_t Request_host_processor_info; |
| 1335 | __Request__host_get_io_main_t Request_host_get_io_main; |
| 1336 | __Request__host_get_clock_service_t Request_host_get_clock_service; |
| 1337 | __Request__kmod_get_info_t Request_kmod_get_info; |
| 1338 | __Request__host_virtual_physical_table_info_t Request_host_virtual_physical_table_info; |
| 1339 | __Request__processor_set_default_t Request_processor_set_default; |
| 1340 | __Request__mach_memory_object_memory_entry_64_t Request_mach_memory_object_memory_entry_64; |
| 1341 | __Request__host_statistics_from_user_t Request_host_statistics_from_user; |
| 1342 | __Request__host_request_notification_t Request_host_request_notification; |
| 1343 | __Request__host_lockgroup_info_t Request_host_lockgroup_info; |
| 1344 | __Request__host_statistics64_from_user_t Request_host_statistics64_from_user; |
| 1345 | __Request__mach_zone_info_t Request_mach_zone_info; |
| 1346 | __Request__mach_zone_force_gc_t Request_mach_zone_force_gc; |
| 1347 | __Request__host_create_mach_voucher_t Request_host_create_mach_voucher; |
| 1348 | __Request__host_set_atm_diagnostic_flag_t Request_host_set_atm_diagnostic_flag; |
| 1349 | __Request__mach_memory_info_t Request_mach_memory_info; |
| 1350 | __Request__host_set_multiuser_config_flags_t Request_host_set_multiuser_config_flags; |
| 1351 | __Request__mach_zone_info_for_zone_t Request_mach_zone_info_for_zone; |
| 1352 | __Request__mach_zone_info_for_largest_zone_t Request_mach_zone_info_for_largest_zone; |
| 1353 | __Request__mach_zone_get_zlog_zones_t Request_mach_zone_get_zlog_zones; |
| 1354 | __Request__mach_zone_get_btlog_records_t Request_mach_zone_get_btlog_records; |
| 1355 | }; |
| 1356 | #endif /* __RequestUnion__mach_host_subsystem__defined */ |
| 1357 | /* typedefs for all replies */ |
| 1358 | |
| 1359 | #ifndef __Reply__mach_host_subsystem__defined |
| 1360 | #define __Reply__mach_host_subsystem__defined |
| 1361 | |
| 1362 | #ifdef __MigPackStructs |
| 1363 | #pragma pack(push, 4) |
| 1364 | #endif |
| 1365 | typedef struct { |
| 1366 | mach_msg_header_t Head; |
| 1367 | NDR_record_t NDR; |
| 1368 | kern_return_t RetCode; |
| 1369 | mach_msg_type_number_t host_info_outCnt; |
| 1370 | integer_t host_info_out[68]; |
| 1371 | } __Reply__host_info_t __attribute__((unused)); |
| 1372 | #ifdef __MigPackStructs |
| 1373 | #pragma pack(pop) |
| 1374 | #endif |
| 1375 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1376 | #ifdef __MigPackStructs |
| 1377 | #pragma pack(push, 4) |
| 1378 | #endif |
| 1379 | typedef struct { |
| 1380 | mach_msg_header_t Head; |
| 1381 | } __ReplyKData__host_info_t __attribute__((unused)); |
| 1382 | #ifdef __MigPackStructs |
| 1383 | #pragma pack(pop) |
| 1384 | #endif |
| 1385 | /* Struct for pure user data */ |
| 1386 | #ifdef __MigPackStructs |
| 1387 | #pragma pack(push, 4) |
| 1388 | #endif |
| 1389 | typedef struct { |
| 1390 | NDR_record_t NDR; |
| 1391 | kern_return_t RetCode; |
| 1392 | mach_msg_type_number_t host_info_outCnt; |
| 1393 | integer_t host_info_out[68]; |
| 1394 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1395 | } __ReplyUData__host_info_t __attribute__((unused)); |
| 1396 | #ifdef __MigPackStructs |
| 1397 | #pragma pack(pop) |
| 1398 | #endif |
| 1399 | |
| 1400 | #ifdef __MigPackStructs |
| 1401 | #pragma pack(push, 4) |
| 1402 | #endif |
| 1403 | typedef struct { |
| 1404 | mach_msg_header_t Head; |
| 1405 | NDR_record_t NDR; |
| 1406 | kern_return_t RetCode; |
| 1407 | mach_msg_type_number_t kernel_versionOffset; /* MiG doesn't use it */ |
| 1408 | mach_msg_type_number_t kernel_versionCnt; |
| 1409 | char kernel_version[512]; |
| 1410 | } __Reply__host_kernel_version_t __attribute__((unused)); |
| 1411 | #ifdef __MigPackStructs |
| 1412 | #pragma pack(pop) |
| 1413 | #endif |
| 1414 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1415 | #ifdef __MigPackStructs |
| 1416 | #pragma pack(push, 4) |
| 1417 | #endif |
| 1418 | typedef struct { |
| 1419 | mach_msg_header_t Head; |
| 1420 | } __ReplyKData__host_kernel_version_t __attribute__((unused)); |
| 1421 | #ifdef __MigPackStructs |
| 1422 | #pragma pack(pop) |
| 1423 | #endif |
| 1424 | /* Struct for pure user data */ |
| 1425 | #ifdef __MigPackStructs |
| 1426 | #pragma pack(push, 4) |
| 1427 | #endif |
| 1428 | typedef struct { |
| 1429 | NDR_record_t NDR; |
| 1430 | kern_return_t RetCode; |
| 1431 | mach_msg_type_number_t kernel_versionOffset; /* MiG doesn't use it */ |
| 1432 | mach_msg_type_number_t kernel_versionCnt; |
| 1433 | char kernel_version[512]; |
| 1434 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1435 | } __ReplyUData__host_kernel_version_t __attribute__((unused)); |
| 1436 | #ifdef __MigPackStructs |
| 1437 | #pragma pack(pop) |
| 1438 | #endif |
| 1439 | |
| 1440 | #ifdef __MigPackStructs |
| 1441 | #pragma pack(push, 4) |
| 1442 | #endif |
| 1443 | typedef struct { |
| 1444 | mach_msg_header_t Head; |
| 1445 | NDR_record_t NDR; |
| 1446 | kern_return_t RetCode; |
| 1447 | vm_size_t out_page_size; |
| 1448 | } __Reply__host_page_size_t __attribute__((unused)); |
| 1449 | #ifdef __MigPackStructs |
| 1450 | #pragma pack(pop) |
| 1451 | #endif |
| 1452 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1453 | #ifdef __MigPackStructs |
| 1454 | #pragma pack(push, 4) |
| 1455 | #endif |
| 1456 | typedef struct { |
| 1457 | mach_msg_header_t Head; |
| 1458 | } __ReplyKData__host_page_size_t __attribute__((unused)); |
| 1459 | #ifdef __MigPackStructs |
| 1460 | #pragma pack(pop) |
| 1461 | #endif |
| 1462 | /* Struct for pure user data */ |
| 1463 | #ifdef __MigPackStructs |
| 1464 | #pragma pack(push, 4) |
| 1465 | #endif |
| 1466 | typedef struct { |
| 1467 | NDR_record_t NDR; |
| 1468 | kern_return_t RetCode; |
| 1469 | vm_size_t out_page_size; |
| 1470 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1471 | } __ReplyUData__host_page_size_t __attribute__((unused)); |
| 1472 | #ifdef __MigPackStructs |
| 1473 | #pragma pack(pop) |
| 1474 | #endif |
| 1475 | |
| 1476 | #ifdef __MigPackStructs |
| 1477 | #pragma pack(push, 4) |
| 1478 | #endif |
| 1479 | typedef struct { |
| 1480 | mach_msg_header_t Head; |
| 1481 | /* start of the kernel processed data */ |
| 1482 | mach_msg_body_t msgh_body; |
| 1483 | mach_msg_port_descriptor_t entry_handle; |
| 1484 | /* end of the kernel processed data */ |
| 1485 | } __Reply__mach_memory_object_memory_entry_t __attribute__((unused)); |
| 1486 | #ifdef __MigPackStructs |
| 1487 | #pragma pack(pop) |
| 1488 | #endif |
| 1489 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1490 | #ifdef __MigPackStructs |
| 1491 | #pragma pack(push, 4) |
| 1492 | #endif |
| 1493 | typedef struct { |
| 1494 | mach_msg_header_t Head; |
| 1495 | mach_msg_body_t msgh_body; |
| 1496 | mach_msg_port_descriptor_t entry_handle; |
| 1497 | } __ReplyKData__mach_memory_object_memory_entry_t __attribute__((unused)); |
| 1498 | #ifdef __MigPackStructs |
| 1499 | #pragma pack(pop) |
| 1500 | #endif |
| 1501 | /* Struct for pure user data */ |
| 1502 | #ifdef __MigPackStructs |
| 1503 | #pragma pack(push, 4) |
| 1504 | #endif |
| 1505 | typedef struct { |
| 1506 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1507 | } __ReplyUData__mach_memory_object_memory_entry_t __attribute__((unused)); |
| 1508 | #ifdef __MigPackStructs |
| 1509 | #pragma pack(pop) |
| 1510 | #endif |
| 1511 | |
| 1512 | #ifdef __MigPackStructs |
| 1513 | #pragma pack(push, 4) |
| 1514 | #endif |
| 1515 | typedef struct { |
| 1516 | mach_msg_header_t Head; |
| 1517 | /* start of the kernel processed data */ |
| 1518 | mach_msg_body_t msgh_body; |
| 1519 | mach_msg_ool_descriptor_t out_processor_info; |
| 1520 | /* end of the kernel processed data */ |
| 1521 | NDR_record_t NDR; |
| 1522 | natural_t out_processor_count; |
| 1523 | mach_msg_type_number_t out_processor_infoCnt; |
| 1524 | } __Reply__host_processor_info_t __attribute__((unused)); |
| 1525 | #ifdef __MigPackStructs |
| 1526 | #pragma pack(pop) |
| 1527 | #endif |
| 1528 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1529 | #ifdef __MigPackStructs |
| 1530 | #pragma pack(push, 4) |
| 1531 | #endif |
| 1532 | typedef struct { |
| 1533 | mach_msg_header_t Head; |
| 1534 | mach_msg_body_t msgh_body; |
| 1535 | mach_msg_ool_descriptor_t out_processor_info; |
| 1536 | } __ReplyKData__host_processor_info_t __attribute__((unused)); |
| 1537 | #ifdef __MigPackStructs |
| 1538 | #pragma pack(pop) |
| 1539 | #endif |
| 1540 | /* Struct for pure user data */ |
| 1541 | #ifdef __MigPackStructs |
| 1542 | #pragma pack(push, 4) |
| 1543 | #endif |
| 1544 | typedef struct { |
| 1545 | NDR_record_t NDR; |
| 1546 | natural_t out_processor_count; |
| 1547 | mach_msg_type_number_t out_processor_infoCnt; |
| 1548 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1549 | } __ReplyUData__host_processor_info_t __attribute__((unused)); |
| 1550 | #ifdef __MigPackStructs |
| 1551 | #pragma pack(pop) |
| 1552 | #endif |
| 1553 | |
| 1554 | #ifdef __MigPackStructs |
| 1555 | #pragma pack(push, 4) |
| 1556 | #endif |
| 1557 | typedef struct { |
| 1558 | mach_msg_header_t Head; |
| 1559 | /* start of the kernel processed data */ |
| 1560 | mach_msg_body_t msgh_body; |
| 1561 | mach_msg_port_descriptor_t io_main; |
| 1562 | /* end of the kernel processed data */ |
| 1563 | } __Reply__host_get_io_main_t __attribute__((unused)); |
| 1564 | #ifdef __MigPackStructs |
| 1565 | #pragma pack(pop) |
| 1566 | #endif |
| 1567 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1568 | #ifdef __MigPackStructs |
| 1569 | #pragma pack(push, 4) |
| 1570 | #endif |
| 1571 | typedef struct { |
| 1572 | mach_msg_header_t Head; |
| 1573 | mach_msg_body_t msgh_body; |
| 1574 | mach_msg_port_descriptor_t io_main; |
| 1575 | } __ReplyKData__host_get_io_main_t __attribute__((unused)); |
| 1576 | #ifdef __MigPackStructs |
| 1577 | #pragma pack(pop) |
| 1578 | #endif |
| 1579 | /* Struct for pure user data */ |
| 1580 | #ifdef __MigPackStructs |
| 1581 | #pragma pack(push, 4) |
| 1582 | #endif |
| 1583 | typedef struct { |
| 1584 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1585 | } __ReplyUData__host_get_io_main_t __attribute__((unused)); |
| 1586 | #ifdef __MigPackStructs |
| 1587 | #pragma pack(pop) |
| 1588 | #endif |
| 1589 | |
| 1590 | #ifdef __MigPackStructs |
| 1591 | #pragma pack(push, 4) |
| 1592 | #endif |
| 1593 | typedef struct { |
| 1594 | mach_msg_header_t Head; |
| 1595 | /* start of the kernel processed data */ |
| 1596 | mach_msg_body_t msgh_body; |
| 1597 | mach_msg_port_descriptor_t clock_serv; |
| 1598 | /* end of the kernel processed data */ |
| 1599 | } __Reply__host_get_clock_service_t __attribute__((unused)); |
| 1600 | #ifdef __MigPackStructs |
| 1601 | #pragma pack(pop) |
| 1602 | #endif |
| 1603 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1604 | #ifdef __MigPackStructs |
| 1605 | #pragma pack(push, 4) |
| 1606 | #endif |
| 1607 | typedef struct { |
| 1608 | mach_msg_header_t Head; |
| 1609 | mach_msg_body_t msgh_body; |
| 1610 | mach_msg_port_descriptor_t clock_serv; |
| 1611 | } __ReplyKData__host_get_clock_service_t __attribute__((unused)); |
| 1612 | #ifdef __MigPackStructs |
| 1613 | #pragma pack(pop) |
| 1614 | #endif |
| 1615 | /* Struct for pure user data */ |
| 1616 | #ifdef __MigPackStructs |
| 1617 | #pragma pack(push, 4) |
| 1618 | #endif |
| 1619 | typedef struct { |
| 1620 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1621 | } __ReplyUData__host_get_clock_service_t __attribute__((unused)); |
| 1622 | #ifdef __MigPackStructs |
| 1623 | #pragma pack(pop) |
| 1624 | #endif |
| 1625 | |
| 1626 | #ifdef __MigPackStructs |
| 1627 | #pragma pack(push, 4) |
| 1628 | #endif |
| 1629 | typedef struct { |
| 1630 | mach_msg_header_t Head; |
| 1631 | /* start of the kernel processed data */ |
| 1632 | mach_msg_body_t msgh_body; |
| 1633 | mach_msg_ool_descriptor_t modules; |
| 1634 | /* end of the kernel processed data */ |
| 1635 | NDR_record_t NDR; |
| 1636 | mach_msg_type_number_t modulesCnt; |
| 1637 | } __Reply__kmod_get_info_t __attribute__((unused)); |
| 1638 | #ifdef __MigPackStructs |
| 1639 | #pragma pack(pop) |
| 1640 | #endif |
| 1641 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1642 | #ifdef __MigPackStructs |
| 1643 | #pragma pack(push, 4) |
| 1644 | #endif |
| 1645 | typedef struct { |
| 1646 | mach_msg_header_t Head; |
| 1647 | mach_msg_body_t msgh_body; |
| 1648 | mach_msg_ool_descriptor_t modules; |
| 1649 | } __ReplyKData__kmod_get_info_t __attribute__((unused)); |
| 1650 | #ifdef __MigPackStructs |
| 1651 | #pragma pack(pop) |
| 1652 | #endif |
| 1653 | /* Struct for pure user data */ |
| 1654 | #ifdef __MigPackStructs |
| 1655 | #pragma pack(push, 4) |
| 1656 | #endif |
| 1657 | typedef struct { |
| 1658 | NDR_record_t NDR; |
| 1659 | mach_msg_type_number_t modulesCnt; |
| 1660 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1661 | } __ReplyUData__kmod_get_info_t __attribute__((unused)); |
| 1662 | #ifdef __MigPackStructs |
| 1663 | #pragma pack(pop) |
| 1664 | #endif |
| 1665 | |
| 1666 | #ifdef __MigPackStructs |
| 1667 | #pragma pack(push, 4) |
| 1668 | #endif |
| 1669 | typedef struct { |
| 1670 | mach_msg_header_t Head; |
| 1671 | /* start of the kernel processed data */ |
| 1672 | mach_msg_body_t msgh_body; |
| 1673 | mach_msg_ool_descriptor_t info; |
| 1674 | /* end of the kernel processed data */ |
| 1675 | NDR_record_t NDR; |
| 1676 | mach_msg_type_number_t infoCnt; |
| 1677 | } __Reply__host_virtual_physical_table_info_t __attribute__((unused)); |
| 1678 | #ifdef __MigPackStructs |
| 1679 | #pragma pack(pop) |
| 1680 | #endif |
| 1681 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1682 | #ifdef __MigPackStructs |
| 1683 | #pragma pack(push, 4) |
| 1684 | #endif |
| 1685 | typedef struct { |
| 1686 | mach_msg_header_t Head; |
| 1687 | mach_msg_body_t msgh_body; |
| 1688 | mach_msg_ool_descriptor_t info; |
| 1689 | } __ReplyKData__host_virtual_physical_table_info_t __attribute__((unused)); |
| 1690 | #ifdef __MigPackStructs |
| 1691 | #pragma pack(pop) |
| 1692 | #endif |
| 1693 | /* Struct for pure user data */ |
| 1694 | #ifdef __MigPackStructs |
| 1695 | #pragma pack(push, 4) |
| 1696 | #endif |
| 1697 | typedef struct { |
| 1698 | NDR_record_t NDR; |
| 1699 | mach_msg_type_number_t infoCnt; |
| 1700 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1701 | } __ReplyUData__host_virtual_physical_table_info_t __attribute__((unused)); |
| 1702 | #ifdef __MigPackStructs |
| 1703 | #pragma pack(pop) |
| 1704 | #endif |
| 1705 | |
| 1706 | #ifdef __MigPackStructs |
| 1707 | #pragma pack(push, 4) |
| 1708 | #endif |
| 1709 | typedef struct { |
| 1710 | mach_msg_header_t Head; |
| 1711 | /* start of the kernel processed data */ |
| 1712 | mach_msg_body_t msgh_body; |
| 1713 | mach_msg_port_descriptor_t default_set; |
| 1714 | /* end of the kernel processed data */ |
| 1715 | } __Reply__processor_set_default_t __attribute__((unused)); |
| 1716 | #ifdef __MigPackStructs |
| 1717 | #pragma pack(pop) |
| 1718 | #endif |
| 1719 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1720 | #ifdef __MigPackStructs |
| 1721 | #pragma pack(push, 4) |
| 1722 | #endif |
| 1723 | typedef struct { |
| 1724 | mach_msg_header_t Head; |
| 1725 | mach_msg_body_t msgh_body; |
| 1726 | mach_msg_port_descriptor_t default_set; |
| 1727 | } __ReplyKData__processor_set_default_t __attribute__((unused)); |
| 1728 | #ifdef __MigPackStructs |
| 1729 | #pragma pack(pop) |
| 1730 | #endif |
| 1731 | /* Struct for pure user data */ |
| 1732 | #ifdef __MigPackStructs |
| 1733 | #pragma pack(push, 4) |
| 1734 | #endif |
| 1735 | typedef struct { |
| 1736 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1737 | } __ReplyUData__processor_set_default_t __attribute__((unused)); |
| 1738 | #ifdef __MigPackStructs |
| 1739 | #pragma pack(pop) |
| 1740 | #endif |
| 1741 | |
| 1742 | #ifdef __MigPackStructs |
| 1743 | #pragma pack(push, 4) |
| 1744 | #endif |
| 1745 | typedef struct { |
| 1746 | mach_msg_header_t Head; |
| 1747 | /* start of the kernel processed data */ |
| 1748 | mach_msg_body_t msgh_body; |
| 1749 | mach_msg_port_descriptor_t entry_handle; |
| 1750 | /* end of the kernel processed data */ |
| 1751 | } __Reply__mach_memory_object_memory_entry_64_t __attribute__((unused)); |
| 1752 | #ifdef __MigPackStructs |
| 1753 | #pragma pack(pop) |
| 1754 | #endif |
| 1755 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1756 | #ifdef __MigPackStructs |
| 1757 | #pragma pack(push, 4) |
| 1758 | #endif |
| 1759 | typedef struct { |
| 1760 | mach_msg_header_t Head; |
| 1761 | mach_msg_body_t msgh_body; |
| 1762 | mach_msg_port_descriptor_t entry_handle; |
| 1763 | } __ReplyKData__mach_memory_object_memory_entry_64_t __attribute__((unused)); |
| 1764 | #ifdef __MigPackStructs |
| 1765 | #pragma pack(pop) |
| 1766 | #endif |
| 1767 | /* Struct for pure user data */ |
| 1768 | #ifdef __MigPackStructs |
| 1769 | #pragma pack(push, 4) |
| 1770 | #endif |
| 1771 | typedef struct { |
| 1772 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1773 | } __ReplyUData__mach_memory_object_memory_entry_64_t __attribute__((unused)); |
| 1774 | #ifdef __MigPackStructs |
| 1775 | #pragma pack(pop) |
| 1776 | #endif |
| 1777 | |
| 1778 | #ifdef __MigPackStructs |
| 1779 | #pragma pack(push, 4) |
| 1780 | #endif |
| 1781 | typedef struct { |
| 1782 | mach_msg_header_t Head; |
| 1783 | NDR_record_t NDR; |
| 1784 | kern_return_t RetCode; |
| 1785 | mach_msg_type_number_t host_info_outCnt; |
| 1786 | integer_t host_info_out[68]; |
| 1787 | } __Reply__host_statistics_from_user_t __attribute__((unused)); |
| 1788 | #ifdef __MigPackStructs |
| 1789 | #pragma pack(pop) |
| 1790 | #endif |
| 1791 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1792 | #ifdef __MigPackStructs |
| 1793 | #pragma pack(push, 4) |
| 1794 | #endif |
| 1795 | typedef struct { |
| 1796 | mach_msg_header_t Head; |
| 1797 | } __ReplyKData__host_statistics_from_user_t __attribute__((unused)); |
| 1798 | #ifdef __MigPackStructs |
| 1799 | #pragma pack(pop) |
| 1800 | #endif |
| 1801 | /* Struct for pure user data */ |
| 1802 | #ifdef __MigPackStructs |
| 1803 | #pragma pack(push, 4) |
| 1804 | #endif |
| 1805 | typedef struct { |
| 1806 | NDR_record_t NDR; |
| 1807 | kern_return_t RetCode; |
| 1808 | mach_msg_type_number_t host_info_outCnt; |
| 1809 | integer_t host_info_out[68]; |
| 1810 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1811 | } __ReplyUData__host_statistics_from_user_t __attribute__((unused)); |
| 1812 | #ifdef __MigPackStructs |
| 1813 | #pragma pack(pop) |
| 1814 | #endif |
| 1815 | |
| 1816 | #ifdef __MigPackStructs |
| 1817 | #pragma pack(push, 4) |
| 1818 | #endif |
| 1819 | typedef struct { |
| 1820 | mach_msg_header_t Head; |
| 1821 | NDR_record_t NDR; |
| 1822 | kern_return_t RetCode; |
| 1823 | } __Reply__host_request_notification_t __attribute__((unused)); |
| 1824 | #ifdef __MigPackStructs |
| 1825 | #pragma pack(pop) |
| 1826 | #endif |
| 1827 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1828 | #ifdef __MigPackStructs |
| 1829 | #pragma pack(push, 4) |
| 1830 | #endif |
| 1831 | typedef struct { |
| 1832 | mach_msg_header_t Head; |
| 1833 | } __ReplyKData__host_request_notification_t __attribute__((unused)); |
| 1834 | #ifdef __MigPackStructs |
| 1835 | #pragma pack(pop) |
| 1836 | #endif |
| 1837 | /* Struct for pure user data */ |
| 1838 | #ifdef __MigPackStructs |
| 1839 | #pragma pack(push, 4) |
| 1840 | #endif |
| 1841 | typedef struct { |
| 1842 | NDR_record_t NDR; |
| 1843 | kern_return_t RetCode; |
| 1844 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1845 | } __ReplyUData__host_request_notification_t __attribute__((unused)); |
| 1846 | #ifdef __MigPackStructs |
| 1847 | #pragma pack(pop) |
| 1848 | #endif |
| 1849 | |
| 1850 | #ifdef __MigPackStructs |
| 1851 | #pragma pack(push, 4) |
| 1852 | #endif |
| 1853 | typedef struct { |
| 1854 | mach_msg_header_t Head; |
| 1855 | /* start of the kernel processed data */ |
| 1856 | mach_msg_body_t msgh_body; |
| 1857 | mach_msg_ool_descriptor_t lockgroup_info; |
| 1858 | /* end of the kernel processed data */ |
| 1859 | NDR_record_t NDR; |
| 1860 | mach_msg_type_number_t lockgroup_infoCnt; |
| 1861 | } __Reply__host_lockgroup_info_t __attribute__((unused)); |
| 1862 | #ifdef __MigPackStructs |
| 1863 | #pragma pack(pop) |
| 1864 | #endif |
| 1865 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1866 | #ifdef __MigPackStructs |
| 1867 | #pragma pack(push, 4) |
| 1868 | #endif |
| 1869 | typedef struct { |
| 1870 | mach_msg_header_t Head; |
| 1871 | mach_msg_body_t msgh_body; |
| 1872 | mach_msg_ool_descriptor_t lockgroup_info; |
| 1873 | } __ReplyKData__host_lockgroup_info_t __attribute__((unused)); |
| 1874 | #ifdef __MigPackStructs |
| 1875 | #pragma pack(pop) |
| 1876 | #endif |
| 1877 | /* Struct for pure user data */ |
| 1878 | #ifdef __MigPackStructs |
| 1879 | #pragma pack(push, 4) |
| 1880 | #endif |
| 1881 | typedef struct { |
| 1882 | NDR_record_t NDR; |
| 1883 | mach_msg_type_number_t lockgroup_infoCnt; |
| 1884 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1885 | } __ReplyUData__host_lockgroup_info_t __attribute__((unused)); |
| 1886 | #ifdef __MigPackStructs |
| 1887 | #pragma pack(pop) |
| 1888 | #endif |
| 1889 | |
| 1890 | #ifdef __MigPackStructs |
| 1891 | #pragma pack(push, 4) |
| 1892 | #endif |
| 1893 | typedef struct { |
| 1894 | mach_msg_header_t Head; |
| 1895 | NDR_record_t NDR; |
| 1896 | kern_return_t RetCode; |
| 1897 | mach_msg_type_number_t host_info64_outCnt; |
| 1898 | integer_t host_info64_out[256]; |
| 1899 | } __Reply__host_statistics64_from_user_t __attribute__((unused)); |
| 1900 | #ifdef __MigPackStructs |
| 1901 | #pragma pack(pop) |
| 1902 | #endif |
| 1903 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1904 | #ifdef __MigPackStructs |
| 1905 | #pragma pack(push, 4) |
| 1906 | #endif |
| 1907 | typedef struct { |
| 1908 | mach_msg_header_t Head; |
| 1909 | } __ReplyKData__host_statistics64_from_user_t __attribute__((unused)); |
| 1910 | #ifdef __MigPackStructs |
| 1911 | #pragma pack(pop) |
| 1912 | #endif |
| 1913 | /* Struct for pure user data */ |
| 1914 | #ifdef __MigPackStructs |
| 1915 | #pragma pack(push, 4) |
| 1916 | #endif |
| 1917 | typedef struct { |
| 1918 | NDR_record_t NDR; |
| 1919 | kern_return_t RetCode; |
| 1920 | mach_msg_type_number_t host_info64_outCnt; |
| 1921 | integer_t host_info64_out[256]; |
| 1922 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1923 | } __ReplyUData__host_statistics64_from_user_t __attribute__((unused)); |
| 1924 | #ifdef __MigPackStructs |
| 1925 | #pragma pack(pop) |
| 1926 | #endif |
| 1927 | |
| 1928 | #ifdef __MigPackStructs |
| 1929 | #pragma pack(push, 4) |
| 1930 | #endif |
| 1931 | typedef struct { |
| 1932 | mach_msg_header_t Head; |
| 1933 | /* start of the kernel processed data */ |
| 1934 | mach_msg_body_t msgh_body; |
| 1935 | mach_msg_ool_descriptor_t names; |
| 1936 | mach_msg_ool_descriptor_t info; |
| 1937 | /* end of the kernel processed data */ |
| 1938 | NDR_record_t NDR; |
| 1939 | mach_msg_type_number_t namesCnt; |
| 1940 | mach_msg_type_number_t infoCnt; |
| 1941 | } __Reply__mach_zone_info_t __attribute__((unused)); |
| 1942 | #ifdef __MigPackStructs |
| 1943 | #pragma pack(pop) |
| 1944 | #endif |
| 1945 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1946 | #ifdef __MigPackStructs |
| 1947 | #pragma pack(push, 4) |
| 1948 | #endif |
| 1949 | typedef struct { |
| 1950 | mach_msg_header_t Head; |
| 1951 | mach_msg_body_t msgh_body; |
| 1952 | mach_msg_ool_descriptor_t names; |
| 1953 | mach_msg_ool_descriptor_t info; |
| 1954 | } __ReplyKData__mach_zone_info_t __attribute__((unused)); |
| 1955 | #ifdef __MigPackStructs |
| 1956 | #pragma pack(pop) |
| 1957 | #endif |
| 1958 | /* Struct for pure user data */ |
| 1959 | #ifdef __MigPackStructs |
| 1960 | #pragma pack(push, 4) |
| 1961 | #endif |
| 1962 | typedef struct { |
| 1963 | NDR_record_t NDR; |
| 1964 | mach_msg_type_number_t namesCnt; |
| 1965 | mach_msg_type_number_t infoCnt; |
| 1966 | char padding[0]; /* Avoid generating empty UData structs */ |
| 1967 | } __ReplyUData__mach_zone_info_t __attribute__((unused)); |
| 1968 | #ifdef __MigPackStructs |
| 1969 | #pragma pack(pop) |
| 1970 | #endif |
| 1971 | |
| 1972 | #ifdef __MigPackStructs |
| 1973 | #pragma pack(push, 4) |
| 1974 | #endif |
| 1975 | typedef struct { |
| 1976 | mach_msg_header_t Head; |
| 1977 | NDR_record_t NDR; |
| 1978 | kern_return_t RetCode; |
| 1979 | } __Reply__mach_zone_force_gc_t __attribute__((unused)); |
| 1980 | #ifdef __MigPackStructs |
| 1981 | #pragma pack(pop) |
| 1982 | #endif |
| 1983 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 1984 | #ifdef __MigPackStructs |
| 1985 | #pragma pack(push, 4) |
| 1986 | #endif |
| 1987 | typedef struct { |
| 1988 | mach_msg_header_t Head; |
| 1989 | } __ReplyKData__mach_zone_force_gc_t __attribute__((unused)); |
| 1990 | #ifdef __MigPackStructs |
| 1991 | #pragma pack(pop) |
| 1992 | #endif |
| 1993 | /* Struct for pure user data */ |
| 1994 | #ifdef __MigPackStructs |
| 1995 | #pragma pack(push, 4) |
| 1996 | #endif |
| 1997 | typedef struct { |
| 1998 | NDR_record_t NDR; |
| 1999 | kern_return_t RetCode; |
| 2000 | char padding[0]; /* Avoid generating empty UData structs */ |
| 2001 | } __ReplyUData__mach_zone_force_gc_t __attribute__((unused)); |
| 2002 | #ifdef __MigPackStructs |
| 2003 | #pragma pack(pop) |
| 2004 | #endif |
| 2005 | |
| 2006 | #ifdef __MigPackStructs |
| 2007 | #pragma pack(push, 4) |
| 2008 | #endif |
| 2009 | typedef struct { |
| 2010 | mach_msg_header_t Head; |
| 2011 | /* start of the kernel processed data */ |
| 2012 | mach_msg_body_t msgh_body; |
| 2013 | mach_msg_port_descriptor_t voucher; |
| 2014 | /* end of the kernel processed data */ |
| 2015 | } __Reply__host_create_mach_voucher_t __attribute__((unused)); |
| 2016 | #ifdef __MigPackStructs |
| 2017 | #pragma pack(pop) |
| 2018 | #endif |
| 2019 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 2020 | #ifdef __MigPackStructs |
| 2021 | #pragma pack(push, 4) |
| 2022 | #endif |
| 2023 | typedef struct { |
| 2024 | mach_msg_header_t Head; |
| 2025 | mach_msg_body_t msgh_body; |
| 2026 | mach_msg_port_descriptor_t voucher; |
| 2027 | } __ReplyKData__host_create_mach_voucher_t __attribute__((unused)); |
| 2028 | #ifdef __MigPackStructs |
| 2029 | #pragma pack(pop) |
| 2030 | #endif |
| 2031 | /* Struct for pure user data */ |
| 2032 | #ifdef __MigPackStructs |
| 2033 | #pragma pack(push, 4) |
| 2034 | #endif |
| 2035 | typedef struct { |
| 2036 | char padding[0]; /* Avoid generating empty UData structs */ |
| 2037 | } __ReplyUData__host_create_mach_voucher_t __attribute__((unused)); |
| 2038 | #ifdef __MigPackStructs |
| 2039 | #pragma pack(pop) |
| 2040 | #endif |
| 2041 | |
| 2042 | #ifdef __MigPackStructs |
| 2043 | #pragma pack(push, 4) |
| 2044 | #endif |
| 2045 | typedef struct { |
| 2046 | mach_msg_header_t Head; |
| 2047 | NDR_record_t NDR; |
| 2048 | kern_return_t RetCode; |
| 2049 | } __Reply__host_set_atm_diagnostic_flag_t __attribute__((unused)); |
| 2050 | #ifdef __MigPackStructs |
| 2051 | #pragma pack(pop) |
| 2052 | #endif |
| 2053 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 2054 | #ifdef __MigPackStructs |
| 2055 | #pragma pack(push, 4) |
| 2056 | #endif |
| 2057 | typedef struct { |
| 2058 | mach_msg_header_t Head; |
| 2059 | } __ReplyKData__host_set_atm_diagnostic_flag_t __attribute__((unused)); |
| 2060 | #ifdef __MigPackStructs |
| 2061 | #pragma pack(pop) |
| 2062 | #endif |
| 2063 | /* Struct for pure user data */ |
| 2064 | #ifdef __MigPackStructs |
| 2065 | #pragma pack(push, 4) |
| 2066 | #endif |
| 2067 | typedef struct { |
| 2068 | NDR_record_t NDR; |
| 2069 | kern_return_t RetCode; |
| 2070 | char padding[0]; /* Avoid generating empty UData structs */ |
| 2071 | } __ReplyUData__host_set_atm_diagnostic_flag_t __attribute__((unused)); |
| 2072 | #ifdef __MigPackStructs |
| 2073 | #pragma pack(pop) |
| 2074 | #endif |
| 2075 | |
| 2076 | #ifdef __MigPackStructs |
| 2077 | #pragma pack(push, 4) |
| 2078 | #endif |
| 2079 | typedef struct { |
| 2080 | mach_msg_header_t Head; |
| 2081 | /* start of the kernel processed data */ |
| 2082 | mach_msg_body_t msgh_body; |
| 2083 | mach_msg_ool_descriptor_t names; |
| 2084 | mach_msg_ool_descriptor_t info; |
| 2085 | mach_msg_ool_descriptor_t memory_info; |
| 2086 | /* end of the kernel processed data */ |
| 2087 | NDR_record_t NDR; |
| 2088 | mach_msg_type_number_t namesCnt; |
| 2089 | mach_msg_type_number_t infoCnt; |
| 2090 | mach_msg_type_number_t memory_infoCnt; |
| 2091 | } __Reply__mach_memory_info_t __attribute__((unused)); |
| 2092 | #ifdef __MigPackStructs |
| 2093 | #pragma pack(pop) |
| 2094 | #endif |
| 2095 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 2096 | #ifdef __MigPackStructs |
| 2097 | #pragma pack(push, 4) |
| 2098 | #endif |
| 2099 | typedef struct { |
| 2100 | mach_msg_header_t Head; |
| 2101 | mach_msg_body_t msgh_body; |
| 2102 | mach_msg_ool_descriptor_t names; |
| 2103 | mach_msg_ool_descriptor_t info; |
| 2104 | mach_msg_ool_descriptor_t memory_info; |
| 2105 | } __ReplyKData__mach_memory_info_t __attribute__((unused)); |
| 2106 | #ifdef __MigPackStructs |
| 2107 | #pragma pack(pop) |
| 2108 | #endif |
| 2109 | /* Struct for pure user data */ |
| 2110 | #ifdef __MigPackStructs |
| 2111 | #pragma pack(push, 4) |
| 2112 | #endif |
| 2113 | typedef struct { |
| 2114 | NDR_record_t NDR; |
| 2115 | mach_msg_type_number_t namesCnt; |
| 2116 | mach_msg_type_number_t infoCnt; |
| 2117 | mach_msg_type_number_t memory_infoCnt; |
| 2118 | char padding[0]; /* Avoid generating empty UData structs */ |
| 2119 | } __ReplyUData__mach_memory_info_t __attribute__((unused)); |
| 2120 | #ifdef __MigPackStructs |
| 2121 | #pragma pack(pop) |
| 2122 | #endif |
| 2123 | |
| 2124 | #ifdef __MigPackStructs |
| 2125 | #pragma pack(push, 4) |
| 2126 | #endif |
| 2127 | typedef struct { |
| 2128 | mach_msg_header_t Head; |
| 2129 | NDR_record_t NDR; |
| 2130 | kern_return_t RetCode; |
| 2131 | } __Reply__host_set_multiuser_config_flags_t __attribute__((unused)); |
| 2132 | #ifdef __MigPackStructs |
| 2133 | #pragma pack(pop) |
| 2134 | #endif |
| 2135 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 2136 | #ifdef __MigPackStructs |
| 2137 | #pragma pack(push, 4) |
| 2138 | #endif |
| 2139 | typedef struct { |
| 2140 | mach_msg_header_t Head; |
| 2141 | } __ReplyKData__host_set_multiuser_config_flags_t __attribute__((unused)); |
| 2142 | #ifdef __MigPackStructs |
| 2143 | #pragma pack(pop) |
| 2144 | #endif |
| 2145 | /* Struct for pure user data */ |
| 2146 | #ifdef __MigPackStructs |
| 2147 | #pragma pack(push, 4) |
| 2148 | #endif |
| 2149 | typedef struct { |
| 2150 | NDR_record_t NDR; |
| 2151 | kern_return_t RetCode; |
| 2152 | char padding[0]; /* Avoid generating empty UData structs */ |
| 2153 | } __ReplyUData__host_set_multiuser_config_flags_t __attribute__((unused)); |
| 2154 | #ifdef __MigPackStructs |
| 2155 | #pragma pack(pop) |
| 2156 | #endif |
| 2157 | |
| 2158 | #ifdef __MigPackStructs |
| 2159 | #pragma pack(push, 4) |
| 2160 | #endif |
| 2161 | typedef struct { |
| 2162 | mach_msg_header_t Head; |
| 2163 | NDR_record_t NDR; |
| 2164 | kern_return_t RetCode; |
| 2165 | mach_zone_info_t info; |
| 2166 | } __Reply__mach_zone_info_for_zone_t __attribute__((unused)); |
| 2167 | #ifdef __MigPackStructs |
| 2168 | #pragma pack(pop) |
| 2169 | #endif |
| 2170 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 2171 | #ifdef __MigPackStructs |
| 2172 | #pragma pack(push, 4) |
| 2173 | #endif |
| 2174 | typedef struct { |
| 2175 | mach_msg_header_t Head; |
| 2176 | } __ReplyKData__mach_zone_info_for_zone_t __attribute__((unused)); |
| 2177 | #ifdef __MigPackStructs |
| 2178 | #pragma pack(pop) |
| 2179 | #endif |
| 2180 | /* Struct for pure user data */ |
| 2181 | #ifdef __MigPackStructs |
| 2182 | #pragma pack(push, 4) |
| 2183 | #endif |
| 2184 | typedef struct { |
| 2185 | NDR_record_t NDR; |
| 2186 | kern_return_t RetCode; |
| 2187 | mach_zone_info_t info; |
| 2188 | char padding[0]; /* Avoid generating empty UData structs */ |
| 2189 | } __ReplyUData__mach_zone_info_for_zone_t __attribute__((unused)); |
| 2190 | #ifdef __MigPackStructs |
| 2191 | #pragma pack(pop) |
| 2192 | #endif |
| 2193 | |
| 2194 | #ifdef __MigPackStructs |
| 2195 | #pragma pack(push, 4) |
| 2196 | #endif |
| 2197 | typedef struct { |
| 2198 | mach_msg_header_t Head; |
| 2199 | NDR_record_t NDR; |
| 2200 | kern_return_t RetCode; |
| 2201 | mach_zone_name_t name; |
| 2202 | mach_zone_info_t info; |
| 2203 | } __Reply__mach_zone_info_for_largest_zone_t __attribute__((unused)); |
| 2204 | #ifdef __MigPackStructs |
| 2205 | #pragma pack(pop) |
| 2206 | #endif |
| 2207 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 2208 | #ifdef __MigPackStructs |
| 2209 | #pragma pack(push, 4) |
| 2210 | #endif |
| 2211 | typedef struct { |
| 2212 | mach_msg_header_t Head; |
| 2213 | } __ReplyKData__mach_zone_info_for_largest_zone_t __attribute__((unused)); |
| 2214 | #ifdef __MigPackStructs |
| 2215 | #pragma pack(pop) |
| 2216 | #endif |
| 2217 | /* Struct for pure user data */ |
| 2218 | #ifdef __MigPackStructs |
| 2219 | #pragma pack(push, 4) |
| 2220 | #endif |
| 2221 | typedef struct { |
| 2222 | NDR_record_t NDR; |
| 2223 | kern_return_t RetCode; |
| 2224 | mach_zone_name_t name; |
| 2225 | mach_zone_info_t info; |
| 2226 | char padding[0]; /* Avoid generating empty UData structs */ |
| 2227 | } __ReplyUData__mach_zone_info_for_largest_zone_t __attribute__((unused)); |
| 2228 | #ifdef __MigPackStructs |
| 2229 | #pragma pack(pop) |
| 2230 | #endif |
| 2231 | |
| 2232 | #ifdef __MigPackStructs |
| 2233 | #pragma pack(push, 4) |
| 2234 | #endif |
| 2235 | typedef struct { |
| 2236 | mach_msg_header_t Head; |
| 2237 | /* start of the kernel processed data */ |
| 2238 | mach_msg_body_t msgh_body; |
| 2239 | mach_msg_ool_descriptor_t names; |
| 2240 | /* end of the kernel processed data */ |
| 2241 | NDR_record_t NDR; |
| 2242 | mach_msg_type_number_t namesCnt; |
| 2243 | } __Reply__mach_zone_get_zlog_zones_t __attribute__((unused)); |
| 2244 | #ifdef __MigPackStructs |
| 2245 | #pragma pack(pop) |
| 2246 | #endif |
| 2247 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 2248 | #ifdef __MigPackStructs |
| 2249 | #pragma pack(push, 4) |
| 2250 | #endif |
| 2251 | typedef struct { |
| 2252 | mach_msg_header_t Head; |
| 2253 | mach_msg_body_t msgh_body; |
| 2254 | mach_msg_ool_descriptor_t names; |
| 2255 | } __ReplyKData__mach_zone_get_zlog_zones_t __attribute__((unused)); |
| 2256 | #ifdef __MigPackStructs |
| 2257 | #pragma pack(pop) |
| 2258 | #endif |
| 2259 | /* Struct for pure user data */ |
| 2260 | #ifdef __MigPackStructs |
| 2261 | #pragma pack(push, 4) |
| 2262 | #endif |
| 2263 | typedef struct { |
| 2264 | NDR_record_t NDR; |
| 2265 | mach_msg_type_number_t namesCnt; |
| 2266 | char padding[0]; /* Avoid generating empty UData structs */ |
| 2267 | } __ReplyUData__mach_zone_get_zlog_zones_t __attribute__((unused)); |
| 2268 | #ifdef __MigPackStructs |
| 2269 | #pragma pack(pop) |
| 2270 | #endif |
| 2271 | |
| 2272 | #ifdef __MigPackStructs |
| 2273 | #pragma pack(push, 4) |
| 2274 | #endif |
| 2275 | typedef struct { |
| 2276 | mach_msg_header_t Head; |
| 2277 | /* start of the kernel processed data */ |
| 2278 | mach_msg_body_t msgh_body; |
| 2279 | mach_msg_ool_descriptor_t recs; |
| 2280 | /* end of the kernel processed data */ |
| 2281 | NDR_record_t NDR; |
| 2282 | mach_msg_type_number_t recsCnt; |
| 2283 | } __Reply__mach_zone_get_btlog_records_t __attribute__((unused)); |
| 2284 | #ifdef __MigPackStructs |
| 2285 | #pragma pack(pop) |
| 2286 | #endif |
| 2287 | /* Struct for kernel processed data (Header + Descriptors) */ |
| 2288 | #ifdef __MigPackStructs |
| 2289 | #pragma pack(push, 4) |
| 2290 | #endif |
| 2291 | typedef struct { |
| 2292 | mach_msg_header_t Head; |
| 2293 | mach_msg_body_t msgh_body; |
| 2294 | mach_msg_ool_descriptor_t recs; |
| 2295 | } __ReplyKData__mach_zone_get_btlog_records_t __attribute__((unused)); |
| 2296 | #ifdef __MigPackStructs |
| 2297 | #pragma pack(pop) |
| 2298 | #endif |
| 2299 | /* Struct for pure user data */ |
| 2300 | #ifdef __MigPackStructs |
| 2301 | #pragma pack(push, 4) |
| 2302 | #endif |
| 2303 | typedef struct { |
| 2304 | NDR_record_t NDR; |
| 2305 | mach_msg_type_number_t recsCnt; |
| 2306 | char padding[0]; /* Avoid generating empty UData structs */ |
| 2307 | } __ReplyUData__mach_zone_get_btlog_records_t __attribute__((unused)); |
| 2308 | #ifdef __MigPackStructs |
| 2309 | #pragma pack(pop) |
| 2310 | #endif |
| 2311 | #endif /* !__Reply__mach_host_subsystem__defined */ |
| 2312 | |
| 2313 | |
| 2314 | /* union of all replies */ |
| 2315 | |
| 2316 | #ifndef __ReplyUnion__mach_host_subsystem__defined |
| 2317 | #define __ReplyUnion__mach_host_subsystem__defined |
| 2318 | union __ReplyUnion__mach_host_subsystem { |
| 2319 | __Reply__host_info_t Reply_host_info; |
| 2320 | __Reply__host_kernel_version_t Reply_host_kernel_version; |
| 2321 | __Reply__host_page_size_t Reply_host_page_size; |
| 2322 | __Reply__mach_memory_object_memory_entry_t Reply_mach_memory_object_memory_entry; |
| 2323 | __Reply__host_processor_info_t Reply_host_processor_info; |
| 2324 | __Reply__host_get_io_main_t Reply_host_get_io_main; |
| 2325 | __Reply__host_get_clock_service_t Reply_host_get_clock_service; |
| 2326 | __Reply__kmod_get_info_t Reply_kmod_get_info; |
| 2327 | __Reply__host_virtual_physical_table_info_t Reply_host_virtual_physical_table_info; |
| 2328 | __Reply__processor_set_default_t Reply_processor_set_default; |
| 2329 | __Reply__mach_memory_object_memory_entry_64_t Reply_mach_memory_object_memory_entry_64; |
| 2330 | __Reply__host_statistics_from_user_t Reply_host_statistics_from_user; |
| 2331 | __Reply__host_request_notification_t Reply_host_request_notification; |
| 2332 | __Reply__host_lockgroup_info_t Reply_host_lockgroup_info; |
| 2333 | __Reply__host_statistics64_from_user_t Reply_host_statistics64_from_user; |
| 2334 | __Reply__mach_zone_info_t Reply_mach_zone_info; |
| 2335 | __Reply__mach_zone_force_gc_t Reply_mach_zone_force_gc; |
| 2336 | __Reply__host_create_mach_voucher_t Reply_host_create_mach_voucher; |
| 2337 | __Reply__host_set_atm_diagnostic_flag_t Reply_host_set_atm_diagnostic_flag; |
| 2338 | __Reply__mach_memory_info_t Reply_mach_memory_info; |
| 2339 | __Reply__host_set_multiuser_config_flags_t Reply_host_set_multiuser_config_flags; |
| 2340 | __Reply__mach_zone_info_for_zone_t Reply_mach_zone_info_for_zone; |
| 2341 | __Reply__mach_zone_info_for_largest_zone_t Reply_mach_zone_info_for_largest_zone; |
| 2342 | __Reply__mach_zone_get_zlog_zones_t Reply_mach_zone_get_zlog_zones; |
| 2343 | __Reply__mach_zone_get_btlog_records_t Reply_mach_zone_get_btlog_records; |
| 2344 | }; |
| 2345 | #endif /* __ReplyUnion__mach_host_subsystem__defined */ |
| 2346 | |
| 2347 | #ifndef subsystem_to_name_map_mach_host |
| 2348 | #define subsystem_to_name_map_mach_host \ |
| 2349 | { "host_info", 200 },\ |
| 2350 | { "host_kernel_version", 201 },\ |
| 2351 | { "host_page_size", 202 },\ |
| 2352 | { "mach_memory_object_memory_entry", 203 },\ |
| 2353 | { "host_processor_info", 204 },\ |
| 2354 | { "host_get_io_main", 205 },\ |
| 2355 | { "host_get_clock_service", 206 },\ |
| 2356 | { "kmod_get_info", 207 },\ |
| 2357 | { "host_virtual_physical_table_info", 209 },\ |
| 2358 | { "processor_set_default", 213 },\ |
| 2359 | { "mach_memory_object_memory_entry_64", 215 },\ |
| 2360 | { "host_statistics_from_user", 216 },\ |
| 2361 | { "host_request_notification", 217 },\ |
| 2362 | { "host_lockgroup_info", 218 },\ |
| 2363 | { "host_statistics64_from_user", 219 },\ |
| 2364 | { "mach_zone_info", 220 },\ |
| 2365 | { "mach_zone_force_gc", 221 },\ |
| 2366 | { "host_create_mach_voucher", 222 },\ |
| 2367 | { "host_set_atm_diagnostic_flag", 225 },\ |
| 2368 | { "mach_memory_info", 227 },\ |
| 2369 | { "host_set_multiuser_config_flags", 228 },\ |
| 2370 | { "mach_zone_info_for_zone", 231 },\ |
| 2371 | { "mach_zone_info_for_largest_zone", 232 },\ |
| 2372 | { "mach_zone_get_zlog_zones", 233 },\ |
| 2373 | { "mach_zone_get_btlog_records", 234 } |
| 2374 | #endif |
| 2375 | |
| 2376 | #ifdef __AfterMigServerHeader |
| 2377 | __AfterMigServerHeader |
| 2378 | #endif /* __AfterMigServerHeader */ |
| 2379 | |
| 2380 | #endif /* _mach_host_server_ */ |
| 2381 | |