17 years agoAdd comments for all file tagged with "ToolCode="DUMMY"".
klu2 [Mon, 13 Nov 2006 08:39:49 +0000 (08:39 +0000)]
Add comments for all file tagged with "ToolCode="DUMMY"".

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1939 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Fix EDKT461 [Framework Wizard] Can't change ModuleBuildOptions for MSA file
hche10x [Mon, 13 Nov 2006 08:11:53 +0000 (08:11 +0000)]
1. Fix EDKT461 [Framework Wizard] Can't change ModuleBuildOptions for MSA file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1938 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix build break error.
lgao4 [Mon, 13 Nov 2006 07:16:11 +0000 (07:16 +0000)]
Fix build break error.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1937 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Rename PcdPlatformBusSpeed to PcdGenericPlatformBusSpeed
vanjeff [Mon, 13 Nov 2006 07:11:58 +0000 (07:11 +0000)]
1. Rename PcdPlatformBusSpeed to PcdGenericPlatformBusSpeed
2. Added PcdComponentNameDisable and PcdDriverDiagnosticsDisable for UefiDriverModuleLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1936 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAdd comments about why pre-allocate 32 bytes for load 64bit dxe core and Add code...
lgao4 [Mon, 13 Nov 2006 07:10:54 +0000 (07:10 +0000)]
Add comments about why pre-allocate 32 bytes for load 64bit dxe core and Add code to make sure the stack is aligned to 16 bytes.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1935 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix Ffs sections encapsulation type update problem.
jlin16 [Mon, 13 Nov 2006 06:56:45 +0000 (06:56 +0000)]
Fix Ffs sections encapsulation type update problem.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1934 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoSet the stack alignment for X64 to 16 bytes per the X64 Calling Convention
mdkinney [Mon, 13 Nov 2006 06:44:15 +0000 (06:44 +0000)]
Set the stack alignment for X64 to 16 bytes per the X64 Calling Convention

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1933 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Fix EDKT468 Click some buttons in MSA header by wizard can not be saved properly
hche10x [Mon, 13 Nov 2006 05:56:01 +0000 (05:56 +0000)]
1. Fix EDKT468 Click some buttons in MSA header by wizard can not be saved properly

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1932 6f19259b-4bc3-4df7-8a09-765794883524

