Changeset 93993 in vbox for trunk/src/VBox/Devices/USB/VUSBInternal.h
- Timestamp:
- Feb 28, 2022 6:28:04 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/VUSBInternal.h
r93989 r93993 484 484 void vusbUrbCancelAsync(PVUSBURB pUrb, CANCELMODE mode); 485 485 void vusbUrbRipe(PVUSBURB pUrb); 486 void vusbUrbCompletionRh (PVUSBURB pUrb);486 void vusbUrbCompletionRhEx(PVUSBROOTHUB pRh, PVUSBURB pUrb); 487 487 int vusbUrbSubmitHardError(PVUSBURB pUrb); 488 int vusbUrbErrorRh (PVUSBURB pUrb);488 int vusbUrbErrorRhEx(PVUSBROOTHUB pRh, PVUSBURB pUrb); 489 489 int vusbDevUrbIoThreadWakeup(PVUSBDEV pDev); 490 490 int vusbDevUrbIoThreadCreate(PVUSBDEV pDev); … … 578 578 RTCritSectLeave(&pDev->CritSectAsyncUrbs); 579 579 } 580 581 582 DECLINLINE(int) vusbUrbErrorRh(PVUSBURB pUrb) 583 { 584 PVUSBDEV pDev = pUrb->pVUsb->pDev; 585 PVUSBROOTHUB pRh = vusbDevGetRh(pDev); 586 AssertPtrReturn(pRh, VERR_VUSB_DEVICE_NOT_ATTACHED); 587 588 return vusbUrbErrorRhEx(pRh, pUrb); 589 } 590 591 592 DECLINLINE(void) vusbUrbCompletionRh(PVUSBURB pUrb) 593 { 594 PVUSBROOTHUB pRh = vusbDevGetRh(pUrb->pVUsb->pDev); 595 AssertPtrReturnVoid(pRh); 596 597 vusbUrbCompletionRhEx(pRh, pUrb); 598 } 599 580 600 581 601 /** @def vusbUrbAssert
Note:
See TracChangeset
for help on using the changeset viewer.