From nobody Sun Dec 22 14:53:45 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; dmarc=fail(p=none dis=none) header.from=intel.com Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1530079079337181.7493007440504; Tue, 26 Jun 2018 22:57:59 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 5EC4C21A02937; Tue, 26 Jun 2018 22:57:58 -0700 (PDT) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (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 594D621B02845 for ; Tue, 26 Jun 2018 22:57:57 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2018 22:57:57 -0700 Received: from shwdeopenpsi168.ccr.corp.intel.com ([10.239.158.129]) by fmsmga001.fm.intel.com with ESMTP; 26 Jun 2018 22:57:56 -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.88; helo=mga01.intel.com; envelope-from=yonghong.zhu@intel.com; receiver=edk2-devel@lists.01.org X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,277,1526367600"; d="scan'208";a="67635279" From: Yonghong Zhu To: edk2-devel@lists.01.org Date: Wed, 27 Jun 2018 13:57:51 +0800 Message-Id: <1530079071-29056-1-git-send-email-yonghong.zhu@intel.com> X-Mailer: git-send-email 2.6.1.windows.1 Subject: [edk2] [Patch] 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: , 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" 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 | 15 +++++++++++++++ README.md | 1 + 2 files changed, 16 insertions(+) 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 2f79d1c..cb3698d 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 [] [] [] [] + [] + [] + [] + [] [] [] [] [] [] @@ -108,10 +112,14 @@ Conditional statements may be used anywhere within th= is section. [ "READ_ENABLED_CAP" ] [ "READ_DISABLED_CAP" ] [ "READ_STATUS" ] [ "ERASE_POLARITY" {"0"} {"1"} ] ::=3D "FileSystemGuid" + ::=3D "VariableSignatureGuid" + ::=3D "VariabeRegionSize" + ::=3D "FtwWorkingSpaceSize" + ::=3D "FtwSpareSpaceSize" ::=3D "FvNameGuid" ::=3D "FvUsedSizeEnable" ::=3D "FvNameString" ::=3D "APRIORI" "PEI" "{" @@ -278,10 +286,17 @@ Conditional statements may be used anywhere within th= is section. ::=3D {"before"} {"after"} ::=3D "SECTION" [] "SMM_DEPEX= _EXP" "{" [] "}" ``` =20 +********** +**Note:** The `VariableSignatureGuid` and `VariabeRegionSize` must exist w= hen +`FileSystemGuid` value is same as FFF12B8D-7696-4C8B-A9852747075B4F50. +The `VariableSignatureGuid`, `VariabeRegionSize` and `FtwWorkingSpaceSize`= must +exist when `FileSystemGuid` value is same as 9e58292b-7c68-497d-a0ce6500fd= 9f1b95. +********** + #### Restrictions =20 **_Filename_** =20 For BINARY ONLY content (`UEFI_DRIVER` and `UEFI_APPLICATION` .efi files) = the diff --git a/README.md b/README.md index c2767fb..d5a31b1 100644 --- a/README.md +++ b/README.md @@ -211,5 +211,6 @@ Copyright (c) 2006-2017, Intel Corporation. All rights = reserved. | 1.28 | Update version to 1.28 = = | March 2018 | | | 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 spec= = | | +| | support varstore template generation with a [FV] section = = | | --=20 2.6.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel