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.31; helo=mga06.intel.com; envelope-from=yonghong.zhu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 605CB22487290 for ; Tue, 20 Mar 2018 01:21:18 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Mar 2018 01:27:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,334,1517904000"; d="scan'208";a="29541233" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 20 Mar 2018 01:27:47 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 20 Mar 2018 01:27:47 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 20 Mar 2018 01:27:46 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.235]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.129]) with mapi id 14.03.0319.002; Tue, 20 Mar 2018 16:27:44 +0800 From: "Zhu, Yonghong" To: "Gao, Liming" , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" , "Zhu, Yonghong" Thread-Topic: [Patch 2/3] DscSpecification: Add DefaultStores section to describe the default setting Thread-Index: AQHTvOFQW8gY8p3m+kencsPc8RE1hqPY0N1g Date: Tue, 20 Mar 2018 08:27:44 +0000 Message-ID: References: <1521175314-6672-1-git-send-email-liming.gao@intel.com> <1521175314-6672-3-git-send-email-liming.gao@intel.com> In-Reply-To: <1521175314-6672-3-git-send-email-liming.gao@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 2/3] DscSpecification: Add DefaultStores section to describe the default setting X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2018 08:21:18 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Yonghong Zhu =20 Best Regards, Zhu Yonghong -----Original Message----- From: Gao, Liming=20 Sent: Friday, March 16, 2018 12:42 PM To: edk2-devel@lists.01.org Cc: Kinney, Michael D ; Zhu, Yonghong Subject: [Patch 2/3] DscSpecification: Add DefaultStores section to describ= e the default setting Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao Cc: Michael Kinney Cc: Yonghong Zhu --- .../213_[defaultstores]_section_processing.md | 49 ++++++++++++ 3_edk_ii_dsc_file_format/310_pcd_sections.md | 86 ++++++++++++++++++= ++-- .../313_[defaultstores]_section.md | 60 +++++++++++++++ 3 files changed, 190 insertions(+), 5 deletions(-) create mode 100644 2_d= sc_overview/213_[defaultstores]_section_processing.md create mode 100644 3_edk_ii_dsc_file_format/313_[defaultstores]_section.md diff --git a/2_dsc_overview/213_[defaultstores]_section_processing.md b/2_d= sc_overview/213_[defaultstores]_section_processing.md new file mode 100644 index 0000000..88a7ad2 --- /dev/null +++ b/2_dsc_overview/213_[defaultstores]_section_processing.md @@ -0,0 +1,49 @@ + + +## 2.13 [DefaultStores] Section Processing + +The contents of this section are used to define DefaultStores names.=20 +Default store is UEFI HII concept. It is used to define HII default=20 +setting for the different store, such as standard default,=20 +manufacturing default. Platform can define the supported default store=20 +for DynamicHii/DynamicExHii PCD in this section, tag name to be used.=20 +This section is optional. By default, standard default will be used. Each = entry below the section header is of the form: + +`Number | word` + +The following is an example of a `[DefaultStores]` section: + +``` +[DefaultStores] + 0 | Standard # UEFI Standard default + 1 | Manufacturing # UEFI Manufacturing default +``` diff --git a/3_edk_ii_dsc_file_format/310_pcd_sections.md b/3_edk_ii_dsc_fi= le_format/310_pcd_sections.md index 18a243d..f79a0fd 100644 --- a/3_edk_ii_dsc_file_format/310_pcd_sections.md +++ b/3_edk_ii_dsc_file_format/310_pcd_sections.md @@ -1,7 +1,7 @@ + +## 3.13 [DefaultStores] Section + +The `[DefaultStores]` section is optional in all EDK II DSC files. + +#### Summary + +Entries may appear in any order. This section lists numeric mappings to=20 +the Default Store User Interface Name, only valid values from this list=20 +can be specified in the PcdsDynamicHii/PcdsDynamicExHii section. + +If this section is not specified, the parsing tools will assume=20 +standard default be applied in PcdsDynamicHii/PcdsDynamicExHii section. + +#### Prototype + +```c + ::=3D "[DefaultStores]" + {*} + ::=3D + ::=3D +``` + +#### Example + +```ini +[DefaultStores] + 0 | Standard # UEFI Standard default + 1 | Manufacturing # UEFI Manufacturing default +``` -- 2.8.0.windows.1