This driver links to PciHostBridgeLib provided by platform/silicon to
produce PciRootBridgeIo and PciHostBridgeResourceAllocation protocol.

V3 passes the PatchCheck.py and adds more comments to
MdeModulePkg/Include/Library/PciHostBridgeLib.h.

V4 fixes GCC49 build failure and includes the PciSegmentLibPci
patch.

Ruiyu Ni (4):
  MdeModulePkg: Add new library class PciHostBridgeLib
  MdeModulePkg: Add PciHostBridgeLibNull
  MdePkg: Add PciSegmentLib instance based on PciLib
  MdeModulePkg: Add generic PciHostBridgeDxe driver.

 .../Bus/Pci/PciHostBridgeDxe/PciHostBridge.c       | 1134 ++++++++++++++
 .../Bus/Pci/PciHostBridgeDxe/PciHostBridge.h       |  252 ++++
 .../Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf  |   55 +
 .../Bus/Pci/PciHostBridgeDxe/PciHostResource.h     |   47 +
 .../Bus/Pci/PciHostBridgeDxe/PciRootBridge.h       |  568 +++++++
 .../Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c     | 1561 ++++++++++++++++++++
 MdeModulePkg/Include/Library/PciHostBridgeLib.h    |   97 ++
 .../PciHostBridgeLibNull/PciHostBridgeLibNull.c    |  104 ++
 .../PciHostBridgeLibNull/PciHostBridgeLibNull.inf  |   36 +
 .../PciHostBridgeLibNull/PciHostBridgeLibNull.uni  |   20 +
 MdeModulePkg/MdeModulePkg.dec                      |    6 +-
 MdeModulePkg/MdeModulePkg.dsc                      |    5 +-
 .../BasePciSegmentLibPci/BasePciSegmentLibPci.inf  |   43 +
 .../BasePciSegmentLibPci/BasePciSegmentLibPci.uni  |   21 +
 .../Library/BasePciSegmentLibPci/PciSegmentLib.c   | 1286 ++++++++++++++++
 MdePkg/MdePkg.dsc                                  |    3 +-
 16 files changed, 5235 insertions(+), 3 deletions(-)
 create mode 100644 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridge.c
 create mode 100644 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridge.h
 create mode 100644 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
 create mode 100644 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostResource.h
 create mode 100644 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridge.h
 create mode 100644 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c
 create mode 100644 MdeModulePkg/Include/Library/PciHostBridgeLib.h
 create mode 100644 
MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.c
 create mode 100644 
MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.inf
 create mode 100644 
MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.uni
 create mode 100644 MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
 create mode 100644 MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.uni
 create mode 100644 MdePkg/Library/BasePciSegmentLibPci/PciSegmentLib.c

-- 
2.6.2.windows.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to