[][src]Function sunrise_libuser::mem::virt_to_phys

pub fn virt_to_phys<T>(virtual_address: *const T) -> usize

Gets the physical address of a structure from its virtual address, preserving offset in the page.

Panics