Returns the 64-bit original or unremapped address associated with a 32-bit remapped address.
#include <sys/types.h> #include <sys/errno.h> #include <sys/adspace.h> unsigned long long as_unremap (addr32) caddr_t addr32;
addr32 | Specifies the 32-bit remapped address to be converted to the corresponding non-remapped 64-bit address. |
The as_unremap64 service will return the original, non-remapped 64-bit address associated with a given 32-bit remapped address. For a 64-bit process, as_unremap64 will not check the input 32-bit address to see if it has been remapped or not. It is assumed that the input address is remapped. For a 32-bit process, as_unremap64 simply casts the 32-bit address to 64 bits.
This kernel service must be called in kernel mode.
The as_unremap64 kernel service can be called from the process environment only.
The 64-bit non-remapped address corresponding to addr32.
The as_unremap64 kernel service is part of Base Operating System (BOS) Runtime.
The remap_64 kernel service, as_remap64 kernel service.
Memory Kernel Services and Understanding Virtual Memory Manager Interfaces in AIX Version 4 Kernel Extensions and Device Support Programming Concepts.