From e457c1f65d187f58272c1dc98ae338b4f221ee41 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Fri, 4 Aug 2017 13:10:59 +0800 Subject: 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 Reviewed-by: Liming Gao --- MdePkg/MdePkg.dec | 3 +++ 1 file changed, 3 insertions(+) (limited to 'MdePkg/MdePkg.dec') diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 425004f9d8..ad13185ed6 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -131,6 +131,9 @@ ## @libraryclass Provides a service to retrieve the PE/COFF entry point from a PE/COFF image. PeCoffGetEntryPointLib|Include/Library/PeCoffGetEntryPointLib.h + ## @libraryclass Provides services to return the PCI segment information. + PciSegmentInfoLib|Include/Library/PciSegmentInfoLib.h + ## @libraryclass Provides services to access PCI Configuration Space on a platform with multiple PCI segments. PciSegmentLib|Include/Library/PciSegmentLib.h -- cgit v1.2.3