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.
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.
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
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
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.
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
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.
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.
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.
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
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.
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.
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.
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.
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.
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.
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".
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.
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
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.
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.