Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/iommu/iommu_gas.c
Show First 20 Lines • Show All 726 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
int error; | int error; | ||||
error = iommu_gas_map_region(domain, entry, eflags, flags, ma); | error = iommu_gas_map_region(domain, entry, eflags, flags, ma); | ||||
return (error); | return (error); | ||||
} | } | ||||
SYSCTL_NODE(_hw, OID_AUTO, iommu, CTLFLAG_RW | CTLFLAG_MPSAFE, NULL, ""); | |||||
#ifdef INVARIANTS | #ifdef INVARIANTS | ||||
static SYSCTL_NODE(_hw, OID_AUTO, iommu, CTLFLAG_RD | CTLFLAG_MPSAFE, NULL, | |||||
""); | |||||
SYSCTL_INT(_hw_iommu, OID_AUTO, check_free, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_iommu, OID_AUTO, check_free, CTLFLAG_RWTUN, | ||||
&iommu_check_free, 0, | &iommu_check_free, 0, | ||||
"Check the GPA RBtree for free_down and free_after validity"); | "Check the GPA RBtree for free_down and free_after validity"); | ||||
#endif | #endif |