+ Loop = TimeOut * EHC_1_MILLISECOND;\r
+ Finished = FALSE;\r
+ InfiniteLoop = FALSE;\r
+\r
+ //\r
+ // If Timeout is 0, then the caller must wait for the function to be completed\r
+ // until EFI_SUCCESS or EFI_DEVICE_ERROR is returned.\r
+ //\r
+ if (TimeOut == 0) {\r
+ InfiniteLoop = TRUE;\r
+ }\r