AtaBusDxe: Fix ReadBlockEx andWriteBlockEx to still signal event when the BufferSize...
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 15 Oct 2014 04:49:04 +0000 (04:49 +0000)
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 15 Oct 2014 04:49:04 +0000 (04:49 +0000)
commitbf5a9493fa9d7013015ac511714d4efdca23ae34
treee9374114ec17af1dc5e00e135a39a12e2b868521
parent4202afa45dea319f80d753dc1b2ebbbcfb55dc29
AtaBusDxe: Fix ReadBlockEx andWriteBlockEx to still signal event when the BufferSize is 0.
DiskIoDxe: Fix ReadDiskEx and WriteDiskEx to not modify the user’s buffer when the BufferSize is 0.
DiskIoDxe: Fix ReadDiskEx and WriteDiskEx hang issue when the submitted blockio2 task is completed before submitting another blockio2 task.
DiskIoDxe: Fix FlushEx to free the flush task item in callback (memory leak issue).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16215 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.h