mirror of https://github.com/acidanthera/audk.git
a662afb5b0
When system boots to Shell without CDROM in the USB CDROM drive,
and then user inserts one CDROM with Eltorito file system,
"map -r" cannot show the the new Eltorito file system.
The root cause is when "map" command probes the media change
by calling dummy ReadBlockIo(), UsbMassStorage ReadBlockIo()
contains a bug that ignores the media change status:
UsbBootDetectMedia() ignores the EFI_MEDIA_CHANGED status
returned from UsbBootIsUnitReady(), in consequence, the
BlockIo protocol re-installation logic doesn't run.
By checking the code change history, below commit
SHA-1:
|
||
---|---|---|
.. | ||
ComponentName.c | ||
UsbMass.h | ||
UsbMassBoot.c | ||
UsbMassBoot.h | ||
UsbMassBot.c | ||
UsbMassBot.h | ||
UsbMassCbi.c | ||
UsbMassCbi.h | ||
UsbMassDiskInfo.c | ||
UsbMassDiskInfo.h | ||
UsbMassImpl.c | ||
UsbMassImpl.h | ||
UsbMassStorageDxe.inf | ||
UsbMassStorageDxe.uni | ||
UsbMassStorageDxeExtra.uni |