summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
Commit message (Collapse)AuthorAgeFilesLines
* Remove some unnecessary clear screen from console drivers.li-elvin2010-06-182-30/+53
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10590 6f19259b-4bc3-4df7-8a09-765794883524
* Add a missing parameter description in the function header for ↵rsun32010-06-171-0/+1
| | | | | | CoreFindFreePagesI(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10589 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Improve how memory usage is tracked in DXE Coremdkinney2010-06-141-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
* Add a UNION definition (IP_IO_IP_PROTOOCL) for EFI_IP4/6_PROTOCOL and change ↵qianouyang2010-06-136-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
* Change MaxBlock to HEX value to avoid GCC build failure.li-elvin2010-06-041-4/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10566 6f19259b-4bc3-4df7-8a09-765794883524
* Do the following fix up in SetupBrowser driver:lgao42010-06-043-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
* Fixed tracker #203752, Dhcp4 assert issue.hhuan132010-06-021-2/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10562 6f19259b-4bc3-4df7-8a09-765794883524
* Per UEFI spec, FORM_OPEN/FORM_CLOSE Callback function should be called for ↵lgao42010-06-028-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
* If SCSI version support Read/Write (16) command, use both commands to access ↵li-elvin2010-05-282-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
* Add three HiiLib APIs: HiiCreateTextOpCode, HiiCreateDateOpCode and ↵lgao42010-05-272-5/+265
| | | | | | HiiCreateTimeOpCode git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10544 6f19259b-4bc3-4df7-8a09-765794883524
* Status code handler callback should be declared as EFIAPIklu22010-05-253-3/+7
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10541 6f19259b-4bc3-4df7-8a09-765794883524
* Add the missing PalLib NULL instance.lgao42010-05-241-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10539 6f19259b-4bc3-4df7-8a09-765794883524
* Add the missing PalLib NULL instance.lgao42010-05-231-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10538 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed the issue of that IP4driver can’t correctly reassemble the Out of ↵qianouyang2010-05-211-1/+1
| | | | | | Sequence Fragments. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10537 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up package/platform DSC files by the following steps:lgao42010-05-211-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
* MdeModulePkg AcpiTableDxe: Fix GCC build warningjljusten2010-05-201-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
* fix a bug that FindVariable() may set GoneThrough flag wrongly when a >64K ↵erictian2010-05-201-1/+1
| | | | | | variable exists. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10524 6f19259b-4bc3-4df7-8a09-765794883524
* Fix VS2003 build errorjyao12010-05-191-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10518 6f19259b-4bc3-4df7-8a09-765794883524
* Update QueryCapsuleCapabilities interface.li-elvin2010-05-192-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
* add security check.vanjeff2010-05-191-2/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10513 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg:jyao12010-05-1813-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
* Small code refinement in MdeModulePkg.rsun32010-05-174-89/+70
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10492 6f19259b-4bc3-4df7-8a09-765794883524
* Fix DxeCore Dispatch Issue that DXE drivers may not be dispatched if they ↵lgao42010-05-141-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
* Fix 3 K8 issues for PXE module hhuan132010-05-142-2/+31
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10489 6f19259b-4bc3-4df7-8a09-765794883524
* Fix minor format issue in file headerqhuang82010-05-132-3/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10485 6f19259b-4bc3-4df7-8a09-765794883524
* Fix for UNIXGCC buildjchen202010-05-121-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10483 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Fix IPF ICC 11.1 issue when /Ox is used related to the use of local ↵mdkinney2010-05-114-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
* Add fix for the hardcoded Max ACPI table number. With this fix, the number ↵jchen202010-05-111-72/+195
| | | | | | of ACPI table has no limitations by dynamical allocation git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10480 6f19259b-4bc3-4df7-8a09-765794883524
* Minor comment update.xdu22010-05-101-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10477 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Use the max string size to compare password string.lgao42010-05-103-4/+8
| | | | | | 2. Check whether the local variable is valid as the array index. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10473 6f19259b-4bc3-4df7-8a09-765794883524
* Fix ICC 11.1 build breakmdkinney2010-05-071-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10467 6f19259b-4bc3-4df7-8a09-765794883524
* Update UHCI and ECHI drivers to both Stop and Reset the host controller at ↵mdkinney2010-05-072-5/+7
| | | | | | ExitBootServices(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10464 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bug in PciHostBridgeEnumerator().mdkinney2010-05-071-1/+1
| | | | | | | | | A linked list is created for the list of PCI Root Bridges in the platform. This list is then traversed to enumerate each PCI Root Bridge. After enumeration, the RootBridgeDev is destroyed, but it was not removed from the linked list before it was destroyed. This left the linked list of PCI Root Bridges in a bad state, specially if memory is cleared on frees, or the freed buffer was reallocated. The fix is to remove the node from the linked list before the RootBridgeDev is destroyed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10463 6f19259b-4bc3-4df7-8a09-765794883524
* raise TPL to TPL_CALLBACK level at DriverBindingStart() for all usb-related ↵erictian2010-05-056-12/+45
| | | | | | modules, which prevent DriverBindingStop() from being invoked when DriverBindingStart() runs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10460 6f19259b-4bc3-4df7-8a09-765794883524
* Use new API GetSectionFromAnyFvByFileType() of MdePkg DxeServicesLib ↵lgao42010-05-052-80/+12
| | | | | | library to get PE data of SMM_CORE driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10457 6f19259b-4bc3-4df7-8a09-765794883524
* Forcing functions with variable argument lists to use the same calling ↵geekboy15a2010-04-296-0/+9
| | | | | | | | convention (EFIAPI). This solves issues when using compilers where the default calling convention is not EFIAPI. This fixes boot issues when using GCC 4.4 in X64 modules. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10442 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-24298-549/+549
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10420 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-24369-723/+723
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10418 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug that FV->ReadSection cannot get the EFI_SECTION_GUID_DEFINED type ↵niruiyu2010-04-211-1/+1
| | | | | | section data. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10384 6f19259b-4bc3-4df7-8a09-765794883524
* Use SimpleTextInEx.Reset to initialize correctly KeyToggleStatue and ↵erictian2010-04-191-4/+4
| | | | | | KeyShiftState value. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10382 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed GCC 4.4 build issues due to EFIAPI not being used when required.geekboy15a2010-04-1635-7/+94
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10379 6f19259b-4bc3-4df7-8a09-765794883524
* 1.Fixed the bug when retrieved component name by child handle. It should ↵vanjeff2010-04-092-31/+31
| | | | | | | | | used gEfiConsoleInDeviceGuid, gEfiConsoleOutDeviceGuid instead of gEfiSimpleTextInProtocolGuid and gEfiSimpleTextOutProtocolGuid. 2.Fixed one bug when creating Console Standard error handle. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10350 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the issue that GCC treat enum type as unsigned int which incompatible ↵klu22010-04-071-2/+2
| | | | | | with UEFI spec's INT32. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10347 6f19259b-4bc3-4df7-8a09-765794883524
* Update the modules with the different module GUID to avoid the different ↵lgao42010-04-064-4/+4
| | | | | | modules with the same module GUID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10341 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Fix warning with VS2005 toolchain on IA32jljusten2010-04-051-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10338 6f19259b-4bc3-4df7-8a09-765794883524
* Avoid DEBUG_CLEAR_MEMORY clearing MemoryMap internal structure.jgong52010-04-031-8/+4
| | | | | | | | | | | | In CoreFreePages(), the following sequence might break the MemoryMap internal structure: CoreConvertPages() -> CoreFreeMemoryMapStack() -> AllocateMemoryMapEntry() -> CoreAllocatePoolPages() -> DEBUG_CLEAR_MEMORY() CoreConvertPages() will call CoreFreeMemoryMapStack() after it adds the freed memory range, so the latter might use the just freed memory range when calling AllocateMemoryMapEntry(). But CoreFreePages() will call DEBUG_CLEAR_MEMORY() after CoreConvertPages(). This might clear up the memory map entry structure. The fix calls DEBUG_CLEAR_MEMORY() just after freed memory range is added in CoreConvertPages(), which is safe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10335 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance SNP to be compatible with UNDI driver which doesn’t report correct ↵xdu22010-04-011-0/+10
| | | | | | network cable status in Initialize(), i.e. force MediaPresent in Snp Mode to be TRUE in case UNDI driver report no media but actually we have already received packet from network interface. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10327 6f19259b-4bc3-4df7-8a09-765794883524
* fixed IP fragment issue which caused the MTU used by IP is less than the one ↵qianouyang2010-03-281-1/+1
| | | | | | IP exposed to upper layers. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10320 6f19259b-4bc3-4df7-8a09-765794883524
* remove PxeBc->Stop () when EFI_BUFFER_TOO_SMALL, the calling PxeBc->Stop() ↵vanjeff2010-03-271-1/+3
| | | | | | in Driver Binding Stop() could make sure PXE functionality is stopped when disconnecting UefiPxeBcDxe module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10318 6f19259b-4bc3-4df7-8a09-765794883524
* Not maintained.hhtian2010-03-251-228/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10314 6f19259b-4bc3-4df7-8a09-765794883524