Acidanthera UEFI Development Kit based on EDK II edk2-stable202311
Go to file
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
BaseTools Hot fixing for the bug that GenFw can not convert ELF to PE format correctly, the root cause is invalid size of OptionalHeader is computed. 2009-07-21 16:56:35 +00:00
Conf Adding top-level Conf directory for next generation of EDK II build infrastructure tools. 2007-06-20 19:33:23 +00:00
DuetPkg ProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which will be invoked at PlatformBds library. 2009-07-13 12:01:46 +00:00
EdkCompatibilityPkg Remove unused local variable to fix build break. 2009-07-17 04:44:46 +00:00
EdkShellBinPkg Remove the binary files of those applications which have been contained in Minimum Shell. Only retain those applications which is in Full Shell but not in Minimum Shell. 2009-06-18 09:56:14 +00:00
EdkShellPkg Remove ShellHotFix.patch since the newest EDK shell snapshot has integrated the complete fix for RFC 4646 language match issue in drivers, dh, DevTree, etc. 2009-06-01 08:16:33 +00:00
FatBinPkg Reviewed the description in the FatBinPkg .dec file. 2009-06-18 10:53:54 +00:00
IntelFrameworkModulePkg Clean up code 2009-07-21 07:57:29 +00:00
IntelFrameworkPkg comments refine 2009-07-22 04:55:02 +00:00
MdeModulePkg 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
MdePkg Remove unrecognized characters. 2009-07-15 06:03:19 +00:00
Nt32Pkg ProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which will be invoked at PlatformBds library. 2009-07-13 12:06:51 +00:00
OptionRomPkg Add default parameters for EfiRom for Cirrus Logic 5430. 2009-07-14 23:32:37 +00:00
OvmfPkg fix ICC build issue. 2009-07-21 01:57:27 +00:00
PcAtChipsetPkg Fixed 2 bugs in the RTC driver of PcAtChipsetPkg. 2009-07-15 06:17:57 +00:00
ShellPkg fixed operation of GetFirst and GetNext for files... 2009-07-16 17:24:16 +00:00
UefiCpuPkg Add CPU DXE driver for IA32 & X64 processor architectures. 2009-05-27 21:09:47 +00:00
UnixPkg ProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which will be invoked at PlatformBds library. 2009-07-13 12:08:24 +00:00
BuildNotes.txt Updated BuildNotes.txt according to new packages name: 2007-06-20 05:35:00 +00:00
BuildNotes2.txt updating the doc 2008-09-25 23:13:48 +00:00
edksetup.bat Removed Java/Ant specific content from the setup scripts. 2008-12-31 16:57:24 +00:00
edksetup.sh add more description in edksetup.sh 2009-07-08 05:54:53 +00:00