Changeset 58459 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/EhciPei/EhciSched.c
- Timestamp:
- Oct 28, 2015 8:17:18 PM (9 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
-
Property svn:mergeinfo
set to (toggle deleted branches)
/vendor/edk2/current 103735-103757
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/EhciPei/EhciSched.c
r48674 r58459 3 3 which is used to enable recovery function from USB Drivers. 4 4 5 Copyright (c) 2010 - 201 1, Intel Corporation. All rights reserved.<BR>5 Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR> 6 6 7 7 This program and the accompanying materials … … 426 426 UINTN Loop; 427 427 BOOLEAN Finished; 428 BOOLEAN InfiniteLoop; 428 429 429 430 Status = EFI_SUCCESS; 430 Loop = (TimeOut * EHC_1_MILLISECOND / EHC_SYNC_POLL_INTERVAL) + 1; 431 Finished = FALSE; 432 433 for (Index = 0; Index < Loop; Index++) { 431 Loop = TimeOut * EHC_1_MILLISECOND; 432 Finished = FALSE; 433 InfiniteLoop = FALSE; 434 435 // 436 // If Timeout is 0, then the caller must wait for the function to be completed 437 // until EFI_SUCCESS or EFI_DEVICE_ERROR is returned. 438 // 439 if (TimeOut == 0) { 440 InfiniteLoop = TRUE; 441 } 442 443 for (Index = 0; InfiniteLoop || (Index < Loop); Index++) { 434 444 Finished = EhcCheckUrbResult (Ehc, Urb); 435 445 … … 438 448 } 439 449 440 MicroSecondDelay (EHC_ SYNC_POLL_INTERVAL);450 MicroSecondDelay (EHC_1_MICROSECOND); 441 451 } 442 452
Note:
See TracChangeset
for help on using the changeset viewer.