]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelSiliconPkg/IntelSiliconPkg.dec
IntelSiliconPkg/dec: Add VTd policy PCD
[mirror_edk2.git] / IntelSiliconPkg / IntelSiliconPkg.dec
index 8819cb8fed6b559e2b25d69bc11d7d1b0ba20c58..2fc63796e63e6f6e29cd1cad45ed8b0d38cf4401 100644 (file)
@@ -33,6 +33,9 @@
   # Generic DXE Library / Driver can locate HOB(s) and add SMBIOS records into SMBIOS table\r
   gIntelSmbiosDataHobGuid         = { 0x798e722e, 0x15b2, 0x4e13, { 0x8a, 0xe9, 0x6b, 0xa3, 0x0f, 0xf7, 0xf1, 0x67 }}\r
 \r
+[Protocols]\r
+  gEdkiiPlatformVTdPolicyProtocolGuid = { 0x3d17e448, 0x466, 0x4e20, { 0x99, 0x9f, 0xb2, 0xe1, 0x34, 0x88, 0xee, 0x22 }}\r
+\r
 [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r
   ## This is the GUID of the FFS which contains the Graphics Video BIOS Table (VBT)\r
   # The VBT content is stored as a RAW section which is consumed by GOP PEI/UEFI driver.\r
@@ -41,3 +44,9 @@
   # { 0x56752da9, 0xde6b, 0x4895, 0x88, 0x19, 0x19, 0x45, 0xb6, 0xb7, 0x6c, 0x22 }\r
   gIntelSiliconPkgTokenSpaceGuid.PcdIntelGraphicsVbtFileGuid|{ 0xa9, 0x2d, 0x75, 0x56, 0x6b, 0xde, 0x95, 0x48, 0x88, 0x19, 0x19, 0x45, 0xb6, 0xb7, 0x6c, 0x22 }|VOID*|0x00000001\r
 \r
+  ## The mask is used to control VTd behavior.<BR><BR>\r
+  #  BIT0: Enable IOMMU during boot.\r
+  #  BIT1: Enable IOMMU on exit boot service.\r
+  # @Prompt The policy for VTd driver behavior.\r
+  gIntelSiliconPkgTokenSpaceGuid.PcdVTdPolicyPropertyMask|1|UINT8|0x00000002\r
+\r