17 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1931 6f19259b...
xli24 [Mon, 13 Nov 2006 03:40:52 +0000 (03:40 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1931 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFor encapsulated sections in FFS layout in FpdBuildOptions, if no longer exists secti...
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1930 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix to pre-allocate 32bytes in stack to Load X64 Image.
lgao4 [Fri, 10 Nov 2006 09:01:25 +0000 (09:01 +0000)]
Fix to pre-allocate 32bytes in stack to Load X64 Image.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1929 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoadded help text for PcdPlatformBusSpeed
vanjeff [Fri, 10 Nov 2006 06:07:39 +0000 (06:07 +0000)]
added help text for PcdPlatformBusSpeed

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1928 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix build break from CPU_STACK_ALIGNMENT update.
mdkinney [Thu, 9 Nov 2006 22:18:41 +0000 (22:18 +0000)]
Fix build break from CPU_STACK_ALIGNMENT update.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1927 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAdd DxeIplX64Peim to the FPD file for the EdkModulePkg.fpd
mdkinney [Thu, 9 Nov 2006 22:17:53 +0000 (22:17 +0000)]
Add DxeIplX64Peim to the FPD file for the EdkModulePkg.fpd

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1926 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoUse CPU_STACK_ALIGNMENT to align stack allocated for used in the DXE Phase.
mdkinney [Thu, 9 Nov 2006 22:05:07 +0000 (22:05 +0000)]
Use CPU_STACK_ALIGNMENT to align stack allocated for used in the DXE Phase.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1925 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoUse CPU_STACK_ALIGNMENT to align stack allocated for used in the DXE Phase.
mdkinney [Thu, 9 Nov 2006 22:04:33 +0000 (22:04 +0000)]
Use CPU_STACK_ALIGNMENT to align stack allocated for used in the DXE Phase.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1924 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoRemove private definition for IPF stack alignment, and use public definition called...
mdkinney [Thu, 9 Nov 2006 22:03:11 +0000 (22:03 +0000)]
Remove private definition for IPF stack alignment, and use public definition called CPU_STACK_ALIGNMENT instead.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1923 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix ALIGN_POINTER() macro. The pointer (p) passed in must always be converted to...
mdkinney [Thu, 9 Nov 2006 22:01:56 +0000 (22:01 +0000)]
Fix ALIGN_POINTER() macro.  The pointer (p) passed in must always be converted to (UINTN) prior to performing math operations.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1922 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoRemove hard coded constant of 15, and use CPU_STACK_ALIGNMENT instead
mdkinney [Thu, 9 Nov 2006 22:00:40 +0000 (22:00 +0000)]
Remove hard coded constant of 15, and use CPU_STACK_ALIGNMENT instead

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1921 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAdd #define CPU_STACK_ALIGNMENT to the ProcessorBind.h for each of the supported...
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1920 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Fix a description issue
hche10x [Wed, 8 Nov 2006 09:14:20 +0000 (09:14 +0000)]
1. Fix a description issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1919 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix the invalid warning message when user add a module that does not support platform...
jlin16 [Wed, 8 Nov 2006 08:31:56 +0000 (08:31 +0000)]
Fix the invalid warning message when user add a module that does not support platform architectures to this platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1918 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoTo fix bug T400. If user select a Repackage=false package during creating a FAR,...
wuyizhong [Wed, 8 Nov 2006 08:22:05 +0000 (08:22 +0000)]
To fix bug T400. If user select a Repackage=false package during creating a FAR, give warning and a choose to continue or not.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1917 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoUpdate processor socket type definition to comply with SmBios 2.5 spec.
jtang12 [Wed, 8 Nov 2006 06:42:39 +0000 (06:42 +0000)]
Update processor socket type definition to comply with SmBios 2.5 spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1916 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Rename ReleaseNotes.txt to BuildNotes.txt.
hche10x [Wed, 8 Nov 2006 06:12:54 +0000 (06:12 +0000)]
1. Rename ReleaseNotes.txt to BuildNotes.txt.
2. Update BuildNotes.txt for some typo issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1915 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix a bug that can't add library MSA specific build option in multi-thread build...
wuyizhong [Wed, 8 Nov 2006 03:27:53 +0000 (03:27 +0000)]
Fix a bug that can't add library MSA specific build option in multi-thread build mode.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1914 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoBug fix for "Tiano BIOS needs to implement an automatic reboot when BIOS settings...
dtang2 [Wed, 8 Nov 2006 03:12:19 +0000 (03:12 +0000)]
Bug fix for "Tiano BIOS needs to implement an automatic reboot when BIOS settings are changed"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1913 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoProvide UI for generating Apriori file of PEI or DXE phase. The module order informat...
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1912 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix a bug that can't add library MSA specific build option.
wuyizhong [Wed, 8 Nov 2006 02:40:27 +0000 (02:40 +0000)]
Fix a bug that can't add library MSA specific build option.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1911 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoChanged definitions in Legacy16.h and LegacyBios.h to be compatible with CSM 0.96
jtang12 [Wed, 8 Nov 2006 02:10:54 +0000 (02:10 +0000)]
Changed definitions in Legacy16.h and LegacyBios.h to be compatible with CSM 0.96

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1910 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoadded PcdPlatformBusSpeed for BaseTimerLibLocalApic, thus this timer instance needn...
vanjeff [Tue, 7 Nov 2006 08:43:22 +0000 (08:43 +0000)]
added PcdPlatformBusSpeed for BaseTimerLibLocalApic, thus this timer instance needn't depend on types of CPUs

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1909 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoUpdate ParseInf to resolve different line separator between WINDOWS and LINUX (\r...
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1908 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoThis check-in add Pci23.h, Pci30.h, EfiPci.h and take those originally put in Pci22...
cwu11 [Tue, 7 Nov 2006 03:02:33 +0000 (03:02 +0000)]
This check-in add Pci23.h, Pci30.h, EfiPci.h and take those originally put in Pci22.h to their proper position in the new files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1907 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoBug fix for "Unplug U Disk during exploer using File Explorer cause tiano halt"
dtang2 [Tue, 7 Nov 2006 02:36:29 +0000 (02:36 +0000)]
Bug fix for "Unplug U Disk during exploer using File Explorer cause tiano halt"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1906 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAdd pcd declaration to EdkModulePkg and Nt32Pkg to fix the check-in break.
cwu11 [Mon, 6 Nov 2006 09:51:33 +0000 (09:51 +0000)]
Add pcd declaration to EdkModulePkg and Nt32Pkg to fix the check-in break.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1905 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoIa32/DivS64x64Remainder.c is not tool-chain specific, it supports both gcc and msft...
xli24 [Mon, 6 Nov 2006 08:13:19 +0000 (08:13 +0000)]
Ia32/DivS64x64Remainder.c is not tool-chain specific, it supports both gcc and msft, so the ToolChainFamily="MSFT" description is incorrect.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1904 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoCommented out the message for building "DUMMY" files.
jwang36 [Mon, 6 Nov 2006 05:52:10 +0000 (05:52 +0000)]
Commented out the message for building "DUMMY" files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1903 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoCoding Style
alfred [Mon, 6 Nov 2006 05:45:08 +0000 (05:45 +0000)]
Coding Style

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1902 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoChanged the tool chain error message to be more specific.
jwang36 [Mon, 6 Nov 2006 05:10:56 +0000 (05:10 +0000)]
Changed the tool chain error message to be more specific.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1901 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoThis check-in fixed the following bugs:
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
3. Windows XP Pro & XP HOME Fails to Install from Retail CD
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\ EdkModulePkg.spd)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1900 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFixed the build error.
jwang36 [Mon, 6 Nov 2006 03:55:24 +0000 (03:55 +0000)]
Fixed the build error.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1899 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAdded code to check that the definitions in target.txt are valid against tools_def.txt
jwang36 [Mon, 6 Nov 2006 03:09:32 +0000 (03:09 +0000)]
Added code to check that the definitions in target.txt are valid against tools_def.txt

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1898 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoRemove BaseIoIntrinsicLib reference in IPF and EBC modules
xli24 [Mon, 6 Nov 2006 02:26:11 +0000 (02:26 +0000)]
Remove BaseIoIntrinsicLib reference in IPF and EBC modules

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1897 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Fix EDKT463: When wizard new or clone a msa/spd/fpd, should follow these rules
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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1896 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoin x64Variable.dxs, Add the FTW protocol into variable's dependency expression, becau...
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1895 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoInclude EfiGpt.h, ElTorito.h, Mbr.h header files from MdePkg's Industry Starndard...
qwang12 [Fri, 3 Nov 2006 05:46:26 +0000 (05:46 +0000)]
Include EfiGpt.h, ElTorito.h, Mbr.h header files from MdePkg's Industry Starndard. and remove the private Gpt.h, Mbr.h and ElTorito.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1894 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAdd EfiGpt.h, ElTorito.h, Mbr.h header files which are for EFI GUID Partition table...
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1893 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAccording to MDE Library specification, BaseIoLibIntrinsic Module only supports IA32...
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1892 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago I fixed following bugs in EDKII.
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1891 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Add the fix for the following Bugs:
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
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

17 years ago1. Bug fix for "EDK GenericBds WriteBootToOsPerformanceData() uses AcpiReclaimMemory";
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"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1889 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoModify FrameworkModules editor for FPD files to meet the new PCD type adjust operatio...
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).
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.
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.
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)]

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

