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

getadsp Kernel Service

Purpose

Obtains a pointer to the current process's address space structure for use with the as_att and as_det kernel services.

Syntax

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

adspace_t *getadsp ()

Description

The getadsp kernel service returns a pointer to the current process's address space structure for use with the as_att and as_det kernel services. This routine distinguishes between kernel processes (kprocs) and ordinary processes. It returns the correct address space pointer for the current process.

Execution Environment

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

Return Values

The getadsp service returns a pointer to the current process's address space structure.

Implementation Specifics

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

Related Information

The as_att kernel service, as_det kernel service, as_geth kernel service, as_getsrval kernel service, as_puth kernel service.

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


[ Previous | Next | Contents | Home | Search ]