IOConnectUnmapMemory64

Function IOConnectUnmapMemory64 

Source
pub unsafe extern "C-unwind" fn IOConnectUnmapMemory64(
    connect: io_connect_t,
    memory_type: u32,
    from_task: task_t,
    at_address: mach_vm_address_t,
) -> kern_return_t
Available on crate feature libc only.
Expand description

Remove a mapping made with IOConnectMapMemory64.

This is a generic method to remove a mapping in the callers task.

Parameter connect: The connect handle created by IOServiceOpen.

Parameter memoryType: The memory type originally requested in IOConnectMapMemory.

Parameter fromTask: The task port for the task in which to remove the mapping. This may be different to the task which the opened the connection.

Parameter atAddress: The address of the mapping to be removed.

Returns: A kern_return_t error code.