]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CorebootPayloadPkg/Library/PciHostBridgeLib/PciHostBridge.h
Coreboot*Pkg: Retire CorebootPayloadPkg and CorebootModulePkg
[mirror_edk2.git] / CorebootPayloadPkg / Library / PciHostBridgeLib / PciHostBridge.h
diff --git a/CorebootPayloadPkg/Library/PciHostBridgeLib/PciHostBridge.h b/CorebootPayloadPkg/Library/PciHostBridgeLib/PciHostBridge.h
deleted file mode 100644 (file)
index c2961b3..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-/** @file\r
-  Header file of PciHostBridgeLib.\r
-\r
-  Copyright (C) 2016, Red Hat, Inc.\r
-  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
-\r
-  SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-**/\r
-\r
-#ifndef _PCI_HOST_BRIDGE_H\r
-#define _PCI_HOST_BRIDGE_H\r
-\r
-typedef struct {\r
-  ACPI_HID_DEVICE_PATH     AcpiDevicePath;\r
-  EFI_DEVICE_PATH_PROTOCOL EndDevicePath;\r
-} CB_PCI_ROOT_BRIDGE_DEVICE_PATH;\r
-\r
-PCI_ROOT_BRIDGE *\r
-ScanForRootBridges (\r
-  UINTN      *NumberOfRootBridges\r
-);\r
-\r
-/**\r
-  Initialize a PCI_ROOT_BRIDGE structure.\r
-\r
-  @param[in]  Supports         Supported attributes.\r
-\r
-  @param[in]  Attributes       Initial attributes.\r
-\r
-  @param[in]  AllocAttributes  Allocation attributes.\r
-\r
-  @param[in]  RootBusNumber    The bus number to store in RootBus.\r
-\r
-  @param[in]  MaxSubBusNumber  The inclusive maximum bus number that can be\r
-                               assigned to any subordinate bus found behind any\r
-                               PCI bridge hanging off this root bus.\r
-\r
-                               The caller is responsible for ensuring that\r
-                               RootBusNumber <= MaxSubBusNumber. If\r
-                               RootBusNumber equals MaxSubBusNumber, then the\r
-                               root bus has no room for subordinate buses.\r
-\r
-  @param[in]  Io               IO aperture.\r
-\r
-  @param[in]  Mem              MMIO aperture.\r
-\r
-  @param[in]  MemAbove4G       MMIO aperture above 4G.\r
-\r
-  @param[in]  PMem             Prefetchable MMIO aperture.\r
-\r
-  @param[in]  PMemAbove4G      Prefetchable MMIO aperture above 4G.\r
-\r
-  @param[out] RootBus          The PCI_ROOT_BRIDGE structure (allocated by the\r
-                               caller) that should be filled in by this\r
-                               function.\r
-\r
-  @retval EFI_SUCCESS           Initialization successful. A device path\r
-                                consisting of an ACPI device path node, with\r
-                                UID = RootBusNumber, has been allocated and\r
-                                linked into RootBus.\r
-\r
-  @retval EFI_OUT_OF_RESOURCES  Memory allocation failed.\r
-**/\r
-EFI_STATUS\r
-InitRootBridge (\r
-  IN  UINT64                   Supports,\r
-  IN  UINT64                   Attributes,\r
-  IN  UINT64                   AllocAttributes,\r
-  IN  UINT8                    RootBusNumber,\r
-  IN  UINT8                    MaxSubBusNumber,\r
-  IN  PCI_ROOT_BRIDGE_APERTURE *Io,\r
-  IN  PCI_ROOT_BRIDGE_APERTURE *Mem,\r
-  IN  PCI_ROOT_BRIDGE_APERTURE *MemAbove4G,\r
-  IN  PCI_ROOT_BRIDGE_APERTURE *PMem,\r
-  IN  PCI_ROOT_BRIDGE_APERTURE *PMemAbove4G,\r
-  OUT PCI_ROOT_BRIDGE          *RootBus\r
-);\r
-\r
-#endif\r