[Patch] Document: Add PCD_DYNAMIC_AS_DYNAMICEX to DSC defines section


Bob Feng
 

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1688

DynamicEx Pcd supports binary module build well.
It's helpful to add a new build option for build tool
to convert all Dynamic Pcd to DynamicEx Pcd.

Add a new key word in defines section for this function.

Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
---
2_dsc_overview/23_[defines]_section_processing.md | 1 +
3_edk_ii_dsc_file_format/35_[defines]_section.md | 1 +
README.md | 1 +
3 files changed, 3 insertions(+)

diff --git a/2_dsc_overview/23_[defines]_section_processing.md b/2_dsc_over=
view/23_[defines]_section_processing.md
index ad0702b..c0f24ca 100644
--- a/2_dsc_overview/23_[defines]_section_processing.md
+++ b/2_dsc_overview/23_[defines]_section_processing.md
@@ -115,10 +115,11 @@ item is required.
| `VPD_TOOL_GUID` | Optional | Registry Format GUID =
| When this element is present, the build process will be interrupte=
d during the AutoGen stage in order to call an external program, named by G=
UID that must also be defined in the Conf/tools_def.txt file using a tool c=
ode name of VPDTOOL. Refer to the EDK II Build specification for additional=
information. =
|=0D
| `PCD_INFO_GENERATION` | Optional | TRUE or FALSE =
| If present, and set to TRUE, this flag will generate PCD informati=
on in the Pcd Database. =
=
=
=
|=0D
| `PCD_VAR_CHECK_GENERATION` | Optional | TRUE or FALSE =
| If present and set to TRUE, this flag will generate the variable v=
alidation table binary file in the build output FV floder. If not present r=
o set to FALSE, then the binary file will not be generated. =
=
=
|=0D
| `PREBUILD` | Optional | String of script with argu=
ments | If present, build tool will call the script of this statement to e=
xecute. =
=
=
=
|=0D
| `POSTBUILD` | Optional | String of script with argu=
ments | If present, build tool will call the script of this statement to e=
xecute. =
=
=
=
|=0D
+| `PCD_DYNAMIC_AS_DYNAMICEX` | Optional | TRUE or FALSE =
| If present, and set to TRUE, the build tool will convert Dynamci P=
cd to DynamicEx Pcd. =
=
=
=
|=0D
=0D
[^1]: WORKSPACE refers to the combination of the directories specified in =
the=0D
WORKSPACE system environment variable and the PACKAGES_PATH system environ=
ment=0D
variable.=0D
=0D
diff --git a/3_edk_ii_dsc_file_format/35_[defines]_section.md b/3_edk_ii_ds=
c_file_format/35_[defines]_section.md
index ea2077d..6745cb8 100644
--- a/3_edk_ii_dsc_file_format/35_[defines]_section.md
+++ b/3_edk_ii_dsc_file_format/35_[defines]_section.md
@@ -123,10 +123,11 @@ The `!include` statement may be used in a `[Defines]`=
section.
[<TS> "ISO_LANGUAGES" <Eq> <Iso6392List> <EOL>] [<TS>=0D
"TIME_STAMP_FILE" <Eq> <Filename> <EOL>]=0D
[<TS> "VPD_TOOL_GUID" <Eq> <RegistryFormatGUID>=0D
<EOL>]=0D
[<TS> "PCD_VAR_CHECK_GENERATION" <Eq> <TF> <EOL>]=0D
+ [<TS> "PCD_DYNAMIC_AS_DYNAMICEX" <Eq> <TF> <EOL>]=0D
[<TS> "PREBUILD" <Eq> <Script> <EOL>]=0D
[<TS> "POSTBUILD" <Eq> <Script> <EOL>]=0D
[<TS> <AddressStmts>]=0D
<IncludeStatement>*=0D
<MacroDefinition>*=0D
diff --git a/README.md b/README.md
index 42febaf..b3c18fe 100644
--- a/README.md
+++ b/README.md
@@ -194,5 +194,6 @@ Copyright (c) 2006-2017, Intel Corporation. All rights =
reserved.
| | Add structure PCD field value assignment syntax =
=
=
=
| |=0D
| | Add !error statement section =
=
=
=
| |=0D
| |[#1110](https://bugzilla.tianocore.org/show_bug.cgi?id=3D111=
0) Extend exclamation statement's keyword to case-insensitive =
=
=
| |=0D
| 1.29 | [#1453](https://bugzilla.tianocore.org/show_bug.cgi?id=3D1453=
) Update DSC spec to remove EDK related contents =
=
=
=
| Mar 2019 =
|=0D
| 1.30 | [#1952](https://bugzilla.tianocore.org/show_bug.cgi?id=3D1952=
) add HOST_APPLIACTION ModuleTpye =
=
=
| July 2019 |=0D
+| | [#1688](https://bugzilla.tianocore.org/show_bug.cgi?id=3D16=
88) In sections 2.3 and 3.5, added new [Defines] boolean entry PCD_DYNAMIC_=
AS_DYNAMICEX =
=
| =
|=0D
--=20
2.29.1.windows.1