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

Technical Reference: Kernel and Subsystems, 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.

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

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.

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 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

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