[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 1

as_unremap64 Kernel Service

Purpose

Returns the original 64-bit address associated with a 32-bit mapped address.

Syntax

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

unsigned long long as_unremap (addr32)
caddr_t  addr32;

Parameter

addr32 Specifies the 32-bit mapped address to be converted to its corresponding 64-bit address.

Description

The as_unremap64 service returns the original 64-bit address associated with a given 32-bit mapped address.

Note
For a 64-bit process, the addr32 parameter must specify an address in a range mapped by the as_remap64 service. Otherwise, the returned value is unpredictable.

For a 32-bit process, as_unremap64 casts the 32-bit address to 64 bits.

Note
The as_unremap64 kernel service is not supported on the 64-bit kernel.

Execution Environment

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

Return Values

The 64-bit address corresponding to the 32-bit mapped address, addr32.

Related Information

The as_remap64 kernel service.

Memory Kernel Services and Understanding Virtual Memory Manager Interfaces in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]