]>
Commit | Line | Data |
---|---|---|
1965aae3 PA |
1 | #ifndef _ASM_X86_IOMMU_H |
2 | #define _ASM_X86_IOMMU_H | |
f2cf8e08 | 3 | |
5299709d | 4 | extern const struct dma_map_ops nommu_dma_ops; |
f2cf8e08 YL |
5 | extern int force_iommu, no_iommu; |
6 | extern int iommu_detected; | |
4ed0d3e6 | 7 | extern int iommu_pass_through; |
e93be88d | 8 | |
5860acc1 CH |
9 | int x86_dma_supported(struct device *dev, u64 mask); |
10 | ||
5b6985ce FY |
11 | /* 10 seconds */ |
12 | #define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000) | |
13 | ||
1965aae3 | 14 | #endif /* _ASM_X86_IOMMU_H */ |