Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ phystoppid(D3) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       phystoppid(D3)                                        phystoppid(D3)


       NAME
             phystoppid - get physical page ID for physical address

       SYNOPSIS
             #include <sys/types.h>
             #include <sys/vmparam.h>
             #include <sys/ddi.h>
             ppid_t phystoppid(paddr_t addr);

          Arguments
             addr      The physical address for which the physical page ID
                       is to be returned.

       DESCRIPTION
             phystoppid returns the physical page ID corresponding to the
             physical address addr.

          Return Values
             If addr is valid, the corresponding physical page ID is
             returned.  Otherwise, NOPAGE is returned.

       USAGE
             This routine can be used to obtain a physical page ID suitable
             to be used as the return value of the driver's mmap(D2) entry
             point.

             A physical page ID is a machine-specific token that uniquely
             identifies a page of physical memory in the system (either
             system memory or device memory).  No assumptions should be
             made about the format of a physical page ID.

          Level
             Base or Interrupt.

          Synchronization Constraints
             Does not sleep.

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

       REFERENCES
             mmap(D2), intro(D3), kvtoppid(D3)

       NOTICES




                           Copyright 1994 Novell, Inc.               Page 1













      phystoppid(D3)                                        phystoppid(D3)


         Portability
            AT-compatible architectures

         Applicability
            ddi: 3, 5, 5mp, 6, 6mp, 7, 7mp











































                          Copyright 1994 Novell, Inc.               Page 2








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