summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Library/PeiTcg2PhysicalPresenceLib
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2016-11-23 16:38:33 +0800
committerStar Zeng <star.zeng@intel.com>2016-11-28 14:50:42 +0800
commite92ddda2b547f0b952935abaf44fd72e97dbf755 (patch)
treec93854fc182ff21021a7981a68b61c06b5f8c527 /SecurityPkg/Library/PeiTcg2PhysicalPresenceLib
parent6a82ceb69093cf77ac36dff63225c05f764999ca (diff)
downloadedk2-e92ddda2b547f0b952935abaf44fd72e97dbf755.tar.gz
edk2-e92ddda2b547f0b952935abaf44fd72e97dbf755.tar.bz2
edk2-e92ddda2b547f0b952935abaf44fd72e97dbf755.zip
SecurityPkg Tcg2PPLib: Support BlockSID related actions
Then Tcg2PhysicalPresenceLib can support TCG2 PP TPM2, storage management and vendor specific requests according to Physical Presence Interface Specification. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Chao Zhang <chao.b.zhang@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'SecurityPkg/Library/PeiTcg2PhysicalPresenceLib')
-rw-r--r--SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.c b/SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.c
index 81fe1b4d2c..e190718907 100644
--- a/SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.c
+++ b/SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.c
@@ -3,7 +3,7 @@
This library will get TPM 2.0 physical presence information.
-Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2015 - 2016, 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
which accompanies this distribution. The full text of the license may be found at
@@ -53,7 +53,7 @@ Tcg2PhysicalPresenceLibGetManagementFlags (
&PpiFlags
);
if (EFI_ERROR (Status)) {
- PpiFlags.PPFlags = TCG2_BIOS_TPM_MANAGEMENT_FLAG_DEFAULT;
+ PpiFlags.PPFlags = TCG2_BIOS_TPM_MANAGEMENT_FLAG_DEFAULT | TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_DEFAULT;
}
return PpiFlags.PPFlags;
}