On 01/07/16 06:10, Ruiyu Ni wrote:
> This driver links to PciHostBridgeLib provided by platform/silicon to
> produce PciRootBridgeIo and PciHostBridgeResourceAllocation protocol.
> 
> V2 corrects the license header of PciHostBridgeDxe driver.
> 
> Ruiyu Ni (3):
>   MdeModulePkg: Add new library class PciHostBridgeLib
>   MdeModulePkg: Add PciHostBridgeLibNull
>   MdeModulePkg: Add generic PciHostBridgeDxe driver.
> 
>  .../Bus/Pci/PciHostBridgeDxe/PciHostBridge.c       | 1132 ++++++++++++++
>  .../Bus/Pci/PciHostBridgeDxe/PciHostBridge.h       |  318 ++++
>  .../Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf  |   55 +
>  .../Bus/Pci/PciHostBridgeDxe/PciHostResource.h     |   47 +
>  .../Bus/Pci/PciHostBridgeDxe/PciRootBridge.h       |  568 +++++++
>  .../Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c     | 1652 
> ++++++++++++++++++++
>  MdeModulePkg/Include/Library/PciHostBridgeLib.h    |   86 +
>  .../PciHostBridgeLibNull/PciHostBridgeLibNull.c    |  104 ++
>  .../PciHostBridgeLibNull/PciHostBridgeLibNull.inf  |   36 +
>  .../PciHostBridgeLibNull/PciHostBridgeLibNull.uni  |  Bin 0 -> 1836 bytes
>  MdeModulePkg/MdeModulePkg.dec                      |    6 +-
>  MdeModulePkg/MdeModulePkg.dsc                      |    3 +-
>  12 files changed, 4005 insertions(+), 2 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
> 

This is awesome. I very much hope that we can rebase both ArmVirtPkg's
and OvmfPkg's PciHostBridgeDxe clones, extracting just two small
PciHostBridgeLib instances in total.

As far as I can see, this would give us the long-awaited support for
64-bit MMIO apertures too.

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

Reply via email to