a. Add a module with PCD type Dyn.
If this PCD not exists in platform,
ModuleSA.PcdType is set as Dyn (choose one from spd).
Else
ModuleSA.PcdType is set as existing type ?
(Give a error message if this module pcd can NOT be set as existing type. And Pcd will not be added for this module into platform.)
If PCD type is determined to be Dyn.
Add PCD to DynamicPcdBuildDefinitions if it not exists there.
SkuId = 0;
SkuInfo.value = MSA default | SPD default | give default based on DatumType.
If DatumType == void*
Set ModuleSA.PcdMaxDatumSize;
b. Add a module with PCD type DynEx.
If this PCD not exists in platform,
ModuleSA.PcdType is set as DynEx.
Else
ModuleSA.PcdType is set as existing type ?
(Give a error message if this module pcd can NOT be set as existing type. And Pcd will not be added for this module into platform.)
Add PCD to DynamicPcdBuildDefinitions if it not exists there.
SkuId = 0;
SkuInfo.value = MSA default | SPD default | give default based on DatumType.
If DatumType == void*
Set ModuleSA.PcdMaxDatumSize;
c. Add a module with PCD type FixedAtBuild, PIM, FF
If this PCD not exists in platform,
ModuleSA.PcdType is set as FaB | PIM | FF.
Else
ModuleSA.PcdType is set as existing type ?
(Give a error message if this module pcd can NOT be set as existing type. And Pcd will not be added for this module into platform..)
ModuleSA.PcdValue = MSA default | SPD default | give default based on DatumType.
If DatumType == void*
Set ModuleSA.PcdMaxDatumSize;
d. Edit ModuleSA.PcdType
Get the corresponding MSA.PcdType in MSA file for this ModuleSA.
If MSA.PcdType == Dyn.
ModuleSA.PcdType could be [(valid Pcd types in SPD)]
Else
ModuleSA.PcdType can NOT be changed.
1) Change ModuleSa.PcdType from Dynamic. to [valid Pcd types in SPD]:
All same PCDs in FrameworkModules are changed to one of valid Pcd types in SPD according to user selection.
Check in whole platform other ModuleSA for the same pcd, if the corresponding MSAes for other ModuleSAes pcd can NOT accept the new type, give error message.
Keep old ModuleSA.PcdValue.
Remove this PCD in DynamicPcdBuildDefintion.
2) Change ModuleSa.PcdType from [FaBor PIM] to Dynamic, DynEx.:
All same PCDs in FrameworkModules are changed to Dynamic | DynEx.
Check in whole platform other ModuleSA for the same pcd, if the corresponding MSAes for other ModuleSAes pcd can NOT accept the new type, give error message.
Keep old ModuleSA.PcdValue?
Add one new dynamic PCD in DynamicPcdBuildDefintion.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1888 6f19259b-4bc3-4df7-8a09-765794883524
2. Fix EDKT442 After some modifications and refresh, there will show a dialog for save all files. The operation of erasing this dialog should be regarded as Cancel, not refresh wizard.
3. Fix EDKT455 The style of menu should be unified
4. Fix EDKT439 After some modifications and exit, there will show a dialog for save all files. The operation of erasing this dialog should be regard as Cancel, not exit wizard.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1851 6f19259b-4bc3-4df7-8a09-765794883524
Modified AllResource to include only files that are not compiled.
Added the MSA entries to the SPD file for all modules that are compiled, both Java and C.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1839 6f19259b-4bc3-4df7-8a09-765794883524
2. Fix EDKT430 Private in [MSA->BootMode->BootModeAttributes->Uasge] should be removed
3. Fix EDKT431 Tool in [MSA->Library Class Definition->Support Module Type] should be removed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1819 6f19259b-4bc3-4df7-8a09-765794883524
b. add sync. operation for modifying dynamic pcd values to set the new value to all pcd entries in ModuleSA.
c. Make line wrap for SPD, FPD header copyright text area.
d. give warning of default section added when user add new Sections under FPD build options.
e. not generating the empty build targets when user creating a new entry for build options.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1804 6f19259b-4bc3-4df7-8a09-765794883524
2. MSA <ModuleBuildOptions>/<Options> 3. FPD <BuildOptions>/<Options> 4. FPD <FrameworkModules>/<ModuleSaBuildOptions>/<Options>. And we do not support "ABC", "XYZ" such format from now on, please only use the simple format like ABC XYZ.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1790 6f19259b-4bc3-4df7-8a09-765794883524