From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/x86/include/asm/iommu.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ANDROID_3.4.5/arch/x86/include/asm/iommu.h (limited to 'ANDROID_3.4.5/arch/x86/include/asm/iommu.h') diff --git a/ANDROID_3.4.5/arch/x86/include/asm/iommu.h b/ANDROID_3.4.5/arch/x86/include/asm/iommu.h new file mode 100644 index 00000000..dffc38ee --- /dev/null +++ b/ANDROID_3.4.5/arch/x86/include/asm/iommu.h @@ -0,0 +1,13 @@ +#ifndef _ASM_X86_IOMMU_H +#define _ASM_X86_IOMMU_H + +extern struct dma_map_ops nommu_dma_ops; +extern int force_iommu, no_iommu; +extern int iommu_detected; +extern int iommu_pass_through; +extern int iommu_group_mf; + +/* 10 seconds */ +#define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000) + +#endif /* _ASM_X86_IOMMU_H */ -- cgit