summaryrefslogtreecommitdiff
path: root/MdeModulePkg
AgeCommit message (Collapse)AuthorFilesLines
2010-07-22Add 64-bit versions of FLASH Base addressess as it is legal to have them ↵andrewfish7-7/+40
>4G. For backward compatability if the new 64-bit base addresses are zero use the old 32-bit base addressess. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10684 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-20Per UEFI Spec, LowestAlignedLba and LogicalBlocksPerPhysicalBlock must be 0 ↵niruiyu1-1/+10
for logical partitions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10668 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-191. Add init flag DEBUG_AGENT_INIT_DXE_AP.vanjeff3-14/+71
2. Add definition DEBUG_AGENT_CONTINUE. 3. Update the definition of InitializeDebugAgent() more comments. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10660 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-18Fix 64-bit bug in DxeIpl. You can't cast an & UINT64 to a UINT32 *, as the ↵andrewfish1-4/+4
upper 32-bits do not get updated. In my case there was data on the stack for the upper 32-bits and it caused the size to be greater than 4GB. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10659 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-16Enhance to follow UEFI2.3 spec - the EFI_ACPI_TABLE_PROTOCOL will ensure ↵jyao11-1/+7
that the checksum field is correct for both the RSDT/XSDT table and the table being installed through the AcpiTableBuffer parameter. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10655 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-13Refine code.vanjeff4-21/+175
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10648 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-13Change type of PcdSrIovSupport/PcdAriSupport/PcdMrIovSupport from ↵rsun31-9/+9
FeatureFlag to [FixAtBuild, PcdDynamics]. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10646 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-13Return from ProgramBar() after VF BARs are programmed.rsun31-1/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10645 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-13Fix bugs in the PCI bus driver to support SR-IOV.rsun36-228/+289
1. Expand the type of Offset in the _PCI_BAR structure from UINT8 to UINT16, because a VF BAR’s offset may be >= 0x100; 2. Enable ARI Capable Hierarchy for SR-IOV devices at earlier time because FirstVFOffset and VFStride of a SR-IOV device may change after its ARI Capable Hierarchy is set; 3. Change type of PcdSrIovSupport, PcdAriSupport, PcdMrIovSupport from FeatureFlag to [FixAtBuild, PcdDynamics], which allows SR-IOV/MR-IOV/ARI feature can be turn on/off dynamically, typically via a setup option. 4. Change PCI bus scan algorithm in PciScanBus() to prevent the case where some ARI extended functions may be skipped in the scan loop. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10644 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-12remove duplicated code.vanjeff1-6/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10643 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-08Remove ASSERT and change to if ()hhuan131-4/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10640 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-08Fix a bug by adding * for Ptr8hhuan131-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10639 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-07Update the previous fix to only shadow the function for supported processor ↵andrewfish1-8/+8
architectrues. The old way required non supported processor architectures to opt out. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10637 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-07Fix issue with ARM port. Image.c shadow code is not ANSI C and crashes on ↵andrewfish1-1/+6
ARM. So I did the same thing that is done on Itanium and skipped the shadow for ARM architecture in all cases. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10636 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-07Fix a bug:hhuan131-0/+9
RFC 2132, Section 9.5 does not strictly state Bootfile name (option 67) is null terminated string. So force to append null terminated character at the end of string. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10635 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-05Fix the issues that StatusCode can't work when PcdStatusCodeUseMemory is set ↵lgao42-103/+61
to TRUE. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10630 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-05Initialize lists ↵xdu21-12/+9
ArpService->PendingRequestTable/DeniedCacheTable/ResolvedCacheTable before firing timer ArpService->PeriodicTimer. This remove the race condition in ArpCreateService(): it is possible for the timer event to trigger before the lists are initialized which will results in a hang in ArpTimerHandler(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10629 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-051. update to use 1 EFI Variable per NIC (instead of converge all NIC ↵xdu29-610/+274
configuration into one EFI Variable), this remove the limitation that max NIC configuration will depend on PcdMaxVariableSize. 2. remove unnecessary Unload function EfiIp4ConfigUnload (use default Unload function NetLibDefaultUnload instead), remove global array for NIC handle tracking since it’s driver model driver. 3. add Ip4Config Variable reclaim to HiiConfigAccess.RouteConfig() to remove variable for NIC which has been removed from the system. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10628 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-01Fix a bug that mtftp4 driver reply 2 ACK in answer to incoming No.65535 ↵hhuan134-3/+7
block data. That issue incurs incorrect network transfer. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10619 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-011. fixed one bug to construct config request string header used child handle ↵vanjeff2-4/+93
instead of NIC controller handle. 2. fixed one bug to calculate buffer size. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10617 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-30Add routing header type to NetLib.tye11-0/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10616 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-291) Call ProcessNotifyList() to process all Dispatch Notifications after the ↵mdkinney1-68/+85
Memory Discovered PPI is installed. 2) Add ProcessLibraryConstructorList() call when OldCoreData != NULL and OldCoreData->ShadowedPeiCore == NULL. 3) Make sure no lib functions are used prior to the ProcessLibraryConstructorList() call. 4) Clean up comments git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10611 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-29Fixed a bug in Mtftp4: to allow the block number to roll over to accept ↵hhuan134-15/+49
transfers of unlimited size. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10609 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-18Remove some unnecessary clear screen from console drivers.li-elvin2-30/+53
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10590 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-17Add a missing parameter description in the function header for ↵rsun31-0/+1
CoreFindFreePagesI(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10589 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-141) Improve how memory usage is tracked in DXE Coremdkinney1-37/+164
2) Update GetMemoryMap() to merge adjacent memory descriptors with identical types and attributes. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10579 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-13Add a UNION definition (IP_IO_IP_PROTOOCL) for EFI_IP4/6_PROTOCOL and change ↵qianouyang6-129/+126
IP_IO structure using this UNION to point the special IP Protocol. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10578 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-04Change MaxBlock to HEX value to avoid GCC build failure.li-elvin1-4/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10566 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-04Do the following fix up in SetupBrowser driver:lgao43-57/+51
1) Check whether ConfigAccess is NULL before use it. 2) Don't do call back for UI_ACTION_REFRESH_FORMSET action. 3) Release resource before leave SetupBrowser() function. 4) Use the unified check method (HiiHandle, FormsetGuid and FormId) to check FORM is open or close. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10565 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-02Fixed tracker #203752, Dhcp4 assert issue.hhuan131-2/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10562 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-02Per UEFI spec, FORM_OPEN/FORM_CLOSE Callback function should be called for ↵lgao48-140/+306
each question in the form when this form opens or closes. Update SetupBrowser driver to call Callback function (FORM_OPEN/FORM_CLOSE) based on UEFI spec, and update all EDKII HII drivers to correctly handle FORM_OPEN and FORM_CLOSE call back. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10560 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-28If SCSI version support Read/Write (16) command, use both commands to access ↵li-elvin2-41/+244
disk especially for above 2TB. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10550 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-27Add three HiiLib APIs: HiiCreateTextOpCode, HiiCreateDateOpCode and ↵lgao42-5/+265
HiiCreateTimeOpCode git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10544 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-25Status code handler callback should be declared as EFIAPIklu23-3/+7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10541 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-24Add the missing PalLib NULL instance.lgao41-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10539 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-23Add the missing PalLib NULL instance.lgao41-0/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10538 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-21Fixed the issue of that IP4driver can’t correctly reassemble the Out of ↵qianouyang1-1/+1
Sequence Fragments. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10537 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-21Clean up package/platform DSC files by the following steps:lgao41-99/+46
1. Remove PCDs those use the default values/types from the DEC file. 2. Remove the unused library instances. 3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10530 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-20MdeModulePkg AcpiTableDxe: Fix GCC build warningjljusten1-0/+2
Initialize MaxSize variable to prevent GCC warning. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10526 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-20fix a bug that FindVariable() may set GoneThrough flag wrongly when a >64K ↵erictian1-1/+1
variable exists. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10524 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-19Fix VS2003 build errorjyao11-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10518 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-19Update QueryCapsuleCapabilities interface.li-elvin2-16/+18
1. Check all capsules to decide reset type instead of only checking the first capsule. 2. One purpose of MaxiumCapsuleSize is to ensure platform memory size is enough to handle capsule with reset type in PEI. Max capsule size should be returned for with/without reset flag cases. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10514 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-19add security check.vanjeff1-2/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10513 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18MdeModulePkg:jyao113-10/+4177
Add ACPI SDT support. Introduce PcdInstallAcpiSdtProtocol, default FALSE. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10501 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-17Small code refinement in MdeModulePkg.rsun34-89/+70
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10492 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-14Fix DxeCore Dispatch Issue that DXE drivers may not be dispatched if they ↵lgao41-9/+9
depend on the protocols produced by SMM driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10491 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-14Fix 3 K8 issues for PXE module hhuan132-2/+31
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10489 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-13Fix minor format issue in file headerqhuang82-3/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10485 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-12Fix for UNIXGCC buildjchen201-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10483 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-111) Fix IPF ICC 11.1 issue when /Ox is used related to the use of local ↵mdkinney4-241/+256
variables and parameter across the transition when TEMP RAM is disabled. 2) Update the logic that computes the offset of the heap and stack from TEMP RAM to Permanent RAM to handle all possible offsets values. 3) Minor cleanups to the PEI_CORE_INSTANCE structure 4) Simplify the logic that manages the TEMP RAM to PERM RAM transition and clean up the related DEBUG() messages. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10481 6f19259b-4bc3-4df7-8a09-765794883524