Function build_page_tables_64

Source
pub fn build_page_tables_64(
    page_table_gpa: u64,
    address_bias: u64,
    identity_map_size: IdentityMapSize,
    pml4e_link: Option<(u64, u64)>,
) -> Vec<u8> 
Expand description

Build a set of X64 page tables identity mapping the bottom address space with an optional address bias.

An optional PML4E entry may be linked, with arguments being (link_target_gpa, linkage_gpa). link_target_gpa represents the GPA of the PML4E to link into the built page table. linkage_gpa represents the GPA at which the linked PML4E should be linked.