Reviewed-by: Yonghong Zhu <[email protected]> Best Regards, Zhu Yonghong
-----Original Message----- From: Gao, Liming Sent: Tuesday, August 07, 2018 5:47 PM To: [email protected] Cc: Zhu, Yonghong <[email protected]> Subject: [Patch] DSC Spec: Update SkuId and DefaultStore name as C name style Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <[email protected]> Cc: Yonghong Zhu <[email protected]> --- 3_edk_ii_dsc_file_format/310_pcd_sections.md | 15 +++++---------- 3_edk_ii_dsc_file_format/313_[defaultstores]_section.md | 3 +-- 3_edk_ii_dsc_file_format/35_[defines]_section.md | 2 +- 3_edk_ii_dsc_file_format/37_[skuids]_section.md | 3 +-- 4 files changed, 8 insertions(+), 15 deletions(-) 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 1879923..741a620 100644 --- a/3_edk_ii_dsc_file_format/310_pcd_sections.md +++ b/3_edk_ii_dsc_file_format/310_pcd_sections.md @@ -138,8 +138,7 @@ file. <attribs> ::= <attrs> ["," <TS> "PcdsFeatureFlag" <attrs>]* <attrs> ::= "." <arch> ["." <SkuIds>] <SkuIdS> ::= <Keyword> [<FS> <Keyword>]* -<Keyword> ::= <UiName> -<UiName> ::= <Word> +<Keyword> ::= <CName> <PcdEntry> ::= <TS> <PcdName> <FS> <PcdValue> <EOL> <PcdValue> ::= {<BoolType>} {<MACROVAL>} {<Expression>} ``` @@ -219,8 +218,7 @@ fields that are separated by the pipe character, "|". <attribs> ::= <attrs> ["," <TS> "PcdsFixedAtBuild" <attrs>]* <attrs> ::= "." <arch> ["." <SkuIds>] <SkuIdS> ::= <Keyword> [<FS> <Keyword>]* -<Keyword> ::= <UiName> -<UiName> ::= <Word> +<Keyword> ::= <CName> <FabStatements> ::= {<MacroDefinition>} {<IncludeStatement>} {<PcdEntry>} {<PcdFieldEntry>} <PcdEntry> ::= <TS> <PcdName> [<FS> <PcdValue>] <EOL> <PcdValue> ::= if (pcddatumtype == "BOOLEAN"): @@ -327,8 +325,7 @@ of the DSC file. <attrs>]* <attrs> ::= "." <arch> ["." <SkuIds>] <SkuIdS> ::= <Keyword> [<FS> <Keyword>]* -<Keyword> ::= <UiName> -<UiName> ::= <Word> +<Keyword> ::= <CName> <PimStatements> ::= {<MacroDefinition>} {<IncludeStatement>} {<PcdEntry>} {<PcdFieldEntry>} <PcdEntry> ::= <TS> <PcdName> [<FS> <PcdValue>] <EOL> <PcdValue> ::= if (pcddatumtype == "BOOLEAN"): @@ -466,8 +463,7 @@ sections of the DSC file. <phattrs> ::= "." <arch> ["." <SkuIds>]["." <DefaultStore>] <SkuIdS> ::= <Keyword> [<FS> <Keyword>]* <DefaultStore> ::= <Keyword> -<Keyword> ::= <UiName> -<UiName> ::= <Word> +<Keyword> ::= <CName> <MinEntry> ::= <PcdName> [<FS> <PcdValue>] <EOL> <PcdValue> ::= if (pcddatumtype == "BOOLEAN"): {<BoolType>} {<Expression>} @@ -681,8 +677,7 @@ sections of the DSC file. <phattrs> ::= "." <arch> ["." <SkuIds>]["." <DefaultStore>] <SkuIdS> ::= <Keyword> [<FS> <Keyword>]* <DefaultStore> ::= <Keyword> -<Keyword> ::= <UiName> -<UiName> ::= <Word> +<Keyword> ::= <CName> <MinEntry> ::= <PcdName> [<FS> <PcdValue>] <EOL> <PcdValue> ::= if (pcddatumtype == "BOOLEAN"): {<BoolType>} {<Expression>} diff --git a/3_edk_ii_dsc_file_format/313_[defaultstores]_section.md b/3_edk_ii_dsc_file_format/313_[defaultstores]_section.md index 614ed01..23dec7d 100644 --- a/3_edk_ii_dsc_file_format/313_[defaultstores]_section.md +++ b/3_edk_ii_dsc_file_format/313_[defaultstores]_section.md @@ -47,8 +47,7 @@ be applied in PcdsDynamicHii/PcdsDynamicExHii section. ```c <DefaultStore> ::= "[DefaultStores]" <EOL> {<Statement>*} -<Statement> ::= <TS> <Number> <FS> <UiName> <EOL> -<UiName> ::= <Word> +<Statement> ::= <TS> <Number> <FS> <CName> <EOL> ``` #### Example diff --git a/3_edk_ii_dsc_file_format/35_[defines]_section.md b/3_edk_ii_dsc_file_format/35_[defines]_section.md index 3961e4c..7337415 100644 --- a/3_edk_ii_dsc_file_format/35_[defines]_section.md +++ b/3_edk_ii_dsc_file_format/35_[defines]_section.md @@ -131,7 +131,7 @@ The `!include` statement may be used in a `[Defines]` section. <IncludeStatement>* <MacroDefinition>* <SpecValue> ::= {<HexVersion>} {(0-9)+ "." (0-9)+} -<SkuUiName> ::= <Word> [<FS> <Word>]* +<SkuUiName> ::= <CName> [<FS> <CName>]* <ArchList> ::= <arch> [<FS> <arch>]* <AddressStmts> ::= "FIX_LOAD_TOP_MEMORY_ADDRESS" <Eq> <Address> <EOL> <Address> ::= <NumValUint64> diff --git a/3_edk_ii_dsc_file_format/37_[skuids]_section.md b/3_edk_ii_dsc_file_format/37_[skuids]_section.md index 8e70b33..4c4d990 100644 --- a/3_edk_ii_dsc_file_format/37_[skuids]_section.md +++ b/3_edk_ii_dsc_file_format/37_[skuids]_section.md @@ -52,8 +52,7 @@ The `!include` file can only contain an ASCII (not Unicode) list of ```c <SkuId> ::= "[SkuIds]" <EOL> {<Statement>*} {<IncludeStatement>} -<Statement> ::= <TS> <Number> <FS> <UiName> [<FS> <UiName>] <EOL> -<UiName> ::= <Word> +<Statement> ::= <TS> <Number> <FS> <CName> [<FS> <CName>] <EOL> ``` #### Example -- 2.8.0.windows.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

