17 years agoRemoved the DOS CTRL-M characters so that the script will run on *NIX based operating...
lhauch [Wed, 18 Oct 2006 17:19:08 +0000 (17:19 +0000)]
Removed the DOS CTRL-M characters so that the script will run on *NIX based operating systems

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

17 years agoAdding the *NIX script to call the CheckTools program
lhauch [Wed, 18 Oct 2006 17:07:03 +0000 (17:07 +0000)]
Adding the *NIX script to call the CheckTools program

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

17 years agoUpdate build options format from "ABC", "XYZ" to ABC XYZ.
wuyizhong [Wed, 18 Oct 2006 08:25:13 +0000 (08:25 +0000)]
Update build options format from "ABC", "XYZ" to ABC XYZ.

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

17 years agoSupport MSA build options. Now the build options from four places: 1. tools_def.txt
wuyizhong [Wed, 18 Oct 2006 08:22:09 +0000 (08:22 +0000)]
Support MSA build options. Now the build options from four places: 1. tools_def.txt
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

17 years ago1. Fix EDKT399: "RePackagable" attribute should be supported by clone operation
hche10x [Wed, 18 Oct 2006 07:01:35 +0000 (07:01 +0000)]
1. Fix EDKT399: "RePackagable" attribute should be supported by clone operation

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

17 years ago1. Fix EDKT411: Need right and left scroll bar to display find results
hche10x [Wed, 18 Oct 2006 05:57:36 +0000 (05:57 +0000)]
1. Fix EDKT411: Need right and left scroll bar to display find results
2. Add a function in Tools.java to adjust a table's all columns' width

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

17 years agoAdded dependency of AutoGen.h for .c file generated from unicode file
jwang36 [Wed, 18 Oct 2006 05:36:54 +0000 (05:36 +0000)]
Added dependency of AutoGen.h for .c file generated from unicode file

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

17 years agoReplace .global with .globl to solve compatibility issues.
qhuang8 [Wed, 18 Oct 2006 03:48:37 +0000 (03:48 +0000)]
Replace .global with .globl to solve compatibility issues.

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

17 years agoAdd flags for ASMLINK. ASMLINK is real mode link.
wuyizhong [Wed, 18 Oct 2006 03:05:39 +0000 (03:05 +0000)]
Add flags for ASMLINK. ASMLINK is real mode link.

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

17 years agoAdd Build Macro to build SEC modules.
wuyizhong [Wed, 18 Oct 2006 02:38:01 +0000 (02:38 +0000)]
Add Build Macro to build SEC modules.

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

17 years agoAdded more detail to the usage screen.
lhauch [Wed, 18 Oct 2006 00:19:35 +0000 (00:19 +0000)]
Added more detail to the usage screen.

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

17 years agoAdded instruction on how to remove WARNINGS with -v flag set
lhauch [Tue, 17 Oct 2006 23:46:01 +0000 (23:46 +0000)]
Added instruction on how to remove WARNINGS with -v flag set

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

17 years agoChanged invalid tool chain tag name to WARNING rather than an ERROR
lhauch [Tue, 17 Oct 2006 23:33:10 +0000 (23:33 +0000)]
Changed invalid tool chain tag name to WARNING rather than an ERROR

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

17 years agoAdded Java program, CheckTools
lhauch [Tue, 17 Oct 2006 23:09:48 +0000 (23:09 +0000)]
Added Java program, CheckTools

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

17 years agoAdding Java Tool: ckt.bat for CheckTools.
lhauch [Tue, 17 Oct 2006 22:17:18 +0000 (22:17 +0000)]
Adding Java Tool: ckt.bat for CheckTools.

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

17 years agoRemove extraneous URLs.
bbahnsen [Tue, 17 Oct 2006 20:46:12 +0000 (20:46 +0000)]
Remove extraneous URLs.

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

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1777 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1776 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1775 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1774 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1773 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1772 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1771 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1770 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1769 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1768 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1767 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1766 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1765 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1764 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1763 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1762 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1761 6f19259b-4bc3-4df7-8a09-765794883524

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

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

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1759 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1758 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1757 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1756 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1755 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1754 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1753 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1752 6f19259b-4bc3-4df7-8a09-765794883524

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

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

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1750 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1749 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1748 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1747 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1746 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1745 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1744 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1743 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1742 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1741 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1740 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1739 6f19259b-4bc3-4df7-8a09-765794883524

17 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.
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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1738 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1737 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1736 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1735 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1734 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1733 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1732 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1731 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1730 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1729 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1728 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1727 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1726 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1725 6f19259b-4bc3-4df7-8a09-765794883524

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

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

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1723 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1722 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1721 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1720 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1719 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1718 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1717 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1716 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1715 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1714 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1713 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1712 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1711 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1710 6f19259b-4bc3-4df7-8a09-765794883524

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

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

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1708 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1707 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1706 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1705 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1704 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1703 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1702 6f19259b-4bc3-4df7-8a09-765794883524

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

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

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1700 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1699 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1698 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1697 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1696 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1695 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1694 6f19259b-4bc3-4df7-8a09-765794883524