From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.43; helo=mga05.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 8BFFC21F3040F for ; Fri, 29 Sep 2017 22:19:47 -0700 (PDT) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP; 29 Sep 2017 22:23:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,456,1500966000"; d="scan'208";a="157776964" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga006.fm.intel.com with ESMTP; 29 Sep 2017 22:23:03 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 29 Sep 2017 22:23:03 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.213]) with mapi id 14.03.0319.002; Sat, 30 Sep 2017 13:23:00 +0800 From: "Gao, Liming" To: "Zhu, Yonghong" , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" , "Shaw, Kevin W" Thread-Topic: [Patch] FDF Spec: Per PI 1.6 to support FV extended header contain FV used size Thread-Index: AQHTOCIcc4mlkNr+hEKlC8Ds3gTpK6LM6AzA Date: Sat, 30 Sep 2017 05:23:00 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1671C6@SHSMSX104.ccr.corp.intel.com> References: <1506579696-16236-1-git-send-email-yonghong.zhu@intel.com> In-Reply-To: <1506579696-16236-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] FDF Spec: Per PI 1.6 to support FV extended header contain FV used size X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Sep 2017 05:19:47 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: Zhu, Yonghong >Sent: Thursday, September 28, 2017 2:22 PM >To: edk2-devel@lists.01.org >Cc: Gao, Liming ; Kinney, Michael D >; Shaw, Kevin W >Subject: [Patch] FDF Spec: Per PI 1.6 to support FV extended header contai= n >FV used size > >Cc: Liming Gao >Cc: Michael Kinney >Cc: Kevin W Shaw >Contributed-under: TianoCore Contribution Agreement 1.1 >Signed-off-by: Yonghong Zhu >--- > 2_fdf_design_discussion/25_[fv]_sections.md | 2 +- > 3_edk_ii_fdf_file_format/36_[fv]_sections.md | 2 ++ > README.md | 1 + > 3 files changed, 4 insertions(+), 1 deletion(-) > >diff --git a/2_fdf_design_discussion/25_[fv]_sections.md >b/2_fdf_design_discussion/25_[fv]_sections.md >index 82755dd..7b50017 100644 >--- a/2_fdf_design_discussion/25_[fv]_sections.md >+++ b/2_fdf_design_discussion/25_[fv]_sections.md >@@ -57,11 +57,11 @@ previously defined sections within another FV section. >This eliminates the need > to re-specify components or modules in multiple places. When the >`FvNameString` > entry is present and set to TRUE in an `[FV]` section, the tools will gen= erate > an `FvNameString` entry in FV EXT header using the `UiFvName`. > > This section also specifies how to define content for PI FV Extensions wh= ich >-provides a mapping between a GUID and an OEM file type. The size of >+provides a mapping for a GUID, an OEM file type and FV used size. The siz= e >of > `EFI_FIRMWARE_VOLUME_EXT_HEADER` and >`EFI_FIRMWARE_VOLUME_EXT_ENTRY` sizes will > be calculated based on content, while the >`EFI_FIRMWARE_VOLUME_EXT_ENTRY` type > must be defined by the platform integrator based on the PI specification, > volume 3 The content is limited to the contents of a binary file specifie= d by a > FILE statement or a data array specified by a `DATA` statement. >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 f2d34cf..b4f292a 100644 >--- a/3_edk_ii_fdf_file_format/36_[fv]_sections.md >+++ b/3_edk_ii_fdf_file_format/36_[fv]_sections.md >@@ -74,10 +74,11 @@ Conditional statements may be used anywhere within >this section. > ::=3D [] > [] > [] > [] > [] >+ [] > [] > [] > [] > * > * >@@ -108,10 +109,11 @@ Conditional statements may be used anywhere >within this section. > [ "READ_DISABLED_CAP" ] > [ "READ_STATUS" ] > [ "ERASE_POLARITY" {"0"} {"1"} ] > ::=3D "FileSystemGuid" > ::=3D "FvNameGuid" >+ ::=3D "FvUsedSizeEnable" > ::=3D "FvNameString" > ::=3D "APRIORI" "PEI" > "{" > * > * >diff --git a/README.md b/README.md >index 71c92fc..4e15a73 100644 >--- a/README.md >+++ b/README.md >@@ -207,5 +207,6 @@ Copyright (c) 2006-2017, Intel Corporation. All rights >reserved. > | | [#478](https://bugzilla.tianocore.org/show_bug.cgi?id=3D47= 8) FDF >spec: extend the to support and > | | > | | [#353](https://bugzilla.tianocore.org/show_bug.cgi?id=3D35= 3) Build >spec: Allow nested includes in DSC and FDF files = | >| > | | [#520](https://bugzilla.tianocore.org/show_bug.cgi?id=3D52= 0) FDF >spec: Update Precedence of PCD Values = | >| > | | [#585](https://bugzilla.tianocore.org/show_bug.cgi?id=3D58= 5) FDF >Spec: Update the FDF_SPECIFICATION version to 0x0001001B or 1.27 >| | > | | 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 = | | >-- >2.6.1.windows.1