diff options
Diffstat (limited to 'arch/arm/plat-omap/include/plat/iovmm.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/iovmm.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/iovmm.h b/arch/arm/plat-omap/include/plat/iovmm.h index 32a2f6c4d39..8cd534fb2b8 100644 --- a/arch/arm/plat-omap/include/plat/iovmm.h +++ b/arch/arm/plat-omap/include/plat/iovmm.h @@ -22,7 +22,6 @@ struct iovm_struct { const struct sg_table *sgt; /* keep 'page' <-> 'da' mapping */ void *va; /* mpu side mapped address */ }; - /* * IOVMF_FLAGS: attribute for iommu virtual memory area(iovma) * @@ -71,7 +70,8 @@ struct iovm_struct { #define IOVMF_LINEAR_MASK (3 << (2 + IOVMF_SW_SHIFT)) #define IOVMF_DA_FIXED (1 << (4 + IOVMF_SW_SHIFT)) - +#define IOVMF_DA_ANON (2 << (4 + IOVMF_SW_SHIFT)) +#define IOVMF_DA_MASK (3 << (4 + IOVMF_SW_SHIFT)) extern struct iovm_struct *find_iovm_area(struct iommu *obj, u32 da); extern u32 iommu_vmap(struct iommu *obj, u32 da, @@ -88,5 +88,4 @@ extern u32 iommu_kmalloc(struct iommu *obj, u32 da, size_t bytes, extern void iommu_kfree(struct iommu *obj, u32 da); extern void *da_to_va(struct iommu *obj, u32 da); - #endif /* __IOMMU_MMAP_H */ |