17 years agoFix the bug EDKT464. ? and * are regarded as wildcard char by OS. so we have to remov...
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1887 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoBug fix for "CapsuleUpdate does not handle memory lost correctly"
dtang2 [Thu, 2 Nov 2006 07:24:49 +0000 (07:24 +0000)]
Bug fix for "CapsuleUpdate does not handle memory lost correctly"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1886 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoChange #define bit(a) 1 << (a)
jtang12 [Thu, 2 Nov 2006 05:01:08 +0000 (05:01 +0000)]
Change #define bit(a) 1 << (a)
to     #define bit(a) (1 << (a))

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1885 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoChanged the rules to allow for partial installation and removal of fars.
bbahnsen [Wed, 1 Nov 2006 18:33:49 +0000 (18:33 +0000)]
Changed the rules to allow for partial installation and removal of fars.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1884 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoUpdated EFAPI definition for x64 GCC. Original thinking was to add optional EFIAPI...
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1883 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Fix EDKT418: Some buttons are not displayed correctly in Linux and MAC OS X operat...
hche10x [Wed, 1 Nov 2006 03:48:13 +0000 (03:48 +0000)]
1. Fix EDKT418: Some buttons are not displayed correctly in Linux and MAC OS X operating system

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1882 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Fix EDKT462: "Save/Save All' are still highlighted if close a msa/spd/fpd without...
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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1881 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix a bug for setting CLASSPATH environment variable. Remove space after '=' when...
wuyizhong [Wed, 1 Nov 2006 03:12:47 +0000 (03:12 +0000)]
Fix a bug for setting CLASSPATH environment variable. Remove space after '=' when set the CLASSPATH.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1880 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFixed Case of include bootmaint.h to correct BootMaint.h, also corrected the case...
lhauch [Tue, 31 Oct 2006 15:58:57 +0000 (15:58 +0000)]
Fixed Case of include bootmaint.h to correct BootMaint.h, also corrected the case in the comment fields

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1879 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFixed Case of include bootmaint.h to correct BootMaint.h, also corrected the case...
lhauch [Tue, 31 Oct 2006 15:58:02 +0000 (15:58 +0000)]
Fixed Case of include bootmaint.h to correct BootMaint.h, also corrected the case in the comment fields

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1878 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAdd extra APP Flag to preprocess asl file.
lgao4 [Tue, 31 Oct 2006 09:19:49 +0000 (09:19 +0000)]
Add extra APP Flag to preprocess asl file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1877 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoModify GenFvImage tool to record the largest alignment of all the FFS files in the...
lgao4 [Tue, 31 Oct 2006 08:28:18 +0000 (08:28 +0000)]
Modify GenFvImage tool to record the largest alignment of all the FFS files in the FV to FvHeader alignment attribute.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1876 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoEnhance DxeIpl module to support EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE ffs type,...
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1875 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAdd Fv option value edit support;
jlin16 [Tue, 31 Oct 2006 08:14:22 +0000 (08:14 +0000)]
Add Fv option value edit support;
Give hover hint why some Fv options are not editable.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1874 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix for linux builds
bbahnsen [Tue, 31 Oct 2006 06:45:53 +0000 (06:45 +0000)]
Fix for linux builds

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1873 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoChange Binary Fat module from fat.ffs to fat.efi
lgao4 [Tue, 31 Oct 2006 06:23:51 +0000 (06:23 +0000)]
Change Binary Fat module from fat.ffs to fat.efi

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1872 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Fix EDKT437 Save is to save current modified file, Save All is to save all modifie...
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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1871 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Fix EDKT447 Keep PPI/Protocol/GUID/PCD in find result even if they are only declar...
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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1870 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoCoding Style
alfred [Tue, 31 Oct 2006 02:27:39 +0000 (02:27 +0000)]
Coding Style
Phase 1
Eclipse Format
Comment for MigrationTool.java

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1869 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoRemove the reference to non-exist file.
qhuang8 [Tue, 31 Oct 2006 02:20:03 +0000 (02:20 +0000)]
Remove the reference to non-exist file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1868 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAdd build rules for asl files of acpi tables.
lgao4 [Tue, 31 Oct 2006 01:58:39 +0000 (01:58 +0000)]
Add build rules for asl files of acpi tables.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1867 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAdding tools for IPF development.
bbahnsen [Mon, 30 Oct 2006 16:43:48 +0000 (16:43 +0000)]
Adding tools for IPF development.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1865 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix several issues:
qhuang8 [Mon, 30 Oct 2006 11:57:37 +0000 (11:57 +0000)]
Fix several issues:
Misreplace library name
Support commenting out nonlocal header files for dxs FileArg.class
Add a new protocol Guid to database

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1864 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoTo fix tool StrGather.exe can not work correctly in Linux environment.
wuyizhong [Mon, 30 Oct 2006 09:17:24 +0000 (09:17 +0000)]
To fix tool StrGather.exe can not work correctly in Linux environment.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1863 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoDatabase singleton
alfred [Mon, 30 Oct 2006 08:31:11 +0000 (08:31 +0000)]
Database singleton

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1862 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. In event.c, a function's name is not spelled correctly, a typo.
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1861 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Fix EDKT451 It should append ".txt" to filename
hche10x [Mon, 30 Oct 2006 07:40:42 +0000 (07:40 +0000)]
1. Fix EDKT451 It should append ".txt" to filename

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1860 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Fix EDKT436 "Is PCD driver" only gives one value: PEI_PCD_DRIVER to user
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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1859 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAdd a unified migration database to replace the original Protocol, Ppi, Guid, Library...
qhuang8 [Mon, 30 Oct 2006 07:13:01 +0000 (07:13 +0000)]
Add a unified migration database to replace the original Protocol, Ppi, Guid, Library database.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1858 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoPreparative work to collect Library info from workspace dynamically.
qhuang8 [Mon, 30 Oct 2006 06:29:54 +0000 (06:29 +0000)]
Preparative work to collect Library info from workspace dynamically.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1857 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAfter identified as a High-Speed device, the port has been reset successfully, so...
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1856 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Fix EDKT457 Multiple FPD, MSA or SPD files in a directory is prohibited
hche10x [Mon, 30 Oct 2006 05:26:27 +0000 (05:26 +0000)]
1. Fix EDKT457 Multiple FPD, MSA or SPD files in a directory is prohibited
2. Fix EDKT450 Please don't allow user to set same Guid in clone operation

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1855 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoTo fix bug EDKT432. Add judge to avoid include flags twice.
wuyizhong [Mon, 30 Oct 2006 04:03:55 +0000 (04:03 +0000)]
To fix bug EDKT432. Add judge to avoid include flags twice.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1854 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoDelete useless file SpdPackageDefinitions.java;
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1853 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix one bugger in Image.c in PeiCore module to get the correct module name for debug...
lgao4 [Mon, 30 Oct 2006 03:26:07 +0000 (03:26 +0000)]
Fix one bugger in Image.c in PeiCore module to get the correct module name for debug output.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1852 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Fix EDKT441 After some modifications and refresh, there will show a dialog for...
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1851 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoPreparative work to collect Ppis, Guids & Protocols info from workspace dynamically.
qhuang8 [Fri, 27 Oct 2006 08:57:25 +0000 (08:57 +0000)]
Preparative work to collect Ppis, Guids & Protocols info from workspace dynamically.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1850 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoCoding Style - decomment
alfred [Fri, 27 Oct 2006 05:43:55 +0000 (05:43 +0000)]
Coding Style - decomment

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1849 6f19259b-4bc3-4df7-8a09-765794883524

