From nobody Mon Apr 29 03:01:53 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 1529633325005819.544032428567; Thu, 21 Jun 2018 19:08:45 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 1D60A210DF504; Thu, 21 Jun 2018 19:08:44 -0700 (PDT) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) (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 108BA210DF4FE for ; Thu, 21 Jun 2018 19:08:42 -0700 (PDT) Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jun 2018 19:08:42 -0700 Received: from shwdeopenpsi168.ccr.corp.intel.com ([10.239.158.129]) by orsmga007.jf.intel.com with ESMTP; 21 Jun 2018 19:08:40 -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.151; helo=mga17.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,255,1526367600"; d="scan'208";a="50943078" From: Yonghong Zhu To: edk2-devel@lists.01.org Date: Fri, 22 Jun 2018 10:08:38 +0800 Message-Id: <1529633318-24816-1-git-send-email-yonghong.zhu@intel.com> X-Mailer: git-send-email 2.6.1.windows.1 Subject: [edk2] [Patch V3] FDF Spec: clean up the and usage in spec 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" V3: recreate the patch base on latest version ::=3D {"PCD(" ")"} {} {} ::=3D {} {"$(NAMED_GUID)"} 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 --- 3_edk_ii_fdf_file_format/32_fdf_definition.md | 5 ++++ 3_edk_ii_fdf_file_format/36_[fv]_sections.md | 23 ++++++----------- 3_edk_ii_fdf_file_format/37_[capsule]_sections.md | 29 ++++++++----------= ---- .../38_[fmppayload]_sections.md | 4 +-- 3_edk_ii_fdf_file_format/39_[rule]_sections.md | 21 ++++++---------- README.md | 1 + 6 files changed, 33 insertions(+), 50 deletions(-) diff --git a/3_edk_ii_fdf_file_format/32_fdf_definition.md b/3_edk_ii_fdf_f= ile_format/32_fdf_definition.md index 9313f73..39d211d 100644 --- a/3_edk_ii_fdf_file_format/32_fdf_definition.md +++ b/3_edk_ii_fdf_file_format/32_fdf_definition.md @@ -136,10 +136,11 @@ The following are common definitions used by multiple= section types. ::=3D ? ? ? ::=3D ::=3D {"0"} {(1-9) [(0-9)]*} ["." (0-9)+] ::=3D {} {(0-9)+ "." (0-99)} + ::=3D {"PCD(" ")"} {}= {} ::=3D {} {} ::=3D "-" "-" "-" "= -" ::=3D ::=3D @@ -172,10 +173,11 @@ The following are common definitions used by multiple= section types. {"0x01"} {"1"} ::=3D {"FALSE"} {"false"} {"False"} {"0x0"} {"0x00"= } {"0"} ::=3D {} {} ::=3D (A-Z)(A-Z0-9_)* ::=3D "$(" ")" + ::=3D ::=3D "." "." ::=3D "." ::=3D ::=3D ::=3D @@ -240,10 +242,13 @@ expression must be encapsulated in open "(" and close= ")" parenthesis. ********** **Note:** Comments may appear anywhere within a FDF file, provided they fo= llow the rules that a comment may not be enclosed within Section headers, and t= hat in line comments must appear at the end of a statement. ********** +**Note:** The PCD item used in `` must be defined as Fixed= AtBuild +type and VOID* datum type, and the size of the PCD must be 16 bytes. +********** =20 ### Parameter Definitions =20 **_Expression_** =20 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 633b4a7..2f79d1c 100644 --- a/3_edk_ii_fdf_file_format/36_[fv]_sections.md +++ b/3_edk_ii_fdf_file_format/36_[fv]_sections.md @@ -1,9 +1,9 @@