]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Include/Library/UefiScsiLib.h
MdePkg UefiScsiLib: Add non-blocking support for SCSI Read/Write command
authorHao Wu <hao.a.wu@intel.com>
Fri, 11 Dec 2015 01:57:41 +0000 (01:57 +0000)
committerhwu1225 <hwu1225@Edk2>
Fri, 11 Dec 2015 01:57:41 +0000 (01:57 +0000)
commit9c581939277b1d535eae1c2df9b22dd207184cca
treebaa3e1ec34896e7d2d90ecf4b84b9b48415f403e
parent4960d8e00427d52c8db5da492ac7aff38cbc9d30
MdePkg UefiScsiLib: Add non-blocking support for SCSI Read/Write command

Four new functions are added to UefiScsiLib:
ScsiRead10CommandEx
ScsiWrite10CommandEx
ScsiRead16CommandEx
ScsiWrite16CommandEx

They support both blocking and non-blocking SCSI Read/Write operation
depending on the optional parameter 'Event' passed to those APIs.

When 'Event' is NULL, these four functions will call the non-EX version
couterparts to execute blocking SCSI I/O. When 'Event' is not NULL,
non-blocking I/O operation is executed.

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@19214 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Include/Library/UefiScsiLib.h
MdePkg/Library/UefiScsiLib/UefiScsiLib.c
MdePkg/Library/UefiScsiLib/UefiScsiLib.inf