diff options
author | Jiewen Yao <jiewen.yao@intel.com> | 2017-09-04 09:49:55 +0800 |
---|---|---|
committer | Jiewen Yao <jiewen.yao@intel.com> | 2017-09-07 21:35:04 +0800 |
commit | 0d12b733060930df03fca00ae1228b565481a3aa (patch) | |
tree | 5e866a9a3be4976d0a61d48c1756fa500903fcfb /IntelSiliconPkg | |
parent | 89796c69d9fdaa9bd13d37b6b1687df5e0104ed5 (diff) | |
download | edk2-0d12b733060930df03fca00ae1228b565481a3aa.zip edk2-0d12b733060930df03fca00ae1228b565481a3aa.tar.gz edk2-0d12b733060930df03fca00ae1228b565481a3aa.tar.bz2 |
IntelSiliconPkg/dec: Add VTd policy PCD
BIT0: This is to control if a platform wants to enable VTd
based protection during boot.
BIT1: This is to control if a platform wants to keep VTd
enabled at ExitBootService.
The default configuration is BIT0:1, BIT1:0.
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'IntelSiliconPkg')
-rw-r--r-- | IntelSiliconPkg/IntelSiliconPkg.dec | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/IntelSiliconPkg/IntelSiliconPkg.dec b/IntelSiliconPkg/IntelSiliconPkg.dec index 663a232..2fc6379 100644 --- a/IntelSiliconPkg/IntelSiliconPkg.dec +++ b/IntelSiliconPkg/IntelSiliconPkg.dec @@ -44,3 +44,9 @@ # { 0x56752da9, 0xde6b, 0x4895, 0x88, 0x19, 0x19, 0x45, 0xb6, 0xb7, 0x6c, 0x22 }
gIntelSiliconPkgTokenSpaceGuid.PcdIntelGraphicsVbtFileGuid|{ 0xa9, 0x2d, 0x75, 0x56, 0x6b, 0xde, 0x95, 0x48, 0x88, 0x19, 0x19, 0x45, 0xb6, 0xb7, 0x6c, 0x22 }|VOID*|0x00000001
+ ## The mask is used to control VTd behavior.<BR><BR>
+ # BIT0: Enable IOMMU during boot.
+ # BIT1: Enable IOMMU on exit boot service.
+ # @Prompt The policy for VTd driver behavior.
+ gIntelSiliconPkgTokenSpaceGuid.PcdVTdPolicyPropertyMask|1|UINT8|0x00000002
+
|