mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/XhciDxe: Update async polling interval to 1ms.
Updating the async polling interval from 50ms to 1ms for better performance. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tian Feng <feng.tian@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17585 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c17c4a1ffd
commit
3ee12d8800
|
@ -67,9 +67,9 @@ typedef struct _USB_DEV_CONTEXT USB_DEV_CONTEXT;
|
||||||
#define XHC_POLL_DELAY (1000)
|
#define XHC_POLL_DELAY (1000)
|
||||||
//
|
//
|
||||||
// XHC async transfer timer interval, set by experience.
|
// XHC async transfer timer interval, set by experience.
|
||||||
// The unit is 100us, takes 50ms as interval.
|
// The unit is 100us, takes 1ms as interval.
|
||||||
//
|
//
|
||||||
#define XHC_ASYNC_TIMER_INTERVAL EFI_TIMER_PERIOD_MILLISECONDS(50)
|
#define XHC_ASYNC_TIMER_INTERVAL EFI_TIMER_PERIOD_MILLISECONDS(1)
|
||||||
|
|
||||||
//
|
//
|
||||||
// XHC raises TPL to TPL_NOTIFY to serialize all its operations
|
// XHC raises TPL to TPL_NOTIFY to serialize all its operations
|
||||||
|
|
Loading…
Reference in New Issue