/*++\r
\r
-Copyright (c) 2006, Intel Corporation \r
+Copyright (c) 2006 - 2007, Intel Corporation \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
\r
--*/\r
\r
-#include "pcibus.h"\r
+#include "Pcibus.h"\r
#include "PciHotPlugSupport.h"\r
\r
EFI_PCI_HOT_PLUG_INIT_PROTOCOL *gPciHotPlugInit;\r
\r
EFI_STATUS\r
AllRootHPCInitialized (\r
- IN UINTN TimeoutInMilliSeconds\r
+ IN UINTN TimeoutInMicroSeconds\r
)\r
/*++\r
\r
Routine Description:\r
\r
Arguments:\r
+ TimeoutInMicroSeconds - microseconds to wait for all root hpc's initialization\r
\r
Returns:\r
-\r
- None\r
+ EFI_SUCCESS - All root hpc's initialization is finished before the timeout\r
+ EFI_TIMEOUT - Time out\r
\r
--*/\r
// TODO: TimeoutInMilliSeconds - add argument and description to function comment\r
UINT32 Delay;\r
UINTN Index;\r
\r
- Delay = (UINT32) (((TimeoutInMilliSeconds * STALL_1_MILLI_SECOND) / 30) + 1);\r
+ Delay = (UINT32) ((TimeoutInMicroSeconds / 30) + 1);\r
do {\r
\r
for (Index = 0; Index < gPciRootHpcCount; Index++) {\r