summaryrefslogtreecommitdiffstats
path: root/IntelSiliconPkg
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2017-08-01 11:45:33 +0800
committerHao Wu <hao.a.wu@intel.com>2017-08-02 08:54:31 +0800
commitf5046945b668403a9800e686f804a3ea1e9e79d7 (patch)
tree515a82db8c3cf888b6b4acde436ee715db53dd21 /IntelSiliconPkg
parentedc65fc4d83a7083ed139c00b8669c959a7fae8f (diff)
downloadedk2-f5046945b668403a9800e686f804a3ea1e9e79d7.tar.gz
edk2-f5046945b668403a9800e686f804a3ea1e9e79d7.tar.bz2
edk2-f5046945b668403a9800e686f804a3ea1e9e79d7.zip
IntelSiliconPkg/IntelVTdDxe: Fix typo for VTd IOTLB domain ID
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'IntelSiliconPkg')
-rw-r--r--IntelSiliconPkg/IntelVTdDxe/VtdReg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelSiliconPkg/IntelVTdDxe/VtdReg.c b/IntelSiliconPkg/IntelVTdDxe/VtdReg.c
index 456a039bcd..d19aea2cc1 100644
--- a/IntelSiliconPkg/IntelVTdDxe/VtdReg.c
+++ b/IntelSiliconPkg/IntelVTdDxe/VtdReg.c
@@ -158,7 +158,7 @@ InvalidateVtdIOTLBDomain (
Reg64 &= ((~B_IOTLB_REG_IVT) & (~B_IOTLB_REG_IIRG_MASK));
Reg64 |= (B_IOTLB_REG_IVT | V_IOTLB_REG_IIRG_DOMAIN);
- Reg64 |= DomainIdentifier;
+ Reg64 |= LShiftU64 (DomainIdentifier, 32);
MmioWrite64 (mVtdUnitInformation[VtdIndex].VtdUnitBaseAddress + (mVtdUnitInformation[VtdIndex].ECapReg.Bits.IRO * 16) + R_IOTLB_REG, Reg64);
do {