Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/external/source/exploits/CVE-2017-13861/headers/IOKit/iokitmig_unused.h
Views: 11788
#if !defined(__LP64__)12#ifndef _iokit_user_3#define _iokit_user_45/* Module iokit */67#include <string.h>8#include <mach/ndr.h>9#include <mach/boolean.h>10#include <mach/kern_return.h>11#include <mach/notify.h>12#include <mach/mach_types.h>13#include <mach/message.h>14#include <mach/mig_errors.h>15#include <mach/port.h>1617#ifdef AUTOTEST18#ifndef FUNCTION_PTR_T19#define FUNCTION_PTR_T20typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t);21typedef struct {22char *name;23function_ptr_t function;24} function_table_entry;25typedef function_table_entry *function_table_t;26#endif /* FUNCTION_PTR_T */27#endif /* AUTOTEST */2829#ifndef iokit_MSG_COUNT30#define iokit_MSG_COUNT 8731#endif /* iokit_MSG_COUNT */3233#include <mach/std_types.h>34#include <mach/mig.h>35#include <mach/mig.h>36#include <mach/mach_types.h>37#include <mach/mach_types.h>38#include <device/device_types.h>3940#ifdef __BeforeMigUserHeader41__BeforeMigUserHeader42#endif /* __BeforeMigUserHeader */4344#include <sys/cdefs.h>45__BEGIN_DECLS464748/* Routine io_object_get_class */49#ifdef mig_external50mig_external51#else52extern53#endif /* mig_external */54kern_return_t io_object_get_class55(56mach_port_t object,57io_name_t className58);5960/* Routine io_object_conforms_to */61#ifdef mig_external62mig_external63#else64extern65#endif /* mig_external */66kern_return_t io_object_conforms_to67(68mach_port_t object,69io_name_t className,70boolean_t *conforms71);7273/* Routine io_iterator_next */74#ifdef mig_external75mig_external76#else77extern78#endif /* mig_external */79kern_return_t io_iterator_next80(81mach_port_t iterator,82mach_port_t *object83);8485/* Routine io_iterator_reset */86#ifdef mig_external87mig_external88#else89extern90#endif /* mig_external */91kern_return_t io_iterator_reset92(93mach_port_t iterator94);9596/* Routine io_service_get_matching_services */97#ifdef mig_external98mig_external99#else100extern101#endif /* mig_external */102kern_return_t io_service_get_matching_services103(104mach_port_t master_port,105io_string_t matching,106mach_port_t *existing107);108109/* Routine io_registry_entry_get_property */110#ifdef mig_external111mig_external112#else113extern114#endif /* mig_external */115kern_return_t io_registry_entry_get_property116(117mach_port_t registry_entry,118io_name_t property_name,119io_buf_ptr_t *properties,120mach_msg_type_number_t *propertiesCnt121);122123/* Routine io_registry_create_iterator */124#ifdef mig_external125mig_external126#else127extern128#endif /* mig_external */129kern_return_t io_registry_create_iterator130(131mach_port_t master_port,132io_name_t plane,133uint32_t options,134mach_port_t *iterator135);136137/* Routine io_registry_iterator_enter_entry */138#ifdef mig_external139mig_external140#else141extern142#endif /* mig_external */143kern_return_t io_registry_iterator_enter_entry144(145mach_port_t iterator146);147148/* Routine io_registry_iterator_exit_entry */149#ifdef mig_external150mig_external151#else152extern153#endif /* mig_external */154kern_return_t io_registry_iterator_exit_entry155(156mach_port_t iterator157);158159/* Routine io_registry_entry_from_path */160#ifdef mig_external161mig_external162#else163extern164#endif /* mig_external */165kern_return_t io_registry_entry_from_path166(167mach_port_t master_port,168io_string_t path,169mach_port_t *registry_entry170);171172/* Routine io_registry_entry_get_name */173#ifdef mig_external174mig_external175#else176extern177#endif /* mig_external */178kern_return_t io_registry_entry_get_name179(180mach_port_t registry_entry,181io_name_t name182);183184/* Routine io_registry_entry_get_properties */185#ifdef mig_external186mig_external187#else188extern189#endif /* mig_external */190kern_return_t io_registry_entry_get_properties191(192mach_port_t registry_entry,193io_buf_ptr_t *properties,194mach_msg_type_number_t *propertiesCnt195);196197/* Routine io_registry_entry_get_property_bytes */198#ifdef mig_external199mig_external200#else201extern202#endif /* mig_external */203kern_return_t io_registry_entry_get_property_bytes204(205mach_port_t registry_entry,206io_name_t property_name,207io_struct_inband_t data,208mach_msg_type_number_t *dataCnt209);210211/* Routine io_registry_entry_get_child_iterator */212#ifdef mig_external213mig_external214#else215extern216#endif /* mig_external */217kern_return_t io_registry_entry_get_child_iterator218(219mach_port_t registry_entry,220io_name_t plane,221mach_port_t *iterator222);223224/* Routine io_registry_entry_get_parent_iterator */225#ifdef mig_external226mig_external227#else228extern229#endif /* mig_external */230kern_return_t io_registry_entry_get_parent_iterator231(232mach_port_t registry_entry,233io_name_t plane,234mach_port_t *iterator235);236237/* Routine io_service_close */238#ifdef mig_external239mig_external240#else241extern242#endif /* mig_external */243kern_return_t io_service_close244(245mach_port_t connection246);247248/* Routine io_connect_get_service */249#ifdef mig_external250mig_external251#else252extern253#endif /* mig_external */254kern_return_t io_connect_get_service255(256mach_port_t connection,257mach_port_t *service258);259260/* Routine io_connect_set_notification_port */261#ifdef mig_external262mig_external263#else264extern265#endif /* mig_external */266kern_return_t io_connect_set_notification_port267(268mach_port_t connection,269uint32_t notification_type,270mach_port_t port,271uint32_t reference272);273274/* Routine io_connect_map_memory */275#ifdef mig_external276mig_external277#else278extern279#endif /* mig_external */280kern_return_t io_connect_map_memory281(282mach_port_t connection,283uint32_t memory_type,284task_t into_task,285vm_address_t *address,286vm_size_t *size,287uint32_t flags288);289290/* Routine io_connect_add_client */291#ifdef mig_external292mig_external293#else294extern295#endif /* mig_external */296kern_return_t io_connect_add_client297(298mach_port_t connection,299mach_port_t connect_to300);301302/* Routine io_connect_set_properties */303#ifdef mig_external304mig_external305#else306extern307#endif /* mig_external */308kern_return_t io_connect_set_properties309(310mach_port_t connection,311io_buf_ptr_t properties,312mach_msg_type_number_t propertiesCnt,313kern_return_t *result314);315316/* Routine io_connect_method_scalarI_scalarO */317#ifdef mig_external318mig_external319#else320extern321#endif /* mig_external */322kern_return_t io_connect_method_scalarI_scalarO323(324mach_port_t connection,325uint32_t selector,326io_scalar_inband_t input,327mach_msg_type_number_t inputCnt,328io_scalar_inband_t output,329mach_msg_type_number_t *outputCnt330);331332/* Routine io_connect_method_scalarI_structureO */333#ifdef mig_external334mig_external335#else336extern337#endif /* mig_external */338kern_return_t io_connect_method_scalarI_structureO339(340mach_port_t connection,341uint32_t selector,342io_scalar_inband_t input,343mach_msg_type_number_t inputCnt,344io_struct_inband_t output,345mach_msg_type_number_t *outputCnt346);347348/* Routine io_connect_method_scalarI_structureI */349#ifdef mig_external350mig_external351#else352extern353#endif /* mig_external */354kern_return_t io_connect_method_scalarI_structureI355(356mach_port_t connection,357uint32_t selector,358io_scalar_inband_t input,359mach_msg_type_number_t inputCnt,360io_struct_inband_t inputStruct,361mach_msg_type_number_t inputStructCnt362);363364/* Routine io_connect_method_structureI_structureO */365#ifdef mig_external366mig_external367#else368extern369#endif /* mig_external */370kern_return_t io_connect_method_structureI_structureO371(372mach_port_t connection,373uint32_t selector,374io_struct_inband_t input,375mach_msg_type_number_t inputCnt,376io_struct_inband_t output,377mach_msg_type_number_t *outputCnt378);379380/* Routine io_registry_entry_get_path */381#ifdef mig_external382mig_external383#else384extern385#endif /* mig_external */386kern_return_t io_registry_entry_get_path387(388mach_port_t registry_entry,389io_name_t plane,390io_string_t path391);392393/* Routine io_registry_get_root_entry */394#ifdef mig_external395mig_external396#else397extern398#endif /* mig_external */399kern_return_t io_registry_get_root_entry400(401mach_port_t master_port,402mach_port_t *root403);404405/* Routine io_registry_entry_set_properties */406#ifdef mig_external407mig_external408#else409extern410#endif /* mig_external */411kern_return_t io_registry_entry_set_properties412(413mach_port_t registry_entry,414io_buf_ptr_t properties,415mach_msg_type_number_t propertiesCnt,416kern_return_t *result417);418419/* Routine io_registry_entry_in_plane */420#ifdef mig_external421mig_external422#else423extern424#endif /* mig_external */425kern_return_t io_registry_entry_in_plane426(427mach_port_t registry_entry,428io_name_t plane,429boolean_t *inPlane430);431432/* Routine io_object_get_retain_count */433#ifdef mig_external434mig_external435#else436extern437#endif /* mig_external */438kern_return_t io_object_get_retain_count439(440mach_port_t object,441uint32_t *retainCount442);443444/* Routine io_service_get_busy_state */445#ifdef mig_external446mig_external447#else448extern449#endif /* mig_external */450kern_return_t io_service_get_busy_state451(452mach_port_t service,453uint32_t *busyState454);455456/* Routine io_service_wait_quiet */457#ifdef mig_external458mig_external459#else460extern461#endif /* mig_external */462kern_return_t io_service_wait_quiet463(464mach_port_t service,465mach_timespec_t wait_time466);467468/* Routine io_registry_entry_create_iterator */469#ifdef mig_external470mig_external471#else472extern473#endif /* mig_external */474kern_return_t io_registry_entry_create_iterator475(476mach_port_t registry_entry,477io_name_t plane,478uint32_t options,479mach_port_t *iterator480);481482/* Routine io_iterator_is_valid */483#ifdef mig_external484mig_external485#else486extern487#endif /* mig_external */488kern_return_t io_iterator_is_valid489(490mach_port_t iterator,491boolean_t *is_valid492);493494/* Routine io_catalog_send_data */495#ifdef mig_external496mig_external497#else498extern499#endif /* mig_external */500kern_return_t io_catalog_send_data501(502mach_port_t master_port,503uint32_t flag,504io_buf_ptr_t inData,505mach_msg_type_number_t inDataCnt,506kern_return_t *result507);508509/* Routine io_catalog_terminate */510#ifdef mig_external511mig_external512#else513extern514#endif /* mig_external */515kern_return_t io_catalog_terminate516(517mach_port_t master_port,518uint32_t flag,519io_name_t name520);521522/* Routine io_catalog_get_data */523#ifdef mig_external524mig_external525#else526extern527#endif /* mig_external */528kern_return_t io_catalog_get_data529(530mach_port_t master_port,531uint32_t flag,532io_buf_ptr_t *outData,533mach_msg_type_number_t *outDataCnt534);535536/* Routine io_catalog_get_gen_count */537#ifdef mig_external538mig_external539#else540extern541#endif /* mig_external */542kern_return_t io_catalog_get_gen_count543(544mach_port_t master_port,545uint32_t *genCount546);547548/* Routine io_catalog_module_loaded */549#ifdef mig_external550mig_external551#else552extern553#endif /* mig_external */554kern_return_t io_catalog_module_loaded555(556mach_port_t master_port,557io_name_t name558);559560/* Routine io_catalog_reset */561#ifdef mig_external562mig_external563#else564extern565#endif /* mig_external */566kern_return_t io_catalog_reset567(568mach_port_t master_port,569uint32_t flag570);571572/* Routine io_service_request_probe */573#ifdef mig_external574mig_external575#else576extern577#endif /* mig_external */578kern_return_t io_service_request_probe579(580mach_port_t service,581uint32_t options582);583584/* Routine io_registry_entry_get_name_in_plane */585#ifdef mig_external586mig_external587#else588extern589#endif /* mig_external */590kern_return_t io_registry_entry_get_name_in_plane591(592mach_port_t registry_entry,593io_name_t plane,594io_name_t name595);596597/* Routine io_service_match_property_table */598#ifdef mig_external599mig_external600#else601extern602#endif /* mig_external */603kern_return_t io_service_match_property_table604(605mach_port_t service,606io_string_t matching,607boolean_t *matches608);609610/* Routine io_async_method_scalarI_scalarO */611#ifdef mig_external612mig_external613#else614extern615#endif /* mig_external */616kern_return_t io_async_method_scalarI_scalarO617(618mach_port_t connection,619mach_port_t wake_port,620io_async_ref_t reference,621mach_msg_type_number_t referenceCnt,622uint32_t selector,623io_scalar_inband_t input,624mach_msg_type_number_t inputCnt,625io_scalar_inband_t output,626mach_msg_type_number_t *outputCnt627);628629/* Routine io_async_method_scalarI_structureO */630#ifdef mig_external631mig_external632#else633extern634#endif /* mig_external */635kern_return_t io_async_method_scalarI_structureO636(637mach_port_t connection,638mach_port_t wake_port,639io_async_ref_t reference,640mach_msg_type_number_t referenceCnt,641uint32_t selector,642io_scalar_inband_t input,643mach_msg_type_number_t inputCnt,644io_struct_inband_t output,645mach_msg_type_number_t *outputCnt646);647648/* Routine io_async_method_scalarI_structureI */649#ifdef mig_external650mig_external651#else652extern653#endif /* mig_external */654kern_return_t io_async_method_scalarI_structureI655(656mach_port_t connection,657mach_port_t wake_port,658io_async_ref_t reference,659mach_msg_type_number_t referenceCnt,660uint32_t selector,661io_scalar_inband_t input,662mach_msg_type_number_t inputCnt,663io_struct_inband_t inputStruct,664mach_msg_type_number_t inputStructCnt665);666667/* Routine io_async_method_structureI_structureO */668#ifdef mig_external669mig_external670#else671extern672#endif /* mig_external */673kern_return_t io_async_method_structureI_structureO674(675mach_port_t connection,676mach_port_t wake_port,677io_async_ref_t reference,678mach_msg_type_number_t referenceCnt,679uint32_t selector,680io_struct_inband_t input,681mach_msg_type_number_t inputCnt,682io_struct_inband_t output,683mach_msg_type_number_t *outputCnt684);685686/* Routine io_service_add_notification */687#ifdef mig_external688mig_external689#else690extern691#endif /* mig_external */692kern_return_t io_service_add_notification693(694mach_port_t master_port,695io_name_t notification_type,696io_string_t matching,697mach_port_t wake_port,698io_async_ref_t reference,699mach_msg_type_number_t referenceCnt,700mach_port_t *notification701);702703/* Routine io_service_add_interest_notification */704#ifdef mig_external705mig_external706#else707extern708#endif /* mig_external */709kern_return_t io_service_add_interest_notification710(711mach_port_t service,712io_name_t type_of_interest,713mach_port_t wake_port,714io_async_ref_t reference,715mach_msg_type_number_t referenceCnt,716mach_port_t *notification717);718719/* Routine io_service_acknowledge_notification */720#ifdef mig_external721mig_external722#else723extern724#endif /* mig_external */725kern_return_t io_service_acknowledge_notification726(727mach_port_t service,728natural_t notify_ref,729natural_t response730);731732/* Routine io_connect_get_notification_semaphore */733#ifdef mig_external734mig_external735#else736extern737#endif /* mig_external */738kern_return_t io_connect_get_notification_semaphore739(740mach_port_t connection,741natural_t notification_type,742semaphore_t *semaphore743);744745/* Routine io_connect_unmap_memory */746#ifdef mig_external747mig_external748#else749extern750#endif /* mig_external */751kern_return_t io_connect_unmap_memory752(753mach_port_t connection,754uint32_t memory_type,755task_t into_task,756vm_address_t address757);758759/* Routine io_registry_entry_get_location_in_plane */760#ifdef mig_external761mig_external762#else763extern764#endif /* mig_external */765kern_return_t io_registry_entry_get_location_in_plane766(767mach_port_t registry_entry,768io_name_t plane,769io_name_t location770);771772/* Routine io_registry_entry_get_property_recursively */773#ifdef mig_external774mig_external775#else776extern777#endif /* mig_external */778kern_return_t io_registry_entry_get_property_recursively779(780mach_port_t registry_entry,781io_name_t plane,782io_name_t property_name,783uint32_t options,784io_buf_ptr_t *properties,785mach_msg_type_number_t *propertiesCnt786);787788/* Routine io_service_get_state */789#ifdef mig_external790mig_external791#else792extern793#endif /* mig_external */794kern_return_t io_service_get_state795(796mach_port_t service,797uint64_t *state,798uint32_t *busy_state,799uint64_t *accumulated_busy_time800);801802/* Routine io_service_get_matching_services_ool */803#ifdef mig_external804mig_external805#else806extern807#endif /* mig_external */808kern_return_t io_service_get_matching_services_ool809(810mach_port_t master_port,811io_buf_ptr_t matching,812mach_msg_type_number_t matchingCnt,813kern_return_t *result,814mach_port_t *existing815);816817/* Routine io_service_match_property_table_ool */818#ifdef mig_external819mig_external820#else821extern822#endif /* mig_external */823kern_return_t io_service_match_property_table_ool824(825mach_port_t service,826io_buf_ptr_t matching,827mach_msg_type_number_t matchingCnt,828kern_return_t *result,829boolean_t *matches830);831832/* Routine io_service_add_notification_ool */833#ifdef mig_external834mig_external835#else836extern837#endif /* mig_external */838kern_return_t io_service_add_notification_ool839(840mach_port_t master_port,841io_name_t notification_type,842io_buf_ptr_t matching,843mach_msg_type_number_t matchingCnt,844mach_port_t wake_port,845io_async_ref_t reference,846mach_msg_type_number_t referenceCnt,847kern_return_t *result,848mach_port_t *notification849);850851/* Routine io_object_get_superclass */852#ifdef mig_external853mig_external854#else855extern856#endif /* mig_external */857kern_return_t io_object_get_superclass858(859mach_port_t master_port,860io_name_t obj_name,861io_name_t class_name862);863864/* Routine io_object_get_bundle_identifier */865#ifdef mig_external866mig_external867#else868extern869#endif /* mig_external */870kern_return_t io_object_get_bundle_identifier871(872mach_port_t master_port,873io_name_t obj_name,874io_name_t class_name875);876877/* Routine io_service_open_extended */878#ifdef mig_external879mig_external880#else881extern882#endif /* mig_external */883kern_return_t io_service_open_extended884(885mach_port_t service,886task_t owningTask,887uint32_t connect_type,888NDR_record_t ndr,889io_buf_ptr_t properties,890mach_msg_type_number_t propertiesCnt,891kern_return_t *result,892mach_port_t *connection893);894895/* Routine io_connect_map_memory_into_task */896#ifdef mig_external897mig_external898#else899extern900#endif /* mig_external */901kern_return_t io_connect_map_memory_into_task902(903mach_port_t connection,904uint32_t memory_type,905task_t into_task,906mach_vm_address_t *address,907mach_vm_size_t *size,908uint32_t flags909);910911/* Routine io_connect_unmap_memory_from_task */912#ifdef mig_external913mig_external914#else915extern916#endif /* mig_external */917kern_return_t io_connect_unmap_memory_from_task918(919mach_port_t connection,920uint32_t memory_type,921task_t from_task,922mach_vm_address_t address923);924925/* Routine io_connect_method */926#ifdef mig_external927mig_external928#else929extern930#endif /* mig_external */931kern_return_t io_connect_method932(933mach_port_t connection,934uint32_t selector,935io_scalar_inband64_t scalar_input,936mach_msg_type_number_t scalar_inputCnt,937io_struct_inband_t inband_input,938mach_msg_type_number_t inband_inputCnt,939mach_vm_address_t ool_input,940mach_vm_size_t ool_input_size,941io_struct_inband_t inband_output,942mach_msg_type_number_t *inband_outputCnt,943io_scalar_inband64_t scalar_output,944mach_msg_type_number_t *scalar_outputCnt,945mach_vm_address_t ool_output,946mach_vm_size_t *ool_output_size947);948949/* Routine io_connect_async_method */950#ifdef mig_external951mig_external952#else953extern954#endif /* mig_external */955kern_return_t io_connect_async_method956(957mach_port_t connection,958mach_port_t wake_port,959io_async_ref64_t reference,960mach_msg_type_number_t referenceCnt,961uint32_t selector,962io_scalar_inband64_t scalar_input,963mach_msg_type_number_t scalar_inputCnt,964io_struct_inband_t inband_input,965mach_msg_type_number_t inband_inputCnt,966mach_vm_address_t ool_input,967mach_vm_size_t ool_input_size,968io_struct_inband_t inband_output,969mach_msg_type_number_t *inband_outputCnt,970io_scalar_inband64_t scalar_output,971mach_msg_type_number_t *scalar_outputCnt,972mach_vm_address_t ool_output,973mach_vm_size_t *ool_output_size974);975976/* Routine io_registry_entry_get_registry_entry_id */977#ifdef mig_external978mig_external979#else980extern981#endif /* mig_external */982kern_return_t io_registry_entry_get_registry_entry_id983(984mach_port_t registry_entry,985uint64_t *entry_id986);987988/* Routine io_connect_method_var_output */989#ifdef mig_external990mig_external991#else992extern993#endif /* mig_external */994kern_return_t io_connect_method_var_output995(996mach_port_t connection,997uint32_t selector,998io_scalar_inband64_t scalar_input,999mach_msg_type_number_t scalar_inputCnt,1000io_struct_inband_t inband_input,1001mach_msg_type_number_t inband_inputCnt,1002mach_vm_address_t ool_input,1003mach_vm_size_t ool_input_size,1004io_struct_inband_t inband_output,1005mach_msg_type_number_t *inband_outputCnt,1006io_scalar_inband64_t scalar_output,1007mach_msg_type_number_t *scalar_outputCnt,1008io_buf_ptr_t *var_output,1009mach_msg_type_number_t *var_outputCnt1010);10111012/* Routine io_service_get_matching_service */1013#ifdef mig_external1014mig_external1015#else1016extern1017#endif /* mig_external */1018kern_return_t io_service_get_matching_service1019(1020mach_port_t master_port,1021io_string_t matching,1022mach_port_t *service1023);10241025/* Routine io_service_get_matching_service_ool */1026#ifdef mig_external1027mig_external1028#else1029extern1030#endif /* mig_external */1031kern_return_t io_service_get_matching_service_ool1032(1033mach_port_t master_port,1034io_buf_ptr_t matching,1035mach_msg_type_number_t matchingCnt,1036kern_return_t *result,1037mach_port_t *service1038);10391040/* Routine io_service_get_authorization_id */1041#ifdef mig_external1042mig_external1043#else1044extern1045#endif /* mig_external */1046kern_return_t io_service_get_authorization_id1047(1048mach_port_t service,1049uint64_t *authorization_id1050);10511052/* Routine io_service_set_authorization_id */1053#ifdef mig_external1054mig_external1055#else1056extern1057#endif /* mig_external */1058kern_return_t io_service_set_authorization_id1059(1060mach_port_t service,1061uint64_t authorization_id1062);10631064/* Routine io_server_version */1065#ifdef mig_external1066mig_external1067#else1068extern1069#endif /* mig_external */1070kern_return_t io_server_version1071(1072mach_port_t master_port,1073uint64_t *version1074);10751076/* Routine io_registry_entry_get_properties_bin */1077#ifdef mig_external1078mig_external1079#else1080extern1081#endif /* mig_external */1082kern_return_t io_registry_entry_get_properties_bin1083(1084mach_port_t registry_entry,1085io_buf_ptr_t *properties,1086mach_msg_type_number_t *propertiesCnt1087);10881089/* Routine io_registry_entry_get_property_bin */1090#ifdef mig_external1091mig_external1092#else1093extern1094#endif /* mig_external */1095kern_return_t io_registry_entry_get_property_bin1096(1097mach_port_t registry_entry,1098io_name_t plane,1099io_name_t property_name,1100uint32_t options,1101io_buf_ptr_t *properties,1102mach_msg_type_number_t *propertiesCnt1103);11041105/* Routine io_service_get_matching_service_bin */1106#ifdef mig_external1107mig_external1108#else1109extern1110#endif /* mig_external */1111kern_return_t io_service_get_matching_service_bin1112(1113mach_port_t master_port,1114io_struct_inband_t matching,1115mach_msg_type_number_t matchingCnt,1116mach_port_t *service1117);11181119/* Routine io_service_get_matching_services_bin */1120#ifdef mig_external1121mig_external1122#else1123extern1124#endif /* mig_external */1125kern_return_t io_service_get_matching_services_bin1126(1127mach_port_t master_port,1128io_struct_inband_t matching,1129mach_msg_type_number_t matchingCnt,1130mach_port_t *existing1131);11321133/* Routine io_service_match_property_table_bin */1134#ifdef mig_external1135mig_external1136#else1137extern1138#endif /* mig_external */1139kern_return_t io_service_match_property_table_bin1140(1141mach_port_t service,1142io_struct_inband_t matching,1143mach_msg_type_number_t matchingCnt,1144boolean_t *matches1145);11461147/* Routine io_service_add_notification_bin */1148#ifdef mig_external1149mig_external1150#else1151extern1152#endif /* mig_external */1153kern_return_t io_service_add_notification_bin1154(1155mach_port_t master_port,1156io_name_t notification_type,1157io_struct_inband_t matching,1158mach_msg_type_number_t matchingCnt,1159mach_port_t wake_port,1160io_async_ref_t reference,1161mach_msg_type_number_t referenceCnt,1162mach_port_t *notification1163);11641165/* Routine io_registry_entry_get_path_ool */1166#ifdef mig_external1167mig_external1168#else1169extern1170#endif /* mig_external */1171kern_return_t io_registry_entry_get_path_ool1172(1173mach_port_t registry_entry,1174io_name_t plane,1175io_string_inband_t path,1176io_buf_ptr_t *path_ool,1177mach_msg_type_number_t *path_oolCnt1178);11791180/* Routine io_registry_entry_from_path_ool */1181#ifdef mig_external1182mig_external1183#else1184extern1185#endif /* mig_external */1186kern_return_t io_registry_entry_from_path_ool1187(1188mach_port_t master_port,1189io_string_inband_t path,1190io_buf_ptr_t path_ool,1191mach_msg_type_number_t path_oolCnt,1192kern_return_t *result,1193mach_port_t *registry_entry1194);11951196__END_DECLS11971198/********************** Caution **************************/1199/* The following data types should be used to calculate */1200/* maximum message sizes only. The actual message may be */1201/* smaller, and the position of the arguments within the */1202/* message layout may vary from what is presented here. */1203/* For example, if any of the arguments are variable- */1204/* sized, and less than the maximum is sent, the data */1205/* will be packed tight in the actual message to reduce */1206/* the presence of holes. */1207/********************** Caution **************************/12081209/* typedefs for all requests */12101211#ifndef __Request__iokit_subsystem__defined1212#define __Request__iokit_subsystem__defined12131214#ifdef __MigPackStructs1215#pragma pack(4)1216#endif1217typedef struct {1218mach_msg_header_t Head;1219} __Request__io_object_get_class_t __attribute__((unused));1220#ifdef __MigPackStructs1221#pragma pack()1222#endif12231224#ifdef __MigPackStructs1225#pragma pack(4)1226#endif1227typedef struct {1228mach_msg_header_t Head;1229NDR_record_t NDR;1230mach_msg_type_number_t classNameOffset; /* MiG doesn't use it */1231mach_msg_type_number_t classNameCnt;1232char className[128];1233} __Request__io_object_conforms_to_t __attribute__((unused));1234#ifdef __MigPackStructs1235#pragma pack()1236#endif12371238#ifdef __MigPackStructs1239#pragma pack(4)1240#endif1241typedef struct {1242mach_msg_header_t Head;1243} __Request__io_iterator_next_t __attribute__((unused));1244#ifdef __MigPackStructs1245#pragma pack()1246#endif12471248#ifdef __MigPackStructs1249#pragma pack(4)1250#endif1251typedef struct {1252mach_msg_header_t Head;1253} __Request__io_iterator_reset_t __attribute__((unused));1254#ifdef __MigPackStructs1255#pragma pack()1256#endif12571258#ifdef __MigPackStructs1259#pragma pack(4)1260#endif1261typedef struct {1262mach_msg_header_t Head;1263NDR_record_t NDR;1264mach_msg_type_number_t matchingOffset; /* MiG doesn't use it */1265mach_msg_type_number_t matchingCnt;1266char matching[512];1267} __Request__io_service_get_matching_services_t __attribute__((unused));1268#ifdef __MigPackStructs1269#pragma pack()1270#endif12711272#ifdef __MigPackStructs1273#pragma pack(4)1274#endif1275typedef struct {1276mach_msg_header_t Head;1277NDR_record_t NDR;1278mach_msg_type_number_t property_nameOffset; /* MiG doesn't use it */1279mach_msg_type_number_t property_nameCnt;1280char property_name[128];1281} __Request__io_registry_entry_get_property_t __attribute__((unused));1282#ifdef __MigPackStructs1283#pragma pack()1284#endif12851286#ifdef __MigPackStructs1287#pragma pack(4)1288#endif1289typedef struct {1290mach_msg_header_t Head;1291NDR_record_t NDR;1292mach_msg_type_number_t planeOffset; /* MiG doesn't use it */1293mach_msg_type_number_t planeCnt;1294char plane[128];1295uint32_t options;1296} __Request__io_registry_create_iterator_t __attribute__((unused));1297#ifdef __MigPackStructs1298#pragma pack()1299#endif13001301#ifdef __MigPackStructs1302#pragma pack(4)1303#endif1304typedef struct {1305mach_msg_header_t Head;1306} __Request__io_registry_iterator_enter_entry_t __attribute__((unused));1307#ifdef __MigPackStructs1308#pragma pack()1309#endif13101311#ifdef __MigPackStructs1312#pragma pack(4)1313#endif1314typedef struct {1315mach_msg_header_t Head;1316} __Request__io_registry_iterator_exit_entry_t __attribute__((unused));1317#ifdef __MigPackStructs1318#pragma pack()1319#endif13201321#ifdef __MigPackStructs1322#pragma pack(4)1323#endif1324typedef struct {1325mach_msg_header_t Head;1326NDR_record_t NDR;1327mach_msg_type_number_t pathOffset; /* MiG doesn't use it */1328mach_msg_type_number_t pathCnt;1329char path[512];1330} __Request__io_registry_entry_from_path_t __attribute__((unused));1331#ifdef __MigPackStructs1332#pragma pack()1333#endif13341335#ifdef __MigPackStructs1336#pragma pack(4)1337#endif1338typedef struct {1339mach_msg_header_t Head;1340} __Request__io_registry_entry_get_name_t __attribute__((unused));1341#ifdef __MigPackStructs1342#pragma pack()1343#endif13441345#ifdef __MigPackStructs1346#pragma pack(4)1347#endif1348typedef struct {1349mach_msg_header_t Head;1350} __Request__io_registry_entry_get_properties_t __attribute__((unused));1351#ifdef __MigPackStructs1352#pragma pack()1353#endif13541355#ifdef __MigPackStructs1356#pragma pack(4)1357#endif1358typedef struct {1359mach_msg_header_t Head;1360NDR_record_t NDR;1361mach_msg_type_number_t property_nameOffset; /* MiG doesn't use it */1362mach_msg_type_number_t property_nameCnt;1363char property_name[128];1364mach_msg_type_number_t dataCnt;1365} __Request__io_registry_entry_get_property_bytes_t __attribute__((unused));1366#ifdef __MigPackStructs1367#pragma pack()1368#endif13691370#ifdef __MigPackStructs1371#pragma pack(4)1372#endif1373typedef struct {1374mach_msg_header_t Head;1375NDR_record_t NDR;1376mach_msg_type_number_t planeOffset; /* MiG doesn't use it */1377mach_msg_type_number_t planeCnt;1378char plane[128];1379} __Request__io_registry_entry_get_child_iterator_t __attribute__((unused));1380#ifdef __MigPackStructs1381#pragma pack()1382#endif13831384#ifdef __MigPackStructs1385#pragma pack(4)1386#endif1387typedef struct {1388mach_msg_header_t Head;1389NDR_record_t NDR;1390mach_msg_type_number_t planeOffset; /* MiG doesn't use it */1391mach_msg_type_number_t planeCnt;1392char plane[128];1393} __Request__io_registry_entry_get_parent_iterator_t __attribute__((unused));1394#ifdef __MigPackStructs1395#pragma pack()1396#endif13971398#ifdef __MigPackStructs1399#pragma pack(4)1400#endif1401typedef struct {1402mach_msg_header_t Head;1403} __Request__io_service_close_t __attribute__((unused));1404#ifdef __MigPackStructs1405#pragma pack()1406#endif14071408#ifdef __MigPackStructs1409#pragma pack(4)1410#endif1411typedef struct {1412mach_msg_header_t Head;1413} __Request__io_connect_get_service_t __attribute__((unused));1414#ifdef __MigPackStructs1415#pragma pack()1416#endif14171418#ifdef __MigPackStructs1419#pragma pack(4)1420#endif1421typedef struct {1422mach_msg_header_t Head;1423/* start of the kernel processed data */1424mach_msg_body_t msgh_body;1425mach_msg_port_descriptor_t port;1426/* end of the kernel processed data */1427NDR_record_t NDR;1428uint32_t notification_type;1429uint32_t reference;1430} __Request__io_connect_set_notification_port_t __attribute__((unused));1431#ifdef __MigPackStructs1432#pragma pack()1433#endif14341435#ifdef __MigPackStructs1436#pragma pack(4)1437#endif1438typedef struct {1439mach_msg_header_t Head;1440/* start of the kernel processed data */1441mach_msg_body_t msgh_body;1442mach_msg_port_descriptor_t into_task;1443/* end of the kernel processed data */1444NDR_record_t NDR;1445uint32_t memory_type;1446vm_address_t address;1447vm_size_t size;1448uint32_t flags;1449} __Request__io_connect_map_memory_t __attribute__((unused));1450#ifdef __MigPackStructs1451#pragma pack()1452#endif14531454#ifdef __MigPackStructs1455#pragma pack(4)1456#endif1457typedef struct {1458mach_msg_header_t Head;1459/* start of the kernel processed data */1460mach_msg_body_t msgh_body;1461mach_msg_port_descriptor_t connect_to;1462/* end of the kernel processed data */1463} __Request__io_connect_add_client_t __attribute__((unused));1464#ifdef __MigPackStructs1465#pragma pack()1466#endif14671468#ifdef __MigPackStructs1469#pragma pack(4)1470#endif1471typedef struct {1472mach_msg_header_t Head;1473/* start of the kernel processed data */1474mach_msg_body_t msgh_body;1475mach_msg_ool_descriptor_t properties;1476/* end of the kernel processed data */1477NDR_record_t NDR;1478mach_msg_type_number_t propertiesCnt;1479} __Request__io_connect_set_properties_t __attribute__((unused));1480#ifdef __MigPackStructs1481#pragma pack()1482#endif14831484#ifdef __MigPackStructs1485#pragma pack(4)1486#endif1487typedef struct {1488mach_msg_header_t Head;1489NDR_record_t NDR;1490uint32_t selector;1491mach_msg_type_number_t inputCnt;1492io_user_scalar_t input[16];1493mach_msg_type_number_t outputCnt;1494} __Request__io_connect_method_scalarI_scalarO_t __attribute__((unused));1495#ifdef __MigPackStructs1496#pragma pack()1497#endif14981499#ifdef __MigPackStructs1500#pragma pack(4)1501#endif1502typedef struct {1503mach_msg_header_t Head;1504NDR_record_t NDR;1505uint32_t selector;1506mach_msg_type_number_t inputCnt;1507io_user_scalar_t input[16];1508mach_msg_type_number_t outputCnt;1509} __Request__io_connect_method_scalarI_structureO_t __attribute__((unused));1510#ifdef __MigPackStructs1511#pragma pack()1512#endif15131514#ifdef __MigPackStructs1515#pragma pack(4)1516#endif1517typedef struct {1518mach_msg_header_t Head;1519NDR_record_t NDR;1520uint32_t selector;1521mach_msg_type_number_t inputCnt;1522io_user_scalar_t input[16];1523mach_msg_type_number_t inputStructCnt;1524char inputStruct[4096];1525} __Request__io_connect_method_scalarI_structureI_t __attribute__((unused));1526#ifdef __MigPackStructs1527#pragma pack()1528#endif15291530#ifdef __MigPackStructs1531#pragma pack(4)1532#endif1533typedef struct {1534mach_msg_header_t Head;1535NDR_record_t NDR;1536uint32_t selector;1537mach_msg_type_number_t inputCnt;1538char input[4096];1539mach_msg_type_number_t outputCnt;1540} __Request__io_connect_method_structureI_structureO_t __attribute__((unused));1541#ifdef __MigPackStructs1542#pragma pack()1543#endif15441545#ifdef __MigPackStructs1546#pragma pack(4)1547#endif1548typedef struct {1549mach_msg_header_t Head;1550NDR_record_t NDR;1551mach_msg_type_number_t planeOffset; /* MiG doesn't use it */1552mach_msg_type_number_t planeCnt;1553char plane[128];1554} __Request__io_registry_entry_get_path_t __attribute__((unused));1555#ifdef __MigPackStructs1556#pragma pack()1557#endif15581559#ifdef __MigPackStructs1560#pragma pack(4)1561#endif1562typedef struct {1563mach_msg_header_t Head;1564} __Request__io_registry_get_root_entry_t __attribute__((unused));1565#ifdef __MigPackStructs1566#pragma pack()1567#endif15681569#ifdef __MigPackStructs1570#pragma pack(4)1571#endif1572typedef struct {1573mach_msg_header_t Head;1574/* start of the kernel processed data */1575mach_msg_body_t msgh_body;1576mach_msg_ool_descriptor_t properties;1577/* end of the kernel processed data */1578NDR_record_t NDR;1579mach_msg_type_number_t propertiesCnt;1580} __Request__io_registry_entry_set_properties_t __attribute__((unused));1581#ifdef __MigPackStructs1582#pragma pack()1583#endif15841585#ifdef __MigPackStructs1586#pragma pack(4)1587#endif1588typedef struct {1589mach_msg_header_t Head;1590NDR_record_t NDR;1591mach_msg_type_number_t planeOffset; /* MiG doesn't use it */1592mach_msg_type_number_t planeCnt;1593char plane[128];1594} __Request__io_registry_entry_in_plane_t __attribute__((unused));1595#ifdef __MigPackStructs1596#pragma pack()1597#endif15981599#ifdef __MigPackStructs1600#pragma pack(4)1601#endif1602typedef struct {1603mach_msg_header_t Head;1604} __Request__io_object_get_retain_count_t __attribute__((unused));1605#ifdef __MigPackStructs1606#pragma pack()1607#endif16081609#ifdef __MigPackStructs1610#pragma pack(4)1611#endif1612typedef struct {1613mach_msg_header_t Head;1614} __Request__io_service_get_busy_state_t __attribute__((unused));1615#ifdef __MigPackStructs1616#pragma pack()1617#endif16181619#ifdef __MigPackStructs1620#pragma pack(4)1621#endif1622typedef struct {1623mach_msg_header_t Head;1624NDR_record_t NDR;1625mach_timespec_t wait_time;1626} __Request__io_service_wait_quiet_t __attribute__((unused));1627#ifdef __MigPackStructs1628#pragma pack()1629#endif16301631#ifdef __MigPackStructs1632#pragma pack(4)1633#endif1634typedef struct {1635mach_msg_header_t Head;1636NDR_record_t NDR;1637mach_msg_type_number_t planeOffset; /* MiG doesn't use it */1638mach_msg_type_number_t planeCnt;1639char plane[128];1640uint32_t options;1641} __Request__io_registry_entry_create_iterator_t __attribute__((unused));1642#ifdef __MigPackStructs1643#pragma pack()1644#endif16451646#ifdef __MigPackStructs1647#pragma pack(4)1648#endif1649typedef struct {1650mach_msg_header_t Head;1651} __Request__io_iterator_is_valid_t __attribute__((unused));1652#ifdef __MigPackStructs1653#pragma pack()1654#endif16551656#ifdef __MigPackStructs1657#pragma pack(4)1658#endif1659typedef struct {1660mach_msg_header_t Head;1661/* start of the kernel processed data */1662mach_msg_body_t msgh_body;1663mach_msg_ool_descriptor_t inData;1664/* end of the kernel processed data */1665NDR_record_t NDR;1666uint32_t flag;1667mach_msg_type_number_t inDataCnt;1668} __Request__io_catalog_send_data_t __attribute__((unused));1669#ifdef __MigPackStructs1670#pragma pack()1671#endif16721673#ifdef __MigPackStructs1674#pragma pack(4)1675#endif1676typedef struct {1677mach_msg_header_t Head;1678NDR_record_t NDR;1679uint32_t flag;1680mach_msg_type_number_t nameOffset; /* MiG doesn't use it */1681mach_msg_type_number_t nameCnt;1682char name[128];1683} __Request__io_catalog_terminate_t __attribute__((unused));1684#ifdef __MigPackStructs1685#pragma pack()1686#endif16871688#ifdef __MigPackStructs1689#pragma pack(4)1690#endif1691typedef struct {1692mach_msg_header_t Head;1693NDR_record_t NDR;1694uint32_t flag;1695} __Request__io_catalog_get_data_t __attribute__((unused));1696#ifdef __MigPackStructs1697#pragma pack()1698#endif16991700#ifdef __MigPackStructs1701#pragma pack(4)1702#endif1703typedef struct {1704mach_msg_header_t Head;1705} __Request__io_catalog_get_gen_count_t __attribute__((unused));1706#ifdef __MigPackStructs1707#pragma pack()1708#endif17091710#ifdef __MigPackStructs1711#pragma pack(4)1712#endif1713typedef struct {1714mach_msg_header_t Head;1715NDR_record_t NDR;1716mach_msg_type_number_t nameOffset; /* MiG doesn't use it */1717mach_msg_type_number_t nameCnt;1718char name[128];1719} __Request__io_catalog_module_loaded_t __attribute__((unused));1720#ifdef __MigPackStructs1721#pragma pack()1722#endif17231724#ifdef __MigPackStructs1725#pragma pack(4)1726#endif1727typedef struct {1728mach_msg_header_t Head;1729NDR_record_t NDR;1730uint32_t flag;1731} __Request__io_catalog_reset_t __attribute__((unused));1732#ifdef __MigPackStructs1733#pragma pack()1734#endif17351736#ifdef __MigPackStructs1737#pragma pack(4)1738#endif1739typedef struct {1740mach_msg_header_t Head;1741NDR_record_t NDR;1742uint32_t options;1743} __Request__io_service_request_probe_t __attribute__((unused));1744#ifdef __MigPackStructs1745#pragma pack()1746#endif17471748#ifdef __MigPackStructs1749#pragma pack(4)1750#endif1751typedef struct {1752mach_msg_header_t Head;1753NDR_record_t NDR;1754mach_msg_type_number_t planeOffset; /* MiG doesn't use it */1755mach_msg_type_number_t planeCnt;1756char plane[128];1757} __Request__io_registry_entry_get_name_in_plane_t __attribute__((unused));1758#ifdef __MigPackStructs1759#pragma pack()1760#endif17611762#ifdef __MigPackStructs1763#pragma pack(4)1764#endif1765typedef struct {1766mach_msg_header_t Head;1767NDR_record_t NDR;1768mach_msg_type_number_t matchingOffset; /* MiG doesn't use it */1769mach_msg_type_number_t matchingCnt;1770char matching[512];1771} __Request__io_service_match_property_table_t __attribute__((unused));1772#ifdef __MigPackStructs1773#pragma pack()1774#endif17751776#ifdef __MigPackStructs1777#pragma pack(4)1778#endif1779typedef struct {1780mach_msg_header_t Head;1781/* start of the kernel processed data */1782mach_msg_body_t msgh_body;1783mach_msg_port_descriptor_t wake_port;1784/* end of the kernel processed data */1785NDR_record_t NDR;1786mach_msg_type_number_t referenceCnt;1787io_user_reference_t reference[8];1788uint32_t selector;1789mach_msg_type_number_t inputCnt;1790io_user_scalar_t input[16];1791mach_msg_type_number_t outputCnt;1792} __Request__io_async_method_scalarI_scalarO_t __attribute__((unused));1793#ifdef __MigPackStructs1794#pragma pack()1795#endif17961797#ifdef __MigPackStructs1798#pragma pack(4)1799#endif1800typedef struct {1801mach_msg_header_t Head;1802/* start of the kernel processed data */1803mach_msg_body_t msgh_body;1804mach_msg_port_descriptor_t wake_port;1805/* end of the kernel processed data */1806NDR_record_t NDR;1807mach_msg_type_number_t referenceCnt;1808io_user_reference_t reference[8];1809uint32_t selector;1810mach_msg_type_number_t inputCnt;1811io_user_scalar_t input[16];1812mach_msg_type_number_t outputCnt;1813} __Request__io_async_method_scalarI_structureO_t __attribute__((unused));1814#ifdef __MigPackStructs1815#pragma pack()1816#endif18171818#ifdef __MigPackStructs1819#pragma pack(4)1820#endif1821typedef struct {1822mach_msg_header_t Head;1823/* start of the kernel processed data */1824mach_msg_body_t msgh_body;1825mach_msg_port_descriptor_t wake_port;1826/* end of the kernel processed data */1827NDR_record_t NDR;1828mach_msg_type_number_t referenceCnt;1829io_user_reference_t reference[8];1830uint32_t selector;1831mach_msg_type_number_t inputCnt;1832io_user_scalar_t input[16];1833mach_msg_type_number_t inputStructCnt;1834char inputStruct[4096];1835} __Request__io_async_method_scalarI_structureI_t __attribute__((unused));1836#ifdef __MigPackStructs1837#pragma pack()1838#endif18391840#ifdef __MigPackStructs1841#pragma pack(4)1842#endif1843typedef struct {1844mach_msg_header_t Head;1845/* start of the kernel processed data */1846mach_msg_body_t msgh_body;1847mach_msg_port_descriptor_t wake_port;1848/* end of the kernel processed data */1849NDR_record_t NDR;1850mach_msg_type_number_t referenceCnt;1851io_user_reference_t reference[8];1852uint32_t selector;1853mach_msg_type_number_t inputCnt;1854char input[4096];1855mach_msg_type_number_t outputCnt;1856} __Request__io_async_method_structureI_structureO_t __attribute__((unused));1857#ifdef __MigPackStructs1858#pragma pack()1859#endif18601861#ifdef __MigPackStructs1862#pragma pack(4)1863#endif1864typedef struct {1865mach_msg_header_t Head;1866/* start of the kernel processed data */1867mach_msg_body_t msgh_body;1868mach_msg_port_descriptor_t wake_port;1869/* end of the kernel processed data */1870NDR_record_t NDR;1871mach_msg_type_number_t notification_typeOffset; /* MiG doesn't use it */1872mach_msg_type_number_t notification_typeCnt;1873char notification_type[128];1874mach_msg_type_number_t matchingOffset; /* MiG doesn't use it */1875mach_msg_type_number_t matchingCnt;1876char matching[512];1877mach_msg_type_number_t referenceCnt;1878io_user_reference_t reference[8];1879} __Request__io_service_add_notification_t __attribute__((unused));1880#ifdef __MigPackStructs1881#pragma pack()1882#endif18831884#ifdef __MigPackStructs1885#pragma pack(4)1886#endif1887typedef struct {1888mach_msg_header_t Head;1889/* start of the kernel processed data */1890mach_msg_body_t msgh_body;1891mach_msg_port_descriptor_t wake_port;1892/* end of the kernel processed data */1893NDR_record_t NDR;1894mach_msg_type_number_t type_of_interestOffset; /* MiG doesn't use it */1895mach_msg_type_number_t type_of_interestCnt;1896char type_of_interest[128];1897mach_msg_type_number_t referenceCnt;1898io_user_reference_t reference[8];1899} __Request__io_service_add_interest_notification_t __attribute__((unused));1900#ifdef __MigPackStructs1901#pragma pack()1902#endif19031904#ifdef __MigPackStructs1905#pragma pack(4)1906#endif1907typedef struct {1908mach_msg_header_t Head;1909NDR_record_t NDR;1910natural_t notify_ref;1911natural_t response;1912} __Request__io_service_acknowledge_notification_t __attribute__((unused));1913#ifdef __MigPackStructs1914#pragma pack()1915#endif19161917#ifdef __MigPackStructs1918#pragma pack(4)1919#endif1920typedef struct {1921mach_msg_header_t Head;1922NDR_record_t NDR;1923natural_t notification_type;1924} __Request__io_connect_get_notification_semaphore_t __attribute__((unused));1925#ifdef __MigPackStructs1926#pragma pack()1927#endif19281929#ifdef __MigPackStructs1930#pragma pack(4)1931#endif1932typedef struct {1933mach_msg_header_t Head;1934/* start of the kernel processed data */1935mach_msg_body_t msgh_body;1936mach_msg_port_descriptor_t into_task;1937/* end of the kernel processed data */1938NDR_record_t NDR;1939uint32_t memory_type;1940vm_address_t address;1941} __Request__io_connect_unmap_memory_t __attribute__((unused));1942#ifdef __MigPackStructs1943#pragma pack()1944#endif19451946#ifdef __MigPackStructs1947#pragma pack(4)1948#endif1949typedef struct {1950mach_msg_header_t Head;1951NDR_record_t NDR;1952mach_msg_type_number_t planeOffset; /* MiG doesn't use it */1953mach_msg_type_number_t planeCnt;1954char plane[128];1955} __Request__io_registry_entry_get_location_in_plane_t __attribute__((unused));1956#ifdef __MigPackStructs1957#pragma pack()1958#endif19591960#ifdef __MigPackStructs1961#pragma pack(4)1962#endif1963typedef struct {1964mach_msg_header_t Head;1965NDR_record_t NDR;1966mach_msg_type_number_t planeOffset; /* MiG doesn't use it */1967mach_msg_type_number_t planeCnt;1968char plane[128];1969mach_msg_type_number_t property_nameOffset; /* MiG doesn't use it */1970mach_msg_type_number_t property_nameCnt;1971char property_name[128];1972uint32_t options;1973} __Request__io_registry_entry_get_property_recursively_t __attribute__((unused));1974#ifdef __MigPackStructs1975#pragma pack()1976#endif19771978#ifdef __MigPackStructs1979#pragma pack(4)1980#endif1981typedef struct {1982mach_msg_header_t Head;1983} __Request__io_service_get_state_t __attribute__((unused));1984#ifdef __MigPackStructs1985#pragma pack()1986#endif19871988#ifdef __MigPackStructs1989#pragma pack(4)1990#endif1991typedef struct {1992mach_msg_header_t Head;1993/* start of the kernel processed data */1994mach_msg_body_t msgh_body;1995mach_msg_ool_descriptor_t matching;1996/* end of the kernel processed data */1997NDR_record_t NDR;1998mach_msg_type_number_t matchingCnt;1999} __Request__io_service_get_matching_services_ool_t __attribute__((unused));2000#ifdef __MigPackStructs2001#pragma pack()2002#endif20032004#ifdef __MigPackStructs2005#pragma pack(4)2006#endif2007typedef struct {2008mach_msg_header_t Head;2009/* start of the kernel processed data */2010mach_msg_body_t msgh_body;2011mach_msg_ool_descriptor_t matching;2012/* end of the kernel processed data */2013NDR_record_t NDR;2014mach_msg_type_number_t matchingCnt;2015} __Request__io_service_match_property_table_ool_t __attribute__((unused));2016#ifdef __MigPackStructs2017#pragma pack()2018#endif20192020#ifdef __MigPackStructs2021#pragma pack(4)2022#endif2023typedef struct {2024mach_msg_header_t Head;2025/* start of the kernel processed data */2026mach_msg_body_t msgh_body;2027mach_msg_ool_descriptor_t matching;2028mach_msg_port_descriptor_t wake_port;2029/* end of the kernel processed data */2030NDR_record_t NDR;2031mach_msg_type_number_t notification_typeOffset; /* MiG doesn't use it */2032mach_msg_type_number_t notification_typeCnt;2033char notification_type[128];2034mach_msg_type_number_t matchingCnt;2035mach_msg_type_number_t referenceCnt;2036io_user_reference_t reference[8];2037} __Request__io_service_add_notification_ool_t __attribute__((unused));2038#ifdef __MigPackStructs2039#pragma pack()2040#endif20412042#ifdef __MigPackStructs2043#pragma pack(4)2044#endif2045typedef struct {2046mach_msg_header_t Head;2047NDR_record_t NDR;2048mach_msg_type_number_t obj_nameOffset; /* MiG doesn't use it */2049mach_msg_type_number_t obj_nameCnt;2050char obj_name[128];2051} __Request__io_object_get_superclass_t __attribute__((unused));2052#ifdef __MigPackStructs2053#pragma pack()2054#endif20552056#ifdef __MigPackStructs2057#pragma pack(4)2058#endif2059typedef struct {2060mach_msg_header_t Head;2061NDR_record_t NDR;2062mach_msg_type_number_t obj_nameOffset; /* MiG doesn't use it */2063mach_msg_type_number_t obj_nameCnt;2064char obj_name[128];2065} __Request__io_object_get_bundle_identifier_t __attribute__((unused));2066#ifdef __MigPackStructs2067#pragma pack()2068#endif20692070#ifdef __MigPackStructs2071#pragma pack(4)2072#endif2073typedef struct {2074mach_msg_header_t Head;2075/* start of the kernel processed data */2076mach_msg_body_t msgh_body;2077mach_msg_port_descriptor_t owningTask;2078mach_msg_ool_descriptor_t properties;2079/* end of the kernel processed data */2080NDR_record_t NDR;2081uint32_t connect_type;2082NDR_record_t ndr;2083mach_msg_type_number_t propertiesCnt;2084} __Request__io_service_open_extended_t __attribute__((unused));2085#ifdef __MigPackStructs2086#pragma pack()2087#endif20882089#ifdef __MigPackStructs2090#pragma pack(4)2091#endif2092typedef struct {2093mach_msg_header_t Head;2094/* start of the kernel processed data */2095mach_msg_body_t msgh_body;2096mach_msg_port_descriptor_t into_task;2097/* end of the kernel processed data */2098NDR_record_t NDR;2099uint32_t memory_type;2100mach_vm_address_t address;2101mach_vm_size_t size;2102uint32_t flags;2103} __Request__io_connect_map_memory_into_task_t __attribute__((unused));2104#ifdef __MigPackStructs2105#pragma pack()2106#endif21072108#ifdef __MigPackStructs2109#pragma pack(4)2110#endif2111typedef struct {2112mach_msg_header_t Head;2113/* start of the kernel processed data */2114mach_msg_body_t msgh_body;2115mach_msg_port_descriptor_t from_task;2116/* end of the kernel processed data */2117NDR_record_t NDR;2118uint32_t memory_type;2119mach_vm_address_t address;2120} __Request__io_connect_unmap_memory_from_task_t __attribute__((unused));2121#ifdef __MigPackStructs2122#pragma pack()2123#endif21242125#ifdef __MigPackStructs2126#pragma pack(4)2127#endif2128typedef struct {2129mach_msg_header_t Head;2130NDR_record_t NDR;2131uint32_t selector;2132mach_msg_type_number_t scalar_inputCnt;2133uint64_t scalar_input[16];2134mach_msg_type_number_t inband_inputCnt;2135char inband_input[4096];2136mach_vm_address_t ool_input;2137mach_vm_size_t ool_input_size;2138mach_msg_type_number_t inband_outputCnt;2139mach_msg_type_number_t scalar_outputCnt;2140mach_vm_address_t ool_output;2141mach_vm_size_t ool_output_size;2142} __Request__io_connect_method_t __attribute__((unused));2143#ifdef __MigPackStructs2144#pragma pack()2145#endif21462147#ifdef __MigPackStructs2148#pragma pack(4)2149#endif2150typedef struct {2151mach_msg_header_t Head;2152/* start of the kernel processed data */2153mach_msg_body_t msgh_body;2154mach_msg_port_descriptor_t wake_port;2155/* end of the kernel processed data */2156NDR_record_t NDR;2157mach_msg_type_number_t referenceCnt;2158uint64_t reference[8];2159uint32_t selector;2160mach_msg_type_number_t scalar_inputCnt;2161uint64_t scalar_input[16];2162mach_msg_type_number_t inband_inputCnt;2163char inband_input[4096];2164mach_vm_address_t ool_input;2165mach_vm_size_t ool_input_size;2166mach_msg_type_number_t inband_outputCnt;2167mach_msg_type_number_t scalar_outputCnt;2168mach_vm_address_t ool_output;2169mach_vm_size_t ool_output_size;2170} __Request__io_connect_async_method_t __attribute__((unused));2171#ifdef __MigPackStructs2172#pragma pack()2173#endif21742175#ifdef __MigPackStructs2176#pragma pack(4)2177#endif2178typedef struct {2179mach_msg_header_t Head;2180} __Request__io_registry_entry_get_registry_entry_id_t __attribute__((unused));2181#ifdef __MigPackStructs2182#pragma pack()2183#endif21842185#ifdef __MigPackStructs2186#pragma pack(4)2187#endif2188typedef struct {2189mach_msg_header_t Head;2190NDR_record_t NDR;2191uint32_t selector;2192mach_msg_type_number_t scalar_inputCnt;2193uint64_t scalar_input[16];2194mach_msg_type_number_t inband_inputCnt;2195char inband_input[4096];2196mach_vm_address_t ool_input;2197mach_vm_size_t ool_input_size;2198mach_msg_type_number_t inband_outputCnt;2199mach_msg_type_number_t scalar_outputCnt;2200} __Request__io_connect_method_var_output_t __attribute__((unused));2201#ifdef __MigPackStructs2202#pragma pack()2203#endif22042205#ifdef __MigPackStructs2206#pragma pack(4)2207#endif2208typedef struct {2209mach_msg_header_t Head;2210NDR_record_t NDR;2211mach_msg_type_number_t matchingOffset; /* MiG doesn't use it */2212mach_msg_type_number_t matchingCnt;2213char matching[512];2214} __Request__io_service_get_matching_service_t __attribute__((unused));2215#ifdef __MigPackStructs2216#pragma pack()2217#endif22182219#ifdef __MigPackStructs2220#pragma pack(4)2221#endif2222typedef struct {2223mach_msg_header_t Head;2224/* start of the kernel processed data */2225mach_msg_body_t msgh_body;2226mach_msg_ool_descriptor_t matching;2227/* end of the kernel processed data */2228NDR_record_t NDR;2229mach_msg_type_number_t matchingCnt;2230} __Request__io_service_get_matching_service_ool_t __attribute__((unused));2231#ifdef __MigPackStructs2232#pragma pack()2233#endif22342235#ifdef __MigPackStructs2236#pragma pack(4)2237#endif2238typedef struct {2239mach_msg_header_t Head;2240} __Request__io_service_get_authorization_id_t __attribute__((unused));2241#ifdef __MigPackStructs2242#pragma pack()2243#endif22442245#ifdef __MigPackStructs2246#pragma pack(4)2247#endif2248typedef struct {2249mach_msg_header_t Head;2250NDR_record_t NDR;2251uint64_t authorization_id;2252} __Request__io_service_set_authorization_id_t __attribute__((unused));2253#ifdef __MigPackStructs2254#pragma pack()2255#endif22562257#ifdef __MigPackStructs2258#pragma pack(4)2259#endif2260typedef struct {2261mach_msg_header_t Head;2262} __Request__io_server_version_t __attribute__((unused));2263#ifdef __MigPackStructs2264#pragma pack()2265#endif22662267#ifdef __MigPackStructs2268#pragma pack(4)2269#endif2270typedef struct {2271mach_msg_header_t Head;2272} __Request__io_registry_entry_get_properties_bin_t __attribute__((unused));2273#ifdef __MigPackStructs2274#pragma pack()2275#endif22762277#ifdef __MigPackStructs2278#pragma pack(4)2279#endif2280typedef struct {2281mach_msg_header_t Head;2282NDR_record_t NDR;2283mach_msg_type_number_t planeOffset; /* MiG doesn't use it */2284mach_msg_type_number_t planeCnt;2285char plane[128];2286mach_msg_type_number_t property_nameOffset; /* MiG doesn't use it */2287mach_msg_type_number_t property_nameCnt;2288char property_name[128];2289uint32_t options;2290} __Request__io_registry_entry_get_property_bin_t __attribute__((unused));2291#ifdef __MigPackStructs2292#pragma pack()2293#endif22942295#ifdef __MigPackStructs2296#pragma pack(4)2297#endif2298typedef struct {2299mach_msg_header_t Head;2300NDR_record_t NDR;2301mach_msg_type_number_t matchingCnt;2302char matching[4096];2303} __Request__io_service_get_matching_service_bin_t __attribute__((unused));2304#ifdef __MigPackStructs2305#pragma pack()2306#endif23072308#ifdef __MigPackStructs2309#pragma pack(4)2310#endif2311typedef struct {2312mach_msg_header_t Head;2313NDR_record_t NDR;2314mach_msg_type_number_t matchingCnt;2315char matching[4096];2316} __Request__io_service_get_matching_services_bin_t __attribute__((unused));2317#ifdef __MigPackStructs2318#pragma pack()2319#endif23202321#ifdef __MigPackStructs2322#pragma pack(4)2323#endif2324typedef struct {2325mach_msg_header_t Head;2326NDR_record_t NDR;2327mach_msg_type_number_t matchingCnt;2328char matching[4096];2329} __Request__io_service_match_property_table_bin_t __attribute__((unused));2330#ifdef __MigPackStructs2331#pragma pack()2332#endif23332334#ifdef __MigPackStructs2335#pragma pack(4)2336#endif2337typedef struct {2338mach_msg_header_t Head;2339/* start of the kernel processed data */2340mach_msg_body_t msgh_body;2341mach_msg_port_descriptor_t wake_port;2342/* end of the kernel processed data */2343NDR_record_t NDR;2344mach_msg_type_number_t notification_typeOffset; /* MiG doesn't use it */2345mach_msg_type_number_t notification_typeCnt;2346char notification_type[128];2347mach_msg_type_number_t matchingCnt;2348char matching[4096];2349mach_msg_type_number_t referenceCnt;2350io_user_reference_t reference[8];2351} __Request__io_service_add_notification_bin_t __attribute__((unused));2352#ifdef __MigPackStructs2353#pragma pack()2354#endif23552356#ifdef __MigPackStructs2357#pragma pack(4)2358#endif2359typedef struct {2360mach_msg_header_t Head;2361NDR_record_t NDR;2362mach_msg_type_number_t planeOffset; /* MiG doesn't use it */2363mach_msg_type_number_t planeCnt;2364char plane[128];2365} __Request__io_registry_entry_get_path_ool_t __attribute__((unused));2366#ifdef __MigPackStructs2367#pragma pack()2368#endif23692370#ifdef __MigPackStructs2371#pragma pack(4)2372#endif2373typedef struct {2374mach_msg_header_t Head;2375/* start of the kernel processed data */2376mach_msg_body_t msgh_body;2377mach_msg_ool_descriptor_t path_ool;2378/* end of the kernel processed data */2379NDR_record_t NDR;2380mach_msg_type_number_t pathOffset; /* MiG doesn't use it */2381mach_msg_type_number_t pathCnt;2382char path[4096];2383mach_msg_type_number_t path_oolCnt;2384} __Request__io_registry_entry_from_path_ool_t __attribute__((unused));2385#ifdef __MigPackStructs2386#pragma pack()2387#endif2388#endif /* !__Request__iokit_subsystem__defined */23892390/* union of all requests */23912392#ifndef __RequestUnion__iokit_subsystem__defined2393#define __RequestUnion__iokit_subsystem__defined2394union __RequestUnion__iokit_subsystem {2395__Request__io_object_get_class_t Request_io_object_get_class;2396__Request__io_object_conforms_to_t Request_io_object_conforms_to;2397__Request__io_iterator_next_t Request_io_iterator_next;2398__Request__io_iterator_reset_t Request_io_iterator_reset;2399__Request__io_service_get_matching_services_t Request_io_service_get_matching_services;2400__Request__io_registry_entry_get_property_t Request_io_registry_entry_get_property;2401__Request__io_registry_create_iterator_t Request_io_registry_create_iterator;2402__Request__io_registry_iterator_enter_entry_t Request_io_registry_iterator_enter_entry;2403__Request__io_registry_iterator_exit_entry_t Request_io_registry_iterator_exit_entry;2404__Request__io_registry_entry_from_path_t Request_io_registry_entry_from_path;2405__Request__io_registry_entry_get_name_t Request_io_registry_entry_get_name;2406__Request__io_registry_entry_get_properties_t Request_io_registry_entry_get_properties;2407__Request__io_registry_entry_get_property_bytes_t Request_io_registry_entry_get_property_bytes;2408__Request__io_registry_entry_get_child_iterator_t Request_io_registry_entry_get_child_iterator;2409__Request__io_registry_entry_get_parent_iterator_t Request_io_registry_entry_get_parent_iterator;2410__Request__io_service_close_t Request_io_service_close;2411__Request__io_connect_get_service_t Request_io_connect_get_service;2412__Request__io_connect_set_notification_port_t Request_io_connect_set_notification_port;2413__Request__io_connect_map_memory_t Request_io_connect_map_memory;2414__Request__io_connect_add_client_t Request_io_connect_add_client;2415__Request__io_connect_set_properties_t Request_io_connect_set_properties;2416__Request__io_connect_method_scalarI_scalarO_t Request_io_connect_method_scalarI_scalarO;2417__Request__io_connect_method_scalarI_structureO_t Request_io_connect_method_scalarI_structureO;2418__Request__io_connect_method_scalarI_structureI_t Request_io_connect_method_scalarI_structureI;2419__Request__io_connect_method_structureI_structureO_t Request_io_connect_method_structureI_structureO;2420__Request__io_registry_entry_get_path_t Request_io_registry_entry_get_path;2421__Request__io_registry_get_root_entry_t Request_io_registry_get_root_entry;2422__Request__io_registry_entry_set_properties_t Request_io_registry_entry_set_properties;2423__Request__io_registry_entry_in_plane_t Request_io_registry_entry_in_plane;2424__Request__io_object_get_retain_count_t Request_io_object_get_retain_count;2425__Request__io_service_get_busy_state_t Request_io_service_get_busy_state;2426__Request__io_service_wait_quiet_t Request_io_service_wait_quiet;2427__Request__io_registry_entry_create_iterator_t Request_io_registry_entry_create_iterator;2428__Request__io_iterator_is_valid_t Request_io_iterator_is_valid;2429__Request__io_catalog_send_data_t Request_io_catalog_send_data;2430__Request__io_catalog_terminate_t Request_io_catalog_terminate;2431__Request__io_catalog_get_data_t Request_io_catalog_get_data;2432__Request__io_catalog_get_gen_count_t Request_io_catalog_get_gen_count;2433__Request__io_catalog_module_loaded_t Request_io_catalog_module_loaded;2434__Request__io_catalog_reset_t Request_io_catalog_reset;2435__Request__io_service_request_probe_t Request_io_service_request_probe;2436__Request__io_registry_entry_get_name_in_plane_t Request_io_registry_entry_get_name_in_plane;2437__Request__io_service_match_property_table_t Request_io_service_match_property_table;2438__Request__io_async_method_scalarI_scalarO_t Request_io_async_method_scalarI_scalarO;2439__Request__io_async_method_scalarI_structureO_t Request_io_async_method_scalarI_structureO;2440__Request__io_async_method_scalarI_structureI_t Request_io_async_method_scalarI_structureI;2441__Request__io_async_method_structureI_structureO_t Request_io_async_method_structureI_structureO;2442__Request__io_service_add_notification_t Request_io_service_add_notification;2443__Request__io_service_add_interest_notification_t Request_io_service_add_interest_notification;2444__Request__io_service_acknowledge_notification_t Request_io_service_acknowledge_notification;2445__Request__io_connect_get_notification_semaphore_t Request_io_connect_get_notification_semaphore;2446__Request__io_connect_unmap_memory_t Request_io_connect_unmap_memory;2447__Request__io_registry_entry_get_location_in_plane_t Request_io_registry_entry_get_location_in_plane;2448__Request__io_registry_entry_get_property_recursively_t Request_io_registry_entry_get_property_recursively;2449__Request__io_service_get_state_t Request_io_service_get_state;2450__Request__io_service_get_matching_services_ool_t Request_io_service_get_matching_services_ool;2451__Request__io_service_match_property_table_ool_t Request_io_service_match_property_table_ool;2452__Request__io_service_add_notification_ool_t Request_io_service_add_notification_ool;2453__Request__io_object_get_superclass_t Request_io_object_get_superclass;2454__Request__io_object_get_bundle_identifier_t Request_io_object_get_bundle_identifier;2455__Request__io_service_open_extended_t Request_io_service_open_extended;2456__Request__io_connect_map_memory_into_task_t Request_io_connect_map_memory_into_task;2457__Request__io_connect_unmap_memory_from_task_t Request_io_connect_unmap_memory_from_task;2458__Request__io_connect_method_t Request_io_connect_method;2459__Request__io_connect_async_method_t Request_io_connect_async_method;2460__Request__io_registry_entry_get_registry_entry_id_t Request_io_registry_entry_get_registry_entry_id;2461__Request__io_connect_method_var_output_t Request_io_connect_method_var_output;2462__Request__io_service_get_matching_service_t Request_io_service_get_matching_service;2463__Request__io_service_get_matching_service_ool_t Request_io_service_get_matching_service_ool;2464__Request__io_service_get_authorization_id_t Request_io_service_get_authorization_id;2465__Request__io_service_set_authorization_id_t Request_io_service_set_authorization_id;2466__Request__io_server_version_t Request_io_server_version;2467__Request__io_registry_entry_get_properties_bin_t Request_io_registry_entry_get_properties_bin;2468__Request__io_registry_entry_get_property_bin_t Request_io_registry_entry_get_property_bin;2469__Request__io_service_get_matching_service_bin_t Request_io_service_get_matching_service_bin;2470__Request__io_service_get_matching_services_bin_t Request_io_service_get_matching_services_bin;2471__Request__io_service_match_property_table_bin_t Request_io_service_match_property_table_bin;2472__Request__io_service_add_notification_bin_t Request_io_service_add_notification_bin;2473__Request__io_registry_entry_get_path_ool_t Request_io_registry_entry_get_path_ool;2474__Request__io_registry_entry_from_path_ool_t Request_io_registry_entry_from_path_ool;2475};2476#endif /* !__RequestUnion__iokit_subsystem__defined */2477/* typedefs for all replies */24782479#ifndef __Reply__iokit_subsystem__defined2480#define __Reply__iokit_subsystem__defined24812482#ifdef __MigPackStructs2483#pragma pack(4)2484#endif2485typedef struct {2486mach_msg_header_t Head;2487NDR_record_t NDR;2488kern_return_t RetCode;2489mach_msg_type_number_t classNameOffset; /* MiG doesn't use it */2490mach_msg_type_number_t classNameCnt;2491char className[128];2492} __Reply__io_object_get_class_t __attribute__((unused));2493#ifdef __MigPackStructs2494#pragma pack()2495#endif24962497#ifdef __MigPackStructs2498#pragma pack(4)2499#endif2500typedef struct {2501mach_msg_header_t Head;2502NDR_record_t NDR;2503kern_return_t RetCode;2504boolean_t conforms;2505} __Reply__io_object_conforms_to_t __attribute__((unused));2506#ifdef __MigPackStructs2507#pragma pack()2508#endif25092510#ifdef __MigPackStructs2511#pragma pack(4)2512#endif2513typedef struct {2514mach_msg_header_t Head;2515/* start of the kernel processed data */2516mach_msg_body_t msgh_body;2517mach_msg_port_descriptor_t object;2518/* end of the kernel processed data */2519} __Reply__io_iterator_next_t __attribute__((unused));2520#ifdef __MigPackStructs2521#pragma pack()2522#endif25232524#ifdef __MigPackStructs2525#pragma pack(4)2526#endif2527typedef struct {2528mach_msg_header_t Head;2529NDR_record_t NDR;2530kern_return_t RetCode;2531} __Reply__io_iterator_reset_t __attribute__((unused));2532#ifdef __MigPackStructs2533#pragma pack()2534#endif25352536#ifdef __MigPackStructs2537#pragma pack(4)2538#endif2539typedef struct {2540mach_msg_header_t Head;2541/* start of the kernel processed data */2542mach_msg_body_t msgh_body;2543mach_msg_port_descriptor_t existing;2544/* end of the kernel processed data */2545} __Reply__io_service_get_matching_services_t __attribute__((unused));2546#ifdef __MigPackStructs2547#pragma pack()2548#endif25492550#ifdef __MigPackStructs2551#pragma pack(4)2552#endif2553typedef struct {2554mach_msg_header_t Head;2555/* start of the kernel processed data */2556mach_msg_body_t msgh_body;2557mach_msg_ool_descriptor_t properties;2558/* end of the kernel processed data */2559NDR_record_t NDR;2560mach_msg_type_number_t propertiesCnt;2561} __Reply__io_registry_entry_get_property_t __attribute__((unused));2562#ifdef __MigPackStructs2563#pragma pack()2564#endif25652566#ifdef __MigPackStructs2567#pragma pack(4)2568#endif2569typedef struct {2570mach_msg_header_t Head;2571/* start of the kernel processed data */2572mach_msg_body_t msgh_body;2573mach_msg_port_descriptor_t iterator;2574/* end of the kernel processed data */2575} __Reply__io_registry_create_iterator_t __attribute__((unused));2576#ifdef __MigPackStructs2577#pragma pack()2578#endif25792580#ifdef __MigPackStructs2581#pragma pack(4)2582#endif2583typedef struct {2584mach_msg_header_t Head;2585NDR_record_t NDR;2586kern_return_t RetCode;2587} __Reply__io_registry_iterator_enter_entry_t __attribute__((unused));2588#ifdef __MigPackStructs2589#pragma pack()2590#endif25912592#ifdef __MigPackStructs2593#pragma pack(4)2594#endif2595typedef struct {2596mach_msg_header_t Head;2597NDR_record_t NDR;2598kern_return_t RetCode;2599} __Reply__io_registry_iterator_exit_entry_t __attribute__((unused));2600#ifdef __MigPackStructs2601#pragma pack()2602#endif26032604#ifdef __MigPackStructs2605#pragma pack(4)2606#endif2607typedef struct {2608mach_msg_header_t Head;2609/* start of the kernel processed data */2610mach_msg_body_t msgh_body;2611mach_msg_port_descriptor_t registry_entry;2612/* end of the kernel processed data */2613} __Reply__io_registry_entry_from_path_t __attribute__((unused));2614#ifdef __MigPackStructs2615#pragma pack()2616#endif26172618#ifdef __MigPackStructs2619#pragma pack(4)2620#endif2621typedef struct {2622mach_msg_header_t Head;2623NDR_record_t NDR;2624kern_return_t RetCode;2625mach_msg_type_number_t nameOffset; /* MiG doesn't use it */2626mach_msg_type_number_t nameCnt;2627char name[128];2628} __Reply__io_registry_entry_get_name_t __attribute__((unused));2629#ifdef __MigPackStructs2630#pragma pack()2631#endif26322633#ifdef __MigPackStructs2634#pragma pack(4)2635#endif2636typedef struct {2637mach_msg_header_t Head;2638/* start of the kernel processed data */2639mach_msg_body_t msgh_body;2640mach_msg_ool_descriptor_t properties;2641/* end of the kernel processed data */2642NDR_record_t NDR;2643mach_msg_type_number_t propertiesCnt;2644} __Reply__io_registry_entry_get_properties_t __attribute__((unused));2645#ifdef __MigPackStructs2646#pragma pack()2647#endif26482649#ifdef __MigPackStructs2650#pragma pack(4)2651#endif2652typedef struct {2653mach_msg_header_t Head;2654NDR_record_t NDR;2655kern_return_t RetCode;2656mach_msg_type_number_t dataCnt;2657char data[4096];2658} __Reply__io_registry_entry_get_property_bytes_t __attribute__((unused));2659#ifdef __MigPackStructs2660#pragma pack()2661#endif26622663#ifdef __MigPackStructs2664#pragma pack(4)2665#endif2666typedef struct {2667mach_msg_header_t Head;2668/* start of the kernel processed data */2669mach_msg_body_t msgh_body;2670mach_msg_port_descriptor_t iterator;2671/* end of the kernel processed data */2672} __Reply__io_registry_entry_get_child_iterator_t __attribute__((unused));2673#ifdef __MigPackStructs2674#pragma pack()2675#endif26762677#ifdef __MigPackStructs2678#pragma pack(4)2679#endif2680typedef struct {2681mach_msg_header_t Head;2682/* start of the kernel processed data */2683mach_msg_body_t msgh_body;2684mach_msg_port_descriptor_t iterator;2685/* end of the kernel processed data */2686} __Reply__io_registry_entry_get_parent_iterator_t __attribute__((unused));2687#ifdef __MigPackStructs2688#pragma pack()2689#endif26902691#ifdef __MigPackStructs2692#pragma pack(4)2693#endif2694typedef struct {2695mach_msg_header_t Head;2696NDR_record_t NDR;2697kern_return_t RetCode;2698} __Reply__io_service_close_t __attribute__((unused));2699#ifdef __MigPackStructs2700#pragma pack()2701#endif27022703#ifdef __MigPackStructs2704#pragma pack(4)2705#endif2706typedef struct {2707mach_msg_header_t Head;2708/* start of the kernel processed data */2709mach_msg_body_t msgh_body;2710mach_msg_port_descriptor_t service;2711/* end of the kernel processed data */2712} __Reply__io_connect_get_service_t __attribute__((unused));2713#ifdef __MigPackStructs2714#pragma pack()2715#endif27162717#ifdef __MigPackStructs2718#pragma pack(4)2719#endif2720typedef struct {2721mach_msg_header_t Head;2722NDR_record_t NDR;2723kern_return_t RetCode;2724} __Reply__io_connect_set_notification_port_t __attribute__((unused));2725#ifdef __MigPackStructs2726#pragma pack()2727#endif27282729#ifdef __MigPackStructs2730#pragma pack(4)2731#endif2732typedef struct {2733mach_msg_header_t Head;2734NDR_record_t NDR;2735kern_return_t RetCode;2736vm_address_t address;2737vm_size_t size;2738} __Reply__io_connect_map_memory_t __attribute__((unused));2739#ifdef __MigPackStructs2740#pragma pack()2741#endif27422743#ifdef __MigPackStructs2744#pragma pack(4)2745#endif2746typedef struct {2747mach_msg_header_t Head;2748NDR_record_t NDR;2749kern_return_t RetCode;2750} __Reply__io_connect_add_client_t __attribute__((unused));2751#ifdef __MigPackStructs2752#pragma pack()2753#endif27542755#ifdef __MigPackStructs2756#pragma pack(4)2757#endif2758typedef struct {2759mach_msg_header_t Head;2760NDR_record_t NDR;2761kern_return_t RetCode;2762kern_return_t result;2763} __Reply__io_connect_set_properties_t __attribute__((unused));2764#ifdef __MigPackStructs2765#pragma pack()2766#endif27672768#ifdef __MigPackStructs2769#pragma pack(4)2770#endif2771typedef struct {2772mach_msg_header_t Head;2773NDR_record_t NDR;2774kern_return_t RetCode;2775mach_msg_type_number_t outputCnt;2776io_user_scalar_t output[16];2777} __Reply__io_connect_method_scalarI_scalarO_t __attribute__((unused));2778#ifdef __MigPackStructs2779#pragma pack()2780#endif27812782#ifdef __MigPackStructs2783#pragma pack(4)2784#endif2785typedef struct {2786mach_msg_header_t Head;2787NDR_record_t NDR;2788kern_return_t RetCode;2789mach_msg_type_number_t outputCnt;2790char output[4096];2791} __Reply__io_connect_method_scalarI_structureO_t __attribute__((unused));2792#ifdef __MigPackStructs2793#pragma pack()2794#endif27952796#ifdef __MigPackStructs2797#pragma pack(4)2798#endif2799typedef struct {2800mach_msg_header_t Head;2801NDR_record_t NDR;2802kern_return_t RetCode;2803} __Reply__io_connect_method_scalarI_structureI_t __attribute__((unused));2804#ifdef __MigPackStructs2805#pragma pack()2806#endif28072808#ifdef __MigPackStructs2809#pragma pack(4)2810#endif2811typedef struct {2812mach_msg_header_t Head;2813NDR_record_t NDR;2814kern_return_t RetCode;2815mach_msg_type_number_t outputCnt;2816char output[4096];2817} __Reply__io_connect_method_structureI_structureO_t __attribute__((unused));2818#ifdef __MigPackStructs2819#pragma pack()2820#endif28212822#ifdef __MigPackStructs2823#pragma pack(4)2824#endif2825typedef struct {2826mach_msg_header_t Head;2827NDR_record_t NDR;2828kern_return_t RetCode;2829mach_msg_type_number_t pathOffset; /* MiG doesn't use it */2830mach_msg_type_number_t pathCnt;2831char path[512];2832} __Reply__io_registry_entry_get_path_t __attribute__((unused));2833#ifdef __MigPackStructs2834#pragma pack()2835#endif28362837#ifdef __MigPackStructs2838#pragma pack(4)2839#endif2840typedef struct {2841mach_msg_header_t Head;2842/* start of the kernel processed data */2843mach_msg_body_t msgh_body;2844mach_msg_port_descriptor_t root;2845/* end of the kernel processed data */2846} __Reply__io_registry_get_root_entry_t __attribute__((unused));2847#ifdef __MigPackStructs2848#pragma pack()2849#endif28502851#ifdef __MigPackStructs2852#pragma pack(4)2853#endif2854typedef struct {2855mach_msg_header_t Head;2856NDR_record_t NDR;2857kern_return_t RetCode;2858kern_return_t result;2859} __Reply__io_registry_entry_set_properties_t __attribute__((unused));2860#ifdef __MigPackStructs2861#pragma pack()2862#endif28632864#ifdef __MigPackStructs2865#pragma pack(4)2866#endif2867typedef struct {2868mach_msg_header_t Head;2869NDR_record_t NDR;2870kern_return_t RetCode;2871boolean_t inPlane;2872} __Reply__io_registry_entry_in_plane_t __attribute__((unused));2873#ifdef __MigPackStructs2874#pragma pack()2875#endif28762877#ifdef __MigPackStructs2878#pragma pack(4)2879#endif2880typedef struct {2881mach_msg_header_t Head;2882NDR_record_t NDR;2883kern_return_t RetCode;2884uint32_t retainCount;2885} __Reply__io_object_get_retain_count_t __attribute__((unused));2886#ifdef __MigPackStructs2887#pragma pack()2888#endif28892890#ifdef __MigPackStructs2891#pragma pack(4)2892#endif2893typedef struct {2894mach_msg_header_t Head;2895NDR_record_t NDR;2896kern_return_t RetCode;2897uint32_t busyState;2898} __Reply__io_service_get_busy_state_t __attribute__((unused));2899#ifdef __MigPackStructs2900#pragma pack()2901#endif29022903#ifdef __MigPackStructs2904#pragma pack(4)2905#endif2906typedef struct {2907mach_msg_header_t Head;2908NDR_record_t NDR;2909kern_return_t RetCode;2910} __Reply__io_service_wait_quiet_t __attribute__((unused));2911#ifdef __MigPackStructs2912#pragma pack()2913#endif29142915#ifdef __MigPackStructs2916#pragma pack(4)2917#endif2918typedef struct {2919mach_msg_header_t Head;2920/* start of the kernel processed data */2921mach_msg_body_t msgh_body;2922mach_msg_port_descriptor_t iterator;2923/* end of the kernel processed data */2924} __Reply__io_registry_entry_create_iterator_t __attribute__((unused));2925#ifdef __MigPackStructs2926#pragma pack()2927#endif29282929#ifdef __MigPackStructs2930#pragma pack(4)2931#endif2932typedef struct {2933mach_msg_header_t Head;2934NDR_record_t NDR;2935kern_return_t RetCode;2936boolean_t is_valid;2937} __Reply__io_iterator_is_valid_t __attribute__((unused));2938#ifdef __MigPackStructs2939#pragma pack()2940#endif29412942#ifdef __MigPackStructs2943#pragma pack(4)2944#endif2945typedef struct {2946mach_msg_header_t Head;2947NDR_record_t NDR;2948kern_return_t RetCode;2949kern_return_t result;2950} __Reply__io_catalog_send_data_t __attribute__((unused));2951#ifdef __MigPackStructs2952#pragma pack()2953#endif29542955#ifdef __MigPackStructs2956#pragma pack(4)2957#endif2958typedef struct {2959mach_msg_header_t Head;2960NDR_record_t NDR;2961kern_return_t RetCode;2962} __Reply__io_catalog_terminate_t __attribute__((unused));2963#ifdef __MigPackStructs2964#pragma pack()2965#endif29662967#ifdef __MigPackStructs2968#pragma pack(4)2969#endif2970typedef struct {2971mach_msg_header_t Head;2972/* start of the kernel processed data */2973mach_msg_body_t msgh_body;2974mach_msg_ool_descriptor_t outData;2975/* end of the kernel processed data */2976NDR_record_t NDR;2977mach_msg_type_number_t outDataCnt;2978} __Reply__io_catalog_get_data_t __attribute__((unused));2979#ifdef __MigPackStructs2980#pragma pack()2981#endif29822983#ifdef __MigPackStructs2984#pragma pack(4)2985#endif2986typedef struct {2987mach_msg_header_t Head;2988NDR_record_t NDR;2989kern_return_t RetCode;2990uint32_t genCount;2991} __Reply__io_catalog_get_gen_count_t __attribute__((unused));2992#ifdef __MigPackStructs2993#pragma pack()2994#endif29952996#ifdef __MigPackStructs2997#pragma pack(4)2998#endif2999typedef struct {3000mach_msg_header_t Head;3001NDR_record_t NDR;3002kern_return_t RetCode;3003} __Reply__io_catalog_module_loaded_t __attribute__((unused));3004#ifdef __MigPackStructs3005#pragma pack()3006#endif30073008#ifdef __MigPackStructs3009#pragma pack(4)3010#endif3011typedef struct {3012mach_msg_header_t Head;3013NDR_record_t NDR;3014kern_return_t RetCode;3015} __Reply__io_catalog_reset_t __attribute__((unused));3016#ifdef __MigPackStructs3017#pragma pack()3018#endif30193020#ifdef __MigPackStructs3021#pragma pack(4)3022#endif3023typedef struct {3024mach_msg_header_t Head;3025NDR_record_t NDR;3026kern_return_t RetCode;3027} __Reply__io_service_request_probe_t __attribute__((unused));3028#ifdef __MigPackStructs3029#pragma pack()3030#endif30313032#ifdef __MigPackStructs3033#pragma pack(4)3034#endif3035typedef struct {3036mach_msg_header_t Head;3037NDR_record_t NDR;3038kern_return_t RetCode;3039mach_msg_type_number_t nameOffset; /* MiG doesn't use it */3040mach_msg_type_number_t nameCnt;3041char name[128];3042} __Reply__io_registry_entry_get_name_in_plane_t __attribute__((unused));3043#ifdef __MigPackStructs3044#pragma pack()3045#endif30463047#ifdef __MigPackStructs3048#pragma pack(4)3049#endif3050typedef struct {3051mach_msg_header_t Head;3052NDR_record_t NDR;3053kern_return_t RetCode;3054boolean_t matches;3055} __Reply__io_service_match_property_table_t __attribute__((unused));3056#ifdef __MigPackStructs3057#pragma pack()3058#endif30593060#ifdef __MigPackStructs3061#pragma pack(4)3062#endif3063typedef struct {3064mach_msg_header_t Head;3065NDR_record_t NDR;3066kern_return_t RetCode;3067mach_msg_type_number_t outputCnt;3068io_user_scalar_t output[16];3069} __Reply__io_async_method_scalarI_scalarO_t __attribute__((unused));3070#ifdef __MigPackStructs3071#pragma pack()3072#endif30733074#ifdef __MigPackStructs3075#pragma pack(4)3076#endif3077typedef struct {3078mach_msg_header_t Head;3079NDR_record_t NDR;3080kern_return_t RetCode;3081mach_msg_type_number_t outputCnt;3082char output[4096];3083} __Reply__io_async_method_scalarI_structureO_t __attribute__((unused));3084#ifdef __MigPackStructs3085#pragma pack()3086#endif30873088#ifdef __MigPackStructs3089#pragma pack(4)3090#endif3091typedef struct {3092mach_msg_header_t Head;3093NDR_record_t NDR;3094kern_return_t RetCode;3095} __Reply__io_async_method_scalarI_structureI_t __attribute__((unused));3096#ifdef __MigPackStructs3097#pragma pack()3098#endif30993100#ifdef __MigPackStructs3101#pragma pack(4)3102#endif3103typedef struct {3104mach_msg_header_t Head;3105NDR_record_t NDR;3106kern_return_t RetCode;3107mach_msg_type_number_t outputCnt;3108char output[4096];3109} __Reply__io_async_method_structureI_structureO_t __attribute__((unused));3110#ifdef __MigPackStructs3111#pragma pack()3112#endif31133114#ifdef __MigPackStructs3115#pragma pack(4)3116#endif3117typedef struct {3118mach_msg_header_t Head;3119/* start of the kernel processed data */3120mach_msg_body_t msgh_body;3121mach_msg_port_descriptor_t notification;3122/* end of the kernel processed data */3123} __Reply__io_service_add_notification_t __attribute__((unused));3124#ifdef __MigPackStructs3125#pragma pack()3126#endif31273128#ifdef __MigPackStructs3129#pragma pack(4)3130#endif3131typedef struct {3132mach_msg_header_t Head;3133/* start of the kernel processed data */3134mach_msg_body_t msgh_body;3135mach_msg_port_descriptor_t notification;3136/* end of the kernel processed data */3137} __Reply__io_service_add_interest_notification_t __attribute__((unused));3138#ifdef __MigPackStructs3139#pragma pack()3140#endif31413142#ifdef __MigPackStructs3143#pragma pack(4)3144#endif3145typedef struct {3146mach_msg_header_t Head;3147NDR_record_t NDR;3148kern_return_t RetCode;3149} __Reply__io_service_acknowledge_notification_t __attribute__((unused));3150#ifdef __MigPackStructs3151#pragma pack()3152#endif31533154#ifdef __MigPackStructs3155#pragma pack(4)3156#endif3157typedef struct {3158mach_msg_header_t Head;3159/* start of the kernel processed data */3160mach_msg_body_t msgh_body;3161mach_msg_port_descriptor_t semaphore;3162/* end of the kernel processed data */3163} __Reply__io_connect_get_notification_semaphore_t __attribute__((unused));3164#ifdef __MigPackStructs3165#pragma pack()3166#endif31673168#ifdef __MigPackStructs3169#pragma pack(4)3170#endif3171typedef struct {3172mach_msg_header_t Head;3173NDR_record_t NDR;3174kern_return_t RetCode;3175} __Reply__io_connect_unmap_memory_t __attribute__((unused));3176#ifdef __MigPackStructs3177#pragma pack()3178#endif31793180#ifdef __MigPackStructs3181#pragma pack(4)3182#endif3183typedef struct {3184mach_msg_header_t Head;3185NDR_record_t NDR;3186kern_return_t RetCode;3187mach_msg_type_number_t locationOffset; /* MiG doesn't use it */3188mach_msg_type_number_t locationCnt;3189char location[128];3190} __Reply__io_registry_entry_get_location_in_plane_t __attribute__((unused));3191#ifdef __MigPackStructs3192#pragma pack()3193#endif31943195#ifdef __MigPackStructs3196#pragma pack(4)3197#endif3198typedef struct {3199mach_msg_header_t Head;3200/* start of the kernel processed data */3201mach_msg_body_t msgh_body;3202mach_msg_ool_descriptor_t properties;3203/* end of the kernel processed data */3204NDR_record_t NDR;3205mach_msg_type_number_t propertiesCnt;3206} __Reply__io_registry_entry_get_property_recursively_t __attribute__((unused));3207#ifdef __MigPackStructs3208#pragma pack()3209#endif32103211#ifdef __MigPackStructs3212#pragma pack(4)3213#endif3214typedef struct {3215mach_msg_header_t Head;3216NDR_record_t NDR;3217kern_return_t RetCode;3218uint64_t state;3219uint32_t busy_state;3220uint64_t accumulated_busy_time;3221} __Reply__io_service_get_state_t __attribute__((unused));3222#ifdef __MigPackStructs3223#pragma pack()3224#endif32253226#ifdef __MigPackStructs3227#pragma pack(4)3228#endif3229typedef struct {3230mach_msg_header_t Head;3231/* start of the kernel processed data */3232mach_msg_body_t msgh_body;3233mach_msg_port_descriptor_t existing;3234/* end of the kernel processed data */3235NDR_record_t NDR;3236kern_return_t result;3237} __Reply__io_service_get_matching_services_ool_t __attribute__((unused));3238#ifdef __MigPackStructs3239#pragma pack()3240#endif32413242#ifdef __MigPackStructs3243#pragma pack(4)3244#endif3245typedef struct {3246mach_msg_header_t Head;3247NDR_record_t NDR;3248kern_return_t RetCode;3249kern_return_t result;3250boolean_t matches;3251} __Reply__io_service_match_property_table_ool_t __attribute__((unused));3252#ifdef __MigPackStructs3253#pragma pack()3254#endif32553256#ifdef __MigPackStructs3257#pragma pack(4)3258#endif3259typedef struct {3260mach_msg_header_t Head;3261/* start of the kernel processed data */3262mach_msg_body_t msgh_body;3263mach_msg_port_descriptor_t notification;3264/* end of the kernel processed data */3265NDR_record_t NDR;3266kern_return_t result;3267} __Reply__io_service_add_notification_ool_t __attribute__((unused));3268#ifdef __MigPackStructs3269#pragma pack()3270#endif32713272#ifdef __MigPackStructs3273#pragma pack(4)3274#endif3275typedef struct {3276mach_msg_header_t Head;3277NDR_record_t NDR;3278kern_return_t RetCode;3279mach_msg_type_number_t class_nameOffset; /* MiG doesn't use it */3280mach_msg_type_number_t class_nameCnt;3281char class_name[128];3282} __Reply__io_object_get_superclass_t __attribute__((unused));3283#ifdef __MigPackStructs3284#pragma pack()3285#endif32863287#ifdef __MigPackStructs3288#pragma pack(4)3289#endif3290typedef struct {3291mach_msg_header_t Head;3292NDR_record_t NDR;3293kern_return_t RetCode;3294mach_msg_type_number_t class_nameOffset; /* MiG doesn't use it */3295mach_msg_type_number_t class_nameCnt;3296char class_name[128];3297} __Reply__io_object_get_bundle_identifier_t __attribute__((unused));3298#ifdef __MigPackStructs3299#pragma pack()3300#endif33013302#ifdef __MigPackStructs3303#pragma pack(4)3304#endif3305typedef struct {3306mach_msg_header_t Head;3307/* start of the kernel processed data */3308mach_msg_body_t msgh_body;3309mach_msg_port_descriptor_t connection;3310/* end of the kernel processed data */3311NDR_record_t NDR;3312kern_return_t result;3313} __Reply__io_service_open_extended_t __attribute__((unused));3314#ifdef __MigPackStructs3315#pragma pack()3316#endif33173318#ifdef __MigPackStructs3319#pragma pack(4)3320#endif3321typedef struct {3322mach_msg_header_t Head;3323NDR_record_t NDR;3324kern_return_t RetCode;3325mach_vm_address_t address;3326mach_vm_size_t size;3327} __Reply__io_connect_map_memory_into_task_t __attribute__((unused));3328#ifdef __MigPackStructs3329#pragma pack()3330#endif33313332#ifdef __MigPackStructs3333#pragma pack(4)3334#endif3335typedef struct {3336mach_msg_header_t Head;3337NDR_record_t NDR;3338kern_return_t RetCode;3339} __Reply__io_connect_unmap_memory_from_task_t __attribute__((unused));3340#ifdef __MigPackStructs3341#pragma pack()3342#endif33433344#ifdef __MigPackStructs3345#pragma pack(4)3346#endif3347typedef struct {3348mach_msg_header_t Head;3349NDR_record_t NDR;3350kern_return_t RetCode;3351mach_msg_type_number_t inband_outputCnt;3352char inband_output[4096];3353mach_msg_type_number_t scalar_outputCnt;3354uint64_t scalar_output[16];3355mach_vm_size_t ool_output_size;3356} __Reply__io_connect_method_t __attribute__((unused));3357#ifdef __MigPackStructs3358#pragma pack()3359#endif33603361#ifdef __MigPackStructs3362#pragma pack(4)3363#endif3364typedef struct {3365mach_msg_header_t Head;3366NDR_record_t NDR;3367kern_return_t RetCode;3368mach_msg_type_number_t inband_outputCnt;3369char inband_output[4096];3370mach_msg_type_number_t scalar_outputCnt;3371uint64_t scalar_output[16];3372mach_vm_size_t ool_output_size;3373} __Reply__io_connect_async_method_t __attribute__((unused));3374#ifdef __MigPackStructs3375#pragma pack()3376#endif33773378#ifdef __MigPackStructs3379#pragma pack(4)3380#endif3381typedef struct {3382mach_msg_header_t Head;3383NDR_record_t NDR;3384kern_return_t RetCode;3385uint64_t entry_id;3386} __Reply__io_registry_entry_get_registry_entry_id_t __attribute__((unused));3387#ifdef __MigPackStructs3388#pragma pack()3389#endif33903391#ifdef __MigPackStructs3392#pragma pack(4)3393#endif3394typedef struct {3395mach_msg_header_t Head;3396/* start of the kernel processed data */3397mach_msg_body_t msgh_body;3398mach_msg_ool_descriptor_t var_output;3399/* end of the kernel processed data */3400NDR_record_t NDR;3401mach_msg_type_number_t inband_outputCnt;3402char inband_output[4096];3403mach_msg_type_number_t scalar_outputCnt;3404uint64_t scalar_output[16];3405mach_msg_type_number_t var_outputCnt;3406} __Reply__io_connect_method_var_output_t __attribute__((unused));3407#ifdef __MigPackStructs3408#pragma pack()3409#endif34103411#ifdef __MigPackStructs3412#pragma pack(4)3413#endif3414typedef struct {3415mach_msg_header_t Head;3416/* start of the kernel processed data */3417mach_msg_body_t msgh_body;3418mach_msg_port_descriptor_t service;3419/* end of the kernel processed data */3420} __Reply__io_service_get_matching_service_t __attribute__((unused));3421#ifdef __MigPackStructs3422#pragma pack()3423#endif34243425#ifdef __MigPackStructs3426#pragma pack(4)3427#endif3428typedef struct {3429mach_msg_header_t Head;3430/* start of the kernel processed data */3431mach_msg_body_t msgh_body;3432mach_msg_port_descriptor_t service;3433/* end of the kernel processed data */3434NDR_record_t NDR;3435kern_return_t result;3436} __Reply__io_service_get_matching_service_ool_t __attribute__((unused));3437#ifdef __MigPackStructs3438#pragma pack()3439#endif34403441#ifdef __MigPackStructs3442#pragma pack(4)3443#endif3444typedef struct {3445mach_msg_header_t Head;3446NDR_record_t NDR;3447kern_return_t RetCode;3448uint64_t authorization_id;3449} __Reply__io_service_get_authorization_id_t __attribute__((unused));3450#ifdef __MigPackStructs3451#pragma pack()3452#endif34533454#ifdef __MigPackStructs3455#pragma pack(4)3456#endif3457typedef struct {3458mach_msg_header_t Head;3459NDR_record_t NDR;3460kern_return_t RetCode;3461} __Reply__io_service_set_authorization_id_t __attribute__((unused));3462#ifdef __MigPackStructs3463#pragma pack()3464#endif34653466#ifdef __MigPackStructs3467#pragma pack(4)3468#endif3469typedef struct {3470mach_msg_header_t Head;3471NDR_record_t NDR;3472kern_return_t RetCode;3473uint64_t version;3474} __Reply__io_server_version_t __attribute__((unused));3475#ifdef __MigPackStructs3476#pragma pack()3477#endif34783479#ifdef __MigPackStructs3480#pragma pack(4)3481#endif3482typedef struct {3483mach_msg_header_t Head;3484/* start of the kernel processed data */3485mach_msg_body_t msgh_body;3486mach_msg_ool_descriptor_t properties;3487/* end of the kernel processed data */3488NDR_record_t NDR;3489mach_msg_type_number_t propertiesCnt;3490} __Reply__io_registry_entry_get_properties_bin_t __attribute__((unused));3491#ifdef __MigPackStructs3492#pragma pack()3493#endif34943495#ifdef __MigPackStructs3496#pragma pack(4)3497#endif3498typedef struct {3499mach_msg_header_t Head;3500/* start of the kernel processed data */3501mach_msg_body_t msgh_body;3502mach_msg_ool_descriptor_t properties;3503/* end of the kernel processed data */3504NDR_record_t NDR;3505mach_msg_type_number_t propertiesCnt;3506} __Reply__io_registry_entry_get_property_bin_t __attribute__((unused));3507#ifdef __MigPackStructs3508#pragma pack()3509#endif35103511#ifdef __MigPackStructs3512#pragma pack(4)3513#endif3514typedef struct {3515mach_msg_header_t Head;3516/* start of the kernel processed data */3517mach_msg_body_t msgh_body;3518mach_msg_port_descriptor_t service;3519/* end of the kernel processed data */3520} __Reply__io_service_get_matching_service_bin_t __attribute__((unused));3521#ifdef __MigPackStructs3522#pragma pack()3523#endif35243525#ifdef __MigPackStructs3526#pragma pack(4)3527#endif3528typedef struct {3529mach_msg_header_t Head;3530/* start of the kernel processed data */3531mach_msg_body_t msgh_body;3532mach_msg_port_descriptor_t existing;3533/* end of the kernel processed data */3534} __Reply__io_service_get_matching_services_bin_t __attribute__((unused));3535#ifdef __MigPackStructs3536#pragma pack()3537#endif35383539#ifdef __MigPackStructs3540#pragma pack(4)3541#endif3542typedef struct {3543mach_msg_header_t Head;3544NDR_record_t NDR;3545kern_return_t RetCode;3546boolean_t matches;3547} __Reply__io_service_match_property_table_bin_t __attribute__((unused));3548#ifdef __MigPackStructs3549#pragma pack()3550#endif35513552#ifdef __MigPackStructs3553#pragma pack(4)3554#endif3555typedef struct {3556mach_msg_header_t Head;3557/* start of the kernel processed data */3558mach_msg_body_t msgh_body;3559mach_msg_port_descriptor_t notification;3560/* end of the kernel processed data */3561} __Reply__io_service_add_notification_bin_t __attribute__((unused));3562#ifdef __MigPackStructs3563#pragma pack()3564#endif35653566#ifdef __MigPackStructs3567#pragma pack(4)3568#endif3569typedef struct {3570mach_msg_header_t Head;3571/* start of the kernel processed data */3572mach_msg_body_t msgh_body;3573mach_msg_ool_descriptor_t path_ool;3574/* end of the kernel processed data */3575NDR_record_t NDR;3576mach_msg_type_number_t pathOffset; /* MiG doesn't use it */3577mach_msg_type_number_t pathCnt;3578char path[4096];3579mach_msg_type_number_t path_oolCnt;3580} __Reply__io_registry_entry_get_path_ool_t __attribute__((unused));3581#ifdef __MigPackStructs3582#pragma pack()3583#endif35843585#ifdef __MigPackStructs3586#pragma pack(4)3587#endif3588typedef struct {3589mach_msg_header_t Head;3590/* start of the kernel processed data */3591mach_msg_body_t msgh_body;3592mach_msg_port_descriptor_t registry_entry;3593/* end of the kernel processed data */3594NDR_record_t NDR;3595kern_return_t result;3596} __Reply__io_registry_entry_from_path_ool_t __attribute__((unused));3597#ifdef __MigPackStructs3598#pragma pack()3599#endif3600#endif /* !__Reply__iokit_subsystem__defined */36013602/* union of all replies */36033604#ifndef __ReplyUnion__iokit_subsystem__defined3605#define __ReplyUnion__iokit_subsystem__defined3606union __ReplyUnion__iokit_subsystem {3607__Reply__io_object_get_class_t Reply_io_object_get_class;3608__Reply__io_object_conforms_to_t Reply_io_object_conforms_to;3609__Reply__io_iterator_next_t Reply_io_iterator_next;3610__Reply__io_iterator_reset_t Reply_io_iterator_reset;3611__Reply__io_service_get_matching_services_t Reply_io_service_get_matching_services;3612__Reply__io_registry_entry_get_property_t Reply_io_registry_entry_get_property;3613__Reply__io_registry_create_iterator_t Reply_io_registry_create_iterator;3614__Reply__io_registry_iterator_enter_entry_t Reply_io_registry_iterator_enter_entry;3615__Reply__io_registry_iterator_exit_entry_t Reply_io_registry_iterator_exit_entry;3616__Reply__io_registry_entry_from_path_t Reply_io_registry_entry_from_path;3617__Reply__io_registry_entry_get_name_t Reply_io_registry_entry_get_name;3618__Reply__io_registry_entry_get_properties_t Reply_io_registry_entry_get_properties;3619__Reply__io_registry_entry_get_property_bytes_t Reply_io_registry_entry_get_property_bytes;3620__Reply__io_registry_entry_get_child_iterator_t Reply_io_registry_entry_get_child_iterator;3621__Reply__io_registry_entry_get_parent_iterator_t Reply_io_registry_entry_get_parent_iterator;3622__Reply__io_service_close_t Reply_io_service_close;3623__Reply__io_connect_get_service_t Reply_io_connect_get_service;3624__Reply__io_connect_set_notification_port_t Reply_io_connect_set_notification_port;3625__Reply__io_connect_map_memory_t Reply_io_connect_map_memory;3626__Reply__io_connect_add_client_t Reply_io_connect_add_client;3627__Reply__io_connect_set_properties_t Reply_io_connect_set_properties;3628__Reply__io_connect_method_scalarI_scalarO_t Reply_io_connect_method_scalarI_scalarO;3629__Reply__io_connect_method_scalarI_structureO_t Reply_io_connect_method_scalarI_structureO;3630__Reply__io_connect_method_scalarI_structureI_t Reply_io_connect_method_scalarI_structureI;3631__Reply__io_connect_method_structureI_structureO_t Reply_io_connect_method_structureI_structureO;3632__Reply__io_registry_entry_get_path_t Reply_io_registry_entry_get_path;3633__Reply__io_registry_get_root_entry_t Reply_io_registry_get_root_entry;3634__Reply__io_registry_entry_set_properties_t Reply_io_registry_entry_set_properties;3635__Reply__io_registry_entry_in_plane_t Reply_io_registry_entry_in_plane;3636__Reply__io_object_get_retain_count_t Reply_io_object_get_retain_count;3637__Reply__io_service_get_busy_state_t Reply_io_service_get_busy_state;3638__Reply__io_service_wait_quiet_t Reply_io_service_wait_quiet;3639__Reply__io_registry_entry_create_iterator_t Reply_io_registry_entry_create_iterator;3640__Reply__io_iterator_is_valid_t Reply_io_iterator_is_valid;3641__Reply__io_catalog_send_data_t Reply_io_catalog_send_data;3642__Reply__io_catalog_terminate_t Reply_io_catalog_terminate;3643__Reply__io_catalog_get_data_t Reply_io_catalog_get_data;3644__Reply__io_catalog_get_gen_count_t Reply_io_catalog_get_gen_count;3645__Reply__io_catalog_module_loaded_t Reply_io_catalog_module_loaded;3646__Reply__io_catalog_reset_t Reply_io_catalog_reset;3647__Reply__io_service_request_probe_t Reply_io_service_request_probe;3648__Reply__io_registry_entry_get_name_in_plane_t Reply_io_registry_entry_get_name_in_plane;3649__Reply__io_service_match_property_table_t Reply_io_service_match_property_table;3650__Reply__io_async_method_scalarI_scalarO_t Reply_io_async_method_scalarI_scalarO;3651__Reply__io_async_method_scalarI_structureO_t Reply_io_async_method_scalarI_structureO;3652__Reply__io_async_method_scalarI_structureI_t Reply_io_async_method_scalarI_structureI;3653__Reply__io_async_method_structureI_structureO_t Reply_io_async_method_structureI_structureO;3654__Reply__io_service_add_notification_t Reply_io_service_add_notification;3655__Reply__io_service_add_interest_notification_t Reply_io_service_add_interest_notification;3656__Reply__io_service_acknowledge_notification_t Reply_io_service_acknowledge_notification;3657__Reply__io_connect_get_notification_semaphore_t Reply_io_connect_get_notification_semaphore;3658__Reply__io_connect_unmap_memory_t Reply_io_connect_unmap_memory;3659__Reply__io_registry_entry_get_location_in_plane_t Reply_io_registry_entry_get_location_in_plane;3660__Reply__io_registry_entry_get_property_recursively_t Reply_io_registry_entry_get_property_recursively;3661__Reply__io_service_get_state_t Reply_io_service_get_state;3662__Reply__io_service_get_matching_services_ool_t Reply_io_service_get_matching_services_ool;3663__Reply__io_service_match_property_table_ool_t Reply_io_service_match_property_table_ool;3664__Reply__io_service_add_notification_ool_t Reply_io_service_add_notification_ool;3665__Reply__io_object_get_superclass_t Reply_io_object_get_superclass;3666__Reply__io_object_get_bundle_identifier_t Reply_io_object_get_bundle_identifier;3667__Reply__io_service_open_extended_t Reply_io_service_open_extended;3668__Reply__io_connect_map_memory_into_task_t Reply_io_connect_map_memory_into_task;3669__Reply__io_connect_unmap_memory_from_task_t Reply_io_connect_unmap_memory_from_task;3670__Reply__io_connect_method_t Reply_io_connect_method;3671__Reply__io_connect_async_method_t Reply_io_connect_async_method;3672__Reply__io_registry_entry_get_registry_entry_id_t Reply_io_registry_entry_get_registry_entry_id;3673__Reply__io_connect_method_var_output_t Reply_io_connect_method_var_output;3674__Reply__io_service_get_matching_service_t Reply_io_service_get_matching_service;3675__Reply__io_service_get_matching_service_ool_t Reply_io_service_get_matching_service_ool;3676__Reply__io_service_get_authorization_id_t Reply_io_service_get_authorization_id;3677__Reply__io_service_set_authorization_id_t Reply_io_service_set_authorization_id;3678__Reply__io_server_version_t Reply_io_server_version;3679__Reply__io_registry_entry_get_properties_bin_t Reply_io_registry_entry_get_properties_bin;3680__Reply__io_registry_entry_get_property_bin_t Reply_io_registry_entry_get_property_bin;3681__Reply__io_service_get_matching_service_bin_t Reply_io_service_get_matching_service_bin;3682__Reply__io_service_get_matching_services_bin_t Reply_io_service_get_matching_services_bin;3683__Reply__io_service_match_property_table_bin_t Reply_io_service_match_property_table_bin;3684__Reply__io_service_add_notification_bin_t Reply_io_service_add_notification_bin;3685__Reply__io_registry_entry_get_path_ool_t Reply_io_registry_entry_get_path_ool;3686__Reply__io_registry_entry_from_path_ool_t Reply_io_registry_entry_from_path_ool;3687};3688#endif /* !__RequestUnion__iokit_subsystem__defined */36893690#ifndef subsystem_to_name_map_iokit3691#define subsystem_to_name_map_iokit \3692{ "io_object_get_class", 2800 },\3693{ "io_object_conforms_to", 2801 },\3694{ "io_iterator_next", 2802 },\3695{ "io_iterator_reset", 2803 },\3696{ "io_service_get_matching_services", 2804 },\3697{ "io_registry_entry_get_property", 2805 },\3698{ "io_registry_create_iterator", 2806 },\3699{ "io_registry_iterator_enter_entry", 2807 },\3700{ "io_registry_iterator_exit_entry", 2808 },\3701{ "io_registry_entry_from_path", 2809 },\3702{ "io_registry_entry_get_name", 2810 },\3703{ "io_registry_entry_get_properties", 2811 },\3704{ "io_registry_entry_get_property_bytes", 2812 },\3705{ "io_registry_entry_get_child_iterator", 2813 },\3706{ "io_registry_entry_get_parent_iterator", 2814 },\3707{ "io_service_close", 2816 },\3708{ "io_connect_get_service", 2817 },\3709{ "io_connect_set_notification_port", 2818 },\3710{ "io_connect_map_memory", 2819 },\3711{ "io_connect_add_client", 2820 },\3712{ "io_connect_set_properties", 2821 },\3713{ "io_connect_method_scalarI_scalarO", 2822 },\3714{ "io_connect_method_scalarI_structureO", 2823 },\3715{ "io_connect_method_scalarI_structureI", 2824 },\3716{ "io_connect_method_structureI_structureO", 2825 },\3717{ "io_registry_entry_get_path", 2826 },\3718{ "io_registry_get_root_entry", 2827 },\3719{ "io_registry_entry_set_properties", 2828 },\3720{ "io_registry_entry_in_plane", 2829 },\3721{ "io_object_get_retain_count", 2830 },\3722{ "io_service_get_busy_state", 2831 },\3723{ "io_service_wait_quiet", 2832 },\3724{ "io_registry_entry_create_iterator", 2833 },\3725{ "io_iterator_is_valid", 2834 },\3726{ "io_catalog_send_data", 2836 },\3727{ "io_catalog_terminate", 2837 },\3728{ "io_catalog_get_data", 2838 },\3729{ "io_catalog_get_gen_count", 2839 },\3730{ "io_catalog_module_loaded", 2840 },\3731{ "io_catalog_reset", 2841 },\3732{ "io_service_request_probe", 2842 },\3733{ "io_registry_entry_get_name_in_plane", 2843 },\3734{ "io_service_match_property_table", 2844 },\3735{ "io_async_method_scalarI_scalarO", 2845 },\3736{ "io_async_method_scalarI_structureO", 2846 },\3737{ "io_async_method_scalarI_structureI", 2847 },\3738{ "io_async_method_structureI_structureO", 2848 },\3739{ "io_service_add_notification", 2849 },\3740{ "io_service_add_interest_notification", 2850 },\3741{ "io_service_acknowledge_notification", 2851 },\3742{ "io_connect_get_notification_semaphore", 2852 },\3743{ "io_connect_unmap_memory", 2853 },\3744{ "io_registry_entry_get_location_in_plane", 2854 },\3745{ "io_registry_entry_get_property_recursively", 2855 },\3746{ "io_service_get_state", 2856 },\3747{ "io_service_get_matching_services_ool", 2857 },\3748{ "io_service_match_property_table_ool", 2858 },\3749{ "io_service_add_notification_ool", 2859 },\3750{ "io_object_get_superclass", 2860 },\3751{ "io_object_get_bundle_identifier", 2861 },\3752{ "io_service_open_extended", 2862 },\3753{ "io_connect_map_memory_into_task", 2863 },\3754{ "io_connect_unmap_memory_from_task", 2864 },\3755{ "io_connect_method", 2865 },\3756{ "io_connect_async_method", 2866 },\3757{ "io_registry_entry_get_registry_entry_id", 2871 },\3758{ "io_connect_method_var_output", 2872 },\3759{ "io_service_get_matching_service", 2873 },\3760{ "io_service_get_matching_service_ool", 2874 },\3761{ "io_service_get_authorization_id", 2875 },\3762{ "io_service_set_authorization_id", 2876 },\3763{ "io_server_version", 2877 },\3764{ "io_registry_entry_get_properties_bin", 2878 },\3765{ "io_registry_entry_get_property_bin", 2879 },\3766{ "io_service_get_matching_service_bin", 2880 },\3767{ "io_service_get_matching_services_bin", 2881 },\3768{ "io_service_match_property_table_bin", 2882 },\3769{ "io_service_add_notification_bin", 2883 },\3770{ "io_registry_entry_get_path_ool", 2885 },\3771{ "io_registry_entry_from_path_ool", 2886 }3772#endif37733774#ifdef __AfterMigUserHeader3775__AfterMigUserHeader3776#endif /* __AfterMigUserHeader */37773778#endif /* _iokit_user_ */37793780#endif /* !__LP64__ */378137823783