]>
Commit | Line | Data |
---|---|---|
62fdd767 FY |
1 | #ifndef _ASM_IA64_IOMMU_H |
2 | #define _ASM_IA64_IOMMU_H 1 | |
3 | ||
62fdd767 FY |
4 | /* 10 seconds */ |
5 | #define DMAR_OPERATION_TIMEOUT (((cycles_t) local_cpu_data->itc_freq)*10) | |
6 | ||
7 | extern void pci_iommu_shutdown(void); | |
8 | extern void no_iommu_init(void); | |
d3f13810 | 9 | #ifdef CONFIG_INTEL_IOMMU |
f5d1b97b | 10 | extern int force_iommu, no_iommu; |
4ed0d3e6 | 11 | extern int iommu_pass_through; |
f5d1b97b | 12 | extern int iommu_detected; |
008fe148 TL |
13 | #else |
14 | #define iommu_pass_through (0) | |
f5d1b97b SS |
15 | #define no_iommu (1) |
16 | #define iommu_detected (0) | |
008fe148 | 17 | #endif |
62fdd767 FY |
18 | extern void iommu_dma_init(void); |
19 | extern void machvec_init(const char *name); | |
62fdd767 FY |
20 | |
21 | #endif |