Function x86_64::arch_memory_regions
source · pub fn arch_memory_regions(
arch_memory_layout: &ArchMemoryLayout,
size: u64,
bios_size: Option<u64>
) -> Vec<(GuestAddress, u64, MemoryRegionOptions)>
Expand description
Returns a Vec of the valid memory addresses. These should be used to configure the GuestMemory structure for the platform. For x86_64 all addresses are valid from the start of the kernel except a carve out at the end of 32bit address space.