pub fn phys_to_virt(paddr: PhysAddr) -> VirtAddr
Expand description
Translates a physical address to a virtual address.
It is just an easy way to access physical memory when virtual memory
is enabled. The mapping may not be unique, there can be multiple vaddr
s
mapped to that paddr
.