summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
Commit message (Collapse)AuthorAgeFilesLines
* remove additional space from comments and pass ICC/GCC44 builderictian2010-09-305-1124/+1114
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10903 6f19259b-4bc3-4df7-8a09-765794883524
* add native ide/ahci drivererictian2010-09-298-0/+8805
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10901 6f19259b-4bc3-4df7-8a09-765794883524
* Refine code to make code run safely.ydong102010-09-1612-26/+29
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10880 6f19259b-4bc3-4df7-8a09-765794883524
* Refine soma code to make code run safely.ydong102010-09-1537-142/+174
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10877 6f19259b-4bc3-4df7-8a09-765794883524
* Update this library to restrict usage to DXE_RUNTIME_DRIVER and ↵mdkinney2010-09-101-1/+1
| | | | | | DXE_SAL_DRIVER module types git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10866 6f19259b-4bc3-4df7-8a09-765794883524
* Improve PXE Over IPv4 performance:hhuan132010-09-093-14/+18
| | | | | | | 1. Stop UdpWrite instance upon return from EfiPxeBcUdpWrite() to avoid mass pkgs enqueue to this useless instance in Udp layer. 2. Enhance Udp timeout logic to prevent the worst case happen, and set PxeUdp instance to 50ms to avoid enqueue mass pkgs in background. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10861 6f19259b-4bc3-4df7-8a09-765794883524
* Rename one file to follow the file naming convention.rsun32010-09-072-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10855 6f19259b-4bc3-4df7-8a09-765794883524
* Rename one file to follow the file naming convention.rsun32010-09-071-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10854 6f19259b-4bc3-4df7-8a09-765794883524
* Fill AtaDeviceHeader field in ATA command blockqhuang82010-09-021-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10849 6f19259b-4bc3-4df7-8a09-765794883524
* The patch acknowledges the TCP zero window probe message, either the format ↵tye12010-08-275-14/+24
| | | | | | with 1 byte new data, or no new data. It also increases exponentially the interval between successive probes when performing TCP zero window probe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10831 6f19259b-4bc3-4df7-8a09-765794883524
* To comply w/ UEFI spec , In Dhcp(), Discover(), and Mtftp() interfaces, set ↵hhuan132010-08-271-20/+94
| | | | | | the IP filter to use StationIp. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10829 6f19259b-4bc3-4df7-8a09-765794883524
* Avoid DxeCore to reclaim PEI stack as IDT may be on it (like 32-bit OVMF).pgao22010-08-261-3/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10825 6f19259b-4bc3-4df7-8a09-765794883524
* Change the check condition for 16 byte command, when HDD size is > 2TB, use ↵li-elvin2010-08-232-48/+53
| | | | | | 16 byte command instead. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10817 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed Ip4 bug that causing Iscsi reconnect hang sporadically . In ↵hhuan132010-08-202-11/+3
| | | | | | Ip4OutPut()->Ip4IpSecProcessPacket() line 511, each time "reconnect -r", IpSb is re-allocated in IpDriver.Start(). But only when the first time, IpSb->OldMaxPacketSize = IpSb->MaxPacketSize; For the sequential reconnect, IpSb->OldMaxPacketSize is left dirty. Somtimes it is 0, causing the next sending packages generate exception. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10810 6f19259b-4bc3-4df7-8a09-765794883524
* clear the correct BAR register. Because for P2P device, only register from ↵niruiyu2010-08-181-2/+8
| | | | | | 0x10 to 0x14 is BAR register. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10805 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Introduce PcdTftpBlockSize to let platform DSC customize block size.hhuan132010-08-184-1/+23
| | | | | | 2. Roll back the default block size to handle all link layers. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10803 6f19259b-4bc3-4df7-8a09-765794883524
* remove CpuBreakpoint ().vanjeff2010-08-171-1/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10801 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed one bug which may lead standard error handle could not be set into ↵vanjeff2010-08-171-2/+1
| | | | | | system table correctly since default return status is set to error by default. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10800 6f19259b-4bc3-4df7-8a09-765794883524
* Roll back BlockSize to 0x8000 for PXE performance concern.hhuan132010-08-151-5/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10798 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bug in Ip4Dxe and Dhcp4Dxe to ensure that RaiseTPL and RestoreTPL are in ↵xdu22010-08-122-6/+8
| | | | | | pair. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10790 6f19259b-4bc3-4df7-8a09-765794883524
* Minor code refinement.rsun32010-08-101-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10785 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed K9 scan issues.hhuan132010-08-091-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10780 6f19259b-4bc3-4df7-8a09-765794883524
* Move registration of DXE Core with PeCoffExtraActionLib after the lib ↵mdkinney2010-08-062-16/+16
| | | | | | constructors have been executed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10778 6f19259b-4bc3-4df7-8a09-765794883524
* Fix IP address text representation issue about leading zeros jjin92010-08-061-3/+56
| | | | | | | | 1.It keeps the rule that Leading zero’s compression(Yes/Not) need to be consistent throughout the whole IP address. 2.It also fixes some issue to recognize some invalid representation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10777 6f19259b-4bc3-4df7-8a09-765794883524
* According to SCSI spec, ANSI version is 3 bits, so 0x7 should be used to get ↵li-elvin2010-08-042-5/+5
| | | | | | correct ANSI version. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10773 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a typo in Ip4ConfigDriverBindingStart(): it should be ↵xdu22010-08-041-1/+1
| | | | | | gEfiManagedNetworkServiceBindingProtocolGuid instead of gEfiManagedNetworkProtocolGuid. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10772 6f19259b-4bc3-4df7-8a09-765794883524
* Update MnpDxe to deliver VLAN tagged packet even when there is no VLAN is ↵xdu22010-08-041-1/+8
| | | | | | configured through VlanConfig protocol, this ensure that interesting applications could still get chance to receive all layer 2 frames. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10771 6f19259b-4bc3-4df7-8a09-765794883524
* Update DXE Core so its own PE/COFF image is passed to the PeCoffExtraActionLibmdkinney2010-08-033-0/+14
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10769 6f19259b-4bc3-4df7-8a09-765794883524
* Add debug print that the system is about to be reset. I was seeing watchtog ↵andrewfish2010-07-301-0/+3
| | | | | | timeouts in UnixPkg and they were hard to debug as gdb was exiting. This debug print should be useful in general. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10761 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug. iSCSI driver doesn’t follow driver model Start()/Stop() in case ↵hhuan132010-07-302-21/+74
| | | | | | no configuration data for login. So when VLAN form Add/Remove items, iScsi form cannot update MAC address. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10740 6f19259b-4bc3-4df7-8a09-765794883524
* Add NULL pointer checking against Data.xli242010-07-303-3/+6
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10724 6f19259b-4bc3-4df7-8a09-765794883524
* Fix one issue: Some last IP settings may be lost when IP setting was re-set.vanjeff2010-07-301-0/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10720 6f19259b-4bc3-4df7-8a09-765794883524
* Handle gEfiStatusCodeDataTypeStringGuid in status code handler drivers.xli242010-07-309-7/+49
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10716 6f19259b-4bc3-4df7-8a09-765794883524
* Roll back change r10696, because new update on r10700 and r10701 handles ↵lgao42010-07-281-15/+3
| | | | | | this issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10705 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance FV2.ReadSection() to read GUIDED section raw data when its ↵lgao42010-07-281-20/+134
| | | | | | extraction guided protocol doesn’t exist. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10702 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance PiSmmCoreMemoryAllocationLib Free function implementation to call ↵lgao42010-07-282-3/+125
| | | | | | gSmst or gBS Free service according to the buffer in or out of SMRAM range. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10701 6f19259b-4bc3-4df7-8a09-765794883524
* Make sure gBS FreePool() is used to free the buffer always allocated by gBS ↵lgao42010-07-261-3/+15
| | | | | | AllocatePool() service. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10696 6f19259b-4bc3-4df7-8a09-765794883524
* Update AtaBus module to use Uefi.h as the master header file as it is a pure ↵qhuang82010-07-261-1/+1
| | | | | | UEFI driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10693 6f19259b-4bc3-4df7-8a09-765794883524
* Add 64-bit versions of FLASH Base addressess as it is legal to have them ↵andrewfish2010-07-227-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
* Per UEFI Spec, LowestAlignedLba and LogicalBlocksPerPhysicalBlock must be 0 ↵niruiyu2010-07-201-1/+10
| | | | | | for logical partitions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10668 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Add init flag DEBUG_AGENT_INIT_DXE_AP.vanjeff2010-07-193-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
* Fix 64-bit bug in DxeIpl. You can't cast an & UINT64 to a UINT32 *, as the ↵andrewfish2010-07-181-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
* Enhance to follow UEFI2.3 spec - the EFI_ACPI_TABLE_PROTOCOL will ensure ↵jyao12010-07-161-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
* Refine code.vanjeff2010-07-134-21/+175
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10648 6f19259b-4bc3-4df7-8a09-765794883524
* Change type of PcdSrIovSupport/PcdAriSupport/PcdMrIovSupport from ↵rsun32010-07-131-9/+9
| | | | | | FeatureFlag to [FixAtBuild, PcdDynamics]. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10646 6f19259b-4bc3-4df7-8a09-765794883524
* Return from ProgramBar() after VF BARs are programmed.rsun32010-07-131-1/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10645 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bugs in the PCI bus driver to support SR-IOV.rsun32010-07-136-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
* remove duplicated code.vanjeff2010-07-121-6/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10643 6f19259b-4bc3-4df7-8a09-765794883524
* Remove ASSERT and change to if ()hhuan132010-07-081-4/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10640 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug by adding * for Ptr8hhuan132010-07-081-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10639 6f19259b-4bc3-4df7-8a09-765794883524