summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorJohn Zhao <john.zhao@intel.com>2019-04-29 14:48:51 -0700
committerNico Huber <nico.h@gmx.de>2019-05-01 18:33:55 +0000
commit37b26261cc56bbb4ea423e1834071847c372dacf (patch)
tree4a6894bf17add27c44e7e956440f3d60f905cd06 /src/arch
parent4c8726574cb36fe0e836bc32fbd453f8770a2ff0 (diff)
downloadcoreboot-37b26261cc56bbb4ea423e1834071847c372dacf.tar.xz
arch/x86/acpi: Update VT-d DMA remapping structure flags setting
DMA remapping structure flags settings are Bit 0: INTR_REMAP, Bit 1: X2APIC_OPT_OUT, Bit 2: DMA_CTRL_PLATFORM_OPT_IN_FLAG, Bits 3-7: Reserved (0). BUG=b:130351429 TEST=Image built and kernel booted to kernel. Signed-off-by: John Zhao <john.zhao@intel.com> Change-Id: Iaf4764a9062756cadc335d1932b0da8628797f5f Reviewed-on: https://review.coreboot.org/c/coreboot/+/32516 Reviewed-by: Lijian Zhao <lijian.zhao@intel.com> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/include/arch/acpi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h
index 1b9438d13c..79feaad070 100644
--- a/src/arch/x86/include/arch/acpi.h
+++ b/src/arch/x86/include/arch/acpi.h
@@ -335,9 +335,9 @@ enum {
};
enum dmar_flags {
- DMAR_INTR_REMAP = 1,
- DMAR_X2APIC_OPT_OUT = 2,
- DMA_CTRL_PLATFORM_OPT_IN_FLAG = 3,
+ DMAR_INTR_REMAP = 1 << 0,
+ DMAR_X2APIC_OPT_OUT = 1 << 1,
+ DMA_CTRL_PLATFORM_OPT_IN_FLAG = 1 << 2,
};
typedef struct dmar_entry {