17 years agofix .s comment
alfred [Fri, 27 Oct 2006 02:04:32 +0000 (02:04 +0000)]
fix .s comment

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1848 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoImplement a filelength function for GCC.
bbahnsen [Thu, 26 Oct 2006 18:14:11 +0000 (18:14 +0000)]
Implement a filelength function for GCC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1847 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1. Fix EDKT449 Close Build Preferences will crash wizard
hche10x [Thu, 26 Oct 2006 07:29:30 +0000 (07:29 +0000)]
1. Fix EDKT449 Close Build Preferences will crash wizard

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1844 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix a bug to convert EFI_PEI_HOB_POINTER to VOID*.
qhuang8 [Thu, 26 Oct 2006 02:32:47 +0000 (02:32 +0000)]
Fix a bug to convert EFI_PEI_HOB_POINTER to VOID*.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1843 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoChanged to format of the Package and Platform list outputs.
lhauch [Thu, 26 Oct 2006 00:17:32 +0000 (00:17 +0000)]
Changed to format of the Package and Platform list outputs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1842 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAdded quotes around the classpath option in script files
lhauch [Wed, 25 Oct 2006 20:34:36 +0000 (20:34 +0000)]
Added quotes around the classpath option in script files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1841 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFixed a usage spelling error
lhauch [Wed, 25 Oct 2006 17:09:16 +0000 (17:09 +0000)]
Fixed a usage spelling error

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1840 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoAdded the DbTools that will update the FrameworkDatabase.db file based on what is...
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1839 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoUpdate several MSA/Filenames which do not inconsistent with current source files.
wuyizhong [Wed, 25 Oct 2006 10:10:55 +0000 (10:10 +0000)]
Update several MSA/Filenames which do not inconsistent with current source files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1838 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix a bug in HobLib migration.
qhuang8 [Wed, 25 Oct 2006 08:36:35 +0000 (08:36 +0000)]
Fix a bug in HobLib migration.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1837 6f19259b-4bc3-4df7-8a09-765794883524