From nobody Sun Apr 28 09:54:49 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1506579723847635.9473793551159; Wed, 27 Sep 2017 23:22:03 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 2B99821EC8D10; Wed, 27 Sep 2017 23:18:48 -0700 (PDT) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 4A57F20945BD7 for ; Wed, 27 Sep 2017 23:18:47 -0700 (PDT) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2017 23:21:49 -0700 Received: from shwdeopenpsi168.ccr.corp.intel.com ([10.239.158.121]) by orsmga004.jf.intel.com with ESMTP; 27 Sep 2017 23:21:38 -0700 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=yonghong.zhu@intel.com; receiver=edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,448,1500966000"; d="scan'208";a="133093585" From: Yonghong Zhu To: edk2-devel@lists.01.org Date: Thu, 28 Sep 2017 14:21:36 +0800 Message-Id: <1506579696-16236-1-git-send-email-yonghong.zhu@intel.com> X-Mailer: git-send-email 2.6.1.windows.1 Subject: [edk2] [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: , Cc: Michael Kinney , Kevin W Shaw , Liming Gao MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Cc: Liming Gao Cc: Michael Kinney Cc: Kevin W Shaw Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu Reviewed-by: Liming Gao --- 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_dis= cussion/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 `FvNameSt= ring` entry is present and set to TRUE in an `[FV]` section, the tools will gene= rate an `FvNameString` entry in FV EXT header using the `UiFvName`. =20 This section also specifies how to define content for PI FV Extensions whi= ch -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 size= 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 specified= 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_fi= le_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 th= is 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=3D478= ) FDF spec: extend the to support and | | | | [#353](https://bugzilla.tianocore.org/show_bug.cgi?id=3D353= ) Build spec: Allow nested includes in DSC and FDF files = | | | | [#520](https://bugzilla.tianocore.org/show_bug.cgi?id=3D520= ) FDF spec: Update Precedence of PCD Values = | | | | [#585](https://bugzilla.tianocore.org/show_bug.cgi?id=3D585= ) 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 = | | --=20 2.6.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel