Skip to main content

derive_hhdm_offset

Function derive_hhdm_offset 

Source
fn derive_hhdm_offset(regions: &[MemoryRegion]) -> u64
Expand description

Derive HHDM offset from the memory map.

On x86_64 with the custom bootloader, the HHDM is typically at 4 GiB (0x1_0000_0000).