Removing C Pre-Processing from VfrCompile Tool.
Now the input file for VfrCompile tool should be *.i file which was preprocessed by compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1964 6f19259b-4bc3-4df7-8a09-765794883524
1. Pci22.h EFI_LEGACY_EXPANSION_ROM_HEADER definition error
(MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h)
2. SetVariable() with DataSize=0xffffffff will cause system hang
(EdkModulePkg\Universal\Variable\RuntimeDxe\Variable.c)
3. Windows XP Pro & XP HOME Fails to Install from Retail CD
(EdkModulePkg\Bus\Pci\Pcibus\Dxe\PciResourceSupport.c)
4. Pci22.h header file needs to add some recent type
(MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h)
5. Fix issues when ODD cannot boot from Sil0680 PCI-IDE controller
(EdkModulePkg\Bus\Pci\PciBus\Dxe\PciOptionromSupport.c;
EdkModulePkg\Bus\Pci\PciBus\Dxe\PciBus.msa;
EdkModulePkg\ EdkModulePkg.spd)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1900 6f19259b-4bc3-4df7-8a09-765794883524
i) BMM_FAKE_NV_DATA definition inconsistent in bm.vfr and BootMain.h
(EdkNt32Pkg\Dxe\PlatformBdsDxe\Generic\BootMaint\BootMain.h)
ii) Change some files’ EOL(end of line) format to DOS. Some file use even mixed style EOL.
(EdkModulePkg\Universal\DevicePath\Dxe\DevicePath.c, DevicepathFromText.c, DevicePathUtilities.c;
EdkModulePkg\Universal\Disk\DiskIo\Dxe\diskIo.c; MdePkg\Library\UefiLib\UefiNotTiano.c)
iii) Change some illegal characters in many files, the problem is mainly connected with people using Chinese Input method to input symbols such as ' " - ?, etc. Multiple files are influenced.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1890 6f19259b-4bc3-4df7-8a09-765794883524
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