people/mcb30/edk2.git
15 years agoAdded Options and UserExtensions sections to ModuleBuildOptions, replacing the lax...
lhauch [Tue, 17 Oct 2006 19:21:31 +0000 (19:21 +0000)]
Added Options and UserExtensions sections to ModuleBuildOptions, replacing the lax processing

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1777 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFix a typo in lib name.
qhuang8 [Tue, 17 Oct 2006 10:23:43 +0000 (10:23 +0000)]
Fix a typo in lib name.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1776 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoRemove some unuseful imports.
qouyang [Tue, 17 Oct 2006 09:41:22 +0000 (09:41 +0000)]
Remove some unuseful imports.
amend some incorrect use of EdkLog.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1775 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFix the EDKT414, the old value should be replaced with new value.
jjin9 [Tue, 17 Oct 2006 08:29:13 +0000 (08:29 +0000)]
Fix the EDKT414, the old value should be replaced with new value.
Another modification,
For some settings, there are one and only one valid value, such as ACTIVE_PLATFORM and TOOL_CHAIN_CONF. Add a protection to ensure the valid number of these setting in this version.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1774 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoProvide a way to update config files[target.txt, tools_def.txt, FrameworkDatabase...
wuyizhong [Tue, 17 Oct 2006 07:07:24 +0000 (07:07 +0000)]
Provide a way to update config files[target.txt, tools_def.txt, FrameworkDatabase.db] even they are existed. Using edksetup.bat Reconfig. Give a more detail edksetup.bat help usage.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1773 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoAdd two new data hub subclass related definitions per SMBIOS 2.4 spec.
rsun3 [Tue, 17 Oct 2006 07:04:53 +0000 (07:04 +0000)]
Add two new data hub subclass related definitions per SMBIOS 2.4 spec.
1. memory device type for DDR2
2. System slot type for Pci Express

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1772 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1. Fix EDKT417: System hangs to setup build preference when there is no target.txt...
hche10x [Tue, 17 Oct 2006 06:57:56 +0000 (06:57 +0000)]
1. Fix EDKT417: System hangs to setup build preference when there is no target.txt existing
2. Replace the values of ToolCode of SourceFile with the items defined in spec

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1771 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed a little issue which will cause just one duplicated classpath
jwang36 [Tue, 17 Oct 2006 06:38:16 +0000 (06:38 +0000)]
Fixed a little issue which will cause just one duplicated classpath

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1770 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed EDKT381. We can keep the system's CLASSPATH value after executing edksetup...
jwang36 [Tue, 17 Oct 2006 06:24:21 +0000 (06:24 +0000)]
Fixed EDKT381. We can keep the system's CLASSPATH value after executing edksetup.bat and won't duplicate it with more than one time of execution.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1769 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1. Fix EDKT308: Tool initialization should be supported by wizard
hche10x [Tue, 17 Oct 2006 06:14:42 +0000 (06:14 +0000)]
1. Fix EDKT308: Tool initialization should be supported by wizard

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1768 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoSupport to handle IPF assembly files
qhuang8 [Mon, 16 Oct 2006 12:44:46 +0000 (12:44 +0000)]
Support to handle IPF assembly files

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1767 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoremove /D OLDSMM=1 /D EFI_FIRMWARE_VENDOR from the default C_FLAGS setting, using...
lgao4 [Mon, 16 Oct 2006 10:48:55 +0000 (10:48 +0000)]
remove /D OLDSMM=1 /D EFI_FIRMWARE_VENDOR from the default C_FLAGS setting, using the corresponding PCD to replace them.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1766 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoResolve the warning msg from generated FlashMap.h file when use GCC compiler.
wuyizhong [Mon, 16 Oct 2006 10:47:36 +0000 (10:47 +0000)]
Resolve the warning msg from generated FlashMap.h file when use GCC compiler.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1765 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoUpdate BuildMacro to support LIBPATH and INCLUDEPATH.
wuyizhong [Mon, 16 Oct 2006 10:32:01 +0000 (10:32 +0000)]
Update BuildMacro to support LIBPATH and INCLUDEPATH.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1764 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoadd calculation for max. datum size based on pcd default value input by user.
jlin16 [Mon, 16 Oct 2006 09:43:12 +0000 (09:43 +0000)]
add calculation for max. datum size based on pcd default value input by user.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1763 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFix a bug by the check-in of 1738, which programs SATA interrupt line wrongly and...
mikewuping [Mon, 16 Oct 2006 09:39:41 +0000 (09:39 +0000)]
Fix a bug by the check-in of 1738, which programs SATA interrupt line wrongly and will block booting from SATA disk.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1762 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoSupport two more attribute LIBPATH and INCLUDEPATH in tools_def file.
wuyizhong [Mon, 16 Oct 2006 09:24:08 +0000 (09:24 +0000)]
Support two more attribute LIBPATH and INCLUDEPATH in tools_def file.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1761 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoEnhance MsaOwner.java
alfred [Mon, 16 Oct 2006 08:55:58 +0000 (08:55 +0000)]
Enhance MsaOwner.java

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1760 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1. Fix EDKT344: The algorithm for PCD of msa should be adjusted
hche10x [Mon, 16 Oct 2006 08:46:52 +0000 (08:46 +0000)]
1. Fix EDKT344: The algorithm for PCD of msa should be adjusted

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1759 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoChange to the correct library class name.
qhuang8 [Mon, 16 Oct 2006 08:29:09 +0000 (08:29 +0000)]
Change to the correct library class name.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1758 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1. Fix EDKT408: Clone a library class does not copy the library head
hche10x [Mon, 16 Oct 2006 08:17:20 +0000 (08:17 +0000)]
1. Fix EDKT408: Clone a library class does not copy the library head
2. Fix EDKT398: Wizard does not refresh work environment when clone a module or a library

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1757 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoAdjust module order list after specifying FvBinding for ModuleSA.
jlin16 [Mon, 16 Oct 2006 08:11:27 +0000 (08:11 +0000)]
Adjust module order list after specifying FvBinding for ModuleSA.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1756 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoSync TOOLS_DEF's attribute definitions. Since there are two copy attribute definition...
wuyizhong [Mon, 16 Oct 2006 07:40:59 +0000 (07:40 +0000)]
Sync TOOLS_DEF's attribute definitions. Since there are two copy attribute definitions in ToolDefinitions.java and ToolChainAttribute.java, remove one and only keep one definitions.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1755 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoUpdate cpptaks to support LIBPATH and INCLUDEPATH which will defined in TOOLS_DEF...
wuyizhong [Mon, 16 Oct 2006 07:34:13 +0000 (07:34 +0000)]
Update cpptaks to support LIBPATH and INCLUDEPATH which will defined in TOOLS_DEF file.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1754 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1. Fix EDKT379: Check if Constructor exists in a library when user adds a destructor
hche10x [Mon, 16 Oct 2006 06:44:56 +0000 (06:44 +0000)]
1. Fix EDKT379: Check if Constructor exists in a library when user adds a destructor
2. Fix EDKT378: Can not add any external definitions to a new created MSA file by wizard
3. Fix a bug in function wrapStringByWord of Tools.java

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1753 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1. Fix EDKT330 Source files in sub-directories are not added to MSA correctly
hche10x [Mon, 16 Oct 2006 06:23:19 +0000 (06:23 +0000)]
1. Fix  EDKT330 Source files in sub-directories are not added to MSA correctly

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1752 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed EDKT372
qouyang [Mon, 16 Oct 2006 06:14:02 +0000 (06:14 +0000)]
Fixed EDKT372

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1751 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoMake Logo build following standard build process instead of customize build.
wuyizhong [Mon, 16 Oct 2006 06:05:46 +0000 (06:05 +0000)]
Make Logo build following standard build process instead of customize build.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1750 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoI fixed following bugs.
mikewuping [Mon, 16 Oct 2006 02:48:19 +0000 (02:48 +0000)]
I fixed following bugs.
1. In dependency.c, DXE Dispatcher doesn't check the dependency expression boundary correctly.
2. In page.c, a misspelling code in DXE core memory service code, duplicate code.
3. In gcd.c, according to DXE CIS 0-91 spec, When GcdAllocateType is EfiGcdAllocateMaxAddressSearchBottomUp or EfiGcdAllocateMaxAddressSearchTopDown, then the GCD memory space map is searched from the lowest address up to BaseAddress (or from BaseAddress down to the lowest address) looking for unallocated memory ranges of Length bytes. Here, BaseAddress itself is inclusive, that is, any range in [0, BaseAddress] is allowable. But current code BaseAddress to be exclusive.
4. In Ebcinit.c, EbcDebugRegisterPeriodicCallback() not check whether it is already registered.
5. In Ebcinit.c, EbcDebugRegisterExceptionCallback() not check whether it is already registered.
6. In Ebcinit.c, EbcDebugSignalException() does not assign value to EbcContext.ControlFlags.
7. In Ebcinit.c, EBC: StatusCodeValue should use EFI_SOFTWARE_EBC_EXCEPTION.
8. In Ebcinit.c, EbcDebugRegisterExceptionCallback() does not check ExceptionType
9. In ElTorito.c, BlockIo and DiskIo failed in SCT when there is CD in CD-ROM.
10. In Mbr.c, MBR code can't handle some situations. That is when there are 3 partitions in HD, if delete the first partition, it will not be able to recognize the other two partitions, and if delete the second partition, it will not be able to recognize the third partition.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1749 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoRemove redundant include header: <common\StatusCode.h> in this file.
lgao4 [Mon, 16 Oct 2006 02:10:08 +0000 (02:10 +0000)]
Remove redundant include header: <common\StatusCode.h> in this file.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1748 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agofix the bug in revision 1746
jjin9 [Sat, 14 Oct 2006 11:50:20 +0000 (11:50 +0000)]
fix the bug in revision 1746

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1747 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoadd some features:
jjin9 [Sat, 14 Oct 2006 08:22:12 +0000 (08:22 +0000)]
add some features:
1. display current settings in target.txt by ContextTool
2. display help information with arguments, such as: ContextTool -h, arguments include -h, /h, -?, /?, -help, /help
3. display current setting by ContextTool -x
4. display possible setting by ContextTool -x ?
5. clean current setting by ContextTool -x 0
6. merge new setting to current setting by ContextTool -x new
x is the setting argument, such as p, a, n, m, t, c.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1746 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoAdd Package-Guid Map.
qhuang8 [Sat, 14 Oct 2006 07:01:53 +0000 (07:01 +0000)]
Add Package-Guid Map.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1745 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoa) Cleaned tools_def.template
jwang36 [Fri, 13 Oct 2006 09:21:14 +0000 (09:21 +0000)]
a) Cleaned tools_def.template
b) Changed overriding priority of tool chain definition. Now right non-* has higher priority.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1744 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoRemoved GLOBAL_REMOVE_IF_UNREFENRENCED because it will cause compiler failure.
jwang36 [Fri, 13 Oct 2006 09:05:56 +0000 (09:05 +0000)]
Removed GLOBAL_REMOVE_IF_UNREFENRENCED because it will cause compiler failure.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1743 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoRemove all recommended lib instances logic in SpdLibClassDecls.java as recommmended...
jlin16 [Fri, 13 Oct 2006 08:30:16 +0000 (08:30 +0000)]
Remove all recommended lib instances logic in SpdLibClassDecls.java as recommmended instances are not in UI any more.
Adjust the width of table columns to ease view.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1742 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoAdd Nt32TimeLibNull library instance for Nt32 platform. It is used by PeiMain module...
klu2 [Fri, 13 Oct 2006 07:58:14 +0000 (07:58 +0000)]
Add Nt32TimeLibNull library instance for Nt32 platform. It is used by PeiMain module for computing performance counter.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1741 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1. Add the GLOBAL_REMOVE_IF_UNREFERENCED to globe variables which are used only in...
dtang2 [Fri, 13 Oct 2006 06:36:11 +0000 (06:36 +0000)]
1. Add the GLOBAL_REMOVE_IF_UNREFERENCED to globe variables which are used only in debug version;
2. Use ZeroMem to replace gBS->SetMem;
3. Remove marked code;
4. Add IsHub judgement in UsbPortReset function to following EFI1.1 spec;
5. Add brackets for macro definition

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1740 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1. Changed device detect method to use ATA/ATAPI device signature;
jtang12 [Fri, 13 Oct 2006 05:51:59 +0000 (05:51 +0000)]
1. Changed device detect method to use ATA/ATAPI device signature;
2. Enhancements to better support SATA CDROM;
3. Fixed UDMA operation for buffer above 4G memory issue;
4. Fixed maximal block setting for ATAPI read sector operation to comply with spec;
5. Some minor fixes.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1739 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoThe reasons for the changes made are:
cwu11 [Fri, 13 Oct 2006 04:12:23 +0000 (04:12 +0000)]
The reasons for the changes made are:
1)PciCommand.h: Add some macro constants definitions that will be used by other changes.
2)PciDeviceSupport.c:
a)Fix the bug that programs Non-Bridge Devices' Interrupt Line Register to 0x00. Although this register is rarely used in modern OS (actually, only Dos still uses it), it is good practice to modify it so it will align the spec. Please refer to PCI 3.0 Spec for the chapter on Interrupt line register.
b) Change the way used to detect VGA device. The old method will fail.
3)PciEnumeratorSupport.c: Make changes so Pci Driver will preserve those bits in Command & Bridge Control Register that were set by Customer's Chipset initialization code. Pci Driver is supposed to only touch those bits that are generic. Problems will arise if we destroy some initializations already done.
4)PciIo.c: PollIo() is not conformant to EFI spec so fix it. Also, some fixes are introduced to better support VGA card. These modifications are supposed to work with fixes in PciDeviceSupport.c.
5) PciOptionromSupport.c:Add the fix to enhance the logic working with OptionRom. Some legacy cards do not report correct imagelength so we add double check.
And add EFI_MIN and EFI_MAX macro definition since they are not currently defined in global files.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1738 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoExtract msa license info from inf file.
qhuang8 [Fri, 13 Oct 2006 03:47:05 +0000 (03:47 +0000)]
Extract msa license info from inf file.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1737 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1. Fix EDKT303: Give warning if no library instances that support the required the...
hche10x [Fri, 13 Oct 2006 03:13:19 +0000 (03:13 +0000)]
1. Fix EDKT303: Give warning if no library instances that support the required the library class
2. Fix a bug in Find function: Missing library classes which has same name but different usage.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1736 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed alignment for labels and fields
lhauch [Thu, 12 Oct 2006 20:39:25 +0000 (20:39 +0000)]
Fixed alignment for labels and fields

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1735 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed the width of the GuidValue field
lhauch [Thu, 12 Oct 2006 19:33:38 +0000 (19:33 +0000)]
Fixed the width of the GuidValue field

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1734 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed display for OS X and removed Recommended fields
lhauch [Thu, 12 Oct 2006 19:32:27 +0000 (19:32 +0000)]
Fixed display for OS X and removed Recommended fields

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1733 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoAdded APP tool command to solve the pre-processing issue in IPF assembly and dxs...
jwang36 [Thu, 12 Oct 2006 12:09:28 +0000 (12:09 +0000)]
Added APP tool command to solve the pre-processing issue in IPF assembly and dxs file

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1732 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFix several bugs & enhancement.
qhuang8 [Thu, 12 Oct 2006 10:31:02 +0000 (10:31 +0000)]
Fix several bugs & enhancement.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1731 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoAdd new changed symbol to database.
qhuang8 [Thu, 12 Oct 2006 10:29:16 +0000 (10:29 +0000)]
Add new changed symbol to database.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1730 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoModify Extract() function to speed up the Far installation.
qouyang [Thu, 12 Oct 2006 10:19:59 +0000 (10:19 +0000)]
Modify Extract() function to speed up the Far installation.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1729 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoMark Guid Type as required in Guid declaration editor. Set cell editor to long text...
jlin16 [Thu, 12 Oct 2006 08:54:06 +0000 (08:54 +0000)]
Mark Guid Type as required in Guid declaration editor. Set cell editor to long text editor for Help text fields in tables.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1728 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1. Fix EDKT391 The check point of "OutputFileBasename" is missed in wizard tool
hche10x [Thu, 12 Oct 2006 08:08:38 +0000 (08:08 +0000)]
1. Fix EDKT391 The check point of "OutputFileBasename" is missed in wizard tool

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1727 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1. Extend the runtime memory to 256 MB for FrameworkWizard in JVM.
hche10x [Thu, 12 Oct 2006 03:38:03 +0000 (03:38 +0000)]
1. Extend the runtime memory to 256 MB for FrameworkWizard in JVM.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1726 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoStandardized property name WORKSPACE and fixed cleanall messages.
lhauch [Wed, 11 Oct 2006 16:40:33 +0000 (16:40 +0000)]
Standardized property name WORKSPACE and fixed cleanall messages.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1725 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed a typo
lhauch [Wed, 11 Oct 2006 15:28:21 +0000 (15:28 +0000)]
Fixed a typo

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1724 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agofix a bug in identifying comments.
qhuang8 [Wed, 11 Oct 2006 10:15:20 +0000 (10:15 +0000)]
fix a bug in identifying comments.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1723 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoAdded "synchronized" method to create random number in case of multi-thread issue
jwang36 [Wed, 11 Oct 2006 10:10:16 +0000 (10:10 +0000)]
Added "synchronized" method to create random number in case of multi-thread issue

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1722 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoEnsure the validity of Ffs Sections when adding a new Sections to Ffs.
jlin16 [Wed, 11 Oct 2006 06:57:08 +0000 (06:57 +0000)]
Ensure the validity of Ffs Sections when adding a new Sections to Ffs.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1721 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoSupport using @ToolChainFamily in <Filename> to do the filter. This is also to fix...
wuyizhong [Wed, 11 Oct 2006 03:50:46 +0000 (03:50 +0000)]
Support using @ToolChainFamily in <Filename> to do the filter. This is also to fix track T365.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1720 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoChange some format and remove some unused codes.
wuyizhong [Wed, 11 Oct 2006 03:47:22 +0000 (03:47 +0000)]
Change some format and remove some unused codes.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1719 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoAdded "/FI${DEST_DIR_DEBUG}/AutoGen.h" to *_*_*_PP_FLAGS
jwang36 [Wed, 11 Oct 2006 03:41:02 +0000 (03:41 +0000)]
Added "/FI${DEST_DIR_DEBUG}/AutoGen.h" to *_*_*_PP_FLAGS

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1718 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoGive warning when deleting the last build target. Fix the missing-all build targets...
jlin16 [Wed, 11 Oct 2006 03:22:34 +0000 (03:22 +0000)]
Give warning when deleting the last build target. Fix the missing-all build targets when deleting one of them.
if platform definitions not complete, give messages when setting default values for this platform.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1717 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoSet the comment for JAVA_HOME to point to the minimum release version of SUN JDK...
lhauch [Tue, 10 Oct 2006 23:03:33 +0000 (23:03 +0000)]
Set the comment for JAVA_HOME to point to the minimum release version of SUN JDK, 1.5.0_06, not 1.5.0_04

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1716 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed the build.xml files so that clean and cleanall actually removes the temporary...
lhauch [Tue, 10 Oct 2006 23:01:42 +0000 (23:01 +0000)]
Fixed the build.xml files so that clean and cleanall actually removes the temporary build directories, rather than leaving all of the intermediate files left lying around.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1715 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed the build.xml files so that clean and cleanall actually removes the temporary...
lhauch [Tue, 10 Oct 2006 22:59:11 +0000 (22:59 +0000)]
Fixed the build.xml files so that clean and cleanall actually removes the temporary build directories, rather than leaving all of the intermediate files left lying around.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1714 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed the cleanall target BUILD_DIR settings
lhauch [Tue, 10 Oct 2006 19:32:37 +0000 (19:32 +0000)]
Fixed the cleanall target BUILD_DIR settings

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1713 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoRemoved extra lines and spaces in the catalog.xml file creation, also wrapped it...
lhauch [Tue, 10 Oct 2006 18:40:50 +0000 (18:40 +0000)]
Removed extra lines and spaces in the catalog.xml file creation, also wrapped it in a test for availability

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1712 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoAdded a test to check the # of threads iff threading is enabled. If it's not enabled...
lhauch [Tue, 10 Oct 2006 17:30:59 +0000 (17:30 +0000)]
Added a test to check the # of threads iff threading is enabled.  If it's not enabled, don't try to read the number of threads in the target.txt file.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1711 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoRemoved extra binary character at the start of line 1
lhauch [Tue, 10 Oct 2006 14:56:16 +0000 (14:56 +0000)]
Removed extra binary character at the start of line 1

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1710 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed EDKT370&372
qouyang [Tue, 10 Oct 2006 14:48:17 +0000 (14:48 +0000)]
Fixed EDKT370&372

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1709 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed build break caused by GetPerformanceCounter() in PeiMain module
jwang36 [Tue, 10 Oct 2006 14:41:11 +0000 (14:41 +0000)]
Fixed build break caused by GetPerformanceCounter() in PeiMain module

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1708 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed build break caused by GetPerformanceCounter() in PeiMain module
jwang36 [Tue, 10 Oct 2006 14:35:55 +0000 (14:35 +0000)]
Fixed build break caused by GetPerformanceCounter() in PeiMain module

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1707 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoSet Hob type for FvMainCompactFv to EFI_HOB_TYPE_UNUSED after decompressed. The can...
klu2 [Tue, 10 Oct 2006 09:59:34 +0000 (09:59 +0000)]
Set Hob type for FvMainCompactFv to EFI_HOB_TYPE_UNUSED after decompressed. The can improve the performance of Dxe dispatcher.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1706 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFix not able to save after change build target.
jlin16 [Tue, 10 Oct 2006 09:26:34 +0000 (09:26 +0000)]
Fix not able to save after change build target.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1705 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoAdd pair of performance macro function to measure the whole PEI phase's performance.
klu2 [Tue, 10 Oct 2006 07:30:40 +0000 (07:30 +0000)]
Add pair of performance macro function to measure the whole PEI phase's performance.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1704 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoChanged IA64 to IPF in the comments because it will cause confusion.
jwang36 [Tue, 10 Oct 2006 06:09:02 +0000 (06:09 +0000)]
Changed IA64 to IPF in the comments because it will cause confusion.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1703 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoAdded code to check if "cmd" attribute is valid or not. This is to make error report...
jwang36 [Tue, 10 Oct 2006 05:55:36 +0000 (05:55 +0000)]
Added code to check if "cmd" attribute is valid or not. This is to make error report more accurate.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1702 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed EDKT381
jwang36 [Tue, 10 Oct 2006 04:36:57 +0000 (04:36 +0000)]
Fixed EDKT381

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1701 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoChange FrameworkModules selection to next module in platform after remove one module.
jlin16 [Tue, 10 Oct 2006 04:28:15 +0000 (04:28 +0000)]
Change FrameworkModules selection to next module in platform after remove one module.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1700 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoDxeCore.h, PeiCis.h and Uefi.h should not include <Protocol/Pcd.h>. If a module need...
qwang12 [Tue, 10 Oct 2006 03:39:55 +0000 (03:39 +0000)]
DxeCore.h, PeiCis.h and Uefi.h should not include <Protocol/Pcd.h>. If a module need to resolve PCD macro (FixedAtBuild, BinaryPatch or Dynamic), the module should declare that it consume PcdLib library class in MSA file. The Edk II build tool will include "PcdLib.h" in "Autogen.h".

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1699 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1. Update to just keep several line JAVA related msg; 2. Remove file PropertyManager...
wuyizhong [Tue, 10 Oct 2006 02:40:59 +0000 (02:40 +0000)]
1. Update to just keep several line JAVA related msg; 2. Remove file PropertyManager.java.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1698 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoThis patch is to make sure at least VARIABLE_RECLAIM_THRESHOLD (1024) bytes of spaces...
qwang12 [Tue, 10 Oct 2006 02:21:51 +0000 (02:21 +0000)]
This patch is to make sure at least VARIABLE_RECLAIM_THRESHOLD (1024) bytes of spaces must be available in NV variable region. This conservative approach is make sure OS loader will have space to save important data.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1697 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1) If DebugAssertEnabled is TRUE, we still need to provide the GET size
qwang12 [Tue, 10 Oct 2006 02:17:53 +0000 (02:17 +0000)]
1) If DebugAssertEnabled is TRUE, we still need to provide the GET size
function as GetWorker and SetWoker need this function to do ASSERT.

