Commit Graph

1649 Commits

Author SHA1 Message Date
lgao4 dddd748e54 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
2006-10-16 10:48:55 +00:00
wuyizhong 112d8087ac 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
2006-10-16 10:47:36 +00:00
wuyizhong 877de74948 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
2006-10-16 10:32:01 +00:00
jlin16 98aee6e933 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
2006-10-16 09:43:12 +00:00
mikewuping c5986ece67 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
2006-10-16 09:39:41 +00:00
wuyizhong c639781ef0 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
2006-10-16 09:24:08 +00:00
alfred 8270b34d9d Enhance MsaOwner.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1760 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 08:55:58 +00:00
hche10x edbacf2e5c 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
2006-10-16 08:46:52 +00:00
qhuang8 b28af3d768 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
2006-10-16 08:29:09 +00:00
hche10x 37bd8fbb21 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
2006-10-16 08:17:20 +00:00
jlin16 9d6f6d70da 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
2006-10-16 08:11:27 +00:00
wuyizhong b0a8056223 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
2006-10-16 07:40:59 +00:00
wuyizhong 51f9486371 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
2006-10-16 07:34:13 +00:00
hche10x aa197375d8 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
2006-10-16 06:44:56 +00:00
hche10x 0915a2ce53 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
2006-10-16 06:23:19 +00:00
qouyang 5776c5c045 Fixed EDKT372
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1751 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 06:14:02 +00:00
wuyizhong d61237595f 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
2006-10-16 06:05:46 +00:00
mikewuping 3114b33496 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
2006-10-16 02:48:19 +00:00
lgao4 fc773f6aa7 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
2006-10-16 02:10:08 +00:00
jjin9 f15e135965 fix the bug in revision 1746
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1747 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-14 11:50:20 +00:00
jjin9 f337986f8e 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
2006-10-14 08:22:12 +00:00
qhuang8 9c0e70cb4a Add Package-Guid Map.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1745 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-14 07:01:53 +00:00
jwang36 8c84e1b1ac 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
2006-10-13 09:21:14 +00:00
jwang36 713ace4c96 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
2006-10-13 09:05:56 +00:00
jlin16 5a502bd47a 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
2006-10-13 08:30:16 +00:00
klu2 a416984c5c 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
2006-10-13 07:58:14 +00:00
dtang2 71a62114eb 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
2006-10-13 06:36:11 +00:00
jtang12 a98f11c5b9 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
2006-10-13 05:51:59 +00:00
cwu11 c51cec2560 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1738 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13 04:12:23 +00:00
qhuang8 db0e690675 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
2006-10-13 03:47:05 +00:00
hche10x a721f5c47e 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
2006-10-13 03:13:19 +00:00
lhauch f4ead3ba43 Fixed alignment for labels and fields
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1735 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-12 20:39:25 +00:00
lhauch 9a362ae726 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
2006-10-12 19:33:38 +00:00
lhauch 0a35c6e2fe 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
2006-10-12 19:32:27 +00:00
jwang36 0b8fc154a7 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
2006-10-12 12:09:28 +00:00
qhuang8 4932405544 Fix several bugs & enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1731 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-12 10:31:02 +00:00
qhuang8 6ceb38158a Add new changed symbol to database.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1730 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-12 10:29:16 +00:00
qouyang 046d7d4f1d 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
2006-10-12 10:19:59 +00:00
jlin16 fbf730ff01 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
2006-10-12 08:54:06 +00:00
hche10x f436f72804 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
2006-10-12 08:08:38 +00:00
hche10x 322c1d686e 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
2006-10-12 03:38:03 +00:00
lhauch d7bb51136b 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
2006-10-11 16:40:33 +00:00
lhauch 4110971635 Fixed a typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1724 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-11 15:28:21 +00:00
qhuang8 53dd426984 fix a bug in identifying comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1723 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-11 10:15:20 +00:00
jwang36 2320bb1497 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
2006-10-11 10:10:16 +00:00
jlin16 5f480cb5e8 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
2006-10-11 06:57:08 +00:00
wuyizhong 91a1f0d7ac 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
2006-10-11 03:50:46 +00:00
wuyizhong 188fdd0ac5 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
2006-10-11 03:47:22 +00:00
jwang36 e94c73e7e2 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
2006-10-11 03:41:02 +00:00
jlin16 618737f83a 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
2006-10-11 03:22:34 +00:00