class DeviceAspaceTest

Defined at line 49 of file ../../zircon/kernel/dev/iommu/arm_smmu/tests/device_aspace_test.cc

Protected Members

vector invalidations_
unique_ptr aspace_
map tracked_mappings_
TlbInvalOp tlb_inval_op_

Protected Methods

void TlbInvalThunk (void * thiz, uint64_t base, uint64_t size)

Defined at line 69 of file ../../zircon/kernel/dev/iommu/arm_smmu/tests/device_aspace_test.cc

void SetUp ()

Defined at line 73 of file ../../zircon/kernel/dev/iommu/arm_smmu/tests/device_aspace_test.cc

void TearDown ()

Defined at line 81 of file ../../zircon/kernel/dev/iommu/arm_smmu/tests/device_aspace_test.cc

void UnmapAndUntrack (uint64_t base)

Helper method to unmap a tracked mapping by its base virtual address

and run verification.

Defined at line 136 of file ../../zircon/kernel/dev/iommu/arm_smmu/tests/device_aspace_test.cc

void VerifyAllocatedRegions ()

Helper to kick off the recursive verification of the page table against the

region allocator's state. This checks that every mapped and unmapped region

is correctly accounted for in the page table structure.

Defined at line 161 of file ../../zircon/kernel/dev/iommu/arm_smmu/tests/device_aspace_test.cc

void TlbInval (uint64_t base, uint64_t size)

A callback we inject into Map and Unmap operations which the operation will

call in order to "invalidate our TLBs" at the proper points in the

map/unmap operations.

Defined at line 175 of file ../../zircon/kernel/dev/iommu/arm_smmu/tests/device_aspace_test.cc

Records