Fenghua Yu | 62fdd76 | 2008-10-17 12:14:13 -0700 | [diff] [blame] | 1 | #ifndef _ASM_IA64_IOMMU_H |
| 2 | #define _ASM_IA64_IOMMU_H 1 |
| 3 | |
| 4 | #define cpu_has_x2apic 0 |
| 5 | /* 10 seconds */ |
| 6 | #define DMAR_OPERATION_TIMEOUT (((cycles_t) local_cpu_data->itc_freq)*10) |
| 7 | |
| 8 | extern void pci_iommu_shutdown(void); |
| 9 | extern void no_iommu_init(void); |
| 10 | extern int force_iommu, no_iommu; |
| 11 | extern int iommu_detected; |
Luck, Tony | 008fe14 | 2009-05-26 15:45:12 -0700 | [diff] [blame] | 12 | #ifdef CONFIG_DMAR |
Fenghua Yu | 4ed0d3e | 2009-04-24 17:30:20 -0700 | [diff] [blame] | 13 | extern int iommu_pass_through; |
Luck, Tony | 008fe14 | 2009-05-26 15:45:12 -0700 | [diff] [blame] | 14 | #else |
| 15 | #define iommu_pass_through (0) |
| 16 | #endif |
Fenghua Yu | 62fdd76 | 2008-10-17 12:14:13 -0700 | [diff] [blame] | 17 | extern void iommu_dma_init(void); |
| 18 | extern void machvec_init(const char *name); |
Fenghua Yu | 62fdd76 | 2008-10-17 12:14:13 -0700 | [diff] [blame] | 19 | |
| 20 | #endif |