summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
Commit message (Collapse)AuthorAgeFilesLines
* Make ASSERT statement more meaningful.lgao42009-09-172-8/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9276 6f19259b-4bc3-4df7-8a09-765794883524
* 1. updated "the Bus Driver that creates all of its child handles on the ↵vanjeff2009-09-161-12/+39
| | | | | | | | | | | | first call to Start()" not to create any child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3. The others changes include: a. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called. b. Check IO protocol firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle. 2. roll back serial drivers not to create child device, if the device speicifed by remainingdevicepath cannot find in the created devices list. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9267 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance PeiCore and DxeCore check whether the image machine type is ↵lgao42009-09-162-0/+15
| | | | | | supported when start image. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9266 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Add "CAPSULE_FLAGS_INITIATE_RESET" flag support.qhuang82009-09-161-12/+43
| | | | | | 2. Minor update CapuseUpdate() implementation to align with recent UEFI spec update. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9265 6f19259b-4bc3-4df7-8a09-765794883524
* 1. updated PCI/AGP Devices to check RemainingDevicePath in Supported() and ↵vanjeff2009-09-151-1/+1
| | | | | | | | | | | | Start() functions. The main changes are: a. Add check validation of RemainingDevicePath in Supported() b. In Star() function, if RemaingDevicePath is the End of Device Path Node, don't create child device and return EFI_SUCCESS. 2. fixed one device path issue in ScsiBus driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9264 6f19259b-4bc3-4df7-8a09-765794883524
* updated the Bus Driver that is able to create all or one of its child ↵vanjeff2009-09-144-83/+182
| | | | | | | | | | | | handles on each call to Start() not to create new child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3. The others changes include: 1. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called. 2. Check IO protocol firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle. 3. If no any child device is created on last time, and RemainingDevicePath is valid Uart Devcie path, go on creating child device handle based on this RemainingDevicePath. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9262 6f19259b-4bc3-4df7-8a09-765794883524
* fix k8 warning.eric_tian2009-09-141-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9260 6f19259b-4bc3-4df7-8a09-765794883524
* In various archs, Processor memory address may not be same with Pci memory ↵eric_tian2009-09-147-71/+195
| | | | | | address. For usb host controller, we should use pci memory address to initialize framelist register and all address field in QH/TD. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9259 6f19259b-4bc3-4df7-8a09-765794883524
* Set correctly FV format guid when install FV INFO PPI.lgao42009-09-101-3/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9254 6f19259b-4bc3-4df7-8a09-765794883524
* if PcdHwErrStorageSize is zero, it means HwErr variable store doesn't exist ↵eric_tian2009-09-101-3/+4
| | | | | | in Variable Region. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9252 6f19259b-4bc3-4df7-8a09-765794883524
* EMU Variable: Add support for pre-reserved NV variable store.jljusten2009-09-073-22/+115
| | | | | | | | | | | | | | | | | | | Add PcdEmuVariableNvStoreReserved which allows a platform to declare a memory address for the EMU Variable driver to use for the NV variable store. The EMU Variable driver will look to see if the contents of this memory range appear to be a valid variable store, and if so the EMU driver will use the variables. If a platform can preserve a memory range across system resets, this feature can allow the EMU Variable driver's NV variable store to be preserved across a system reset. In the default case this PCD will be set as a fixed PCD with a value of 0. In this case this new feature should have minimal impact on the EMU Variable driver. (Perhaps a slight increase in code size, but no functional difference is expected.) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9240 6f19259b-4bc3-4df7-8a09-765794883524
* Remove unnecessary library mapping. qhuang82009-09-041-3/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9239 6f19259b-4bc3-4df7-8a09-765794883524
* due to EmuVariable driver only uses volatile memory to simulate the variable ↵eric_tian2009-08-271-2/+2
| | | | | | region, so PcdHwErrStorageSize should be less than or equal to PcdVariableStoreSize git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9204 6f19259b-4bc3-4df7-8a09-765794883524
* refine the code.vanjeff2009-08-271-2/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9203 6f19259b-4bc3-4df7-8a09-765794883524
* Minor bugs fixes from testing on Xcode 3.2 and with the iPhone SDK 3.0 ↵AJFISH2009-08-262-2/+1
| | | | | | compiler. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9202 6f19259b-4bc3-4df7-8a09-765794883524
* add assertion to ensure HwErr type variable range is less than or equal to ↵eric_tian2009-08-263-3/+20
| | | | | | VariableStore range. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9199 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed a bug on the menu display: Following steps to reproduce it:jchen202009-08-261-4/+4
| | | | | | | | | | | | | | | | | | 1. Boot to shell 2. go to boot maint manager 3. Boot options 4. Add boot option 5. Add 15 or so unique boot options (just so the list scrolls) 6. go the boot maint manager 7. go to Boot options 8. go to Change boot order 9. the list is long enough that it scrolls when you push down once (to get to the commit option) 10. push down once and then up once (repeat) (from list selected to "commit" selected) 11. you will notice the list and text is getting corrupt 12. do it until all items in list are gone (system will assert) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9197 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed a bug on the menu display: Following steps to reproduce it:jchen202009-08-261-2/+7
| | | | | | | | | | | | | | | | | | 1. Boot to shell 2. go to boot maint manager 3. Boot options 4. Add boot option 5. Add 15 or so unique boot options (just so the list scrolls) 6. go the boot maint manager 7. go to Boot options 8. go to Change boot order 9. the list is long enough that it scrolls when you push down once (to get to the commit option) 10. push down once and then up once (repeat) (from list selected to "commit" selected) 11. you will notice the list and text is getting corrupt 12. do it until all items in list are gone (system will assert) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9196 6f19259b-4bc3-4df7-8a09-765794883524
* Adjust the parameter order of debug print. Judging from the context, the ↵qhuang82009-08-241-3/+3
| | | | | | first parameter should be memory type while the second and third parameters should be memory start and end. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9184 6f19259b-4bc3-4df7-8a09-765794883524
* Make end of line consistent caused by previous check in.qhuang82009-08-246-1145/+1145
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9183 6f19259b-4bc3-4df7-8a09-765794883524
* Make end of line consistent caused by previous check in.qhuang82009-08-241-333/+333
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9178 6f19259b-4bc3-4df7-8a09-765794883524
* Integrate the patch contributed by Andrew Fish to port MdeModulePkg to ↵qhuang82009-08-247-1090/+1212
| | | | | | support ARM. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9174 6f19259b-4bc3-4df7-8a09-765794883524
* free allocated memory in error handler.eric_tian2009-08-242-0/+9
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9173 6f19259b-4bc3-4df7-8a09-765794883524
* Update the comments avoid making confuse. gikidy2009-08-211-0/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9169 6f19259b-4bc3-4df7-8a09-765794883524
* Use .fill directive to improve portability.qhuang82009-08-211-3/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9166 6f19259b-4bc3-4df7-8a09-765794883524
* PcdDxeIplBuildShareCodeHobs, PcdDxeIplSupportCustomDecompress, ↵jchen202009-08-201-5/+0
| | | | | | | | | PcdDxeIplSupportCustomDecompress,PcdDxeIplSupportCustomDecompress and PcdStatusCodeRuntimeMemorySize and PcdPlatformCsmSupport is only be used as Feature Flag PCD and delete the Patchable usage git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9154 6f19259b-4bc3-4df7-8a09-765794883524
* Use .p2align directive instead of ambiguous .align directive.qhuang82009-08-202-4/+4
| | | | | | (Judging from the context, the original .align should means the power of two.) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9153 6f19259b-4bc3-4df7-8a09-765794883524
* Do not use WriteUnaligned64() in BaseLib since StartingOffset and ↵qhuang82009-08-191-8/+2
| | | | | | EndingOffset field in MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH structure has been correctly to ensure of natural alignment. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9140 6f19259b-4bc3-4df7-8a09-765794883524
* Add a missing worker function to convert MEDIA_RELATIVE_OFFSET_RANGE_DP to textqhuang82009-08-191-0/+33
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9139 6f19259b-4bc3-4df7-8a09-765794883524
* add error handler in return places.eric_tian2009-08-191-16/+51
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9119 6f19259b-4bc3-4df7-8a09-765794883524
* modify the incorrect timeout value definitions in Usb drivereric_tian2009-08-193-5/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9117 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance Capsule driver to update capsule one by one. lgao42009-08-181-51/+47
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9082 6f19259b-4bc3-4df7-8a09-765794883524
* Update PCD driver to correctly set the HII type PCDs.lgao42009-08-171-6/+10
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9078 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance Partition driver for EFI_NO_MEDIA caseqhuang82009-08-141-6/+18
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9070 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance GPT to remove the assumption that GPT partition entry in PMBR must ↵qhuang82009-08-141-5/+10
| | | | | | be the first partition entry. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9069 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a potential issue to use FreePool() with NULL pointer.qhuang82009-08-141-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9068 6f19259b-4bc3-4df7-8a09-765794883524
* Use siaddr in DHCP packet, if zero, use option 54 instead.vanjeff2009-08-142-5/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9066 6f19259b-4bc3-4df7-8a09-765794883524
* 1. update timeout interval time from 10ms to 50msvanjeff2009-08-135-164/+180
| | | | | | 2. refine MnpDxe code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9063 6f19259b-4bc3-4df7-8a09-765794883524
* Remove ".intel_syntax", convert MASM to GAS.gikidy2009-08-121-244/+242
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9059 6f19259b-4bc3-4df7-8a09-765794883524
* Retire the usage of S3Lib and RecoveryLib since DxeIpl does not use them any ↵qhuang82009-08-111-3/+1
| | | | | | more. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9050 6f19259b-4bc3-4df7-8a09-765794883524
* Update the comments for S3Lib and RecoveryLib class to state that they are ↵qhuang82009-08-111-0/+4
| | | | | | deprecated. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9048 6f19259b-4bc3-4df7-8a09-765794883524
* Update the comments for S3Lib and RecoveryLib class and instance to state ↵qhuang82009-08-116-7/+23
| | | | | | that they are deprecated. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9047 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Update DxeIpl PEIM to not use PeCoffLoaderLib to load DXE core. Instead, ↵qhuang82009-08-115-265/+49
| | | | | | | | we choose to use EFI_PEI_LOAD_FILE_PPI to load DxeCore. This implementation can help to save ~3KB size for PEI phase. 2. Update DxeIpl PEIM to not use S3Lib and RecoveryLib since the dependent PPIs have been moved from IntelFrameworkPkg to MdePkg. This will help to reduce the library instance selection in platform DSC files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9046 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Update IA32 PeiCore implementation to support load x64 image for ↵qhuang82009-08-111-15/+5
| | | | | | | | EFI_PEI_LOAD_FILE_PPI. 2. Simplify the implementation of PeiLoadImage() in PeiCore to skip the function call of PeiLoadImageLoadImage() because PeiCore itself produce one instance of EFI_PEI_LOAD_FILE_PPI. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9045 6f19259b-4bc3-4df7-8a09-765794883524
* add comments to clarify the enhancement on EHCI driver, which is guaranteed ↵eric_tian2009-08-112-3/+27
| | | | | | to get attached to EHCI host controller before UHCI driver attaches to uhci host controller. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9040 6f19259b-4bc3-4df7-8a09-765794883524
* add condition judgment to avoid accessing NULL address if not found existing ↵eric_tian2009-08-111-2/+4
| | | | | | variable. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9038 6f19259b-4bc3-4df7-8a09-765794883524
* update include file to use IndustryStandard/Pci.heric_tian2009-08-111-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9036 6f19259b-4bc3-4df7-8a09-765794883524
* add correct [Depex] section.vanjeff2009-08-101-1/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9032 6f19259b-4bc3-4df7-8a09-765794883524
* Correct the format of comments lgao42009-08-071-43/+30
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9029 6f19259b-4bc3-4df7-8a09-765794883524
* update MdePkg version to 1.01vanjeff2009-07-292-65/+65
| | | | | | | | | update MdeModulePkg version to 0.90 update IntelFrameworkPkg version to 0.90 update IntelFrameworkModulePkg version to 0.90 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9021 6f19259b-4bc3-4df7-8a09-765794883524