pub fn virt_to_phys(vaddr: VirtAddr) -> PhysAddr
Expand description
Translates a virtual address to a physical address.
It is a reverse operation of phys_to_virt
. It requires that the
vaddr
must be available through the phys_to_virt
translation.
It cannot be used to translate arbitrary virtual addresses.