Go to the documentation of this file.
25 #include <linux/types.h>
32 #define DMAR_INTR_REMAP 0x1
33 #define DMAR_X2APIC_OPT_OUT 0x2
36 #ifdef CONFIG_DMAR_TABLE
38 struct dmar_drhd_unit {
52 #define for_each_drhd_unit(drhd) \
53 list_for_each_entry(drhd, &dmar_drhd_units, list)
55 #define for_each_active_iommu(i, drhd) \
56 list_for_each_entry(drhd, &dmar_drhd_units, list) \
57 if (i=drhd->iommu, drhd->ignored) {} else
59 #define for_each_iommu(i, drhd) \
60 list_for_each_entry(drhd, &dmar_drhd_units, list) \
61 if (i=drhd->iommu, 0) {} else
134 #ifdef CONFIG_INTEL_IOMMU
137 struct dmar_rmrr_unit {
146 #define for_each_rmrr_units(rmrr) \
147 list_for_each_entry(rmrr, &dmar_rmrr_units, list)
149 struct dmar_atsr_unit {