Remove a mapping made with IOConnectMapMemory.
- macOS 10.0+
- Mac Catalyst 13.0+Beta
The connect handle created by IOServiceOpen.
The memory type originally requested in IOConnectMapMemory.
The task port for the task in which to remove the mapping. This may be different to the task which the opened the connection.
The address of the mapping to be removed.
A kern_return_t error code.
This is a generic method to remove a mapping in the callers task.