From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 34BC481EEA for ; Tue, 15 Nov 2016 22:01:25 -0800 (PST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP; 15 Nov 2016 22:01:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,646,1473145200"; d="scan'208";a="1085863501" Received: from shwde7156.ccr.corp.intel.com ([10.239.158.52]) by fmsmga002.fm.intel.com with ESMTP; 15 Nov 2016 22:01:24 -0800 From: Eric Dong To: edk2-devel@lists.01.org Date: Wed, 16 Nov 2016 14:00:39 +0800 Message-Id: <1479276049-34308-1-git-send-email-eric.dong@intel.com> X-Mailer: git-send-email 2.6.4.windows.1 Subject: [Patch 00/10] Enable BlockSid related PP actions. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2016 06:01:25 -0000 TCG physical presence defined storage related actions and Opal solution need to use these actions. This patch series enable these actions and used in the opal solution. Eric Dong (10): SecurityPkg: Add definition for Physical Presence storage flag. SecurityPkg: Add header file for TcgPhysicalPresenceStorageLib. SecurityPkg: Add DxeTcgPhysicalPresenceStorageLib. SecurityPkg: Add SmmTcgPhysicalPresenceStorageLib. SecurityPkg DxeTcg2PhysicalPresenceLib: Enable Storage actions. SecurityPkg DxeTcgPhysicalPresenceLib: Enable Storage actions. SecurityPkg SmmTcg2PhysicalPresenceLib: Enable Storage actions. SecurityPkg TcgSmm: Enable Storage actions. SecurityPkg OpalPasswordDxe: Use PP actions to enable BlockSID. SecurityPkg Tcg2Config: Remove the empty options. .../Include/Guid/TcgPhysicalPresenceStorageData.h | 35 ++ .../Library/TcgPhysicalPresenceStorageLib.h | 152 +++++++ .../DxeTcg2PhysicalPresenceLib.c | 25 +- .../DxeTcg2PhysicalPresenceLib.inf | 1 + .../DxeTcgPhysicalPresenceLib.c | 19 +- .../DxeTcgPhysicalPresenceLib.inf | 4 +- .../DxeTcg2PhysicalPresenceStorage.c | 504 +++++++++++++++++++++ .../DxeTcg2PhysicalPresenceStorage.h | 88 ++++ .../DxeTcgPhysicalPresenceStorage.c | 501 ++++++++++++++++++++ .../DxeTcgPhysicalPresenceStorage.h | 88 ++++ .../DxeTcgPhysicalPresenceStorageLib.c | 390 ++++++++++++++++ .../DxeTcgPhysicalPresenceStorageLib.inf | 67 +++ .../DxeTcgPhysicalPresenceStorageLib.uni | 18 + .../DxeTcgPhysicalPresenceStorageLibInternal.h | 31 ++ .../DxeTcgPhysicalPresenceStorageLibStrings.uni | 31 ++ .../SmmTcg2PhysicalPresenceLib.c | 65 ++- .../SmmTcg2PhysicalPresenceLib.inf | 4 +- .../SmmTcgPhysicalPresenceStorageLib.c | 181 ++++++++ .../SmmTcgPhysicalPresenceStorageLib.inf | 46 ++ .../SmmTcgPhysicalPresenceStorageLib.uni | 18 + SecurityPkg/SecurityPkg.dec | 85 ++-- SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c | 25 +- SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.h | 4 +- SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalHii.c | 143 ++++-- .../Opal/OpalPasswordDxe/OpalHiiFormStrings.uni | 20 +- .../Tcg/Opal/OpalPasswordDxe/OpalHiiPrivate.h | 6 +- .../Tcg/Opal/OpalPasswordDxe/OpalPasswordDxe.inf | 1 + .../Tcg/Opal/OpalPasswordDxe/OpalPasswordForm.vfr | 25 +- SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr | 3 - SecurityPkg/Tcg/TcgSmm/TcgSmm.c | 23 + SecurityPkg/Tcg/TcgSmm/TcgSmm.h | 2 + SecurityPkg/Tcg/TcgSmm/TcgSmm.inf | 1 + 32 files changed, 2477 insertions(+), 129 deletions(-) create mode 100644 SecurityPkg/Include/Guid/TcgPhysicalPresenceStorageData.h create mode 100644 SecurityPkg/Include/Library/TcgPhysicalPresenceStorageLib.h create mode 100644 SecurityPkg/Library/DxeTcgPhysicalPresenceStorageLib/DxeTcg2PhysicalPresenceStorage.c create mode 100644 SecurityPkg/Library/DxeTcgPhysicalPresenceStorageLib/DxeTcg2PhysicalPresenceStorage.h create mode 100644 SecurityPkg/Library/DxeTcgPhysicalPresenceStorageLib/DxeTcgPhysicalPresenceStorage.c create mode 100644 SecurityPkg/Library/DxeTcgPhysicalPresenceStorageLib/DxeTcgPhysicalPresenceStorage.h create mode 100644 SecurityPkg/Library/DxeTcgPhysicalPresenceStorageLib/DxeTcgPhysicalPresenceStorageLib.c create mode 100644 SecurityPkg/Library/DxeTcgPhysicalPresenceStorageLib/DxeTcgPhysicalPresenceStorageLib.inf create mode 100644 SecurityPkg/Library/DxeTcgPhysicalPresenceStorageLib/DxeTcgPhysicalPresenceStorageLib.uni create mode 100644 SecurityPkg/Library/DxeTcgPhysicalPresenceStorageLib/DxeTcgPhysicalPresenceStorageLibInternal.h create mode 100644 SecurityPkg/Library/DxeTcgPhysicalPresenceStorageLib/DxeTcgPhysicalPresenceStorageLibStrings.uni create mode 100644 SecurityPkg/Library/SmmTcgPhysicalPresenceStorageLib/SmmTcgPhysicalPresenceStorageLib.c create mode 100644 SecurityPkg/Library/SmmTcgPhysicalPresenceStorageLib/SmmTcgPhysicalPresenceStorageLib.inf create mode 100644 SecurityPkg/Library/SmmTcgPhysicalPresenceStorageLib/SmmTcgPhysicalPresenceStorageLib.uni -- 2.6.4.windows.1