[edk2] [PATCH v2 0/5] Add multiple PCI segments configuration access support

Ruiyu Ni posted 5 patches 7 years, 4 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   |  71 +++
.../BasePciSegmentLibSegmentInfo.inf               |  46 ++
.../BasePciSegmentLibSegmentInfo.uni               |  21 +
.../DxeRuntimePciSegmentLib.c                      | 321 ++++++++++
.../DxeRuntimePciSegmentLibSegmentInfo.inf         |  55 ++
.../DxeRuntimePciSegmentLibSegmentInfo.uni         |  21 +
.../PciSegmentLibCommon.c}                         | 656 +++++++++++++++-----
.../PciSegmentLibSegmentInfo/PciSegmentLibCommon.h |  57 ++
.../PeiPciSegmentLibPciCfg2/PciSegmentLib.c        | 187 +++---
.../PciSegmentLib.c                                | 180 +++---
MdePkg/MdePkg.dec                                  |   8 +
MdePkg/MdePkg.dsc                                  |   4 +
24 files changed, 2250 insertions(+), 885 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 v2 0/5] Add multiple PCI segments configuration access support
Posted by Ruiyu Ni 7 years, 4 months ago
v2: Add missing function header and file header. Correct all incorrect file headers.

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   |  71 +++
 .../BasePciSegmentLibSegmentInfo.inf               |  46 ++
 .../BasePciSegmentLibSegmentInfo.uni               |  21 +
 .../DxeRuntimePciSegmentLib.c                      | 321 ++++++++++
 .../DxeRuntimePciSegmentLibSegmentInfo.inf         |  55 ++
 .../DxeRuntimePciSegmentLibSegmentInfo.uni         |  21 +
 .../PciSegmentLibCommon.c}                         | 656 +++++++++++++++-----
 .../PciSegmentLibSegmentInfo/PciSegmentLibCommon.h |  57 ++
 .../PeiPciSegmentLibPciCfg2/PciSegmentLib.c        | 187 +++---
 .../PciSegmentLib.c                                | 180 +++---
 MdePkg/MdePkg.dec                                  |   8 +
 MdePkg/MdePkg.dsc                                  |   4 +
 24 files changed, 2250 insertions(+), 885 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
Re: [edk2] [PATCH v2 0/5] Add multiple PCI segments configuration access support
Posted by Gao, Liming 7 years, 3 months ago
Reviewed-by: Liming Gao <liming.gao@intel.com>

>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>Ruiyu Ni
>Sent: Friday, August 25, 2017 4:57 PM
>To: edk2-devel@lists.01.org
>Subject: [edk2] [PATCH v2 0/5] Add multiple PCI segments configuration
>access support
>
>v2: Add missing function header and file header. Correct all incorrect file
>headers.
>
>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   |  71 +++
> .../BasePciSegmentLibSegmentInfo.inf               |  46 ++
> .../BasePciSegmentLibSegmentInfo.uni               |  21 +
> .../DxeRuntimePciSegmentLib.c                      | 321 ++++++++++
> .../DxeRuntimePciSegmentLibSegmentInfo.inf         |  55 ++
> .../DxeRuntimePciSegmentLibSegmentInfo.uni         |  21 +
> .../PciSegmentLibCommon.c}                         | 656 +++++++++++++++-----
> .../PciSegmentLibSegmentInfo/PciSegmentLibCommon.h |  57 ++
> .../PeiPciSegmentLibPciCfg2/PciSegmentLib.c        | 187 +++---
> .../PciSegmentLib.c                                | 180 +++---
> MdePkg/MdePkg.dec                                  |   8 +
> MdePkg/MdePkg.dsc                                  |   4 +
> 24 files changed, 2250 insertions(+), 885 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/BasePciSegmentLibSegmentInf
>o.inf
> create mode 100644
>MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInf
>o.uni
> create mode 100644
>MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLib.c
> create mode 100644
>MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSeg
>mentInfo.inf
> create mode 100644
>MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSeg
>mentInfo.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
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel