Skip to main content

install_context_entry

Function install_context_entry 

Source
fn install_context_entry(
    context: u64,
    sbdf: Sbdf,
    domain: DomainId,
    slpt: u64,
) -> Result<(), IommuError>
Expand description

Legacy context entry (ESXi IOMMU-ANALYSE.md §3.4).

TT = 00 selects second-level translation; AGAW is encoded in bits 6:4 and repeated in the low bits of the second qword; the domain id occupies bits 23:8 of the second qword.