diff options
author | Feng Tian <feng.tian@intel.com> | 2013-06-24 03:03:55 +0000 |
---|---|---|
committer | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-06-24 03:03:55 +0000 |
commit | ca243131657ba03f58206a417b938aa14cff585c (patch) | |
tree | 0f5fec27fca4a707241570bea8b8eff56cf2ff2c /MdeModulePkg/Include/Ppi/UsbHostController.h | |
parent | 22feb630eb1bbe975c4c14ff859156dcbf6f87e3 (diff) | |
download | edk2-platforms-ca243131657ba03f58206a417b938aa14cff585c.tar.xz |
MdeModulePkg/Usb: Boost the r/w performance by reducing stall time on polling cmd execution status
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14442 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include/Ppi/UsbHostController.h')
-rw-r--r-- | MdeModulePkg/Include/Ppi/UsbHostController.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/MdeModulePkg/Include/Ppi/UsbHostController.h b/MdeModulePkg/Include/Ppi/UsbHostController.h index 107b7997d2..232a666734 100644 --- a/MdeModulePkg/Include/Ppi/UsbHostController.h +++ b/MdeModulePkg/Include/Ppi/UsbHostController.h @@ -5,7 +5,7 @@ Refer to section 16.1 of the UEFI 2.3 Specification for more information on
these interfaces.
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions
@@ -61,7 +61,10 @@ typedef struct _PEI_USB_HOST_CONTROLLER_PPI PEI_USB_HOST_CONTROLLER_PPI; On output, indicates the amount of data
actually transferred.
@param[in] TimeOut Indicates the maximum time, in milliseconds,
- that the transfer is allowed to complete.
+ that the transfer is allowed to complete.
+ If Timeout is 0, then the caller must wait for
+ the function to be completed until EFI_SUCCESS
+ or EFI_DEVICE_ERROR is returned.
@param[out] TransferResult A pointer to the detailed result information
generated by this control transfer.
@@ -107,6 +110,9 @@ EFI_STATUS @param[in,out] DataToggle A pointer to the data toggle value.
@param[in] TimeOut Indicates the maximum time, in milliseconds,
in which the transfer is allowed to complete.
+ If Timeout is 0, then the caller must wait for
+ the function to be completed until EFI_SUCCESS
+ or EFI_DEVICE_ERROR is returned.
@param[out] TransferResult A pointer to the detailed result information
of the bulk transfer.
|