jlin16 [Fri, 10 Nov 2006 09:13:10 +0000 (09:13 +0000)]
For encapsulated sections in FFS layout in FpdBuildOptions, if no longer exists sections in an encapsulated section, remove from UI that section to be consistent with contents in FPD file.
mdkinney [Thu, 9 Nov 2006 21:26:29 +0000 (21:26 +0000)]
Add #define CPU_STACK_ALIGNMENT to the ProcessorBind.h for each of the supported CPU architectures. This value is sizeof(UINTN) for IA-32, X64, and EBC. It is 16 bytes for IPF.
jlin16 [Wed, 8 Nov 2006 02:59:31 +0000 (02:59 +0000)]
Provide UI for generating Apriori file of PEI or DXE phase. The module order information are put into BuildOptions->UserExtensions with UserId as "APRIORI" and Identifier as "0" for PEI phase and "1" for DXE phase. Build tools will use these UserExtensions information to produce the Apriori files that will be placed into each FV image.
wuyizhong [Tue, 7 Nov 2006 03:03:06 +0000 (03:03 +0000)]
Update ParseInf to resolve different line separator between WINDOWS and LINUX (\r\n vs. \n). Update GenFvImage to resolve different file separator between WINDOWS and LINUX (\ vs. /). Add variable initialize for SymImageSize.
cwu11 [Mon, 6 Nov 2006 04:20:32 +0000 (04:20 +0000)]
This check-in fixed the following bugs:
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)
hche10x [Fri, 3 Nov 2006 08:42:47 +0000 (08:42 +0000)]
1. Fix EDKT463: When wizard new or clone a msa/spd/fpd, should follow these rules
2. Fix EDKT465: The content in memory should be reloaded when a modified msa/fpd/spd is closed without saving
mikewuping [Fri, 3 Nov 2006 07:33:44 +0000 (07:33 +0000)]
in x64Variable.dxs, Add the FTW protocol into variable's dependency expression, because FTW services are used by this driver. FTW dependency appears in IA32 dxs file and should also show up in X64 dxs file.
qwang12 [Fri, 3 Nov 2006 05:42:01 +0000 (05:42 +0000)]
Add EfiGpt.h, ElTorito.h, Mbr.h header files which are for EFI GUID Partition table, ElTorito bootable CD fomrat and Legacy Master Boot Record format into Industry Starndard.
xli24 [Fri, 3 Nov 2006 03:35:22 +0000 (03:35 +0000)]
According to MDE Library specification, BaseIoLibIntrinsic Module only supports IA32 and X64, but the MSA description says it supports IA32, X64, IPF, and EBC. Now IPF and EBC have been removed from description.
mikewuping [Fri, 3 Nov 2006 03:34:43 +0000 (03:34 +0000)]
I fixed following bugs in EDKII.
1. In AsmFuncs.asm, DebugSupport, Vect2Desc() function will use hardcode CS to fill the IDT. 20h for Ia32.If the system CS is changed by CPU driver, this driver can not work. System maybe crash.
2. In EBC, RegisterExceptionCallback() can not restore the environment and I add some enhancements.
3. In Image.c, CoreLoadImageCommon never return EFI_SECURITY_VIOLATION when SecurityStatus == EFI_SECURITY_VIOLATION.
4. In Variable.c, 1. There're additional unnecessary loop. All blocks will be gone through even if all the data has been written. We should check the "CurrWriteSize" to see if there's no more data to write, and stop the for loop immediately. 2 "if.else." can be merged to save lines of code.
5. in FvbServices,c, Checksum calculation error.
cwu11 [Fri, 3 Nov 2006 02:47:43 +0000 (02:47 +0000)]
1. Add the fix for the following Bugs:
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.
dtang2 [Fri, 3 Nov 2006 02:40:21 +0000 (02:40 +0000)]
1. Bug fix for "EDK GenericBds WriteBootToOsPerformanceData() uses AcpiReclaimMemory";
2. Bug fix for "[FT] in new BDS, add a long item in Boot Option will cause an empty line appear";
3. Bug fix for "In "SetBootNextValue" page,description does not display properly"
jlin16 [Thu, 2 Nov 2006 11:04:27 +0000 (11:04 +0000)]
Modify FrameworkModules editor for FPD files to meet the new PCD type adjust operation rules:
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.
jjin9 [Thu, 2 Nov 2006 08:55:15 +0000 (08:55 +0000)]
Fix the bug EDKT464. ? and * are regarded as wildcard char by OS. so we have to remove the support of /? and -?
To show the help info, ContextTool only support: -h, /h, --help, /help.
ajfish [Wed, 1 Nov 2006 18:26:48 +0000 (18:26 +0000)]
Updated EFAPI definition for x64 GCC. Original thinking was to add optional EFIAPI support to standard GCC. New thinking is to support EFIAPI as a seperate processor target. This is to reduce validation risk to the main line GCC. Update the definition and comments to match current thinking.
hche10x [Wed, 1 Nov 2006 03:17:20 +0000 (03:17 +0000)]
1. Fix EDKT462: "Save/Save All' are still highlighted if close a msa/spd/fpd without saving
2. Fix parts of EDKT423 After modification in text editor, save and save all firsthand, they are gray
lgao4 [Tue, 31 Oct 2006 08:22:25 +0000 (08:22 +0000)]
Enhance DxeIpl module to support EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE ffs type, and Enhance DxeIpl module decompression function to load the decompressed FvImage to the memory address aligned at FvImage required alignment.
hche10x [Tue, 31 Oct 2006 03:25:05 +0000 (03:25 +0000)]
1. Fix EDKT437 Save is to save current modified file, Save All is to save all modified files
2. Fix EDKT438 Close should save current modified file only, Close All should save all modified file
hche10x [Tue, 31 Oct 2006 03:04:31 +0000 (03:04 +0000)]
1. Fix EDKT447 Keep PPI/Protocol/GUID/PCD in find result even if they are only declared but not used
2. Fix EDKT448 Provide reload solution in Find Result
mikewuping [Mon, 30 Oct 2006 07:47:44 +0000 (07:47 +0000)]
1. In event.c, a function's name is not spelled correctly, a typo.
2. In Graphics.c, Memory Leak in Graphics Library, ConvertBmpToUgaBlt().
3. In HobLib.c, PeiBuildHobModule and three other functions do not zero hob reserved data area according to HOB spec v0.9.
4. In statuscode.h, the number of definition of EFI_SW_PEIM_PC_CAPSULE_START is equal to EFI_SW_PEIM_PC_CAPSULE_LOAD.
hche10x [Mon, 30 Oct 2006 07:32:19 +0000 (07:32 +0000)]
1. Fix EDKT436 "Is PCD driver" only gives one value: PEI_PCD_DRIVER to user
2. Fix EDKT444 Should not allow user to delete last "Supported Architecture" of a module
ljin6 [Mon, 30 Oct 2006 05:45:13 +0000 (05:45 +0000)]
After identified as a High-Speed device, the port has been reset successfully, so it doesn't need to be reset again in the later for Full-Speed or Low-Speed devices.
jlin16 [Mon, 30 Oct 2006 03:46:11 +0000 (03:46 +0000)]
Delete useless file SpdPackageDefinitions.java;
Change button texts to Add, Delete, Clear All.
Activate the Read-Only attribute checking for package editors.
hche10x [Mon, 30 Oct 2006 03:02:15 +0000 (03:02 +0000)]
1. Fix EDKT441 After some modifications and refresh, there will show a dialog for save all files. The operation of Cancel should not refresh wizard.
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.
lhauch [Wed, 25 Oct 2006 16:17:28 +0000 (16:17 +0000)]
Added the DbTools that will update the FrameworkDatabase.db file based on what is found after scanning the WORKSPACE environment - entries for new SPD and FPD files that are found during the scan are added, and the entries for SPD and FPD files that are listed in the database, but are not in the current workspace are deleted.
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.
hche10x [Tue, 24 Oct 2006 01:29:36 +0000 (01:29 +0000)]
1. Fix EDKT434: After Workspace is changed, Wizard should close all (desktop area and tree area) and refresh automatically.
2. Fix EDKT340: Search needs to provided a way to display Selected PCD information.
ajfish [Tue, 24 Oct 2006 01:20:09 +0000 (01:20 +0000)]
MAX_POOL_SIZE was hardcoded to 0xFFFFFF00. MAX_POOL_SIZE was replaced with MAX_ADDRESS and POOL_OVERHEAD. MAX_POOL_SIZE is used to prevent a large allocation from passing since adding the POOL_OVERHAD to the allocation (done internally) could cause the size to wrap around and be small. This would cause a return value of success that was an error.
ajfish [Tue, 24 Oct 2006 01:03:32 +0000 (01:03 +0000)]
Had an SVN issue deleting these now unused dirs with the check-in. I ported Runtime Driver to use MDE libraries and removed the need for processor specific code. The .c and .s files were removed in another commit.