summaryrefslogtreecommitdiff
path: root/MdeModulePkg
AgeCommit message (Collapse)AuthorFilesLines
2009-07-23Fixed a bug that the system hangs with an assert in DiskIo.c that is ↵rsun31-2/+8
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_tian1-1/+1
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 ↵mdkinney2-1/+2
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 ↵mdkinney2-3/+4
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
2009-07-17Remove the inaccurate comments.lgao41-2/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8967 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17Add comments for CapsuleRuntimeDxe driver to specify this driver may not ↵lgao41-0/+2
full support runtime usage for capsule services on IPF arch platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8963 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17fixed ASSERT condition issue.vanjeff1-2/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8961 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-15Clean up PERF macro usage. The macros were being used with 0 as the first ↵darylm5031-807/+807
parameter. This parameter is actually a void*. All of these instances were corrected to use NULL as the first parameter. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8955 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-15initial Target byte array with 0xff (all bytes are 0xff in this array)in ↵eric_tian1-0/+1
GetTargetLun to consistent with GetNextTargetLun. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8946 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13Roll back R8811 check in for it will get a double carriage return. gikidy1-10/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8922 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11Correct #include statements. This is a DXE DRIVER, not a UEFI module.mdkinney1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8898 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11Retire NetLibQueueDpc() and NetLibDispatchDpc() and use QueueDpc() and ↵mdkinney33-174/+53
DispatchDpc() from the DpcLib instead. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8897 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-101. remove duplicated NetLibDispatchDpc() calling in Pool function.vanjeff6-41/+38
2. use mde library 3. add security check. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8860 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09Add PCDs for FirmwareVendor, FirmwareRevision, FirmwareVerisonString, and ↵mdkinney1-0/+13
FirmwareReleaseDateString git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8848 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09add security check.vanjeff5-14/+22
update functions comments. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8832 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08add security check.vanjeff8-31/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8819 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08Fix OutputString() in the console driver does not auto-scroll when you fill ↵gikidy1-0/+10
up the screen like the graphics driver does. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8811 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08Add check that Progress is NULL lgao41-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8789 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07Update the conflicted function name with UefiLib from CreatePopUp to ↵lgao43-3/+3
CreateMultiStringPopUp. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8778 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07Move PcatRealTimeClockRuntimeDxe driver to PcAtChipsetPkgklu21-5/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8768 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07Move PcatRealTimeClockRuntimeDxe driver to PcAtChipsetPkgklu24-1643/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8766 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-06Fix PcRtc Year calculation bug.lgao41-4/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8757 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-06Enhance iSCSI ibft table for copy oemid and oemtableID from acpi tables.gikidy4-4/+40
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8752 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-03remove UndiRuntimeDxe from MdeModulePkg to OptionRomPkgvanjeff7-7180/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8739 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-03fix the issue of "Simple File System Protocol Test -> SetInfo_Conf failed on ↵eric_tian1-2/+2
RAS_MB". When it print a string contained a control character of 0xc, it will hang on ConOut->OutputString() which will preprocessor some control character and call HiiStringToImage to render. There is gap between ConOut->OutputString() and HiiStringToImage.The former doesn't identify '0xc' as a line break character and assert only one line font printed. But the latter think it is so and print 2 line, which causes assertion. I add EFI_HII_IGNORE_LINE_BREAK flag to force HiiStringToImage ignore the force line break character. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8736 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02Refine doxygen commentsklu24-23/+23
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8726 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02Remove library class of MemoryTestLib and related library instances.xli247-557/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8722 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01Fix date/time not work for the return value of RtcRead not need type convert.gikidy1-6/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8698 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01sync tracker 210250&210253 of R8 into R9, which fix the issue of iSCSI CHAP ↵eric_tian3-6/+11
Secret UI allows the minimum number of 13 characters while the spec only requires 12 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8694 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01Add Null implementation of the Reset System Library that generated an ↵mdkinney4-0/+118
ASSERT() on all reset APIs. This library can be used as a template to implement a Reset System Library for a specific platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8693 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30add error handler to pass K8 checkeric_tian3-12/+20
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8687 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30Refine the member name.klu23-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8683 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29add security check.vanjeff22-40/+90
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8680 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29add assertion to pass K8 check.eric_tian1-0/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8679 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29Update the SCSI Disk Driver to not mount drives on physical only SCSI channelsgikidy3-38/+179
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8677 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29Fix incorrect error handling when PXE boot timeout.gikidy1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8675 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26Enhance error handle of BuildDevicePath for it is possible to receive other ↵gikidy1-1/+1
errors. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8667 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25Correct DriverSample ConfigAcess protocol ExtractConfig interface.lgao42-13/+22
Correct SetupBrowser to set default value for default sting ID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8660 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25Extend the max number of interface to 128 and correct the display of eth name.gikidy1-10/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8656 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25roll back r8590 patcheric_tian1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8652 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24add assertion to ensure ACPI table is checksumed.eric_tian1-0/+8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8650 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24do checksum before installing IBFT.eric_tian1-1/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8649 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24remove the self-implementation on checksum() in this module by using BaseLib.eric_tian3-39/+6
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8637 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23refine VariablePei driver to unify the algorithm of access ↵eric_tian5-163/+45
VariableIndexTable among various archs. 1. record the distance of two neighboring VAR_ADDED type variables rather than the offset of each variable. As the field recording this info is UINT16 width, the latter causes in IA32/X64 platform, it can only cache those variables from offset 0 to offset 2^16; in IPF platform, from offset 0 to offset 2^18(extend the scope by left-shift the offset two bits). when taking the former algorithm, the max range of caching variable is from offset 0 to offset 122*(2^16) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8625 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-18update the usage help text on variable statistic information.eric_tian3-2/+13
VariableInfo application also is added a output string to help user know what happens. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8596 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-18the checksum must to be updated when install a new table into ACPI tableeric_tian1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8590 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12Fix Parameter IN OUTlgao41-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8537 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12Update some comments for MdeModulePkg Include header files.lgao47-109/+90
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8536 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11Committing changes to the comments, to improve code documentation. pkandel26-329/+306
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8533 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11The USB keyboard driver use too high TPL event (Notify) to a ckeck repeated ↵gikidy1-1/+1
key stoke, should use CallBack instead. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8527 6f19259b-4bc3-4df7-8a09-765794883524