mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-17 23:08:07 +00:00
DM USB: add some preparing time for xHCI emulation before resuming.
If the USB kernel drives and devices of SOS are not available and functional ready after UOS is resumed from frozen state, the comming USB command from UOS will cause a disaster because the DM has no resourse to to emulation. This patch add a dynamic time span (could change according to number of native USB devices attached) to give USB drivers and devices of SOS an opportunity to be ready. Tracked-On: #1893 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.yang@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
@@ -377,4 +377,6 @@ struct xhci_event_ring_seg {
|
||||
volatile uint32_t dwEvrsReserved;
|
||||
};
|
||||
|
||||
void wait_for_xhci_resume();
|
||||
|
||||
#endif /* _XHCI_H_ */
|
||||
|
Reference in New Issue
Block a user