From nobody Tue Feb 10 01:33:18 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+52718+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52718+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1578020688; cv=none; d=zohomail.com; s=zohoarc; b=UAdZ2usIsvB2dvwAGajSyLMpcq/QG3PphOf69/1+KujrQlyV18IbfybTN1aiuQJS1/LCibx1Pe/mWnAgWfpbSoGhJClPB7Lgig6NbYq6tQjSFDeWsaWmwnMRVuwy/CRWP32dY2h3IFtYgop0ILpamGLMyXPU7mCRa2Cp5f4eBqo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578020688; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=tBP5qaxcGp8CsuKFjmYyTO0c4tHwzwZdyfD2R3hjWeo=; b=D6qeaWCoh0b4gXHOuc/xaQ3fXXySQVUQ1wbpqSIaZixCHJgrf5EaDbDksfdkBs4imajQE7AfnrVi4VpI/gFhKvsrKiPmbCLCnGSWzfAj2Thw8QXmqrzsQHqfbzyvMpR4omrjtCq+s8bTVf+4Fg2mvsKbzl8iyl6vFnYVbfneIXM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52718+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1578020688010350.86459057145555; Thu, 2 Jan 2020 19:04:48 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id Fg7mYY1788612xfvHyoi2v43; Thu, 02 Jan 2020 19:04:47 -0800 X-Received: from mga04.intel.com (mga04.intel.com []) by mx.groups.io with SMTP id smtpd.web09.3729.1578020675360032184 for ; Thu, 02 Jan 2020 19:04:47 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jan 2020 19:04:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,389,1571727600"; d="scan'208";a="252455188" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by fmsmga002.fm.intel.com with ESMTP; 02 Jan 2020 19:04:46 -0800 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Chao Zhang Subject: [edk2-devel] [PATCH 11/13] SecurityPkg: Move the Tcg2ConfigNvData.h to Include folder Date: Fri, 3 Jan 2020 11:04:25 +0800 Message-Id: <20200103030428.28176-12-zhichao.gao@intel.com> In-Reply-To: <20200103030428.28176-1-zhichao.gao@intel.com> References: <20200103030428.28176-1-zhichao.gao@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,zhichao.gao@intel.com X-Gm-Message-State: 2Zpxprms1rWULKjaeKUWDTI0x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1578020687; bh=WDFyqzghZJUUsltA4bVO7mgt4T8Jequ6e47k1p7UWDs=; h=Cc:Date:From:Reply-To:Subject:To; b=YUOmwLjMKHXSEqHipNMKUjpcxLy22XeowMpf7Id8UEQ8BuU8u6qdYKjNeXu1u5ZKZZD KCJK2Mbf9ub2wFLg+bLhXKCu3ltDW/lwuIcB/OYRkfMoqAkJ2qz9KUmhWBj+vqNdN6FhA BjieXv+ogUMSbjbxvx2fbDXQPDgJdOQQC5o= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2443 Tcg2ConfigNvData.h is useful for the tcg2 driver. So move it to the Include folder for other platform tcg2 instances to use. Cc: Jiewen Yao Cc: Jian J Wang Cc: Chao Zhang Signed-off-by: Zhichao Gao --- SecurityPkg/{Tcg/Tcg2Config =3D> Include}/Tcg2ConfigNvData.h | 2 +- SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr | 4 ++-- SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf | 3 +-- SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.h | 4 ++-- SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf | 3 +-- SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c | 4 ++-- SecurityPkg/Tcg/Tcg2Config/TpmDetection.c | 4 ++-- 7 files changed, 11 insertions(+), 13 deletions(-) rename SecurityPkg/{Tcg/Tcg2Config =3D> Include}/Tcg2ConfigNvData.h (94%) diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigNvData.h b/SecurityPkg/In= clude/Tcg2ConfigNvData.h similarity index 94% rename from SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigNvData.h rename to SecurityPkg/Include/Tcg2ConfigNvData.h index a91c052850..9c7850e865 100644 --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigNvData.h +++ b/SecurityPkg/Include/Tcg2ConfigNvData.h @@ -1,7 +1,7 @@ /** @file Header file for NV data structure definition. =20 -Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
+Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr b/SecurityPkg/Tcg/Tc= g2Config/Tcg2Config.vfr index 91a463997c..10a447239e 100644 --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr @@ -1,12 +1,12 @@ /** @file VFR file used by the TCG2 configuration component. =20 -Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
+Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 -#include "Tcg2ConfigNvData.h" +#include =20 formset guid =3D TCG2_CONFIG_FORM_SET_GUID, diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf b/SecurityPkg/Tcg= /Tcg2Config/Tcg2ConfigDxe.inf index 6417ab82a1..8e12c2ebc8 100644 --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf @@ -4,7 +4,7 @@ # By this module, user may select TPM device, clear TPM state, etc. # NOTE: This module is only for reference only, each platform should have= its own setup page. # -# Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -29,7 +29,6 @@ Tcg2ConfigImpl.h Tcg2Config.vfr Tcg2ConfigStrings.uni - Tcg2ConfigNvData.h Tcg2Internal.h =20 [Packages] diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.h b/SecurityPkg/Tcg/= Tcg2Config/Tcg2ConfigImpl.h index af542d52ef..860379605a 100644 --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.h +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.h @@ -2,7 +2,7 @@ The header file of HII Config Access protocol implementation of TCG2 configuration module. =20 -Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
+Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -35,7 +35,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 #include =20 -#include "Tcg2ConfigNvData.h" +#include #include "Tcg2Internal.h" =20 #define TCG2_PROTOCOL_VERSION_DEFAULT 0x0001 diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf b/SecurityPkg/Tcg= /Tcg2Config/Tcg2ConfigPei.inf index f2aa3234ad..416ad4610b 100644 --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf @@ -4,7 +4,7 @@ # This module initializes TPM device type based on variable and detection. # NOTE: This module is only for reference only, each platform should have= its own setup page. # -# Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -27,7 +27,6 @@ =20 [Sources] Tcg2ConfigPeim.c - Tcg2ConfigNvData.h Tcg2Internal.h TpmDetection.c =20 diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c b/SecurityPkg/Tcg/= Tcg2Config/Tcg2ConfigPeim.c index e0d0a207e1..5b55c8b406 100644 --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c @@ -1,7 +1,7 @@ /** @file The module entry point for Tcg2 configuration module. =20 -Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
+Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -22,7 +22,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include #include =20 -#include "Tcg2ConfigNvData.h" +#include #include "Tcg2Internal.h" =20 TPM_INSTANCE_ID mTpmInstanceId[] =3D TPM_INSTANCE_ID_LIST; diff --git a/SecurityPkg/Tcg/Tcg2Config/TpmDetection.c b/SecurityPkg/Tcg/Tc= g2Config/TpmDetection.c index eeaadc5e2f..67f76853e2 100644 --- a/SecurityPkg/Tcg/Tcg2Config/TpmDetection.c +++ b/SecurityPkg/Tcg/Tcg2Config/TpmDetection.c @@ -1,7 +1,7 @@ /** @file TPM1.2/dTPM2.0 auto detection. =20 -Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
+Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -19,7 +19,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include #include =20 -#include "Tcg2ConfigNvData.h" +#include #include "Tcg2Internal.h" =20 /** --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#52718): https://edk2.groups.io/g/devel/message/52718 Mute This Topic: https://groups.io/mt/69392341/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-