System Debug Reference Manual (32650-90888)

480 Chapter10
System Debug Standard Functions
func vtor
$a.c1002ec0
$nmdat > dv c1002ec0,58/4
$ VIRT a.c1002ec0 $ 00000001 08010000 7ffd7ffd 7ffd0000
$ VIRT a.c1002ed0 $ 00000000 0000000a c3580000 c35f4806
$ VIRT a.c1002ee0 $ 00074807 50000000 032a0000 00000056
$ VIRT a.c1002ef0 $ 00000000 00000000 00000000 00000000
$ VIRT a.c1002f00 $ 00000000 00000000 00000000 02000000
$ VIRT a.c1002f10 $ 00000000 ffff0000
Define a variable pibva to be the address of the PIB (process information block) for PIN 1.
Get the address of its vs_od_ptr, then display its vs_od_ptr in hex.
$nmdat > wl vainfo(pibva base_va)
$a.c3580000
$nmdat > wl vainfo(pibva "ending_vba")
$c35f4806
$nmdat > wl vainfo(pibva "current_size")
$74807
$nmdat > wl vainfo(pibva "object_class")
$56
$nmdat > wl vainfo(pibva "vs_btree_hash")
$0
$nmdat > wl vainfo(pibva "vs_vpn_cache_hash")
$0
$nmdat > wl vainfo(pibva "pdir_hash")
$0
Shows more of the object information for the PIB for PIN 1.
Limitations, Restrictions
none
func vtor
Virtual to real. Converts a virtual address to a real address.
Syntax
vtor (
virtaddr
)
In Debug, if the virtual address is not resident, it is brought into memory.
In DAT, if the virtual address is not resident, an error is generated.
Formal Declaration
vtor:u32 (
virtaddr
:ptr)