HPlogo System Debug Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 8 System Debug Standard Functions

func vtos

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Virtual to secondary. Converts a virtual address to a secondary storage address.

Syntax

   vtos (virtaddr)  


The function VTOS returns a secondary storage address as an SADDR, whose SID part is the secondary storage LDEV number and whose offset part is the disk byte address.

Formal Declaration

   vtos:saddr (virtaddr:ptr) 

Parameters

virtaddr

The virtual address to be converted to a secondary storage address.

Virtaddr can be either a short or long pointer.

Examples

   $nmdebug > wl vtos(b.40040200)

   SADDR $14.e0200

Convert the virtual address b.40040200 to a secondary storage address and display the result. The secondary storage address is LDEV $14 at byte offset $e0200.

Limitations, Restrictions

none

Feedback to webmaster