blob: 745e095fe82eb0a6af73bbf744619e0b90865a3f [file] [log] [blame]
Fenghua Yu62fdd762008-10-17 12:14:13 -07001#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
8extern void pci_iommu_shutdown(void);
9extern void no_iommu_init(void);
10extern int force_iommu, no_iommu;
11extern int iommu_detected;
Luck, Tony008fe142009-05-26 15:45:12 -070012#ifdef CONFIG_DMAR
Fenghua Yu4ed0d3e2009-04-24 17:30:20 -070013extern int iommu_pass_through;
Luck, Tony008fe142009-05-26 15:45:12 -070014#else
15#define iommu_pass_through (0)
16#endif
Fenghua Yu62fdd762008-10-17 12:14:13 -070017extern void iommu_dma_init(void);
18extern void machvec_init(const char *name);
Fenghua Yu62fdd762008-10-17 12:14:13 -070019
20#endif