Commit Graph

1474 Commits

Author SHA1 Message Date
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
lhauch 9dac0c36b6 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
2006-10-10 23:03:33 +00:00
lhauch 439656f152 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
2006-10-10 23:01:42 +00:00
lhauch 8973d1764f 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
2006-10-10 22:59:11 +00:00
lhauch deafd9d18c 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
2006-10-10 19:32:37 +00:00
lhauch c779483003 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
2006-10-10 18:40:50 +00:00
lhauch e2f34bcdaf 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
2006-10-10 17:30:59 +00:00
lhauch df682ead55 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
2006-10-10 14:56:16 +00:00
qouyang a06a54171d Fixed EDKT370&372
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1709 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 14:48:17 +00:00
jwang36 de50890e70 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
2006-10-10 14:41:11 +00:00
jwang36 24da1045f6 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
2006-10-10 14:35:55 +00:00
klu2 2ea767cc94 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
2006-10-10 09:59:34 +00:00
jlin16 31095724f1 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
2006-10-10 09:26:34 +00:00
klu2 217f1d11c3 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
2006-10-10 07:30:40 +00:00
jwang36 e57b8d71a4 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
2006-10-10 06:09:02 +00:00
jwang36 63cdbe79b1 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
2006-10-10 05:55:36 +00:00
jwang36 fd6c41f5e2 Fixed EDKT381
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1701 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 04:36:57 +00:00
jlin16 bc9b370686 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
2006-10-10 04:28:15 +00:00
qwang12 2193b507f0 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
2006-10-10 03:39:55 +00:00
wuyizhong 47412835e5 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
2006-10-10 02:40:59 +00:00
qwang12 c65c1e1e14 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
2006-10-10 02:21:51 +00:00
qwang12 5f5f28c90d 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
2006-10-10 02:17:53 +00:00
wuyizhong 0f769af196 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
2006-10-10 02:15:44 +00:00
lhauch 55ab23ae35 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
2006-10-09 22:03:52 +00:00
rsun3 2f8df87003 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1693 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-09 10:09:26 +00:00
jwang36 aba23ad92e 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1692 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-09 07:15:20 +00:00