summaryrefslogtreecommitdiff
path: root/MdeModulePkg
AgeCommit message (Collapse)Author
2009-08-26Minor bugs fixes from testing on Xcode 3.2 and with the iPhone SDK 3.0 ↵AJFISH
compiler. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9202 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26add assertion to ensure HwErr type variable range is less than or equal to ↵eric_tian
VariableStore range. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9199 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26Fixed a bug on the menu display: Following steps to reproduce it:jchen20
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
2009-08-26Fixed a bug on the menu display: Following steps to reproduce it:jchen20
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
2009-08-24Adjust the parameter order of debug print. Judging from the context, the ↵qhuang8
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
2009-08-24Make end of line consistent caused by previous check in.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9183 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24Make end of line consistent caused by previous check in.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9178 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24Integrate the patch contributed by Andrew Fish to port MdeModulePkg to ↵qhuang8
support ARM. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9174 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24free allocated memory in error handler.eric_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9173 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-21Update the comments avoid making confuse. gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9169 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-21Use .fill directive to improve portability.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9166 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20PcdDxeIplBuildShareCodeHobs, PcdDxeIplSupportCustomDecompress, ↵jchen20
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
2009-08-20Use .p2align directive instead of ambiguous .align directive.qhuang8
(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
2009-08-19Do not use WriteUnaligned64() in BaseLib since StartingOffset and ↵qhuang8
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
2009-08-19Add a missing worker function to convert MEDIA_RELATIVE_OFFSET_RANGE_DP to textqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9139 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-19add error handler in return places.eric_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9119 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-19modify the incorrect timeout value definitions in Usb drivereric_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9117 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-18Enhance Capsule driver to update capsule one by one. lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9082 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-17Update PCD driver to correctly set the HII type PCDs.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9078 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-14Enhance Partition driver for EFI_NO_MEDIA caseqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9070 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-14Enhance GPT to remove the assumption that GPT partition entry in PMBR must ↵qhuang8
be the first partition entry. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9069 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-14Fix a potential issue to use FreePool() with NULL pointer.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9068 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-14Use siaddr in DHCP packet, if zero, use option 54 instead.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9066 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-131. update timeout interval time from 10ms to 50msvanjeff
2. refine MnpDxe code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9063 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-12Remove ".intel_syntax", convert MASM to GAS.gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9059 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11Retire the usage of S3Lib and RecoveryLib since DxeIpl does not use them any ↵qhuang8
more. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9050 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11Update the comments for S3Lib and RecoveryLib class to state that they are ↵qhuang8
deprecated. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9048 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11Update the comments for S3Lib and RecoveryLib class and instance to state ↵qhuang8
that they are deprecated. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9047 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-111. Update DxeIpl PEIM to not use PeCoffLoaderLib to load DXE core. Instead, ↵qhuang8
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
2009-08-111. Update IA32 PeiCore implementation to support load x64 image for ↵qhuang8
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
2009-08-11add comments to clarify the enhancement on EHCI driver, which is guaranteed ↵eric_tian
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
2009-08-11add condition judgment to avoid accessing NULL address if not found existing ↵eric_tian
variable. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9038 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11update include file to use IndustryStandard/Pci.heric_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9036 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-10add correct [Depex] section.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9032 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-07Correct the format of comments lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9029 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-29update MdePkg version to 1.01vanjeff
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
2009-07-27Fixed build issue on GCC compiler. This issue is introduced by one mistaken ↵vanjeff
in one checking-in on Main trunk only. The patch(MdeModulePkg.patch) for EFI_MTFTP4_TOKEN based on MdePkg release 1.00 has no this issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9009 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24Updated EFI_MTFTP4_TOKEN structure to add member Context. It's an ↵vanjeff
incompatible change adopted by UEFI group. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9005 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24roll back the changes on replace Pcixx.h with Pci.h due to it's NOT in the ↵eric_tian
scope of this release. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9002 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24if module doesn't explicitly depend on specific Pci spec, it should include ↵eric_tian
IndustryStandard/Pci.h rather than Pcixxx.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8996 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24code cleanup:eric_tian
1. remove unused macro/remove unnecessary included header file 2. for those values defined by PCI spec, use the naming of definition in IndustryStandard/Pci.h 3. use BITX macro in Base.h rather than define one by self. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8992 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24Roll back the change in Partition driver. currently we enhance the EHCI ↵eric_tian
driver to guarantee that the EHCI controller get attached to the EHCI controller before the UHCI driver attaches to the UHCI controller. This way can avoid the case happen that UHCI sees the disconnect and EHCI sees the connect event due to the control transfer in shared port. It may cause Partition.Start to be interrupted by Partition.Stop. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8991 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24remove the unnecessary comments.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8987 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24Add comments to specify Capsule services provided by this driver can't be ↵lgao4
used for IPF arch when OS enter into physical mode. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8985 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-23Adding a segment code to make sure that the EHCI controller get attached to ↵eric_tian
the EHCI controller before the UHCI driver attaches to the UHCI controller git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8984 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-23Remove use of BackupMarker local variable in CreateDialog() because ↵mdkinney
assigning a VA_LIST in this manner is not portable to all tool chains. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8981 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-23Fixed a bug that the system hangs with an assert in DiskIo.c that is ↵rsun3
division overflow due to block size == 0 when no flppy media is present in a specific type of USB floppy drive (NEC PC-VP-BU04)at power on. Root cause is that Read Capacity command returns media not present error, then UsbMassStorage driver issues Sense Request command to get the sense data. However, the USB floppy drive still returns the previous error for the Sense Request command. UsbBootRequestSense() does not handle this case correctly and returns EFI_SUCCESS so that the block size of the Block IO protocol instance is set to be 0. Solution is to fix the logic to handle the case and add protective logic to avoid setting block size to be 0. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8979 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-22if Usb mass storage interface returns EFI_DEVICE_ERROR, we should jump out ↵eric_tian
the loop which is used to determine if the current block device supports GPT/Torito/MBR in Partition driver. This way can avoid Partition.start is interrupted by itself Partition.stop(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8977 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-18Fix bug in EBC thunk for X64 that appears when higher levels of compiler ↵mdkinney
optimization is used. This is a temporary fix that should for for most tool chains. A more complete fix will be required to guarantee compatibility with all tool chains. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8973 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17Fix bug in EBC thunk for X64 that appears when higher levels of compiler ↵mdkinney
optimization is used. This is a temporary fix that should for for most tool chains. A more complete fix will be required to guarantee compatibility with all tool chains. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8970 6f19259b-4bc3-4df7-8a09-765794883524