From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=217.140.101.70; helo=foss.arm.com; envelope-from=jagadeesh.ujja@arm.com; receiver=edk2-devel@lists.01.org Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by ml01.01.org (Postfix) with ESMTP id D5B6E21962301 for ; Mon, 10 Dec 2018 22:21:58 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7BDBD15AD; Mon, 10 Dec 2018 22:21:58 -0800 (PST) Received: from usa.arm.com (a075555-lin.blr.arm.com [10.162.2.152]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E5DC93F6A8; Mon, 10 Dec 2018 22:21:56 -0800 (PST) From: Jagadeesh Ujja To: edk2-devel@lists.01.org, liming.gao@intel.com, chao.b.zhang@intel.com, leif.lindholm@linaro.org Date: Tue, 11 Dec 2018 11:51:32 +0530 Message-Id: <1544509302-1000-3-git-send-email-jagadeesh.ujja@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544509302-1000-1-git-send-email-jagadeesh.ujja@arm.com> References: <1544509302-1000-1-git-send-email-jagadeesh.ujja@arm.com> Subject: [RFC PATCH v4 02/12] MdePkg: Add a PCD to enable secure storage of variables X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 X-List-Received-Date: Tue, 11 Dec 2018 06:21:59 -0000 Add a flag that allows selecting the variables to be stored on a secure or a non-secure non-volatile memory. In case of secure storage of variables, the variable service will be implemented by code executing within the Standalone MM. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jagadeesh Ujja --- MdePkg/MdePkg.dec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 712bd46..dc2277d 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -2073,6 +2073,11 @@ # @Prompt Fixed Debug Message Print Level. gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0xFFFFFFFF|UINT32|0x30001016 + ## This flag is used to enable the Secure Storage for the Variables. + # TRUE - Secure variable storage supported by Standalone MM code. + # FALSE - Non secure variable storage. + gEfiMdePkgTokenSpaceGuid.PcdStandaloneMmVariableEnabled|FALSE|BOOLEAN|0x30001017 + [PcdsFixedAtBuild,PcdsPatchableInModule] ## Indicates the maximum length of unicode string used in the following # BaseLib functions: StrLen(), StrSize(), StrCmp(), StrnCmp(), StrCpy(), StrnCpy()

-- 2.7.4