X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/fe8ab488e9161c46dd9885d58fc52996dc0249ff..743345f9a4b36f7e2f9ba37691e70c50baecb56e:/osfmk/device/device.defs diff --git a/osfmk/device/device.defs b/osfmk/device/device.defs index 133b63cd5..4948c08a4 100644 --- a/osfmk/device/device.defs +++ b/osfmk/device/device.defs @@ -92,6 +92,7 @@ type reply_port_t = MACH_MSG_TYPE_MAKE_SEND_ONCE | polymorphic type io_name_t = c_string[*:128]; type io_string_t = c_string[*:512]; +type io_string_inband_t = c_string[*:4096]; type io_struct_inband_t = array[*:4096] of char; type io_buf_ptr_t = ^array[] of MACH_MSG_TYPE_INTEGER_8; type NDR_record_t = struct[8] of char; @@ -134,7 +135,7 @@ type io_connect_t = mach_port_t #if KERNEL_SERVER intran: io_connect_t iokit_lookup_connect_port(mach_port_t) outtran: mach_port_t iokit_make_connect_port(io_connect_t) - destructor: iokit_remove_reference(io_connect_t) + destructor: iokit_remove_connect_reference(io_connect_t) #endif /* KERNEL_SERVER */ ; @@ -788,6 +789,25 @@ routine FUNC_NAME(io_service_add_notification_bin)( skip; #endif +#if !IOKITSIMD + +routine io_registry_entry_get_path_ool( + registry_entry : io_object_t; + in plane : io_name_t; + out path : io_string_inband_t; + out path_ool : io_buf_ptr_t, physicalcopy + ); + +routine io_registry_entry_from_path_ool( + master_port : mach_port_t; + in path : io_string_inband_t; + in path_ool : io_buf_ptr_t, physicalcopy; + out result : kern_return_t; + out registry_entry : io_object_t + ); + +#endif + #endif /* IOKIT */ /* vim: set ft=c : */