Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ kvtophys(D3DK) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

kvtophys(D3DK)  —  MISC. REFERENCE MANUAL PAGES

NAME

kvtophys − convert kernel virtual address to physical address .IX \f4kvtophys\fP(D3DK)

SYNOPSIS

#include <sys/types.h>
#include <sys/ddi.h>
paddr_t kvtophys(caddr_t caddr);

ARGUMENTS

caddrKernel virtual address to translate. 

DESCRIPTION

This function returns the physical address equivalent of the specified kernel virtual address.  The same functionality is provided in the vtop(D3DK) function. 

RETURN VALUE

kvtophys returns NULL if caddr is invalid; otherwise, a physical address is returned.  CAUTION: If caddr is invalid, kvtophys could panic the system. 

LEVEL

Base or Interrupt

NOTES

Does not sleep. 

Driver-defined basic locks, read/write locks, and sleep locks may be held across calls to this function. 

SEE ALSO

vtop(D3DK)

  —  DDI

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026