Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ptok(K) — OpenDesktop Software Development System 1.0.0d

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     PTOK(K)                   UNIX System V                   PTOK(K)



     Name
          ptok, ktop - converts virtual and physical addresses

     Syntax
          #include "sys/param.h"

          int
          ptok(x)
          int x;

          int
          ktop(x)
          int x;

     Description
          The ptok macro converts a physical address x to a kernel
          virtual address.

          The ktop macro converts kernel virtual address x to a
          physical address.

     Parameters
          x is the address to be switched.

     Return Value
          The new kernel virtual address is returned by ptok. The new
          physical address is returned by ktop.

                                                      (printed 7/6/89)



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