summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
Commit message (Collapse)AuthorAgeFilesLines
...
* Replaced MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE.vanjeff2010-11-102-19/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11023 6f19259b-4bc3-4df7-8a09-765794883524
* Fix ICC build break.rsun32010-11-101-7/+7
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11020 6f19259b-4bc3-4df7-8a09-765794883524
* Add new PCD ↵lgao42010-11-093-9/+101
| | | | | | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxEfiSystemTablePointerAddress for the MdeModulePkg that allows the platform DSC file to specify the address below which the EFI_SYSTEM_TABLE_POINTER structure is allocated. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11018 6f19259b-4bc3-4df7-8a09-765794883524
* Some existing PCI adapters with UEFI option ROMs make unaligned requests ↵rsun32010-11-093-0/+143
| | | | | | | | through the PCI I/O Protocol. Add support for unaligned requests in the PCI IO protocol implementation in the PCI Bus driver to be compatible with those UEFI option ROMs. This solution defines a PCD Feature Flag to enabled support for unaligned requests through the PCI I/O Protocol. This flag is disabled by default. Platforms that do want to support such EFI/UEFI drivers that make unaligned PCI I/O requests should enable this feature. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11016 6f19259b-4bc3-4df7-8a09-765794883524
* Per the UEFI spec, if a PCI controller is a P2P bridge, then the I/O, Memory ↵rsun32010-11-081-2/+2
| | | | | | | | | and Bus Master bits in the Command register of the PCI configuration header should be placed in the enabled state by the PCI Bus driver. But current PCI bus driver has a bug that if a P2P bridge has no child devices detected during enumeration, the bits won’t be set. This may impact PCI hot plug capable bridges because the OS may re-assign resources for them causing the reserved resource by the firmware will be overwritten. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11013 6f19259b-4bc3-4df7-8a09-765794883524
* Prevent infinite recursion when ASSERT(), DEBUG(), or any other use of ↵mdkinney2010-11-042-4/+39
| | | | | | ReportStatusCode is performed at > TPL_NOTIFY or there is not enough memory to allocate a buffer for the ExtendedData associated with the status code being reported git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11003 6f19259b-4bc3-4df7-8a09-765794883524
* Complement fix for revision #10998 (Remove PI SMM IPL's dependency on CPU AP).rsun32010-11-041-8/+12
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11001 6f19259b-4bc3-4df7-8a09-765794883524
* The CurrentNumberOfxxxxx should be based on the device going away, and not ↵vanjeff2010-11-031-2/+2
| | | | | | the next (or empty) device in the list. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11000 6f19259b-4bc3-4df7-8a09-765794883524
* swaps the order of timer disable and memory map termination to make sure ↵vanjeff2010-11-031-5/+5
| | | | | | memory map unchanged. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10999 6f19259b-4bc3-4df7-8a09-765794883524
* Remove PI SMM IPL's dependency on CPU AP so that PI SMM IPL can be ↵rsun32010-11-032-12/+19
| | | | | | | | dispatched before the CPU AP is installed. If PI SMM IPL will be dispatched before the CPU AP is installed for a platform, the platform developer is expected to set cache-ability of SMRAM to WB earlier to improve performance of SMM initialization. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10998 6f19259b-4bc3-4df7-8a09-765794883524
* Fix PCD token value conflict issue.gikidy2010-11-021-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10995 6f19259b-4bc3-4df7-8a09-765794883524
* Refine code to make code run more safely.ydong102010-11-011-1/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10993 6f19259b-4bc3-4df7-8a09-765794883524
* S.M.A.R.T feature enableerictian2010-10-282-0/+376
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10985 6f19259b-4bc3-4df7-8a09-765794883524
* Correct Data type conversion.lgao42010-10-262-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10981 6f19259b-4bc3-4df7-8a09-765794883524
* Update HiiDatabase->ExportPackageLists() service to support NULL HII handle ↵lgao42010-10-251-2/+2
| | | | | | per UEFI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10979 6f19259b-4bc3-4df7-8a09-765794883524
* Reserve one column at left screen to be more visually.lgao42010-10-253-4/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10978 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the following three issues:lgao42010-10-251-43/+17
| | | | | | | | | 1. When question is grayout, its value is not gray. 2. When type Ui UP action, Repaint is not trigged when next MenuOption is above the TopOfScreen. 3. When type Ui Down action, TopOfScreen is not calculated correctly when screen roll is required. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10977 6f19259b-4bc3-4df7-8a09-765794883524
* Use the correct length to copy KeyData.niruiyu2010-10-211-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10966 6f19259b-4bc3-4df7-8a09-765794883524
* Fix build issue in IPv4. qianouyang2010-10-202-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10964 6f19259b-4bc3-4df7-8a09-765794883524
* return EFI_DEVICE_ERROR if the Status value is not EFI_SUCCESS.erictian2010-10-194-6/+20
| | | | | | it's because BlockIo.Reset() only has two possible values: EFI_SUCCESS and EFI_DEVICE_ERROR according to UEFI2.3 spec git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10956 6f19259b-4bc3-4df7-8a09-765794883524
* Refine code to make code run more safely.ydong102010-10-187-7/+11
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10955 6f19259b-4bc3-4df7-8a09-765794883524
* set the interface of usb hid device to boot protocol if it's not in such case.erictian2010-10-182-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10953 6f19259b-4bc3-4df7-8a09-765794883524
* Fix minor gcc build break.andrewfish2010-10-151-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10943 6f19259b-4bc3-4df7-8a09-765794883524
* Update IPsec.h file to follow approved ECR which will be collected into ↵qianouyang2010-10-157-114/+274
| | | | | | | | | | | | future UEFI 2.3 Specification after 2.3 errata B and future UEFI Specifications after 2.3. The changes mainly include: 1. Add EFI_IPSEC2_PROTOCOL 2. Remove IPsec Authentication Algorithm Definition and IPsec Encryption Algorithm Definition. 3. Add EFI_IPSEC_SA_DATA2 data structure. And also update IPv4 driver to call EFI_IPSEC2_PROTOCOL. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10941 6f19259b-4bc3-4df7-8a09-765794883524
* Update ConPlatform driver to support GOP driver which creates multiple children.niruiyu2010-10-143-16/+112
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10936 6f19259b-4bc3-4df7-8a09-765794883524
* fix 32bit build warningerictian2010-10-142-14/+14
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10935 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg, MdeModulePkg: Fix several enum comparionsjljusten2010-10-132-2/+2
| | | | | | | | | | These comparisons were not comparing an enum variable with a member of the same enum type. GCC 4.5 generated a warning for these comparison operations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10932 6f19259b-4bc3-4df7-8a09-765794883524
* add ataatapipassthru driver to dsc fileerictian2010-10-121-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10917 6f19259b-4bc3-4df7-8a09-765794883524
* Correct the bad token number for ↵rsun32010-10-111-1/+1
| | | | | | gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10916 6f19259b-4bc3-4df7-8a09-765794883524
* 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