IntelSiliconPkg VTdPmrPei: Add PcdVTdPeiDmaBufferSize(S3)
Add PcdVTdPeiDmaBufferSize(S3) to replace the hard coded value TOTAL_DMA_BUFFER_SIZE and TOTAL_DMA_BUFFER_SIZE_S3 in IntelVTdPmrPei. Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# This package provides common open source Intel silicon modules.
|
||||
#
|
||||
# Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
# This program and the accompanying materials are licensed and made available under
|
||||
# the terms and conditions of the BSD License that accompanies this distribution.
|
||||
# The full text of the license may be found at
|
||||
@@ -61,3 +61,19 @@
|
||||
# @Prompt The policy for VTd driver behavior.
|
||||
gIntelSiliconPkgTokenSpaceGuid.PcdVTdPolicyPropertyMask|1|UINT8|0x00000002
|
||||
|
||||
## Declares VTd PEI DMA buffer size.<BR><BR>
|
||||
# When this PCD value is referred by platform to calculate the required
|
||||
# memory size for PEI (InstallPeiMemory), the PMR alignment requirement
|
||||
# needs be considered to be added with this PCD value for alignment
|
||||
# adjustment need by AllocateAlignedPages.
|
||||
# @Prompt The VTd PEI DMA buffer size.
|
||||
gIntelSiliconPkgTokenSpaceGuid.PcdVTdPeiDmaBufferSize|0x00400000|UINT32|0x00000003
|
||||
|
||||
## Declares VTd PEI DMA buffer size for S3.<BR><BR>
|
||||
# When this PCD value is referred by platform to calculate the required
|
||||
# memory size for PEI S3 (InstallPeiMemory), the PMR alignment requirement
|
||||
# needs be considered to be added with this PCD value for alignment
|
||||
# adjustment need by AllocateAlignedPages.
|
||||
# @Prompt The VTd PEI DMA buffer size for S3.
|
||||
gIntelSiliconPkgTokenSpaceGuid.PcdVTdPeiDmaBufferSizeS3|0x00200000|UINT32|0x00000004
|
||||
|
||||
|
Reference in New Issue
Block a user