]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelSiliconPkg/IntelVTdDxe: Fix typo for VTd IOTLB domain ID
authorHao Wu <hao.a.wu@intel.com>
Tue, 1 Aug 2017 03:45:33 +0000 (11:45 +0800)
committerHao Wu <hao.a.wu@intel.com>
Wed, 2 Aug 2017 00:54:31 +0000 (08:54 +0800)
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>
IntelSiliconPkg/IntelVTdDxe/VtdReg.c

index 456a039bcdfc34a5e1ca9ef8b80778c19cbee1e9..d19aea2cc1849e9d4d1c6647ebfc920341c8f119 100644 (file)
@@ -158,7 +158,7 @@ InvalidateVtdIOTLBDomain (
 \r
   Reg64 &= ((~B_IOTLB_REG_IVT) & (~B_IOTLB_REG_IIRG_MASK));\r
   Reg64 |= (B_IOTLB_REG_IVT | V_IOTLB_REG_IIRG_DOMAIN);\r
-  Reg64 |= DomainIdentifier;\r
+  Reg64 |= LShiftU64 (DomainIdentifier, 32);\r
   MmioWrite64 (mVtdUnitInformation[VtdIndex].VtdUnitBaseAddress + (mVtdUnitInformation[VtdIndex].ECapReg.Bits.IRO * 16) + R_IOTLB_REG, Reg64);\r
 \r
   do {\r