Hi,  Baranee

The intention of XhcCheckUrbResult() and XhcExecTransfer() is to traverse all 
received events and accumulate these received data lengths for a URB request to 
see if it matches with requested data length.

The members of URB, such as ->Completed, -> Finished, -> StartDone and -> 
EndDone, are used for this way.

Thanks
Feng

From: Anbazhagan, Baraneedharan [mailto:anbazha...@hp.com]
Sent: Thursday, April 16, 2015 08:31
To: edk2-devel@lists.sourceforge.net
Cc: Tian, Feng
Subject: XHCI data transfer size

XhcCheckUrbResult calculates the data transfer size to return based on DataLen 
within Urb, If the request is more than 64K and then it reports the size as 
multiples of TrbNumber.

Does it make sense to make use of Length field within TRB to calculate total 
data transfer size?

-Baranee

CONFIDENTIALITY NOTICE: The information contained in this e-mail and any 
accompanying documents may contain information which is HP confidential or 
otherwise protected from disclosure. This transmission may also be protected by 
the attorney-client privilege, the attorney work-product privilege, or both. If 
you are not the intended recipient of this message, or if this message has been 
addressed to you in error, please immediately alert the sender by reply e-mail 
and then delete this message, including any attachments. Any dissemination, 
distribution or other use of the contents of this message by anyone other than 
the intended recipient is strictly prohibited.

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to