Index Index for
Section 9r
Index Alphabetical
listing for V
Bottom of page Bottom of
page

vtop(9r)

NAME

vtop - General: Converts any virtual address to a physical address

SYNOPSIS

vm_offset_t vtop( struct proc *proc_p, vm_offset_t virt_addr );

ARGUMENTS

proc_p Specifies a pointer to a proc structure. The vtop routine uses the proc structure pointer to obtain the pmap. virt_addr Specifies the virtual address that vtop converts to a physical address.

DESCRIPTION

The vtop routine converts a specified virtual address to a physical address.

CAUTIONS

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

RETURN VALUES

Upon successful completion, vtop returns the physical address associated with the specified virtual address.

Index Index for
Section 9r
Index Alphabetical
listing for V
Top of page Top of
page