X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=SourceLevelDebugPkg%2FLibrary%2FDebugCommunicationLibUsb3%2FDebugCommunicationLibUsb3Transfer.c;fp=SourceLevelDebugPkg%2FLibrary%2FDebugCommunicationLibUsb3%2FDebugCommunicationLibUsb3Transfer.c;h=262cfab3fbb40a8b3eaa430f7c14316fd664dc40;hb=1825c24fd84cfd8bdf693eaaa82ab2c216e53039;hp=a3e3c134d8f100b1a5d0e28141c946605a2c6f1c;hpb=a302263ebb33018bccaeb3c10152e7f8ea4cda6f;p=mirror_edk2.git diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Transfer.c b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Transfer.c index a3e3c134d8..262cfab3fb 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Transfer.c +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Transfer.c @@ -152,7 +152,7 @@ XhcCheckNewEvent ( EvtRing->EventRingDequeue += sizeof (TRB_TEMPLATE); // - // If the dequeue pointer is beyond the ring, then roll-back it to the begining of the ring. + // If the dequeue pointer is beyond the ring, then roll-back it to the beginning of the ring. // if ((UINTN)EvtRing->EventRingDequeue >= ((UINTN) EvtRing->EventRingSeg0 + sizeof (TRB_TEMPLATE) * EvtRing->TrbNumber)) { EvtRing->EventRingDequeue = EvtRing->EventRingSeg0; @@ -510,7 +510,7 @@ XhcCreateUrb ( @param Direction The direction of data transfer. @param Data Array of pointers to the buffers of data to transmit from or receive into. - @param DataLength The lenght of the data buffer. + @param DataLength The length of the data buffer. @param Timeout Indicates the maximum time, in microsecond, which the transfer is allowed to complete.