blob: a6ee9e6f530f89cc2e86a5607ceff6597c9d1757 [file] [log] [blame]
H. Peter Anvin1965aae2008-10-22 22:26:29 -07001#ifndef _ASM_X86_IOMMU_H
2#define _ASM_X86_IOMMU_H
Yinghai Luf2cf8e02007-07-21 17:11:31 +02003
4extern void pci_iommu_shutdown(void);
5extern void no_iommu_init(void);
Alexis Bruemmer1956a962008-07-25 19:44:51 -07006extern struct dma_mapping_ops nommu_dma_ops;
Yinghai Luf2cf8e02007-07-21 17:11:31 +02007extern int force_iommu, no_iommu;
8extern int iommu_detected;
FUJITA Tomonorie93be882008-07-10 08:27:49 +09009
Linus Torvalds5b346532008-10-23 10:22:01 -070010/* 10 seconds */
11#define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000)
12
H. Peter Anvin1965aae2008-10-22 22:26:29 -070013#endif /* _ASM_X86_IOMMU_H */