2) 0 should be returned if GetSize is not supported.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1696 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoChange behavior if found more than one FPD files from let user choice one to report...
wuyizhong [Tue, 10 Oct 2006 02:15:44 +0000 (02:15 +0000)]
Change behavior if found more than one FPD files from let user choice one to report Error and stop build.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1695 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoremoved extra taskdef and taskref definitions that caused some warning messages when...
lhauch [Mon, 9 Oct 2006 22:03:52 +0000 (22:03 +0000)]
removed extra taskdef and taskref definitions that caused some warning messages when doing a cleanall

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1694 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFix a bug in InternalMathDivRemU64x64(). The bug is that the 64-bit divisor is design...
rsun3 [Mon, 9 Oct 2006 10:09:26 +0000 (10:09 +0000)]
Fix a bug in InternalMathDivRemU64x64(). The bug is that the 64-bit divisor is designed to be loaded to ecx:ebx but the high 4 byte of the divisor is forgotten to be loaded to ecx

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1693 de2fecce-e211-0410-80a6-f3fac2684e05

15 years ago1) Added precompiled header option to VS2003, VS2005PRO and WINDDK3790x1830 tool...
jwang36 [Mon, 9 Oct 2006 07:15:20 +0000 (07:15 +0000)]
1) Added precompiled header option to VS2003, VS2005PRO and WINDDK3790x1830 tool chains and cleaned the option format;
2) Changed the way of link/lib AutoGen.h.obj by using OBJECTS property to pass the file name to linker.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1692 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoAdd flags for UNIXGCC.
wuyizhong [Mon, 9 Oct 2006 02:28:29 +0000 (02:28 +0000)]
Add flags for UNIXGCC.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1691 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoChanged the way of using precompiled header in the build process. Now the use of...
jwang36 [Sun, 8 Oct 2006 16:07:32 +0000 (16:07 +0000)]
Changed the way of using precompiled header in the build process. Now the use of precompiled header is controlled by tools_def.txt.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1690 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoOptimized HighBitSetXX() functions
bxing [Sun, 8 Oct 2006 08:45:59 +0000 (08:45 +0000)]
Optimized HighBitSetXX() functions

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1689 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoAdd PERF_START function for collecting performance data for DXE_OK tag.
klu2 [Sun, 8 Oct 2006 08:15:12 +0000 (08:15 +0000)]
Add PERF_START function for collecting performance data for DXE_OK tag.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1688 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoRemove EBC arch from supported arch list to fix tracker EDKII350.
yshang1 [Sun, 8 Oct 2006 07:19:56 +0000 (07:19 +0000)]
Remove EBC arch from supported arch list to fix tracker EDKII350.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1687 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoChanged the tmp path because of directory structure changes
jwang36 [Sun, 8 Oct 2006 07:02:24 +0000 (07:02 +0000)]
Changed the tmp path because of directory structure changes

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1686 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoChanged the output path of source because of directory structure changes
jwang36 [Sun, 8 Oct 2006 06:50:56 +0000 (06:50 +0000)]
Changed the output path of source because of directory structure changes

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1685 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoChanged the path of build.xml because of directory structure changes
jwang36 [Sun, 8 Oct 2006 06:45:36 +0000 (06:45 +0000)]
Changed the path of build.xml because of directory structure changes

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1684 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoRemoved the need of external MakeDeps.exe. Now parsing include files is built in...
jwang36 [Sun, 8 Oct 2006 06:28:06 +0000 (06:28 +0000)]
Removed the need of external MakeDeps.exe. Now parsing include files is built in makedeps task.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1683 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoRemove the line of "<Filename>Tools/Java/JavaTools.spd</Filename>" in FrameworkDataba...
qouyang [Sun, 8 Oct 2006 02:56:33 +0000 (02:56 +0000)]
Remove the line of "<Filename>Tools/Java/JavaTools.spd</Filename>" in FrameworkDatabase.template, since the file of "Tools/Java/JavaTools.spd" don't exist in current tip.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1682 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoRemove extra /D defines in CC FLAGS
mdkinney [Sat, 7 Oct 2006 00:28:16 +0000 (00:28 +0000)]
Remove extra /D defines in CC FLAGS

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1681 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFix VS2005 compatibility issue
mdkinney [Sat, 7 Oct 2006 00:19:00 +0000 (00:19 +0000)]
Fix VS2005 compatibility issue

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1680 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoFixed all scripts to use new directory layout.
lhauch [Fri, 6 Oct 2006 00:04:20 +0000 (00:04 +0000)]
Fixed all scripts to use new directory layout.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1679 de2fecce-e211-0410-80a6-f3fac2684e05

15 years agoRemoved unused files.
lhauch [Thu, 5 Oct 2006 23:38:21 +0000 (23:38 +0000)]
Removed unused files.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1678 de2fecce-e211-0410-80a6-f3fac2684e05