X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=IntelFrameworkModulePkg%2FBus%2FPci%2FPciBusDxe%2FPciEnumeratorSupport.h;fp=IntelFrameworkModulePkg%2FBus%2FPci%2FPciBusDxe%2FPciEnumeratorSupport.h;h=1900990a15f8eeb5421796a4cff8d59fb64afa0d;hb=eeefcb9d4bbe0282ce9efeba838596e9c5a2f809;hp=8840998d94b6e8e7e6a9609470b71a86fc9c8a21;hpb=2895c5060c0dbdffefd5131905b906ee0772ade9;p=mirror_edk2.git diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h index 8840998d94..1900990a15 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h @@ -1,4 +1,4 @@ -/**@ file +/** @file Copyright (c) 2006, Intel Corporation All rights reserved. This program and the accompanying materials @@ -12,8 +12,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ -#ifndef _EFI_PCI_ENUMERATOR_SUPPORT_H -#define _EFI_PCI_ENUMERATOR_SUPPORT_H +#ifndef _EFI_PCI_ENUMERATOR_SUPPORT_H_ +#define _EFI_PCI_ENUMERATOR_SUPPORT_H_ /** This routine is used to check whether the pci device is present. @@ -42,7 +42,7 @@ PciDevicePresent ( root bridge will then be created. @param Bridge Parent bridge instance - @param StartBusNumer Bus number of begining + @param StartBusNumber Bus number of begining **/ EFI_STATUS PciPciDeviceInfoCollector ( @@ -62,12 +62,12 @@ PciPciDeviceInfoCollector ( **/ EFI_STATUS PciSearchDevice ( - IN PCI_IO_DEVICE *Bridge, - PCI_TYPE00 *Pci, - UINT8 Bus, - UINT8 Device, - UINT8 Func, - PCI_IO_DEVICE **PciDevice + IN PCI_IO_DEVICE *Bridge, + IN PCI_TYPE00 *Pci, + IN UINT8 Bus, + IN UINT8 Device, + IN UINT8 Func, + OUT PCI_IO_DEVICE **PciDevice ); /** @@ -349,6 +349,14 @@ PciGetBusRange ( OUT UINT16 *BusRange ); +/** + This routine can be used to start the root bridge. + + @param RootBridgeDev Pci device instance. + + @retval EFI_SUCCESS This device started. + +**/ EFI_STATUS StartManagingRootBridge ( IN PCI_IO_DEVICE *RootBridgeDev