audk/MdeModulePkg
rsun3 88e349f1fe Fixed a bug that the system hangs with an assert in DiskIo.c that is 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-23 01:30:16 +00:00
..
Application update the usage help text on variable statistic information. 2009-06-18 08:23:57 +00:00
Bus Fixed a bug that the system hangs with an assert in DiskIo.c that is 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. 2009-07-23 01:30:16 +00:00
Core Clean up PERF macro usage. The macros were being used with 0 as the first parameter. This parameter is actually a void*. All of these instances were corrected to use NULL as the first parameter. 2009-07-15 22:34:41 +00:00
Include Retire NetLibQueueDpc() and NetLibDispatchDpc() and use QueueDpc() and DispatchDpc() from the DpcLib instead. 2009-07-11 22:51:51 +00:00
Library Retire NetLibQueueDpc() and NetLibDispatchDpc() and use QueueDpc() and DispatchDpc() from the DpcLib instead. 2009-07-11 22:51:51 +00:00
Logo INF head modified 2008-12-12 01:27:36 +00:00
Universal if Usb mass storage interface returns EFI_DEVICE_ERROR, we should jump out 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(). 2009-07-22 02:01:41 +00:00
ChangeLog.txt updated to use the term “temporary memory” but not CAR 2009-04-08 08:14:09 +00:00
MdeModulePkg.dec Add PCDs for FirmwareVendor, FirmwareRevision, FirmwareVerisonString, and FirmwareReleaseDateString 2009-07-09 23:48:54 +00:00
MdeModulePkg.dsc Move PcatRealTimeClockRuntimeDxe driver to PcAtChipsetPkg 2009-07-07 03:20:31 +00:00