From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 088A5202E53E5 for ; Thu, 28 Jun 2018 20:03:58 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Jun 2018 20:03:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,285,1526367600"; d="scan'208";a="53121692" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga008.jf.intel.com with ESMTP; 28 Jun 2018 20:03:58 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 28 Jun 2018 20:03:46 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 28 Jun 2018 20:03:46 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.87]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.82]) with mapi id 14.03.0319.002; Fri, 29 Jun 2018 11:03:43 +0800 From: "Gao, Liming" To: "Zhu, Yonghong" , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" , "Shaw, Kevin W" Thread-Topic: [edk2] [Patch V2] FDF Spec: support varstore template generation with a [FV] section Thread-Index: AQHUDqhmu3zw32meCk+6JfHZAGpChaR2jjzw Date: Fri, 29 Jun 2018 03:03:42 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E29FCC4@SHSMSX104.ccr.corp.intel.com> References: <1530166939-27936-1-git-send-email-yonghong.zhu@intel.com> In-Reply-To: <1530166939-27936-1-git-send-email-yonghong.zhu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch V2] FDF Spec: support varstore template generation with a [FV] section X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2018 03:03:59 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Yonghong Zhu >Sent: Thursday, June 28, 2018 2:22 PM >To: edk2-devel@lists.01.org >Cc: Kinney, Michael D ; Shaw, Kevin W >; Gao, Liming >Subject: [edk2] [Patch V2] FDF Spec: support varstore template generation >with a [FV] section > >Add format to support varstore template generation with a dedicated >[FV] section. > >Code bug: https://bugzilla.tianocore.org/show_bug.cgi?id=3D932 > >Cc: Liming Gao >Cc: Michael Kinney >Cc: Kevin W Shaw >Contributed-under: TianoCore Contribution Agreement 1.1 >Signed-off-by: Yonghong Zhu >--- > 3_edk_ii_fdf_file_format/36_[fv]_sections.md | 13 +++++++++++++ > README.md | 1 + > 2 files changed, 14 insertions(+) > >diff --git a/3_edk_ii_fdf_file_format/36_[fv]_sections.md >b/3_edk_ii_fdf_file_format/36_[fv]_sections.md >index 9c77df9..7796c37 100644 >--- a/3_edk_ii_fdf_file_format/36_[fv]_sections.md >+++ b/3_edk_ii_fdf_file_format/36_[fv]_sections.md >@@ -73,10 +73,14 @@ Conditional statements may be used anywhere within >this section. > ::=3D [] > ::=3D [] > [] > [] > [] >+ [] >+ [] >+ [] >+ [] > [] > [] > [] > [] > [] >@@ -109,10 +113,14 @@ Conditional statements may be used anywhere >within this section. > [ "READ_DISABLED_CAP" ] > [ "READ_STATUS" ] > [ "WEAK_ALIGNMENT" ] > [ "ERASE_POLARITY" {"0"} {"1"} ] > ::=3D "FileSystemGuid" > >+ ::=3D "VariableSignatureGuid" > >+ ::=3D "VariabeRegionSize" >+ ::=3D "FtwWorkingSpaceSize" > >+ ::=3D "FtwSpareSpaceSize" > ::=3D "FvNameGuid" > ::=3D "FvUsedSizeEnable" > ::=3D "FvNameString" > ::=3D "APRIORI" "PEI" > "{" >@@ -279,10 +287,15 @@ Conditional statements may be used anywhere >within this section. > ::=3D {"before"} {"after"} > ::=3D "SECTION" [] >"SMM_DEPEX_EXP" > "{" [] "}" > ``` > >+********** >+**Note:** The `VariableSignatureGuid` and `VariabeRegionSize` must exist >when >+`FileSystemGuid` value is same as FFF12B8D-7696-4C8B-A9852747075B4F50. >+********** >+ > #### Restrictions > > **_Filename_** > > For BINARY ONLY content (`UEFI_DRIVER` and `UEFI_APPLICATION` .efi files) >the >diff --git a/README.md b/README.md >index 05b3b7a..cd489ee 100644 >--- a/README.md >+++ b/README.md >@@ -212,5 +212,6 @@ Copyright (c) 2006-2017, Intel Corporation. All rights >reserved. > | | Per PI 1.6 to extend FFS alignment to 16M >| | > | | Per PI 1.6 to support FV extended header entry contain the= used size >of FV = | | > | | Add !error statement section >| | > | | clean up the and usage in spe= c >| | > | | document WEAK_ALIGNMENT attribute >| | >+| | support varstore template generation with a [FV] section >| | >-- >2.6.1.windows.1 > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel