H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_IOMMU_H |
| 2 | #define _ASM_X86_IOMMU_H |
Yinghai Lu | f2cf8e0 | 2007-07-21 17:11:31 +0200 | [diff] [blame] | 3 | |
FUJITA Tomonori | 160c1d8 | 2009-01-05 23:59:02 +0900 | [diff] [blame] | 4 | extern struct dma_map_ops nommu_dma_ops; |
Yinghai Lu | f2cf8e0 | 2007-07-21 17:11:31 +0200 | [diff] [blame] | 5 | extern int force_iommu, no_iommu; |
| 6 | extern int iommu_detected; |
Fenghua Yu | 4ed0d3e | 2009-04-24 17:30:20 -0700 | [diff] [blame] | 7 | extern int iommu_pass_through; |
FUJITA Tomonori | e93be88 | 2008-07-10 08:27:49 +0900 | [diff] [blame] | 8 | |
Linus Torvalds | 5b34653 | 2008-10-23 10:22:01 -0700 | [diff] [blame] | 9 | /* 10 seconds */ |
| 10 | #define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000) |
| 11 | |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 12 | #endif /* _ASM_X86_IOMMU_H */ |