Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | VTD_PAGE_SHIFT (12) |
#define | VTD_PAGE_SIZE (1UL << VTD_PAGE_SHIFT) |
#define | VTD_PAGE_MASK (((u64)-1) << VTD_PAGE_SHIFT) |
#define | VTD_PAGE_ALIGN(addr) (((addr) + VTD_PAGE_SIZE - 1) & VTD_PAGE_MASK) |
#define | VTD_STRIDE_SHIFT (9) |
#define | VTD_STRIDE_MASK (((u64)-1) << VTD_STRIDE_SHIFT) |
#define | DMA_PTE_READ (1) |
#define | DMA_PTE_WRITE (2) |
#define | DMA_PTE_LARGE_PAGE (1 << 7) |
#define | DMA_PTE_SNP (1 << 11) |
#define | CONTEXT_TT_MULTI_LEVEL 0 |
#define | CONTEXT_TT_DEV_IOTLB 1 |
#define | CONTEXT_TT_PASS_THROUGH 2 |
#define | dmar_disabled (1) |
#define | intel_iommu_enabled (0) |
#define CONTEXT_TT_DEV_IOTLB 1 |
Definition at line 21 of file dma_remapping.h.
#define CONTEXT_TT_MULTI_LEVEL 0 |
Definition at line 20 of file dma_remapping.h.
#define CONTEXT_TT_PASS_THROUGH 2 |
Definition at line 22 of file dma_remapping.h.
#define DMA_PTE_LARGE_PAGE (1 << 7) |
Definition at line 17 of file dma_remapping.h.
#define DMA_PTE_READ (1) |
Definition at line 15 of file dma_remapping.h.
#define DMA_PTE_SNP (1 << 11) |
Definition at line 18 of file dma_remapping.h.
#define DMA_PTE_WRITE (2) |
Definition at line 16 of file dma_remapping.h.
#define dmar_disabled (1) |
Definition at line 47 of file dma_remapping.h.
#define intel_iommu_enabled (0) |
Definition at line 48 of file dma_remapping.h.
#define VTD_PAGE_ALIGN | ( | addr | ) | (((addr) + VTD_PAGE_SIZE - 1) & VTD_PAGE_MASK) |
Definition at line 10 of file dma_remapping.h.
#define VTD_PAGE_MASK (((u64)-1) << VTD_PAGE_SHIFT) |
Definition at line 9 of file dma_remapping.h.
#define VTD_PAGE_SHIFT (12) |
Definition at line 7 of file dma_remapping.h.
#define VTD_PAGE_SIZE (1UL << VTD_PAGE_SHIFT) |
Definition at line 8 of file dma_remapping.h.
#define VTD_STRIDE_MASK (((u64)-1) << VTD_STRIDE_SHIFT) |
Definition at line 13 of file dma_remapping.h.
#define VTD_STRIDE_SHIFT (9) |
Definition at line 12 of file dma_remapping.h.