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

vm_det Kernel Service

Purpose

Unmaps and deallocates the region in the current address space that contains a given address.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/vmuser.h>
void vm_det (eaddr)
caddr_t  eaddr; 

Parameter

eaddr Specifies the effective address in the current address space. The region containing this address is to be unmapped and deallocated.

Description

The vm_det kernel service unmaps the region containing the eaddr parameter and deallocates the region, adding it to the free list for the current address space.

The vm_det kernel service assumes an address space model of fixed-size virtual memory objects and address space regions.

Attention: If the region is not mapped, or a system region is referenced, the system will halt.

Execution Environment

The vm_det kernel service can be called from either the process or interrupt environment.

Implementation Specifics

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

Related Information

The vm_att kernel service.

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


[ Previous | Next | Contents | Home | Search ]