[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

as_unremap64 Kernel Service

Purpose

Returns the 64-bit original or unremapped address associated with a 32-bit remapped address.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/adspace.h>

unsigned long long as_unremap (addr32)
caddr_t  addr32;

Parameter

addr32 Specifies the 32-bit remapped address to be converted to the corresponding non-remapped 64-bit address.

Description

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.

Execution Environment

The as_unremap64 kernel service can be called from the process environment only.

Return Values

The 64-bit non-remapped address corresponding to addr32.

Implementation Specifics

The as_unremap64 kernel service is part of Base Operating System (BOS) Runtime.

Related Information

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.


[ Previous | Next | Contents | Home | Search ]