vtop - General: Converts any virtual address to a physical
address
vm_offset_t vtop(
struct proc *proc_p,
vm_offset_t virt_addr );
Specifies a pointer to a proc structure. The vtop routine
uses the proc structure pointer to obtain the pmap. Specifies
the virtual address that vtop converts to a physical
address.
The vtop routine converts a specified virtual address to a
physical address.
The vtop routine panics and displays the following message
on the console terminal if the proc structure pointer you
pass is NULL and the virtual address is in user space:
vtop: user address passed with null proc pointer
Upon successful completion, vtop returns the physical
address associated with the specified virtual address.
vtop(9r)
[ Back ] |