pub fn phys_to_virt_addr(phys: u64) -> u64Expand description
Convert a physical address to a virtual pointer.
On x86_64, adds the bootloader’s physical memory mapping offset. On AArch64/RISC-V, returns the address unchanged (identity-mapped).
pub fn phys_to_virt_addr(phys: u64) -> u64Convert a physical address to a virtual pointer.
On x86_64, adds the bootloader’s physical memory mapping offset. On AArch64/RISC-V, returns the address unchanged (identity-mapped).