MdeModulePkg/AtaAtapiPassThru: Handle timeout 0 as indefinitely wait to strictly comply with UEFI spec

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tian, Feng <feng.tian@intel.com>
Reviewed-by: Li, Elvin <elvin.li@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15534 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Tian, Feng
2014-05-15 07:09:14 +00:00
committed by erictian
parent 129ff94661
commit ab82122dfe
4 changed files with 151 additions and 68 deletions

View File

@@ -135,10 +135,11 @@ struct _ATA_NONBLOCK_TASK {
BOOLEAN IsStart;
EFI_EVENT Event;
UINT64 RetryTimes;
VOID *Map; // Pointer to map.
VOID *TableMap;// Pointer to PRD table map.
BOOLEAN InfiniteWait;
VOID *Map; // Pointer to map.
VOID *TableMap; // Pointer to PRD table map.
EFI_ATA_DMA_PRD *MapBaseAddress; // Pointer to range Base address for Map.
UINTN PageCount; // The page numbers used by PCIO freebuffer.
UINTN PageCount; // The page numbers used by PCIO freebuffer.
};
//