blob: f704c50519b899c07e49399131ca39f0e60bc784 [file] [log] [blame]
Joerg Roedel395624f2007-10-24 12:49:47 +02001#ifndef _ASM_X8664_IOMMU_H
2#define _ASM_X8664_IOMMU_H 1
3
4extern void pci_iommu_shutdown(void);
5extern void no_iommu_init(void);
6extern int force_iommu, no_iommu;
7extern int iommu_detected;
Joerg Roedel966396d2007-10-24 12:49:48 +02008#ifdef CONFIG_GART_IOMMU
Joerg Roedel395624f2007-10-24 12:49:47 +02009extern void gart_iommu_init(void);
10extern void gart_iommu_shutdown(void);
11extern void __init gart_parse_options(char *);
Joerg Roedel0440d4c2007-10-24 12:49:50 +020012extern void gart_iommu_hole_init(void);
Joerg Roedel395624f2007-10-24 12:49:47 +020013extern int fallback_aper_order;
14extern int fallback_aper_force;
Joerg Roedel0440d4c2007-10-24 12:49:50 +020015extern int gart_iommu_aperture;
16extern int gart_iommu_aperture_allowed;
17extern int gart_iommu_aperture_disabled;
Joerg Roedel395624f2007-10-24 12:49:47 +020018extern int fix_aperture;
19#else
Joerg Roedel0440d4c2007-10-24 12:49:50 +020020#define gart_iommu_aperture 0
21#define gart_iommu_aperture_allowed 0
Joerg Roedel395624f2007-10-24 12:49:47 +020022
23static inline void gart_iommu_shutdown(void)
24{
25}
26
27#endif
28
29#endif