NULL\r
};\r
\r
+EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL *gEfiIncompatiblePciDeviceSupport = NULL;\r
EFI_HANDLE gPciHostBrigeHandles[PCI_MAX_HOST_BRIDGE_NUM];\r
UINTN gPciHostBridgeNumber;\r
BOOLEAN gFullEnumeration;\r
IN EFI_HANDLE ImageHandle,\r
IN EFI_SYSTEM_TABLE *SystemTable\r
)\r
-/*++\r
+/**\r
\r
Routine Description:\r
\r
EFI_SUCCESS\r
EFI_DEVICE_ERROR\r
\r
---*/\r
+**/\r
// TODO: ImageHandle - add argument and description to function comment\r
// TODO: SystemTable - add argument and description to function comment\r
{\r
IN EFI_HANDLE Controller,\r
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath\r
)\r
-/*++\r
+/**\r
\r
Routine Description:\r
\r
\r
EFI_SUCCESS\r
\r
---*/\r
+**/\r
// TODO: This - add argument and description to function comment\r
// TODO: Controller - add argument and description to function comment\r
// TODO: RemainingDevicePath - add argument and description to function comment\r
IN EFI_HANDLE Controller,\r
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath\r
)\r
-/*++\r
+/**\r
\r
Routine Description:\r
\r
Returns:\r
\r
\r
---*/\r
+**/\r
// TODO: This - add argument and description to function comment\r
// TODO: Controller - add argument and description to function comment\r
// TODO: RemainingDevicePath - add argument and description to function comment\r
{\r
EFI_STATUS Status;\r
\r
+ Status = gBS->LocateProtocol (\r
+ &gEfiIncompatiblePciDeviceSupportProtocolGuid,\r
+ NULL,\r
+ (VOID **) &gEfiIncompatiblePciDeviceSupport\r
+ );\r
+\r
//\r
// If PCI Platform protocol is available, get it now.\r
// If the platform implements this, it must be installed before BDS phase\r
if (EFI_ERROR (Status)) {\r
return Status;\r
}\r
-\r
+ \r
//\r
- // Enable PCI device specified by remaining device path. BDS or other driver can call the\r
- // start more than once.\r
+ // Start all the devices under the entire host bridge.\r
//\r
-\r
- StartPciDevices (Controller, RemainingDevicePath);\r
+ StartPciDevices (Controller);\r
\r
return EFI_SUCCESS;\r
}\r
IN UINTN NumberOfChildren,\r
IN EFI_HANDLE *ChildHandleBuffer\r
)\r
-/*++\r
+/**\r
\r
Routine Description:\r
\r
Returns:\r
\r
\r
---*/\r
+**/\r
// TODO: This - add argument and description to function comment\r
// TODO: Controller - add argument and description to function comment\r
// TODO: NumberOfChildren - add argument and description to function comment\r