diff options
author | Eric Dong <eric.dong@intel.com> | 2016-11-23 16:26:36 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2016-11-23 16:30:03 +0800 |
commit | 252b891b2b49dddad5e3850146719d14c22f1c60 (patch) | |
tree | 7e430a6a78bcc4284d8e14c2e3379b0350b998a6 /SecurityPkg/Tcg/TcgSmm/TcgSmm.c | |
parent | 67bb14259baaf2237b81bcbf2568517b3310b294 (diff) | |
download | edk2-252b891b2b49dddad5e3850146719d14c22f1c60.tar.gz edk2-252b891b2b49dddad5e3850146719d14c22f1c60.tar.bz2 edk2-252b891b2b49dddad5e3850146719d14c22f1c60.zip |
Revert old "Enable BlockSid related PP actions" patch series.
New solution for this issue will be provided.
This reverts commits from d1947ce509d745f32db6b7fecc03dc9c778b9350
to bda034c34deea6eb43edcef28018a9ace8f04637.
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'SecurityPkg/Tcg/TcgSmm/TcgSmm.c')
-rw-r--r-- | SecurityPkg/Tcg/TcgSmm/TcgSmm.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/SecurityPkg/Tcg/TcgSmm/TcgSmm.c b/SecurityPkg/Tcg/TcgSmm/TcgSmm.c index 743b3ebbe1..589bab694b 100644 --- a/SecurityPkg/Tcg/TcgSmm/TcgSmm.c +++ b/SecurityPkg/Tcg/TcgSmm/TcgSmm.c @@ -55,7 +55,6 @@ PhysicalPresenceCallback ( EFI_PHYSICAL_PRESENCE PpData;
EFI_PHYSICAL_PRESENCE_FLAGS Flags;
BOOLEAN RequestConfirmed;
- UINT32 StorageFlags;
//
// Get the Physical Presence variable
@@ -151,11 +150,6 @@ PhysicalPresenceCallback ( return EFI_SUCCESS;
}
- //
- // Get the Physical Presence storage flags
- //
- StorageFlags = TcgPhysicalPresenceStorageLibReturnStorageFlags();
-
RequestConfirmed = FALSE;
switch (mTcgNvs->PPRequestUserConfirm) {
@@ -207,23 +201,6 @@ PhysicalPresenceCallback ( //
mTcgNvs->PhysicalPresence.ReturnCode = TCG_PP_GET_USER_CONFIRMATION_NOT_IMPLEMENTED;
return EFI_SUCCESS;
-
- case TCG2_PHYSICAL_PRESENCE_ENABLE_BLOCK_SID:
- if ((StorageFlags & TCG_BIOS_STORAGE_MANAGEMENT_FLAG_PP_REQUIRED_FOR_ENABLE_BLOCK_SID) == 0) {
- RequestConfirmed = TRUE;
- }
- break;
-
- case TCG2_PHYSICAL_PRESENCE_DISABLE_BLOCK_SID:
- if ((StorageFlags & TCG_BIOS_STORAGE_MANAGEMENT_FLAG_PP_REQUIRED_FOR_DISABLE_BLOCK_SID) == 0) {
- RequestConfirmed = TRUE;
- }
- break;
-
- case TCG2_PHYSICAL_PRESENCE_SET_PP_REQUIRED_FOR_ENABLE_BLOCK_SID_FUNC_TRUE:
- case TCG2_PHYSICAL_PRESENCE_SET_PP_REQUIRED_FOR_DISABLE_BLOCK_SID_FUNC_TRUE:
- break;
-
default:
break;
}
|