[edk2] [PATCH 0/5] Add new implementation of PciSegmentLib and S3PciSegmentLib class&instance.

Ruiyu Ni posted 5 patches 6 years, 8 months ago
Failed in applying to current master (apply log)
MdePkg/Include/IndustryStandard/PciExpress21.h     |  19 +-
MdePkg/Include/Library/PciExpressLib.h             |   5 +-
MdePkg/Include/Library/PciSegmentInfoLib.h         |  41 ++
MdePkg/Include/Library/PciSegmentLib.h             | 102 ++--
.../Library/{PciSegmentLib.h => S3PciSegmentLib.h} | 364 ++++++-----
.../BasePciSegmentInfoLibNull.inf                  |  41 ++
.../BasePciSegmentInfoLibNull.uni                  |  20 +
.../BasePciSegmentInfoLibNull/PciSegmentInfoLib.c  |  38 ++
.../Library/BasePciSegmentLibPci/PciSegmentLib.c   | 136 +++--
.../BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf    |  45 ++
.../BaseS3PciSegmentLib/BaseS3PciSegmentLib.uni    |  23 +
.../BaseS3PciSegmentLib/S3PciSegmentLib.c}         | 674 ++++++++++++++-------
.../PciSegmentLibSegmentInfo/BasePciSegmentLib.c   |  53 ++
.../BasePciSegmentLibSegmentInfo.inf               |  45 ++
.../BasePciSegmentLibSegmentInfo.uni               |  21 +
.../DxeRuntimePciSegmentLib.c                      | 331 ++++++++++
.../DxeRuntimePciSegmentLibSegmentInfo.inf         |  54 ++
.../DxeRuntimePciSegmentLibSegmentInfo.uni         |  21 +
.../PciSegmentLibCommon.c}                         | 651 +++++++++++++++-----
.../PciSegmentLibSegmentInfo/PciSegmentLibCommon.h |  46 ++
.../PeiPciSegmentLibPciCfg2/PciSegmentLib.c        | 187 +++---
.../PciSegmentLib.c                                | 180 +++---
MdePkg/MdePkg.dec                                  |   8 +
MdePkg/MdePkg.dsc                                  |   4 +
24 files changed, 2221 insertions(+), 888 deletions(-)
create mode 100644 MdePkg/Include/Library/PciSegmentInfoLib.h
copy MdePkg/Include/Library/{PciSegmentLib.h => S3PciSegmentLib.h} (80%)
create mode 100644 MdePkg/Library/BasePciSegmentInfoLibNull/BasePciSegmentInfoLibNull.inf
create mode 100644 MdePkg/Library/BasePciSegmentInfoLibNull/BasePciSegmentInfoLibNull.uni
create mode 100644 MdePkg/Library/BasePciSegmentInfoLibNull/PciSegmentInfoLib.c
create mode 100644 MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf
create mode 100644 MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.uni
copy MdePkg/{Include/Library/PciSegmentLib.h => Library/BaseS3PciSegmentLib/S3PciSegmentLib.c} (66%)
create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLib.c
create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf
create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.uni
create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLib.c
create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.inf
create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.uni
copy MdePkg/{Include/Library/PciSegmentLib.h => Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c} (69%)
create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.h
[edk2] [PATCH 0/5] Add new implementation of PciSegmentLib and S3PciSegmentLib class&instance.
Posted by Ruiyu Ni 6 years, 8 months ago
Ruiyu Ni (5):
  MdePkg/PciSegmentLib: Fix typo in function header comments
  MdePkg/PciExpress: Add macro PCI_ECAM_ADDRESS
  MdePkg/PciSegmentInfoLib: Add PciSegmentInfoLib class and instance.
  MdePkg/PciSegmentLib: Add instances that consumes PciSegmentInfoLib
  MdePkg/S3PciSegmentLib: Add S3PciSegmentLib class and instance.

 MdePkg/Include/IndustryStandard/PciExpress21.h     |  19 +-
 MdePkg/Include/Library/PciExpressLib.h             |   5 +-
 MdePkg/Include/Library/PciSegmentInfoLib.h         |  41 ++
 MdePkg/Include/Library/PciSegmentLib.h             | 102 ++--
 .../Library/{PciSegmentLib.h => S3PciSegmentLib.h} | 364 ++++++-----
 .../BasePciSegmentInfoLibNull.inf                  |  41 ++
 .../BasePciSegmentInfoLibNull.uni                  |  20 +
 .../BasePciSegmentInfoLibNull/PciSegmentInfoLib.c  |  38 ++
 .../Library/BasePciSegmentLibPci/PciSegmentLib.c   | 136 +++--
 .../BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf    |  45 ++
 .../BaseS3PciSegmentLib/BaseS3PciSegmentLib.uni    |  23 +
 .../BaseS3PciSegmentLib/S3PciSegmentLib.c}         | 674 ++++++++++++++-------
 .../PciSegmentLibSegmentInfo/BasePciSegmentLib.c   |  53 ++
 .../BasePciSegmentLibSegmentInfo.inf               |  45 ++
 .../BasePciSegmentLibSegmentInfo.uni               |  21 +
 .../DxeRuntimePciSegmentLib.c                      | 331 ++++++++++
 .../DxeRuntimePciSegmentLibSegmentInfo.inf         |  54 ++
 .../DxeRuntimePciSegmentLibSegmentInfo.uni         |  21 +
 .../PciSegmentLibCommon.c}                         | 651 +++++++++++++++-----
 .../PciSegmentLibSegmentInfo/PciSegmentLibCommon.h |  46 ++
 .../PeiPciSegmentLibPciCfg2/PciSegmentLib.c        | 187 +++---
 .../PciSegmentLib.c                                | 180 +++---
 MdePkg/MdePkg.dec                                  |   8 +
 MdePkg/MdePkg.dsc                                  |   4 +
 24 files changed, 2221 insertions(+), 888 deletions(-)
 create mode 100644 MdePkg/Include/Library/PciSegmentInfoLib.h
 copy MdePkg/Include/Library/{PciSegmentLib.h => S3PciSegmentLib.h} (80%)
 create mode 100644 MdePkg/Library/BasePciSegmentInfoLibNull/BasePciSegmentInfoLibNull.inf
 create mode 100644 MdePkg/Library/BasePciSegmentInfoLibNull/BasePciSegmentInfoLibNull.uni
 create mode 100644 MdePkg/Library/BasePciSegmentInfoLibNull/PciSegmentInfoLib.c
 create mode 100644 MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf
 create mode 100644 MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.uni
 copy MdePkg/{Include/Library/PciSegmentLib.h => Library/BaseS3PciSegmentLib/S3PciSegmentLib.c} (66%)
 create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLib.c
 create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf
 create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.uni
 create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLib.c
 create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.inf
 create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.uni
 copy MdePkg/{Include/Library/PciSegmentLib.h => Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c} (69%)
 create mode 100644 MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.h

-- 
2.12.2.windows.2

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel