iommu.h 516 B

123456789101112131415161718192021
  1. #ifndef _ASM_IA64_IOMMU_H
  2. #define _ASM_IA64_IOMMU_H 1
  3. /* 10 seconds */
  4. #define DMAR_OPERATION_TIMEOUT (((cycles_t) local_cpu_data->itc_freq)*10)
  5. extern void pci_iommu_shutdown(void);
  6. extern void no_iommu_init(void);
  7. #ifdef CONFIG_INTEL_IOMMU
  8. extern int force_iommu, no_iommu;
  9. extern int iommu_pass_through;
  10. extern int iommu_detected;
  11. #else
  12. #define iommu_pass_through (0)
  13. #define no_iommu (1)
  14. #define iommu_detected (0)
  15. #endif
  16. extern void iommu_dma_init(void);
  17. extern void machvec_init(const char *name);
  18. #endif