MdePkg/PciSegmentInfoLib: Add PciSegmentInfoLib class and instance.
authorRuiyu Ni <ruiyu.ni@intel.com>
Fri, 4 Aug 2017 05:10:59 +0000 (13:10 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Mon, 28 Aug 2017 08:47:04 +0000 (16:47 +0800)
commite457c1f65d187f58272c1dc98ae338b4f221ee41
tree7a69f05adddc290482ed279f9ff06ecdee58cd51
parentc9c270193a8f1d64d9664bd191ab57e217206996
MdePkg/PciSegmentInfoLib: Add PciSegmentInfoLib class and instance.

The patch adds PciSegmentInfoLib library class which is used
by PciSegmentLib (commit in next patch) to support multiple
segment PCI configuration access.

BasePciSegmentInfoLibNull instance is added but it shouldn't be
used by any real platform.
Any single segment platform that wants to use PciSegmentLib could
use BasePciSegmentLibPci instance.

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/Include/Library/PciSegmentInfoLib.h [new file with mode: 0644]
MdePkg/Library/BasePciSegmentInfoLibNull/BasePciSegmentInfoLibNull.inf [new file with mode: 0644]
MdePkg/Library/BasePciSegmentInfoLibNull/BasePciSegmentInfoLibNull.uni [new file with mode: 0644]
MdePkg/Library/BasePciSegmentInfoLibNull/PciSegmentInfoLib.c [new file with mode: 0644]
MdePkg/MdePkg.dec
MdePkg/MdePkg.dsc