aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-08-14 13:55:16 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-15 07:56:54 -0400
commit9f5f5fb35d2934fe7dc0cb019854a030efd10cd7 (patch)
tree061412d890a702fddb46ac259080a963dce939f4 /include
parent519c31bacf78a969efa8d2e55ed8862848f28590 (diff)
x86, AMD IOMMU: initialize device table properly
This patch adds device table initializations which forbids memory accesses for devices per default and disables all page faults. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/amd_iommu_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/amd_iommu_types.h b/include/asm-x86/amd_iommu_types.h
index 32543229db76..f0beca73e364 100644
--- a/include/asm-x86/amd_iommu_types.h
+++ b/include/asm-x86/amd_iommu_types.h
@@ -103,6 +103,7 @@
103#define DEV_ENTRY_TRANSLATION 0x01 103#define DEV_ENTRY_TRANSLATION 0x01
104#define DEV_ENTRY_IR 0x3d 104#define DEV_ENTRY_IR 0x3d
105#define DEV_ENTRY_IW 0x3e 105#define DEV_ENTRY_IW 0x3e
106#define DEV_ENTRY_NO_PAGE_FAULT 0x62
106#define DEV_ENTRY_EX 0x67 107#define DEV_ENTRY_EX 0x67
107#define DEV_ENTRY_SYSMGT1 0x68 108#define DEV_ENTRY_SYSMGT1 0x68
108#define DEV_ENTRY_SYSMGT2 0x69 109#define DEV_ENTRY_SYSMGT2 0x69