iommu.h 541 B

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