class IommuDesc
Defined at line 25 of file ../../src/devices/lib/iommu/iommu-x86.h
Helper class for the IommuManager that represents a dmar unit and its descriptor.
Public Methods
void IommuDesc ()
Defined at line 27 of file ../../src/devices/lib/iommu/iommu-x86.h
void ~IommuDesc ()
Defined at line 28 of file ../../src/devices/lib/iommu/iommu-x86.h
zx::unowned_iommu GetIommu ()
Retrieves the zircon iommu object. Only valid to be called after CreateIommu has returned with
ZX_OK.
Defined at line 42 of file ../../src/devices/lib/iommu/iommu-x86.h
const zx_iommu_desc_intel_t & Desc ()
Returns a reference to the descriptor header. Only valid to be called after one of the
Create*Desc initializers has returned with ZX_OK.
Defined at line 46 of file ../../src/devices/lib/iommu/iommu-x86.h
cpp20::span<zx_iommu_desc_intel_scope_t> Scopes ()
Returns a Span of the scopes in the descriptor data. Only valid to be called after one of the
Create*Desc initializers has returned with ZX_OK.
Defined at line 52 of file ../../src/devices/lib/iommu/iommu-x86.h
zx_status_t CreatePartialSegmentDesc (const ACPI_TABLE_DMAR * table, const ACPI_DMAR_HARDWARE_UNIT * unit)
Defined at line 351 of file ../../src/devices/lib/iommu/iommu-x86.cc
zx_status_t CreateWholeSegmentDesc (const ACPI_TABLE_DMAR * table, const ACPI_DMAR_HARDWARE_UNIT * unit)
Defined at line 327 of file ../../src/devices/lib/iommu/iommu-x86.cc
zx_status_t CreateIommu (const zx::unowned_resource & iommu_resource)
Creates the zircon iommu object using the supplied iommu resource. Only valid to be called
after one of the Create*Desc initializers has returned with ZX_OK.
Defined at line 360 of file ../../src/devices/lib/iommu/iommu-x86.cc
Friends
class IommuTest