Unmaps and deallocates the region in the current address space at the given address.
#include <sys/types.h> #include <sys/errno.h> #include <sys/vmuser.h> #include <sys/adspace.h>
void io_det (eaddr) caddr_t eaddr;
|eaddr||Specifies the effective address for the virtual memory region that is to be detached. This address should be the same address that was previously obtained by using the io_att kernel service to attach the virtual memory region.|
The io_det kernel service unmaps the region containing the address specified by the eaddr parameter and deallocates the region. This service then adds the region to the free list for the current address space.
The io_det service assumes an address space model of fixed-size I/O objects and address space regions.
The io_det kernel service can be called from either the process or interrupt environment.
The io_det kernel service has no return values.
The io_det kernel service is part of Base Operating System (BOS) Runtime.
The io_att kernel service.
Memory Kernel Services and Understanding Virtual Memory Manager Interfaces in AIX Kernel Extensions and Device Support Programming Concepts.