HP 3000 Manuals

func vtos [ System Debug Reference Manual ] MPE/iX 5.0 Documentation


System Debug Reference Manual

func vtos 

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

Syntax 

     vtos (virtaddr)

The function VTOS returns a secondary storage address in the form of a
long pointer, whose SID part is the secondary storage LDEV number and
whose offset part is the disk byte address.

Formal Declaration 

     vtos:lptr (virtaddr:ptr)

Parameters 

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

                 Virtaddr can be a short pointer, a long pointer, or a
                 full logical code pointer.

Examples 

     $nmdebug > wl vtos(b.40040200) 
     $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



MPE/iX 5.0 Documentation