Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

page_pptonum(D3DK)  —  

NAME

page_pptonum − convert page structure to page frame number

SYNOPSIS

#include <sys/types.h>
#include <vm/page.h>
u_int page_pptonum(page_t ∗pp);

ARGUMENT

ppPointer to a page structure. 

DESCRIPTION

page_pptonum is called to convert a page structure to its corresponding page frame number. 

RETURN VALUE

The page frame number corresponding to the page structure is returned.  No error is returned.  If pp (the page structure address) is invalid, the system will panic. 

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,

page_numtopp(D3DK)

DDI/DKI

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