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.24; helo=mga09.intel.com; envelope-from=bob.c.feng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 4B0E621959CB2 for ; Wed, 27 Feb 2019 18:11:28 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Feb 2019 18:11:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,421,1544515200"; d="scan'208";a="119675234" Received: from shwdepsi1121.ccr.corp.intel.com ([10.239.158.47]) by orsmga006.jf.intel.com with ESMTP; 27 Feb 2019 18:11:26 -0800 From: "Feng, Bob C" To: edk2-devel@lists.01.org Cc: Bob Feng , Liming Gao Date: Thu, 28 Feb 2019 10:11:17 +0800 Message-Id: <20190228021117.21740-1-bob.c.feng@intel.com> X-Mailer: git-send-email 2.20.1.windows.1 MIME-Version: 1.0 Subject: [Patch] Document: Update Dsc spec to all empty value for HIIPcd X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2019 02:11:28 -0000 Content-Transfer-Encoding: 8bit https://bugzilla.tianocore.org/show_bug.cgi?id=1466 Update Dsc spec to all empty value for HIIPcd. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng Cc: Liming Gao --- 2_dsc_overview/29_pcd_sections.md | 4 ++-- 3_edk_ii_dsc_file_format/310_pcd_sections.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/2_dsc_overview/29_pcd_sections.md b/2_dsc_overview/29_pcd_sections.md index 791125f..d84d2f4 100644 --- a/2_dsc_overview/29_pcd_sections.md +++ b/2_dsc_overview/29_pcd_sections.md @@ -230,11 +230,11 @@ example: `[PcdsDynamicHii.common.Sku1]` While the format for content of this section is as follows, note that the backslash character is used here to indicate the continuation of the line: -`PcdTokenSpaceGuidCName.PcdCName|VariableName|VariableGuid|VariableOffset[|HiiDefaultValue[|HiiAttrubte]]` +`PcdTokenSpaceGuidCName.PcdCName|VariableName|VariableGuid|VariableOffset[|[HiiDefaultValue][|HiiAttrubte]]` For VOID* PCDs, the HiiDefaultValue will be a pointer; specifying the optional HiiDefaultValue has no meaning. The optional HII Attribute entry is a comma separated list of attributes as @@ -340,11 +340,11 @@ Specifying a `SKUID` for an HII PCD selection is optional, for example: `[PcdsDynamicExHii.common.Sku1]` While the format for content of this section is as follows, note that the backslash character is used here to indicate the continuation of the line: -`PcdTokenSpaceGuidCName.PcdCName|VariableName|VariableGuid|VariableOffset[|HiiDefaultValue]` +`PcdTokenSpaceGuidCName.PcdCName|VariableName|VariableGuid|VariableOffset[|[HiiDefaultValue]]` The optional HII Attribute entry is a comma separated list of attributes as described in Table 9 HII Attributes. **Note:** The VariableName field in the HII format PCD entry must not be an empty string. diff --git a/3_edk_ii_dsc_file_format/310_pcd_sections.md b/3_edk_ii_dsc_file_format/310_pcd_sections.md index f9f1359..f982d60 100644 --- a/3_edk_ii_dsc_file_format/310_pcd_sections.md +++ b/3_edk_ii_dsc_file_format/310_pcd_sections.md @@ -503,11 +503,11 @@ sections of the DSC file. ::= {} {} [ ] ::= ::= {} {} ::= [] ::= - ::= [ ] + ::= [] [ ] ::= ::= if (pcddatumtype == "BOOLEAN"): {} {} elif (pcddatumtype == "UINT8"): {} {} @@ -721,11 +721,11 @@ sections of the DSC file. ::= {} {} [ ] ::= ::= {} {} ::= [] ::= - ::= [ ] + ::= [] [ ] ::= ::= if (pcddatumtype == "BOOLEAN"): {} {} elif (pcddatumtype == "UINT8"): {} {} -- 2.20.1.windows.1