Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/iommu/iommu.h
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | struct iommu_domain { | ||||
struct iommu_unit *iommu; /* (c) */ | struct iommu_unit *iommu; /* (c) */ | ||||
const struct iommu_domain_map_ops *ops; | const struct iommu_domain_map_ops *ops; | ||||
struct mtx lock; /* (c) */ | struct mtx lock; /* (c) */ | ||||
struct task unload_task; /* (c) */ | struct task unload_task; /* (c) */ | ||||
u_int entries_cnt; /* (d) */ | u_int entries_cnt; /* (d) */ | ||||
struct iommu_map_entries_tailq unload_entries; /* (d) Entries to | struct iommu_map_entries_tailq unload_entries; /* (d) Entries to | ||||
unload */ | unload */ | ||||
struct iommu_gas_entries_tree rb_root; /* (d) */ | struct iommu_gas_entries_tree rb_root; /* (d) */ | ||||
struct iommu_map_entry *start_gap; /* (d) */ | |||||
iommu_gaddr_t end; /* (c) Highest address + 1 in | iommu_gaddr_t end; /* (c) Highest address + 1 in | ||||
the guest AS */ | the guest AS */ | ||||
struct iommu_map_entry *first_place, *last_place; /* (d) */ | struct iommu_map_entry *first_place, *last_place; /* (d) */ | ||||
struct iommu_map_entry *msi_entry; /* (d) Arch-specific */ | struct iommu_map_entry *msi_entry; /* (d) Arch-specific */ | ||||
iommu_gaddr_t msi_base; /* (d) Arch-specific */ | iommu_gaddr_t msi_base; /* (d) Arch-specific */ | ||||
vm_paddr_t msi_phys; /* (d) Arch-specific */ | vm_paddr_t msi_phys; /* (d) Arch-specific */ | ||||
u_int flags; /* (u) */ | u_int flags; /* (u) */ | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |