MdePkg/PciSegmentLib: Add instances that consumes PciSegmentInfoLib
authorRuiyu Ni <ruiyu.ni@intel.com>
Fri, 4 Aug 2017 05:18:37 +0000 (13:18 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Mon, 28 Aug 2017 08:47:04 +0000 (16:47 +0800)
commit5c9bb86f171c9a3a89ac4b5b00518cb00bf32132
tree514905ebfcae4b62430bbd6f522d8a807c2e71a7
parente457c1f65d187f58272c1dc98ae338b4f221ee41
MdePkg/PciSegmentLib: Add instances that consumes PciSegmentInfoLib

The patch adds two PciSegmentLib instances that consumes
PciSegmentInfoLib to provide multiple segments PCI configuration
access.

BasePciSegmentLibSegmentInfo instance is a BASE library.
DxeRuntimePciSegmentLibSegmentInfo instance is to be linked with
runtime drivers to provide not only boot time but also runtime
PCI configuration access.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLib.c [new file with mode: 0644]
MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf [new file with mode: 0644]
MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.uni [new file with mode: 0644]
MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLib.c [new file with mode: 0644]
MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.inf [new file with mode: 0644]
MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.uni [new file with mode: 0644]
MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c [new file with mode: 0644]
MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.h [new file with mode: 0644]
MdePkg/MdePkg.dsc