System Debug Reference Manual (32650-90888)
Chapter 10 481
System Debug Standard Functions
func vtos
Parameters
virtaddr
The virtual address to be converted to a real address.
Virtaddr
can be either a short or long pointer.
Examples
$nmdebug > wl pc
PROG $741.5934
Display the current logical code address (LCPTR) of the NM program counter.
$nmdebug > wl vtor(pc)
$1827934
Translate the logical code address (LCPTR) into the corresponding real address.
$nmdebug > wl rtov(1827934)
$741.5934
Converts the real address back into a virtual address (LPTR).
Limitations, Restrictions
none
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 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.