Functions

  • bool IsValidAddr (paddr_t addr)

    Defined at line 37 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/vmsav8_64.h

  • bool IsValidEntry (uint64_t e)

    Defined at line 42 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/vmsav8_64.h

  • bool IsTableEntry (uint64_t e)

    Defined at line 47 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/vmsav8_64.h

  • bool IsBlockEntry (uint64_t e, uint32_t level)

    Defined at line 48 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/vmsav8_64.h

  • paddr_t GetTableEntryPAddr (uint64_t e)

    Extract the physical address of a "Table" entry.

    Defined at line 56 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/vmsav8_64.h

  • uint64_t MakeTableEntry (paddr_t addr)

    Create a "Table" entry which points at the physical address of the next level

    of the translation tables. Used in levels [0, 2] of the translation tables.

    Note: The passed address must be valid, and we debug assert this, but we also

    unconditionally mask the passed address just in case.

    Defined at line 63 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/vmsav8_64.h

  • uint64_t MakePerms (uint64_t UXN, uint64_t PXN, uint64_t AP21)

    Create a Page entry which points at the final physical address of the

    translation, and encodes the access attributes as well.

    Defined at line 70 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/vmsav8_64.h

  • uint64_t GetPageEntryPerms (uint32_t perms)

    Defined at line 75 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/vmsav8_64.h

  • uint64_t MakePageEntry (paddr_t addr, uint32_t perms)

    Defined at line 148 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/vmsav8_64.h

  • void WritePte (uint64_t * slot, uint64_t val, uint32_t level)

    Writes a single descriptor into a translation table at |level|. Every store

    into translation table memory goes through this function or ZeroTablePage(),

    so that the host test hardware model observes all of them.

    Defined at line 162 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/vmsav8_64.h

  • void ZeroTablePage (void * table_vaddr)

    Zero-fills a whole translation table page. Every store into translation

    table memory goes through WritePte() or this function, so that the host test

    hardware model observes all of them.

    Defined at line 172 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/vmsav8_64.h