audk/MdeModulePkg
Hao Wu 9f840a9ea3 MdeModulePkg ScsiBusDxe: Only signal caller event when PassThru() succeeds
In ScsiExecuteSCSICommand(), when SCSI devices do not support non-blocking
I/O but an event is passed from caller (UefiScsiLib), the function will
execute the SCSI I/O command in a blocking manner and signal the caller
event when the command completes.

Originally, caller event from UefiScsiLib will be signaled if the SCSI
command fails. UefiScsiLib will continue to signal its caller (BlockIO2
request from ScsiDiskDxe driver), which is not aligned with the UEFI spec
that event will not be signaled when BlockIO2 request returns with error.

This commit will signal ScsiExecuteSCSICommand()'s caller event only when
the SCSI command succeeds.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19447 6f19259b-4bc3-4df7-8a09-765794883524
2015-12-22 13:55:34 +00:00
..
Application MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Bus MdeModulePkg ScsiBusDxe: Only signal caller event when PassThru() succeeds 2015-12-22 13:55:34 +00:00
Core MdeModulePkg: PeiCore fix Xcode -Wempty-body warning 2015-12-18 10:22:18 +00:00
Include MdeModulePkg/Include: Change file format which the existed folder has mixed file format. 2015-12-16 03:17:41 +00:00
Library MdeModulePkg:Clear the screen before booting the boot option 2015-12-22 09:37:33 +00:00
Logo MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Universal MdeModulePkg DiskIoDxe: Check for MediaPresent in DiskIo2ReadWriteDisk() 2015-12-22 13:55:13 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
MdeModulePkg.dec MdeModulePkg: Add PCD description to MdeModulePkg.uni 2015-12-22 07:13:27 +00:00
MdeModulePkg.dsc MdeModulePkg: Add PciSioSerialDxe driver 2015-12-10 02:47:16 +00:00
MdeModulePkg.uni MdeModulePkg: Add PCD description to MdeModulePkg.uni 2015-12-22 07:13:27 +00:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00