summaryrefslogtreecommitdiff
path: root/EdkModulePkg
AgeCommit message (Collapse)Author
2006-10-16I fixed following bugs.mikewuping
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-16Remove redundant include header: <common\StatusCode.h> in this file.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1748 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13Removed GLOBAL_REMOVE_IF_UNREFENRENCED because it will cause compiler failure.jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1743 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-131. Add the GLOBAL_REMOVE_IF_UNREFERENCED to globe variables which are used ↵dtang2
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-131. Changed device detect method to use ATA/ATAPI device signature;jtang12
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-13The reasons for the changes made are:cwu11
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-10Fixed build break caused by GetPerformanceCounter() in PeiMain modulejwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1708 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10Set Hob type for FvMainCompactFv to EFI_HOB_TYPE_UNUSED after decompressed. ↵klu2
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-10Add pair of performance macro function to measure the whole PEI phase's ↵klu2
performance. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1704 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10This patch is to make sure at least VARIABLE_RECLAIM_THRESHOLD (1024) bytes ↵qwang12
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-101) If DebugAssertEnabled is TRUE, we still need to provide the GET sizeqwang12
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-08Add PERF_START function for collecting performance data for DXE_OK tag.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1688 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-08Remove EBC arch from supported arch list to fix tracker EDKII350.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1687 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04Add support for DEBUG and RELEASE builds of this FPD file.mdkinney
Remove all FLAG settings from this FPD file. This functionality has moved into tools_def.txt git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1663 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-27Remove the duplicated Copy Right in msa header.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1634 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-26Optimize the algorithm of creating page table to enhance boot performance ↵qhuang8
and save code size. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1628 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21Merger DriverBinding and ComponentName into one <extern> section for all ↵vanjeff
*.msa files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1585 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-20Delete Build directorylgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1578 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19Update Device Path Module to use PCD Feature Flags to determine of the ↵mdkinney
Device Path To Text and Text To Device Path Protocols are produced or not. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1572 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19Add use of PCD feature flags to the Device Path Modulesmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1571 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19Declare PCD Feature flags for protocols produced by the Device Path Module ↵mdkinney
and decompression methods supported by the DXE IPL git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1570 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19Add PCD Feature Flags to control which decompression method(s) are included ↵mdkinney
in the DXE IPL. The choices are any combination of EFI, Tiano, and Custom decompression. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1569 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19Remove IDT mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1568 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18changed EdkModulePkg GUID from the original ↵lgao4
B6EC423C-21D2-490D-85C6-DD5864EAA674 to new 68169ab0-d41b-4009-9060-292c253ac43d to avoid its conflict with gPeiBaseMemoryTestPpiGuid and change all msa and fpd file in EdkII, which depends on EdkModulePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1551 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18added EFIAPI for those constructor functionsvanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1548 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14Remove Static declaration for the related driver binding functions. lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1539 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1538 ↵jchen20
6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1537 ↵jchen20
6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13Move ConPlatform module from EdkNT32 package to EdkModulePkg, and remove ↵lgao4
EdkPeCoffLoaderX64Lib from DxeIplX64 module because EdkPeCoffLoaderLib based on new BasePeCoffLib can support 32bit and 64bit PE iamge both. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1523 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13Modify for enabling native VISTA jchen20
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1520 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-08clean up PCD settting for EdkModulePkg.fpd and EdkNt32Pkg.fpdlgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1503 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07Change PcdDebugPrintErrorLevel PCD declare in msa as DYNAMIC, because this ↵lgao4
PCD type can be FIXED_AT_BUILD and PATCHABLE_IN_MODULE. Change Some WINNT PCDs type declared in EdkNt32Pkg.spd as DYNAMIC, because they is used in Nt32 emluator platform as DYNAMIC type. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1494 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06Set MdePkg.fpd, EdkModulePkg.fpd and Nt32.fpd default build directory to ↵lgao4
workspace root build directory according to Jordon's suggestions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1486 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06Update RuntimeLib.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1482 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05Fix PeiLoadImage() for compressed peim to print the correct image address ↵lgao4
and entrypoint. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1467 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1461 ↵yshang1
6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1459 ↵yshang1
6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05Add the following Pcds declaration in EdkModulePkg.spd file. EdkModulePkg ↵lgao4
PeiVariable, RuntimeDxeVariabe, and Ftw module needs these PCDs. PcdFlashNvStorageVariableBase PcdFlashNvStorageVariableSize PcdFlashNvStorageFtwSpareBase PcdFlashNvStorageFtwSpareSize PcdFlashNvStorageFtwWorkingBase PcdFlashNvStorageFtwWorkingSize git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1454 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1452 ↵yshang1
6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05Follow up EDKT247-253yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1449 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05Update library constructor definition.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1445 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05Fix EdkII tracker 219, change incorrect print level in line 200 and line 453 ↵lgao4
from EFI_D_INFO to EFI_D_ERROR git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1443 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1436 ↵yshang1
6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04Update Coding style of status code.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1435 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04Follow up EDKT238, EDKT239, EDKT242, EDKT243yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1432 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01Follow up EDKT236.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1423 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01Follow up EDKT235yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1419 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01Follow up tracker:yshang1
EDKT236, EDKT237, EDKT232, EDKT229 , EDKT233 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1418 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30Change true to TRUE.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1410 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30Change true to TRUE.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1409 6f19259b-4bc3-4df7-8a09-765794883524