]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelSiliconPkg/IntelVTdDxe/DmaProtection.h
IntelSiliconPkg: Fix VS2015 NOOPT IA32 build failure in IntelVTdDxe
[mirror_edk2.git] / IntelSiliconPkg / IntelVTdDxe / DmaProtection.h
index 6efed6e555d1698ded000a72731c966b307b88fb..8cfa69cb2364a670e77bc7f95b4cceb3c302cf56 100644 (file)
@@ -41,6 +41,8 @@
 #include <IndustryStandard/DmaRemappingReportingTable.h>\r
 #include <IndustryStandard/Vtd.h>\r
 \r
+#define VTD_64BITS_ADDRESS(Lo, Hi) (LShiftU64 (Lo, 12) | LShiftU64 (Hi, 32))\r
+\r
 #define ALIGN_VALUE_UP(Value, Alignment)  (((Value) + (Alignment) - 1) & (~((Alignment) - 1)))\r
 #define ALIGN_VALUE_LOW(Value, Alignment) ((Value) & (~((Alignment) - 1)))\r
 \r