#\r
# This package provides common open source Intel silicon modules.\r
#\r
-# Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials are licensed and made available under\r
-# the terms and conditions of the BSD License that accompanies this distribution.\r
-# The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php.\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
##\r
\r
[Protocols]\r
gEdkiiPlatformVTdPolicyProtocolGuid = { 0x3d17e448, 0x466, 0x4e20, { 0x99, 0x9f, 0xb2, 0xe1, 0x34, 0x88, 0xee, 0x22 }}\r
\r
+[PcdsFixedAtBuild, PcdsPatchableInModule]\r
+ ## Error code for VTd error.<BR><BR>\r
+ # EDKII_ERROR_CODE_VTD_ERROR = (EFI_IO_BUS_UNSPECIFIED | (EFI_OEM_SPECIFIC | 0x00000000)) = 0x02008000<BR>\r
+ # @Prompt Error code for VTd error.\r
+ gIntelSiliconPkgTokenSpaceGuid.PcdErrorCodeVTdError|0x02008000|UINT32|0x00000005\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
## The mask is used to control VTd behavior.<BR><BR>\r
# BIT0: Enable IOMMU during boot (If DMAR table is installed in DXE. If VTD_INFO_PPI is installed in PEI.)\r
# BIT1: Enable IOMMU when transfer control to OS (ExitBootService in normal boot. EndOfPEI in S3)\r
+ # BIT2: Force no IOMMU access attribute request recording before DMAR table is installed.\r
# @Prompt The policy for VTd driver behavior.\r
gIntelSiliconPkgTokenSpaceGuid.PcdVTdPolicyPropertyMask|1|UINT8|0x00000002\r
\r
+ ## Declares VTd PEI DMA buffer size.<BR><BR>\r
+ # When this PCD value is referred by platform to calculate the required\r
+ # memory size for PEI (InstallPeiMemory), the PMR alignment requirement\r
+ # needs be considered to be added with this PCD value for alignment\r
+ # adjustment need by AllocateAlignedPages.\r
+ # @Prompt The VTd PEI DMA buffer size.\r
+ gIntelSiliconPkgTokenSpaceGuid.PcdVTdPeiDmaBufferSize|0x00400000|UINT32|0x00000003\r
+\r
+ ## Declares VTd PEI DMA buffer size for S3.<BR><BR>\r
+ # When this PCD value is referred by platform to calculate the required\r
+ # memory size for PEI S3 (InstallPeiMemory), the PMR alignment requirement\r
+ # needs be considered to be added with this PCD value for alignment\r
+ # adjustment need by AllocateAlignedPages.\r
+ # @Prompt The VTd PEI DMA buffer size for S3.\r
+ gIntelSiliconPkgTokenSpaceGuid.PcdVTdPeiDmaBufferSizeS3|0x00200000|UINT32|0x00000004\r
+\r